TY - GEN
T1 - Polarised intermediate representation of lambda calculus with sums
AU - Munch-Maccagnoni, Guillaume
AU - Scherer, Gabriel
N1 - Publisher Copyright:
© 2015 IEEE.
PY - 2015/7/31
Y1 - 2015/7/31
N2 - 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.
AB - 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.
KW - Abstract machines
KW - Continuation-passing style
KW - Defunctionalization
KW - Focalization
KW - Intuitionistic logic
KW - Polarization
KW - Sequent calculus
KW - λ-calculus with sums
U2 - 10.1109/LICS.2015.22
DO - 10.1109/LICS.2015.22
M3 - Conference contribution
AN - SCOPUS:84945919409
T3 - Proceedings - Symposium on Logic in Computer Science
SP - 127
EP - 140
BT - Proceedings - 2015 30th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2015
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 30th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2015
Y2 - 6 July 2015 through 10 July 2015
ER -