Extensional Rewriting with Sums

Inspired by recent work on normalisation by evaluation for sums, we propose a normalising and confluent extensional rewriting theory for the simply-typed λ-calculus extended with sum types. As a corollary of confluence we obtain decidability for the extensional equational theory of simply-typed λ-calculus extended with sum types. Unlike previous decidability results, which rely on advanced rewriting techniques or advanced category theory, we only use standard techniques.

[1]  Matthias Eberl Normalization by evaluation , 2002 .

[2]  Roberto Di Cosmo,et al.  Extensional normalisation and type-directed partial evaluation for typed lambda calculus with sums , 2004, POPL.

[3]  Martin Hofmann,et al.  Normalization by evaluation for typed lambda calculus with coproducts , 2001, Proceedings 16th Annual IEEE Symposium on Logic in Computer Science.

[4]  J. Girard,et al.  Proofs and types , 1989 .

[5]  D. Prawitz Ideas and Results in Proof Theory , 1971 .

[6]  Bernhard Möller,et al.  Prospects for Hardware Foundations , 2002, Lecture Notes in Computer Science.

[7]  Neil Ghani,et al.  ßn-Equality for Coproducts , 1995, TLCA.

[8]  Masahito Hasegawa,et al.  A Terminating and Confluent Linear Lambda Calculus , 2006, RTA.

[9]  Ian Stark,et al.  Reducibility and TT-Lifting for Computation Types , 2005, TLCA.

[10]  Sam Lindley,et al.  Normalisation by evaluation in the compilation of typed functional programming languages , 2005 .

[11]  Gérard P. Huet,et al.  Confluent Reductions: Abstract Properties and Applications to Term Rewriting Systems , 1980, J. ACM.

[12]  Helmut Schwichtenberg,et al.  Normalisation by Evaluation , 1998, Prospects for Hardware Foundations.

[13]  S. Lindley Reducibility and > >-lifting for Computation Types , 2004 .

[14]  Gerard Huet,et al.  Conflunt reductions: Abstract properties and applications to term rewriting systems , 1977, 18th Annual Symposium on Foundations of Computer Science (sfcs 1977).

[15]  Henk Barendregt,et al.  The Lambda Calculus: Its Syntax and Semantics , 1985 .