Is the Optimal Implementation Inefficient? Elementarily Not - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2017

Is the Optimal Implementation Inefficient? Elementarily Not

Stefano Guerrini
  • Fonction : Auteur
  • PersonId : 1023438
Marco Solieri

Résumé

Sharing graphs are a local and asynchronous implementation of lambda-calculus beta-reduction (or linear logic proof-net cut-elimination) that avoids useless duplications. Empirical benchmarks suggest that they are one of the most efficient machineries, when one wants to fully exploit the higher-order features of lambda-calculus. However, we still lack confirming grounds with theoretical solidity to dispel uncertainties about the adoption of sharing graphs. Aiming at analysing in detail the worst-case overhead cost of sharing operators, we restrict to the case of elementary and light linear logic, two subsystems with bounded computational complexity of multiplicative exponential linear logic. In these two cases, the bookkeeping component is unnecessary, and sharing graphs are simplified to the so-called " abstract algorithm ". By a modular cost comparison over a syntactical simulation, we prove that the overhead of shared reductions is quadratically bounded to cost of the naive implementation, i.e. proof-net reduction. This result generalises and strengthens a previous complexity result, and implies that the price of sharing is negligible, if compared to the obtainable benefits on reductions requiring a large amount of duplication.
Fichier principal
Vignette du fichier
LIPIcs-FSCD-2017-17.pdf (798.58 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01644123 , version 1 (22-11-2017)

Identifiants

Citer

Stefano Guerrini, Marco Solieri. Is the Optimal Implementation Inefficient? Elementarily Not. 2nd International Conference on Formal Structures for Computation and Deduction (FSCD 2017), Sep 2017, Oxford, United Kingdom. pp.17:1 - 17:16, ⟨10.4230/LIPIcs.FSCD.2017.17⟩. ⟨hal-01644123⟩
155 Consultations
75 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More