Skip to main navigation Skip to search Skip to main content

Distilling abstract machines

  • Carnegie Mellon University
  • Universidad de Buenos Aires

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

51 Citations (Scopus)

Abstract

It is well-known that many environment-based abstract machines can be seen as strategies in lambda calculi with explicit substitutions (ES). Recently, graphical syntaxes and linear logic led to the linear substitution calculus (LSC), a new approach to ES that is halfway between small-step calculi and traditional calculi with ES. This paper studies the relationship between the LSC and environment-based abstract machines. While traditional calculi with ES simulate abstract machines, the LSC rather distills them: some transitions are simulated while others vanish, as they map to a notion of structural congruence. The distillation process unveils that abstract machines in fact implement weak linear head reduction, a notion of evaluation having a central role in the theory of linear logic. We show that such a pattern applies uniformly in call-by-name, call-by-value, and call-by-need, catching many machines in the literature. We start by distilling the KAM, the CEK, and a sketch of the ZINC, and then provide simplified versions of the SECD, the lazy KAM, and Sestoft's machine. Along the way we also introduce some new machines with global environments. Moreover, we show that distillation preserves the time complexity of the executions, i.e. the LSC is a complexity-preserving abstraction of abstract machines.

Original languageEnglish
Title of host publicationICFP 2014 - Proceedings of the 2014 ACM SIGPLAN International Conference on Functional Programming
PublisherAssociation for Computing Machinery
Pages363-376
Number of pages14
ISBN (Print)9781450328739, 9781450328739
DOIs
Publication statusPublished - 19 Aug 2014
Event19th ACM SIGPLAN International Conference on Functional Programming, ICFP 2014 - Gothenburg, Sweden
Duration: 1 Sept 2014 → 3 Sept 2014

Publication series

NameProceedings of the ACM SIGPLAN International Conference on Functional Programming, ICFP

Conference

Conference19th ACM SIGPLAN International Conference on Functional Programming, ICFP 2014
Country/TerritorySweden
CityGothenburg
Period1/09/14 → 3/09/14

Keywords

  • abstract machines
  • call-by-need
  • explicit substitutions
  • lambda-calculus
  • linear head reduction
  • linear logic

Fingerprint

Dive into the research topics of 'Distilling abstract machines'. Together they form a unique fingerprint.

Cite this