Beta Reduction is Invariant, Indeed

Abstract : Slot and van Emde Boas' weak invariance thesis states that reasonable machines can simulate each other within a polynomially overhead in time. Is λ-calculus a reasonable machine? Is there a way to measure the computational complexity of a λ-term? This paper presents the first complete positive answer to this long-standing problem. Moreover, our answer is completely machine-independent and based over a standard notion in the theory of λ-calculus: the length of a leftmost-outermost derivation to normal form is an invariant cost model. Such a theorem cannot be proved by directly relating λ-calculus with Turing machines or random access machines, because of the size explosion problem: there are terms that in a linear number of steps produce an exponentially long output. The first step towards the solution is to shift to a notion of evaluation for which the length and the size of the output are linearly related. This is done by adopting the linear substitution calculus (LSC), a calculus of explicit substitutions modelled after linear logic and proof-nets and admitting a decomposition of leftmost-outermost derivations with the desired property. Thus, the LSC is invariant with respect to, say, random access machines. The second step is to show that LSC is invariant with respect to the λ-calculus. The size explosion problem seems to imply that this is not possible: having the same notions of normal form, evaluation in the LSC is exponentially longer than in the λ-calculus. We solve such an impasse by introducing a new form of shared normal form and shared reduction, deemed useful. Useful evaluation avoids those steps that only unshare the output without contributing to β-redexes, i.e., the steps that cause the blow-up in size.
Type de document :
Communication dans un congrès
Joint Meeting of the Twenty-Third EACSL Annual Conference on Computer Science Logic (CSL) and the Twenty-Ninth Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), Jul 2014, Vienna, Austria. 2014, 〈10.1145/2603088.2603105〉
Liste complète des métadonnées

Littérature citée [27 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01091551
Contributeur : Ugo Dal Lago <>
Soumis le : vendredi 5 décembre 2014 - 16:01:45
Dernière modification le : jeudi 10 mai 2018 - 02:06:41
Document(s) archivé(s) le : lundi 9 mars 2015 - 06:04:19

Fichier

main (3).pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Beniamino Accattoli, Ugo Dal Lago. Beta Reduction is Invariant, Indeed. Joint Meeting of the Twenty-Third EACSL Annual Conference on Computer Science Logic (CSL) and the Twenty-Ninth Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), Jul 2014, Vienna, Austria. 2014, 〈10.1145/2603088.2603105〉. 〈hal-01091551〉

Partager

Métriques

Consultations de la notice

383

Téléchargements de fichiers

90