Polarised intermediate representation of lambda calculus with sums

Guillaume Munch-Maccagnoni, Gabriel Scherer

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The theory of the λ-calculus with extensional sums is more complex than with only pairs and functions. We propose an untyped representation - an intermediate calculus - for the λ-calculus with sums, based on the following principles: 1) Computation is described as the reduction of pairs of an expression and a context, the context must be represented inside-out, 2) Operations are represented abstractly by their transition rule, 3) Positive and negative expressions are respectively eager and lazy, this polarity is an approximation of the type. We offer an introduction from the ground up to our approach, and we review the benefits. A structure of alternating phases naturally emerges through the study of normal forms, offering a reconstruction of focusing. Considering further purity assumption, we obtain maximal multi-focusing. As an application, we can deduce a syntax-directed algorithm to decide the equivalence of normal forms in the simply-typed λ-calculus with sums, and justify it with our intermediate calculus.

Original languageEnglish
Title of host publicationProceedings - 2015 30th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2015
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages127-140
Number of pages14
ISBN (Electronic)9781479988754
DOIs
Publication statusPublished - 31 Jul 2015
Externally publishedYes
Event30th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2015 - Kyoto, Japan
Duration: 6 Jul 201510 Jul 2015

Publication series

NameProceedings - Symposium on Logic in Computer Science
Volume2015-July
ISSN (Print)1043-6871

Conference

Conference30th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2015
Country/TerritoryJapan
CityKyoto
Period6/07/1510/07/15

Keywords

  • Abstract machines
  • Continuation-passing style
  • Defunctionalization
  • Focalization
  • Intuitionistic logic
  • Polarization
  • Sequent calculus
  • λ-calculus with sums

Fingerprint

Dive into the research topics of 'Polarised intermediate representation of lambda calculus with sums'. Together they form a unique fingerprint.

Cite this