Showing changes from revision #10 to #11:
Added | Removed | Changed
Categorially 1Categorially ahigher inductive type in an extensional type theory is an initial algebra of an endofunctor. In intensional type theory this analogy fails.
In particular -types in an extensional type theory correspond to initial algebras of polynomial functors. Also this is not true for intensional type theories.
This failure of intensional type theory can be (at least for -types and some more general cases) remedied by replacing “initial” by “homotopy initial”. This is the main result (to be found in §2) of
The four standard forms of typing judgements are
(1)
(2) definitional equality for types
(3)
(4) definitional equality for termes
There is also another notion of equality - namely propositional equality:
(1) -formation rule
(2) -introduction rule
(3) -elimination rule
(4) -computation rule
One important effect of not having the identity-reflection rule
is that it is impossible to prove that the empty type is an initial object. There are some extensionality principles which are weaker than the identity reflection rule: Streicher’s K-rule, the Uniqueness of Identity Proofs (UIP) which also has benn considered in context of Observational Type Theory. However these constructions seem to be ad hoc and lack a conceptual basis.
The dependent type theory is defined to have -in addition to the standard structural rules- the folowing rules:
(1) the rules for identity types.
(2) rules for -types as presented in Nordstrom-Petterson-Smith §5.8
(3) rules for -types as presented in Garner §3.2
(4) the propositional -rule for -types: the rule asserting that for every $f:(\Pi x:A)B(x), the type
is inhabited.
(5) the Function extensionality axiom (FE): the rule asserting that for every , the type
Comments:
In Voevodsky’s Coq files is shown that the -rule for dependent functions and the function extensionality principle imply the corresponding function extensionality principle for -types. is inhabited.
The function extensionality axiom (FE) is implied by the univalence axiom. The system does not have a global extensionality rule such as the identity reflection rule K or UIP
The transport function: An identity term is interpreted as a path between the points and . More generally an identity term with free variable is interpreted as a continuous family of paths, i.e. a homotopy between the continuous functions. The identity elimination rule implies that type dependency respects identity: For a dependent type
and an identity term , there is a transport function
For the function is obtained by -elimination.
(…)
The rules for -types in extensional type theory are from the notes to Martin-Löf’s lecture on intuitionistic type theories.
(1) -formation rule
In the following we will sometimes abbreviate by
(2) -introduction rule
(3) -elimination rule
(4) -elimination -computation rule
Comments:
We can think of -types as free algebras for signatures with operations of possibly infinite arity, but no equations:
(ad1) We consider the premises of this rule as specifying a signature which has the elements of as operations and in which the arity of is the cardinality of the type .
(ad2) Then, the introduction rule -as always- specifies the canonical way of forming an element of the type in consideration.
(ad3) The elimination rule can be interpreted as the propositions-as-types translation of the appropriate induction principle.
In more detail, let denote the type theory obtained form by adopting the identity reflection rule and let denote the category types as objects and function types as morphisms where two maps are considered to be equal if they are definitionally equal.
Then, the premisses of the introduction rule determine the polynomial endofunctor defined by
A -algebra is a pair
Steve Awodey, Nicola gambino, Kristina Sojakova, inductive types in homotopy type theory, arXiv:1201.3898
S. Awodey, Type theory and homotopy, pdf
T. Streicher, Investigations into intensional type theory, 1993, Habilitation Thesis. Available from the author’s web page.
B. Nordstrom, K. Petersson, and J. Smith, Martin-Löf type theory in Handbook of Logic in Computer Science. Oxford Uni- versity Press, 2000, vol. 5, pp. 1–37
R. Garner, On the strength of dependent products in the type theory of Martin-Löf, Annals of Pure and Applied Logic, vol. 160, pp. 1–12, 2009.
V. Voevodsky, Univalent foundations Coq files, 2010, available from the author’s web page.
P. Martin-Löf, Intuitionistic Type Theory. Notes by G. Sambin of a series of lectures given in Padua, 1980. Bibliopolis, 1984.