Inductive families

A general formulation of inductive and recursive definitions in Martin-Löf's type theory is presented. It extends Backhouse's ‘Do-It-Yourself Type Theory’ to include inductive definitions of families of sets and definitions of functions by recursion on the way elements of such sets are generated. The formulation is in natural deduction and is intended to be a natural generalisation to type theory of Martin-Löf's theory of iterated inductive definitions in predicate logic.Formal criteria are given for correct formation and introduction rules of a new set former capturing definition by strictly positive, iterated, generalised induction. Moreover, there is an inversion principle for deriving elimination and equality rules from the formation and introduction rules. Finally, there is an alternative schematic presentation of definition by recursion.The resulting theory is a flexible and powerful language for programming and constructive mathematics. We hint at the wealth of possible applications by showing several basic examples: predicate logic, generalised induction, and a formalisation of the untyped lambda calculus.

[1]  Martín Abadi,et al.  Explicit substitutions , 1989, POPL '90.

[2]  Per Martin-Löf,et al.  Constructive mathematics and computer programming , 1984 .

[3]  P. Mendler Inductive Definition in Type Theory , 1988 .

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

[5]  F. Honsell,et al.  A Framework for De ning LogicsRobert Harper , 1987 .

[6]  Robert S. Boyer,et al.  A computational logic handbook , 1979, Perspectives in computing.

[7]  Thierry Coquand,et al.  Pattern Matching with Dependent Types , 1992 .

[8]  Jan M. Smith,et al.  Propositional Functions and Families of Types , 1989, Notre Dame J. Formal Log..

[9]  Lawrence C. Paulson,et al.  The foundation of a generic theorem prover , 1989, Journal of Automated Reasoning.

[10]  Peter Schroeder-Heister,et al.  A natural extension of natural deduction , 1984, Journal of Symbolic Logic.

[11]  de Ng Dick Bruijn,et al.  Telescopic Mappings in Typed Lambda Calculus , 1991, Inf. Comput..

[12]  Bengt Nordström Terminating general recursion , 1988, BIT Comput. Sci. Sect..

[13]  Pierre-Louis Curien,et al.  An Abstract Framework for Environment Machines , 1991, Theor. Comput. Sci..

[14]  P. Martin-Löf Hauptsatz for the Intuitionistic Theory of Iterated Inductive Definitions , 1971 .

[15]  Michael Hedberg,et al.  Normalising the associative law: An experiment with Martin-Löf's type theory , 1991, Formal Aspects of Computing.

[16]  Peter Dybjer,et al.  Comparing Integrated and External Logics of Functional Programs , 1990, Sci. Comput. Program..

[17]  P. Dybjer Inductive sets and families in Martin-Lo¨f's type theory and their set-theoretic semantics , 1991 .

[18]  Furio Honsell,et al.  A framework for defining logics , 1993, JACM.

[19]  Nora Szasz,et al.  A machine checked proof that Ackermann's function is not primitive recursive , 1993 .

[20]  Dan Synek,et al.  A Set Constructor for Inductive Sets in Martin-Löf's Type Theory , 1989, Category Theory and Computer Science.

[21]  Per Martin-Löf,et al.  An intuitionistic theory of types , 1972 .

[22]  P. Martin-Löf An Intuitionistic Theory of Types: Predicative Part , 1975 .

[23]  Bengt Nordström,et al.  Programming in Martin-Lo¨f's type theory: an introduction , 1990 .

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