On the Value of Variables - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Information and Computation Année : 2017

On the Value of Variables

Résumé

Call-by-value and call-by-need $λ$-calculi are defined using the distinguished syntactic category of values. In theoretical studies, values are variables and abstractions. In more practical works, values are usually defined simply as abstractions. This paper shows that practical values lead to a more efficient process of substitution—for both call-by-value and call-by-need—once the usual hypothesis for implementations hold (terms are closed, reduction does not go under abstraction , and substitution is done in micro steps, replacing one variable occurrence at a time). Namely, the number of substitution steps becomes linear in the number of $β$-redexes, while theoretical values only provide a quadratic bound. We complete the picture by showing that the same quadratic / linear bounds also hold for theoretical / practical versions of call-by-name.
Fichier principal
Vignette du fichier
main.pdf (179.63 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01675373 , version 1 (04-01-2018)

Identifiants

Citer

Beniamino Accattoli, Claudio Sacerdoti Coen. On the Value of Variables. Information and Computation, 2017, 255, pp.224 - 242. ⟨10.1016/j.ic.2017.01.003⟩. ⟨hal-01675373⟩
142 Consultations
152 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More