196 Type Theories as Truncations of One Chain

Simple type theory, Martin-Löf’s intuitionistic type theory (ITT), the calculus of constructions, homotopy type theory and cubical type theory are not alternatives but initial segments of a single chain issuing from \(A=A\). The identity type is the fibre of the diagonal, the dependent products and sums are the adjoints of composition, the universe hierarchy is the rank stratification, path inversion is the involution, and univalence occupies the position held throughout by the one inequality.

196.1 The identity type is the diagonal

The diagonal \(\Delta :A\to A\times A\) is what \(A=A\) furnishes. Its fibres over a pair give the identity type, and its image gives the canonical inhabitant:

\begin{equation} \mathrm {Id}_A(a,b)=\Delta ^{-1}(a,b), \qquad \mathrm {refl}_a:\mathrm {Id}_A(a,a). \tag{10973}\end{equation}
Nothing further is needed to obtain \(\mathrm {Id}\) and \(\mathrm {refl}\): the type of identifications and its reflexivity witness are the fibre and the section of one map.

196.2 Dependent sums and products are the adjoints of composition

Composition was defined by an existential quantifier, and the type-theoretic counterparts are

\begin{equation} \Sigma _{x:A}B(x)=\coprod _{x:A}B(x), \qquad \Pi _{x:A}B(x)=\prod _{x:A}B(x), \tag{10974}\end{equation}
related to substitution along \(f\) by
\begin{equation} \Sigma _f\ \dashv \ f^{*}\ \dashv \ \Pi _f . \tag{10975}\end{equation}
This is the same adjoint pattern as the free–forgetful adjunction \(F\dashv U\) of Subsection 585: \(\Sigma \) is the existential of composition and \(\Pi \) its universal companion.

196.3 The universe hierarchy is the rank stratification

A universe closes the types under formation,

\begin{equation} U_0:U_1:U_2:\cdots , \qquad A:U_\alpha \ \Longrightarrow \ A:\mathbf {Type}, \tag{10976}\end{equation}
which is exactly the stratification by rank,
\begin{equation} \operatorname {rk}:\mathbf {Type}\to \mathrm {Ord}, \qquad U_\alpha =\operatorname {rk}^{-1}(\alpha ). \tag{10977}\end{equation}
Consistency requires \(U_\alpha :U_{\alpha +1}\) and \(U_\alpha \not :U_\alpha \), which is the irreflexivity \(\neg (\alpha <\alpha )\) used in Subsection 195 to exclude a fixed point of the successor. The same condition that forbids \(\omega =s(\omega )\) forbids \(U\in U\), and it is the cone condition \(P\cap (-P)=\{0\}\) read in the relational form \(R\cap \vartheta R\subseteq \Delta \).

196.4 Path algebra is the triple \((\Delta ,\circ ,\vartheta )\)

Reading \(\mathrm {Id}_A(a,b)\) as a type of paths, the operations are

\begin{equation} \mathrm {refl}_a:a=a, \qquad p\cdot q:a=c\ \ (p:a=b,\ q:b=c), \qquad p^{-1}:b=a, \tag{10978}\end{equation}
with \((p^{-1})^{-1}=p\). These are precisely the three ingredients of the order axioms:




Path operation Relational form Axiom



\(\mathrm {refl}\) \(\Delta \subseteq R\) reflexivity
\(p\cdot q\) \(R\circ R\subseteq R\) transitivity
\(p^{-1}\) \(\vartheta =(-)^{\mathrm {op}}\) symmetry



The difference from an order is that here symmetry is asserted rather than excluded: a groupoid is what one obtains by keeping \(\vartheta \) instead of imposing \(R\cap \vartheta R\subseteq \Delta \). Orders and groupoids are thus the two ways of treating the same involution.

196.5 Higher structure is the stratification iterated

Identifications between identifications give cells of every dimension,

