The Weak Call-By-Value {\lambda}-Calculus is Reasonable for Both Time and Space
Yannick Forster, Fabian Kunze, Marc Roth

TL;DR
This paper proves that the natural measures of time and space in the weak call-by-value λ-calculus are reasonable for computational complexity, showing polynomial and constant-factor simulation with Turing machines.
Contribution
It establishes the invariance of natural time and space measures for weak call-by-value λ-calculus, solving a long-standing open problem in the field.
Findings
Turing machines and λ-calculus can simulate each other with polynomial time overhead.
The measures of beta-reductions and largest term size are reasonable for complexity analysis.
A hybrid simulation strategy achieves both constant space and polynomial time overhead.
Abstract
We study the weak call-by-value -calculus as a model for computational complexity theory and establish the natural measures for time and space -- the number of beta-reductions and the size of the largest term in a computation -- as reasonable measures with respect to the invariance thesis of Slot and van Emde Boas [STOC~84]. More precisely, we show that, using those measures, Turing machines and the weak call-by-value -calculus can simulate each other within a polynomial overhead in time and a constant factor overhead in space for all computations that terminate in (encodings) of 'true' or 'false'. We consider this result as a solution to the long-standing open problem, explicitly posed by Accattoli [ENTCS~18], of whether the natural measures for time and space of the -calculus are reasonable, at least in case of weak call-by-value evaluation. Our proof…
Click any figure to enlarge with its caption.
Figure 1
Figure 2Peer 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.
Taxonomy
TopicsLogic, programming, and type systems · Formal Methods in Verification · semigroups and automata theory
