Abstract This paper presents a new lambda-calculus with singleton types, called λ≤{}βδ. The main novelty of λ≤{}βδ is the introduction of a new reduction, the δ-reduction, replacing any variable declared of singleton type by its value, and the definition of equality as the syntactic equality of βδ-normal forms. The δ-reduction has a very odd behavior on untyped terms, which renders its metatheoretical study difficult since the usual proof method for subject-reduction and Church-Rosser property are inapplicable. Nevertheless, these properties can be proved simultaneously with strong normalization on typed terms using a proof method a la Coquand-Gallier, borrowing ideas to Goguen. In spite of its complex metatheory, our calculus enjoys a simple, sound and complete type-inference algorithm.
[1]
Adriana B. Compagnoni,et al.
Typed operational semantics for higher-order subtyping
,
2003,
Inf. Comput..
[2]
Masako Takahashi,et al.
Parallel reductions in λ-calculus (revised version)
,
1992
.
[3]
Robert Harper,et al.
Abstract 1 Introduction
,
2022
.
[4]
David Aspinall,et al.
Subtyping with Singleton Types
,
1994,
CSL.
[5]
J. H. Geuvers.
Logics and type systems
,
1993
.
[6]
Piergiorgio Odifreddi,et al.
Logic and computer science
,
1990
.
[7]
J. Gallier.
On Girard's "Candidats de Reductibilité"
,
1989
.
[8]
Judicaël Courant,et al.
A Module Calculus for Pure Type Systems
,
1997,
TLCA.
[9]
Healfdene Goguen.
A typed operational semantics for type theory
,
1994
.