\begin{equation} a=b, \qquad p=q, \qquad \alpha =\beta ,\ \dots \tag{10979}\end{equation}
and the resulting \(\infty \)-groupoid is the rank stratification applied to the path types themselves, with \(L_n\) the \(n\)-cells. The construction does not terminate, and no truncation is imposed — the situation of Subsection 236.14, where levelwise statements suffice and no limit is taken.

196.6 Univalence and higher inductive types

Univalence asserts

\begin{equation} (A\simeq B)\ \simeq \ (A=B), \tag{10980}\end{equation}
that is, that an equivalence may be promoted to an identification. In the present notation an equivalence is an instance of \(\vartheta \) and an identification is an instance of \(\Delta \), so univalence is the assertion \(\vartheta \subseteq \Delta \) at the level of universes. It is therefore an axiom of the same kind as \(\Pi \ge \tfrac 12\): the preceding structure is available for free, and what is added is the passage from “exchangeable” to “identified”.

Higher inductive types add generators in the path types, the simplest being

\begin{equation} S^1:\quad \mathrm {base},\qquad \mathrm {loop}:\mathrm {base}=\mathrm {base}, \tag{10981}\end{equation}
so that \(\mathrm {loop}\) is a self-identification — a fixed point of the involution, presented as data rather than excluded. The computation \(\pi _1(S^1)=\mathbb {Z}\) then recovers the integers of Subsection 585, with path concatenation as addition and \(p^{-1}\) as negation.

196.7 The interval is the partition

Cubical type theory replaces the identity type by maps out of an interval,

\begin{equation} \mathbb {I}=\{0,1\},\quad 0\neq 1, \qquad p:\mathbb {I}\to A, \tag{10982}\end{equation}
and \(\mathbb {I}\) is the two-element structure \(\{O,U\}\) met throughout. A path is then a field on the partition, the dual of the presentation in Section 279 where a field was a map from the partition boundary to its parts.

196.8 Where each theory stops



Theory Segment of the chain


simple type theory \(\Delta \), \(\circ \), exponentials
Martin-Löf \(+\ \Pi ,\ \Sigma ,\ \mathrm {Id},\ U_\alpha \)
calculus of constructions \(+\) an impredicative universe
homotopy type theory \(+\ \infty \)-groupoid, univalence
cubical type theory \(+\ \mathbb {I}\), making univalence computational


196.9 The chain

\begin{equation} \begin {aligned} A=A &\;\Longrightarrow \; \Delta \;\Longrightarrow \; \mathrm {refl},\ \mathrm {Id}\\ &\;\Longrightarrow \; \circ ,\ \exists \;\Longrightarrow \; \Sigma _f\dashv f^{*}\dashv \Pi _f\\ &\;\Longrightarrow \; \operatorname {rk} \;\Longrightarrow \; U_\alpha ,\quad \neg (\alpha <\alpha )\\ &\;\Longrightarrow \; \vartheta \;\Longrightarrow \; p^{-1},\ \text {groupoid}\\ &\;\Longrightarrow \; \text {iterated stratification} \;\Longrightarrow \; \infty \text {-groupoid}\\ &\;\Longrightarrow \; \vartheta \subseteq \Delta \;\Longrightarrow \; \text {univalence}\\ &\;\Longrightarrow \; \operatorname {Fix}(\vartheta )\ \text {as data} \;\Longrightarrow \; \text {higher inductive types} . \end {aligned} \tag{10983}\end{equation}

196.10 Reading the unification

Three observations summarise the section. First, the identity type and the order relation are built from the same three operations, and differ only in whether \(\vartheta \) is kept (groupoid) or quotiented (\(R\cap \vartheta R\subseteq \Delta \), order). Second, the universe hierarchy and the exclusion of a fixed point for the successor are one condition, irreflexivity, so Russell’s paradox and \(\neg (\omega =s(\omega ))\) are the same obstruction. Third, univalence sits where \(\Pi \ge \tfrac 12\) sits: everything before it follows from the identity, and it is the single further assertion that converts a symmetry into an identification.