Wu’s positive lamnda-calculus is a recent call-by-value lambda-calculus with sharing coming from Miller and Wu’s study of the proof-theoretical concept of focalization. Accattoli and Wu showed that it simplifies a technical aspect of the study of sharing; namely it rules out the recurrent issue of renaming chains, that often causes a quadratic time slowdown. In this paper, we define the natural abstract machine for the positive lambda-calculus and show that it suffers from an inefficiency: the quadratic slowdown somehow reappears when analyzing the cost of the machine. We then design an optimized machine for the positive lambda-calculus, which we prove efficient. The optimization is based on a new slicing technique which is dual to the standard structure of machine environments.

Accattoli, B., Sacerdoti Coen, C., Wu, J.H. (2025). Positive Sharing and Abstract Machines. Cham : Springer [10.1007/978-981-95-3585-9_6].

Positive Sharing and Abstract Machines

Sacerdoti Coen C.;
2025

Abstract

Wu’s positive lamnda-calculus is a recent call-by-value lambda-calculus with sharing coming from Miller and Wu’s study of the proof-theoretical concept of focalization. Accattoli and Wu showed that it simplifies a technical aspect of the study of sharing; namely it rules out the recurrent issue of renaming chains, that often causes a quadratic time slowdown. In this paper, we define the natural abstract machine for the positive lambda-calculus and show that it suffers from an inefficiency: the quadratic slowdown somehow reappears when analyzing the cost of the machine. We then design an optimized machine for the positive lambda-calculus, which we prove efficient. The optimization is based on a new slicing technique which is dual to the standard structure of machine environments.
2025
Programming Languages and Systems. APLAS 2025
107
127
Accattoli, B., Sacerdoti Coen, C., Wu, J.H. (2025). Positive Sharing and Abstract Machines. Cham : Springer [10.1007/978-981-95-3585-9_6].
Accattoli, B.; Sacerdoti Coen, C.; Wu, J. H.
File in questo prodotto:
File Dimensione Formato  
main-3.pdf

embargo fino al 30/10/2026

Tipo: Postprint / Author's Accepted Manuscript (AAM) - versione accettata per la pubblicazione dopo la peer-review
Licenza: Licenza per accesso libero gratuito
Dimensione 506.33 kB
Formato Adobe PDF
506.33 kB Adobe PDF   Visualizza/Apri   Contatta l'autore

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/1046019
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
  • OpenAlex ND
social impact