Call-by-value, call-by-name and the vectorial behaviour of the algebraic λ-calculus
arXiv:1005.2897 · doi:10.2168/LMCS-10(4:8)2014
Abstract
We examine the relationship between the algebraic lambda-calculus, a fragment of the differential lambda-calculus and the linear-algebraic lambda-calculus, a candidate lambda-calculus for quantum computation. Both calculi are algebraic: each one is equipped with an additive and a scalar-multiplicative structure, and their set of terms is closed under linear combinations. However, the two languages were built using different approaches: the former is a call-by-name language whereas the latter is call-by-value; the former considers algebraic equalities whereas the latter approaches them through rewrite rules. In this paper, we analyse how these different approaches relate to one another. To this end, we propose four canonical languages based on each of the possible choices: call-by-name versus call-by-value, algebraic equality versus algebraic rewriting. We show that the various languages simulate one another. Due to subtle interaction between beta-reduction and algebraic rewriting, to make the languages consistent some additional hypotheses such as confluence or normalisation might be required. We carefully devise the required properties for each proof, making them general enough to be valid for any sub-language satisfying the corresponding properties.
References in corpus (2)
Cited by in corpus (14)
- The Vectorial -Calculus
- Two linearities for quantum computing in the lambda calculus
- Realizability in the Unitary Sphere
- Quantum Control in the Unitary Sphere: Lambda-S1 and its Categorical Model
- A categorical construction for the computational definition of vector spaces
- An Overview of Quantum Software Engineering in Latin America
- A lambda calculus for density matrices with classical and probabilistic controls
- A concrete model for a typed linear algebraic lambda calculus
- From Symmetric Pattern-Matching to Quantum Control (Extended Version)
- Towards a Computational Quantum Logic: An Overview of an Ongoing Research Program
- The Relational Machine Calculus
- On the Taylor expansion of -terms and the groupoid structure of their rigid approximants
- IMALL with a Mixed-State Modality: A Logical Approach to Quantum Computation
- A Quantum-Control Lambda-Calculus with Multiple Measurement Bases