English

Positive Sharing and Abstract Machines

Logic in Computer Science 2025-09-05 v2 Programming Languages

Abstract

Wu's positive λ\lambda-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.

Keywords

Cite

@article{arxiv.2506.14131,
  title  = {Positive Sharing and Abstract Machines},
  author = {Beniamino Accattoli and Claudio Sacerdoti Coen and Jui-Hsuan Wu},
  journal= {arXiv preprint arXiv:2506.14131},
  year   = {2025}
}

Comments

Version with proof appendix of the paper with the same title in the proceedings of APLAS 2025

R2 v1 2026-07-01T03:21:03.351Z