Path induction
If we endow intensional type theory with a homotopical interpretation (on a philosophical/ontological level), then the elimination rule for intensional identity types (also known as
Recall the
\frac{
\Gamma \vdash P : \textsf{Id}_A(M, N)
\quad
\Gamma, x : A, y : A, p : \textsf{Id}_A(x, y) \vdash C \textsf{ type}
\quad
\Gamma, z : A \vdash X : C[z, z, \textsf{refl}_A(z)/x, y, p]
}{
\Gamma \vdash \textsf{J}_{x, y, p. C}(M, N, P, X) : C[M, N, P/x, y, p]
}
We can think of the type
The
In a sense, the path induction rule is just a "plain old" induction principle for an indexed inductive type: the only constructor for paths is
However, the surprising thing about Homotopy Type Theory is that the path induction rule remains sound despite the addition of further constructors for identity types -other than reflexivity! Recall that these come from the univalence axiom and higher inductive types.
Based path induction
Based path induction refers to the following alternative to the
\frac{
\Gamma \vdash P : \textsf{Id}_A(M, N)
\quad
\Gamma, y : A, p : \textsf{Id}_A(M, y) \vdash C \textsf{ type}
\quad
\Gamma, z : A \vdash X : C[z, \textsf{refl}_A(z)/y, p]
}{
\Gamma \vdash \textsf{B}^M_{y, p. C}(N, P, X) : C[N, P/y, p]
}
In words: if we are given a point
Compared to path induction,
We quote the following passage from the bibliography of Chapter 1 of the HoTT book:
The path induction principle for identity types was formulated by Martin-Löf ML98. The
based path induction rule in the setting of Martin-Löf type theory is due to Paulin-Mohring
PM93; it can be seen as an intensional generalization of the concept of “pointwise functionality”
for hypothetical judgments from NuPRL CAB+86, Section 8.1. The fact that Martin-Löf’s rule
implies Paulin-Mohring’s was proved by Streicher using Axiom K (see §7.2), by Altenkirch and
Goguen as in §1.12, and finally by Hofmann without universes (as in Exercise 1.7); see Str93,
§1.3 and Addendum.
References
- Based path induction was first described (not under that name) by Christine Paulin-Mohring in
@incollection{paulin-mohring_1993,
address = {Berlin/Heidelberg},
series = {Lecture {Notes} in {Computer} {Science}},
title = {Inductive definitions in the system {Coq} rules and properties},
volume = {664},
isbn = {978-3-540-56517-8},
urldate = {2020-11-26},
booktitle = {Typed {Lambda} {Calculi} and {Applications}},
publisher = {Springer-Verlag},
author = {Paulin-Mohring, Christine},
editor = {Bezem, Marc and Groote, Jan Friso},
year = {1993},
doi = {10.1007/BFb0037116},
pages = {328--345}
}
- There is an extensive textbook presentation of path induction and based path induction (as well as a detailed proof of their equivalence) in §1.12.1-2 of the HoTT book.