Pointed types and homotopy groups [01KG]
- November 16, 2025
- Jon Sterling
These notes are roughly following Chapter 19 of Rijke’s Introduction to Homotopy Type Theory.
Definition Pointed types [01KH]
- November 16, 2025
- Jon Sterling
A pointed type X is a type \left \lvert {X}\right \rvert together with an element \mathsf {pt}_{X} called the base point. In a universe (\mathcal {U},\mathcal {T}), the type of pointed types is given as follows:
\mathcal {U}_* :\equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(X:\mathcal {U})}} \mathcal {T}[X]Sometimes for a pointed type X, we will abuse notation and write X for the underlying type rather than \left \lvert {X}\right \rvert .
We can characterise identifications of pointed types as follows. We first define the following displayed reflexive graph \underline {\mathcal {T}} over the reflexive graph image \mathcal {U} / \mathcal {T} as follows:
\begin {aligned} \left \lvert {\underline {\mathcal {T}}}\right \rvert [X] &:\equiv \mathcal {T}[X] \\ \bigl \lparen x \approx ^{\underline {\mathcal {T}}}_{f:X\approx _{\mathcal {U} /\mathcal {T}} Y} y \bigr \rparen &:\equiv fx =_Y y \\ \mathsf {rx}^{\underline {\mathcal {T}}}_{X}x &:\equiv \mathsf {refl}_{x} \end {aligned}The above is univalent because all of its components are discrete reflexive graphs. When \mathcal {U} is univalent, the total reflexive graph \underline {\mathcal {U}}_* :\equiv (\mathcal {U} / \mathcal {T}).\underline {\mathcal {T}} is univalent. Thus we see that an identification of pointed types is an equivalence of the underlying types that preserves the base point:
X \approx _{\underline {\mathcal {U}}_*} Y \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(f:\left \lvert {X}\right \rvert \approx _{\mathcal {U} / \mathcal {T}}\left \lvert {Y}\right \rvert )}} f \mathsf {pt}_{X}=_{\left \lvert {Y}\right \rvert } \mathsf {pt}_{Y}Definition Loop spaces [01KI]
- November 16, 2025
- Jon Sterling
Let X be a pointed type. The loop space of X, written \Omega {X} is the pointed type of self-identifications of the base point of X, with reflexivity as the base point:
\begin {aligned} \left \lvert {\Omega {X}}\right \rvert &:\equiv (\mathsf {pt}_{X}=_{\left \lvert {X}\right \rvert }\mathsf {pt}_{X}) \\ \mathsf {pt}_{\Omega {X}} &:\equiv \mathsf {refl}_{\mathsf {pt}_{X}} \end {aligned}In fact, we can define iterated loop spaces by mathematical induction:
\begin {aligned} \Omega ^0 X &:\equiv X \\ \Omega ^{n+1}X &:\equiv \Omega (\Omega ^n X) \end {aligned}Definition Homotopy groups of a pointed type [01KJ]
- November 16, 2025
- Jon Sterling
Let X be a pointed type. For n\geq 1, the nth homotopy group of X, written \pi _nX is defined as follows.
- The underlying set \left \lvert {\pi _nX}\right \rvert is the 0-truncation \lVert \Omega ^nX\rVert _0.
- The semigroup operation \bullet _{\pi _n X} is the unique function equipped with an identification of the following form: \lvert p \rvert _0 \bullet _{\pi _n X} \lvert q \rvert _0 =_{\left \lvert {\pi _n X}\right \rvert } \lvert p\bullet q \rvert _0 Above, we are using the universal property of the reflection \lvert -\rvert _0\colon \left \lvert {\Omega ^n X}\right \rvert \to \bigl \lVert \left \lvert {\Omega ^nX}\right \rvert \bigr \rVert _0 to extend the pasting operation of loops (self-identifications of the base point) to the 0-truncation. Associativity then follows from associativity of pasting.
Proof.
- November 16, 2025
- Jon Sterling
It remains to check that we have an identity element and all inverses. Because the semigroup is inhabited, as soon as we have inverses we shall have a unit. Therefore, we must construct:
{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(u:\left \lvert {\pi _nX}\right \rvert )}} \mathsf {inverseOf}_{\pi _nX}(u)Recalling that \left \lvert {\pi _n X}\right \rvert \equiv \bigl \lVert \left \lvert {\Omega ^n X}\right \rvert \bigr \rVert _0 and that \mathsf {inverseOf}_{\pi _nX}(u) is a proposition and thus a set, we can reduce the above by means of the dependent induction principle for 0-truncation, using the fact that sets are closed under internal sums. In particular, the above is equivalent to the following:
{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(p:\left \lvert {\Omega ^n X}\right \rvert )}} \mathsf {inverseOf}_{\pi _nX}\,\lvert p\rvert _0Fixing such a loop p on \mathsf {pt}_{\Omega ^{n-1}X}, we must choose some element v:\left \lvert {\pi _n X}\right \rvert such that \lvert p\rvert _0\bullet _{\pi _n X} v and v\bullet _{\pi _n X}\lvert p\rvert _0 are both identity elements. We choose v to be the image of the flipping of p under 0-truncation:
v :\equiv \lvert \bar {p}\rvert _0Now, we have the following identifications:
- v\bullet _{\pi _n X} \lvert p \rvert _0 = \lvert \bar p \bullet p \rvert _0 = \lvert \mathsf {refl}_{\mathsf {pt}_{\Omega ^{n-1}X}}\rvert _0
- \lvert p \rvert _0 \bullet _{\pi _n X} v= \lvert p \bullet \bar p \rvert _0 = \lvert \mathsf {refl}_{\mathsf {pt}_{\Omega ^{n-1}X}}\rvert _0
Therefore it remains only to check that \lvert \mathsf {refl}_{\mathsf {pt}_{\Omega ^{n-1}X}}\rvert _0 is an identity element. This is easily shown, again using the dependent induction principle of 0-truncation.
Example Group structure on the loop space of a pointed 1-truncated type [01KK]
- November 16, 2025
- Jon Sterling
Suppose that X is pointed type such that \left \lvert {X}\right \rvert is 1-truncated. Then \left \lvert {\Omega X}\right \rvert carries the structure of a group. In particular, the loop space \left \lvert {\Omega X}\right \rvert is already a set, so the reflection \left \lvert {\Omega X}\right \rvert \to \bigl \lVert \left \lvert {\Omega X}\right \rvert \bigr \rVert _0 is an equivalence. Re-casting the first homotopy group \pi _1 X under this equivalence, we see that the group structure is given precisely by concatenation of loops.
Examples of interesting homotopy groups from a univalent universe [01KM]
- November 16, 2025
- Jon Sterling
Given a univalent universe \mathcal {U}, any type X:\mathcal {U} gives rise to a pointed type \left \langle \mathcal {U}, X\right \rangle , whose loop space is given precisely by the automorphisms of X.
For example, the loop space \Omega \left \langle \mathcal {U},\mathsf {bool}\right \rangle of the universe based at the booleans can be seen (using univalence) to be the type of equivalences on the booleans, as the following canonical map is an equivalence:
\Omega \left \langle \mathcal {U},\mathsf {bool}\right \rangle \equiv (\mathsf {bool}=_{\mathcal {U}}\mathsf {bool}) \xrightarrow {\sim } (\mathsf {bool} \approx _{\mathcal {U} / \mathcal {T}} \mathsf {bool})We can therefore compute the first homotopy group of \left \langle \mathcal {U},\mathsf {bool}\right \rangle to be a group with exactly two elements (because there are exactly two automorphisms of \mathsf {bool}). Of course, all higher homotopy groups are trivial (i.e. contractible).
This is an example of how elementary combinatorics arises in the context of univalent foundations and homotopy theory.