induction-induction
   HOME

TheInfoList



OR:

In
intuitionistic type theory Intuitionistic type theory (also known as constructive type theory, or Martin-Löf type theory) is a type theory and an alternative foundation of mathematics. Intuitionistic type theory was created by Per Martin-Löf, a Swedish mathematician an ...
(ITT), some discipline within
mathematical logic Mathematical logic is the study of formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of forma ...
, induction-induction is for simultaneously declaring some inductive type and some inductive predicate over this type. An inductive definition is given by rules for generating elements of some type. One can then define some predicate on that type by providing constructors for forming the elements of the predicate , such inductively on the way the elements of the type are generated. Induction-induction generalizes this situation since one can ''simultaneously'' define the type and the predicate, because the rules for generating elements of the type A : \mathsf are allowed to refer to the predicate B : A \to \mathsf. Induction-induction can be used to define larger types including various universe constructions in type theory. and limit constructions in category/topos theory.


Example 1

Present the type A as having the following constructors , note the early reference to the predicate B : * aa : A * \ell\ell : \prod_ B(x) \to A ; and-simultaneously present the predicate B as having the following constructors : * \mathsf : B(aa) * \mathsf : B(aa) * if x : A and y : B(x) then \mathsf : B(\ell\ell(x,y)) * if x : A and y : B(x) and z : B(\ell\ell(x,y)) then \mathsf(z) : B(\ell\ell(x,y)).


Example 2

A simple common example is the Universe à la Tarski type former. It creates some inductive type U : \mathsf and some inductive predicate T : U \to \mathsf. For every type in the type theory (except U itself!), there will be some element of U which may be seen as some code for this corresponding type ; The predicate T inductively encodes each possible type to the corresponding element of U ; and constructing new codes in U will require referring to the decoding-as-type of earlier codes , via the predicate T .


See also

*
Induction-recursion In intuitionistic type theory (ITT), a discipline within mathematical logic, induction-recursion is a feature for simultaneously declaring a type and function on that type. It allows the creation of larger types, such as universes, than inductive ...
– for simultaneously declaring some inductive type and some recursive function on this type .


References

{{reflist


External links


A list of Peter Dybjer's publications on induction and induction-recursion
Type theory