Parallel beta reduction is not elementary recursive
@article{Asperti1998ParallelBR, title={Parallel beta reduction is not elementary recursive}, author={Andrea Asperti and Harry G. Mairson}, journal={Inf. Comput.}, year={1998}, volume={170}, pages={49-80} }
We analyze the inherent complexity of implementing Lévy's notion of optimal evaluation for the &lambda-calculus, where similar redexes are contracted in one step via so-called parallel ß-reduction. optimal evaluation was finally realized by Lamping, who introduced a beautiful graph reduction technology for sharing evaluation contexts dual to the sharing of values. His pioneering insights have been modified and improved in subsequent implementations of optimal reduction.We prove that the cost of…
Figures from this paper
39 Citations
Strong Call-by-Value is Reasonable, Implosively
- Computer Science2021 36th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)
- 2021
It is shown that also strong call-by-value evaluation is reasonable for time, via a new abstract machine realizing useful sharing and having a linear overhead, and a new mix of sharing techniques, which on some terms brings an exponential speed-up.
PELCR: Parallel environment for optimal lambda-calculus reduction
- Computer ScienceTOCL
- 2007
This article presents the implementation of an environment supporting Lévy's optimal reduction for the λ-calculus on parallel (or distributed) computing systems, and shows how PELCR allows achieving up to 70--80% of the ideal speedup on last generation multiprocessor computing systems.
(Leftmost-Outermost) Beta Reduction is Invariant, Indeed
- MathematicsLog. Methods Comput. Sci.
- 2016
The main technical contribution of the paper is indeed the definition of useful reductions and the thorough analysis of their properties, and the first complete positive answer to this long-standing problem.
The Cost of Usage in the ?-Calculus
- Computer Science2013 28th Annual ACM/IEEE Symposium on Logic in Computer Science
- 2013
This paper refine Xi's analysis, obtaining much better bounds, especially for computations producing small normal forms, and is able to prove that the length of the standard reduction is at most a mere factorial of thelength of the shortest reduction sequence.
Beta reduction is invariant, indeed
- MathematicsCSL-LICS
- 2014
The main technical contribution of the paper is indeed the definition of useful reductions and the thorough analysis of their properties, and the first complete positive answer to this long-standing problem of λ-calculus.
Beta Reduction is Invariant, Indeed (Long Version)
- MathematicsArXiv
- 2014
This paper presents the first complete positive answer to this long-standing problem, completely machine-independent and based over a standard notion in the theory of $\lambda$-calculus: the length of a leftmost-outermost derivation to normal form is an invariant cost model.
Deep into Optimality Complexity and correctness of sharing implementation of bounded logics ( Extended abstract )
- Computer Science
- 2012
By a careful analysis of reduction based on Geometry of Interaction, Baillot, Coppola, and Dal Lago have given a semantical proof of soundness of sharing reduction w.r.t. the complexity bounds of EAL and LAL.
Relating complexity and precision in control flow analysis
- Mathematics, Computer ScienceICFP '07
- 2007
The analysis of kCFA, a hierarchy of control flow analyses that determine which functions may be applied at a given call-site, identifies a simple decision problem answered by this analysis and proves that in the 0CFA case, the problem is complete for polynomial time.
The Useful MAM, a Reasonable Implementation of the Strong λ-Calculus
- Computer ScienceWoLLIC
- 2016
This paper presents a new abstract machine for the strong $\lambda $$-calculus based on useful sharing, the Useful Milner Abstract Machine, and proves that it reasonably implements leftmost-outermost evaluation.
References
SHOWING 1-10 OF 74 REFERENCES
Paths , Computations and Labels in the . \-calculus *
- Mathematics
- 1995
Cosimo Laneve INRJA Sophia-Antipolia We provide a new characterization of Levy's redex-families in the .\-calculus [11) as suitable paths in the initial term of the derivation. The idea ie that…
On global dynamics of optimal graph reduction
- Computer ScienceICFP '97
- 1997
This global analysis of the finitary dynamics of optimal reduction is the first demonstration that a reasonable implementation-independent cost model for the λ-calculus is in fact realized by Lamping's abstract algorithm.
Optimality and inefficiency: what isn't a cost model of the lambda calculus?
- Mathematics, Computer ScienceICFP '96
- 1996
We investigate the computational efficiency of the sharing graphs of Lamping [Lam90], Gonthier, Abadi, and Lévy [GAL92], and Asperti [Asp94], designed to effect so-called optimal evaluation,…
What is an Efficient Implementation of the lambda-calculus?
- Computer Science, Mathematics
- 1991
It is argued that any implementation of the lambda-calculus must have complexity Omega(nu), i.e. a linear lower bound, and it is shown that implementations based upon Turner Combinators of Hughes Super-combinators have complexities 2Omega(nu, i.
What is an Efficient Implementation of the λ-calculus ?
- Computer Science, Mathematics
- 1991
It is argued that any implementation of the λcalculus must have complexity Ω(ν), i.e. a linear lower bound, and it is shown that implementations based upon Turner Combinators or Hughes Super-combinators have complexities 2, i.
An algorithm for optimal lambda calculus reduction
- Computer SciencePOPL '90
- 1989
We present an algorithm for lambda expression reduction that avoids any copying that could later cause duplication of work. It is optimal in the sense defined by Lévy. The basis of the algorithm is a…
On laziness and optimality in lambda interpreters: tools for specification and analysis
- MathematicsPOPL '90
- 1989
It is shown that ACCL has properties not possessed by Curien's original combinators that make it particularly appropriate as the basis for implementation and analysis of a wide range of reduction schemes using shared environments, closures, or λ-terms.
Linear Logic, Comonads and Optimal Reduction
- Computer ScienceFundam. Informaticae
- 1995
The paper relates the two “brackets” in [GAL92a] to the two operations associated with the comonad “e” of Linear Logic, which can be then understood as a “local implementation’ of naturality laws.
Linear logic without boxes
- Computer Science[1992] Proceedings of the Seventh Annual IEEE Symposium on Logic in Computer Science
- 1992
An implementation of proof nets without boxes is described, which helps in understanding optimal reductions in the lambda -calculus and in the various programming languages inspired by linear logic.