Semantics of Intensional Type Theory extended with Decidable Equational Theories

Incorporating extensional equality into a dependent intensional type system such as the Calculus of Constructions (CC) provides with stronger type-checking capabilities and makes the proof development closer to intuition. Since strong forms of extensionality generally leads to undecidable type-checking, it seems a reasonable trade-off to extend intensional equality with a decidable first-order theory, as experimented in earlier work on CoqMTU and its implementation CoqMT. In this work, CoqMTU is extended with strong eliminations. The meta-theoretical study, particularly the part relying on semantic arguments, is more complex. A set-theoretical model of the equational theory is the key ingredient to derive the logical consistency of the formalism. Strong normalization, the main lemma from which type-decidability follows, is proved by attaching realizability information to the values of the model. The approach we have followed is to first consider an abstract notion of first-order equational theory, and then instantiate it with a particular instance, Presburger Arithmetic. These results have been formalized using Coq.

[1]  Thorsten Altenkirch,et al.  Proving Strong Normalization of CC by Modifying Realizability Semantics , 1994, TYPES.

[2]  Frédéric Blanqui,et al.  Inductive types in the Calculus of Algebraic Constructions , 2003, Fundam. Informaticae.

[3]  Hugo Herbelin,et al.  Equality Is Typable in Semi-full Pure Type Systems , 2010, 2010 25th Annual IEEE Symposium on Logic in Computer Science.

[4]  Christine Paulin-Mohring,et al.  Inductive Definitions in the system Coq - Rules and Properties , 1993, TLCA.

[5]  Jean-Pierre Jouannaud,et al.  From Formal Proofs to Mathematical Proofs: A Safe, Incremental Way for Building in First-order Decision Procedures , 2008, IFIP TCS.

[6]  Zhaohui Luo,et al.  ECC, an extended calculus of constructions , 1989, [1989] Proceedings. Fourth Annual Symposium on Logic in Computer Science.

[7]  Mark-Oliver Stehr,et al.  The Open Calculus of Constructions (Part II): An Equational Type Theory with Dependent Types for Programming, Specification, and Interactive Theorem Proving , 2005, Fundam. Informaticae.

[8]  Bruno Barras,et al.  Sets in Coq, Coq in Sets , 2010, J. Formaliz. Reason..

[9]  Thierry Coquand,et al.  The Calculus of Constructions , 1988, Inf. Comput..

[10]  W. Tait A realizability interpretation of the theory of species , 1975 .

[11]  Pierre-Yves Strub,et al.  Coq Modulo Theory , 2010, CSL.

[12]  Pierre-Yves Strub Théories des types et procédures de décisions , 2008 .

[13]  Jean-Louis Krivine,et al.  Lambda-calculus, types and models , 1993, Ellis Horwood series in computers and their applications.

[14]  Jean-Pierre Jouannaud,et al.  CoQMTU: A Higher-Order Type Theory with a Predicative Hierarchy of Universes Parametrized by a Decidable First-Order Theory , 2011, 2011 IEEE 26th Annual Symposium on Logic in Computer Science.

[15]  Nicolas Oury Extensionality in the Calculus of Constructions , 2005, TPHOLs.