Tight Typings and Split Bounds
Beniamino Accattoli, St\'ephane Graham-Lengrand, Delia Kesner

TL;DR
This paper refines multi-type techniques to provide exact bounds on evaluation lengths and result sizes across various strategies in lambda calculus, unifying previous results and introducing new precise bounds for the leftmost strategy.
Contribution
It introduces a modular approach with dual counters in typing judgments to obtain exact split bounds for multiple evaluation strategies, including the novel bounds for the leftmost strategy.
Findings
Exact bounds for head, leftmost-outermost, and maximal evaluation strategies.
Unified framework connecting de Carvalho and Bernadet & Graham-Lengrand results.
New bounds for the leftmost strategy evaluating to full normal forms.
Abstract
Multi types---aka non-idempotent intersection types---have been used to obtain quantitative bounds on higher-order programs, as pioneered by de Carvalho. Notably, they bound at the same time the number of evaluation steps and the size of the result. Recent results show that the number of steps can be taken as a reasonable time complexity measure. At the same time, however, these results suggest that multi types provide quite lax complexity bounds, because the size of the result can be exponentially bigger than the number of steps. Starting from this observation, we refine and generalise a technique introduced by Bernadet & Graham-Lengrand to provide exact bounds for the maximal strategy. Our typing judgements carry two counters, one measuring evaluation lengths and the other measuring result sizes. In order to emphasise the modularity of the approach, we provide exact bounds for four…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
