Lecture. Univalent foundations III [01IH]
- September 22, 2025
- Jon Sterling
Lemma Sums of families of contractible types indexed in a contractible type [01IJ]
- September 22, 2025
- Jon Sterling
Let A be contractible and let x:A\vdash B[x]~\mathit {type} be a family of contractible types. Then the sum {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}}{B[x]} is contractible.
Proof.
- September 22, 2025
- Jon Sterling
We have the following sequence of equivalences:
\begin {aligned} &{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}}{B[x]} \\ &\quad \xrightarrow {(1)}{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}}\mathsf {unit} \\ &\quad \xrightarrow {(2)}{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:\mathsf {unit})}}\mathsf {unit} \end {aligned}Contractible types are closed under retracts, so it suffices to observe that \mathsf {unit}\times \mathsf {unit} is contractible.
Exercise Closure of truncated types under internal sums [01IK]
- September 22, 2025
- Jon Sterling
Let A be an n-truncated type and let x:A\vdash B[x]~\mathit {type} be a family of n-truncated types. Verify that the sum {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}}{B[x]} is n-truncated.
Lemma Being a proposition is a proposition [01IL]
- September 22, 2025
- Jon Sterling
For any type A, the type \mathsf {isProp}(A) :\equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x,y:A)}} x=_Ay is a proposition. In other words, being a proposition is a proposition.
Proof.
- September 22, 2025
- Jon Sterling
We consider the following reflexive graph whose vertices are precisely the witnesses of \mathsf {isProp}(A):
{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}} \Delta (x=_Ay)The above is univalent because the univalent reflexive graphs are closed under products and each discrete reflexive graph is univalent by definition.
To show that \mathsf {isProp}(A) is a proposition, we fix any two witnesses \phi ,\psi :\mathsf {isProp}(A) to check that \phi =_{\mathsf {isProp}(A)}\psi . By the above, it suffices to exhibit an edge \phi \approx _{{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}}\Delta (x=_Ay)}\psi which amounts to the following data: {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}} \phi xy =_{x=_Ay} \psi xy
This holds immediately because propositions are sets, and \phi (or \psi ) witnesses A as a proposition.
Lemma Being contractible is a proposition [01IM]
- September 24, 2025
- Jon Sterling
For any type A, the type \mathsf {isContr}(A) :\equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}} x=_Ay is a proposition.
Proof.
- September 24, 2025
- Jon Sterling
We consider the following displayed reflexive graph C over \Delta A:
\begin {aligned} \left \lvert {C}\right \rvert [x] &:\equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}} x=_A y \\ h\approx ^{C}_{p:x=x'}h' &:\equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}} hy=_{x=y} p\cdot h'y \\ \mathsf {rx}^{C}_{x}h &:\equiv \lambda y\mathpunct {.}{\mathsf {refl}_{hy}} \end {aligned}The component of C at x:A can be seen to be precisely C[x] \equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}}\Delta (x=y) \text {.}
As C[x] is univalent, C is a univalent displayed reflexive graph, and the total reflexive graph \Delta A.C is univalent too. The reason we have done this is:
\left \lvert {\Delta A.C}\right \rvert \equiv \mathsf {isContr}(A)Therefore to see that being contractible is a proposition, we may fix any two \phi ,\psi :\mathsf {isContr}(A) and construct an edge of the following kind:
\left ( \phi \approx _{\Delta A.C}\psi \right ) \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(p:\phi .1 =_A \psi .1)}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}} (\phi .2\,y)=_{\phi .1=y} p\cdot (\psi .2\,y)To start, we define p :\equiv \phi .2(\psi .1) and it remains to construct a family of identifications {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(y:A)}} (\phi .2\,y)=_{\phi .1=_Ay} p\cdot (\psi .2\,y)\text {.}
But we can construct the latter immediately, because \phi (or \psi ) witnesses A as a contractible type and contractible types are sets.
Exercise Coherence for equivalences / contractible maps [01IR]
- September 24, 2025
- Jon Sterling
Let f:A\to B be a function. Show that the type \mathsf {isEquiv}(f) \equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:B)}} \mathsf {isContr}(\mathsf {fib}_f(x)) of witnesses that f is an equivalence is a proposition
(Hint: you will need to use lemmas that we have proved so far! Don’t try to prove it directly.)Exercise Postcomposition with a bi-invertible function [01IO]
- September 24, 2025
- Jon Sterling
Let f:A\to B be equipped with a bi-inverse. Show that for each type C, the postcomposition function \begin {aligned} &f_!:(C\to A)\to (C\to B)\\ &f_!g :\equiv f\circ g \end {aligned} is bi-invertible.
Lemma Coherence for sections [01IN]
- September 24, 2025
- Jon Sterling
Let f:A\to B be a function equipped with a retraction r_f:B\to A. Then the type \mathsf {sectionOf}(f) \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(s:B\to A)}} f\circ s \sim 1_B of sections of f is a proposition.
Proof.
- September 24, 2025
- Jon Sterling
We consider the postcomposition function \begin {aligned} &f_!: (B\to A) \to (B\to B)\\ &f_!g :\equiv f\circ g\text {.} \end {aligned}
In particular, we can see that \mathsf {sectionOf}(f) is equivalent to the fibre \mathsf {fib}_{f_!}(1_B) \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(s:B\to A)}} f\circ s =_{B\to B} 1_B of f_! at the identity function on B. The equivalence is a consequence of the function extensionality.
We now fix any two sections \sigma ,\sigma ':\mathsf {sectionOf}(f). Using either of these sections, we know that f is bi-invertible. We have seen that postcomposition with a bi-invertible function is bi-invertible, so we know that f_! is bi-invertible. We can choose a quasi-inverse to f_!, from which we deduce that f_! is contractible, and so (in particular) the fibre \mathsf {fib}_{f_!}(1_B) is contractible.
Thefore, \mathsf {sectionOf}(f) is contractible from which we deduce that \sigma =\sigma '.
Exercise Coherence for retractions [01IP]
- September 24, 2025
- Jon Sterling
Let f:A\to B be a function equipped with a retraction s_f:B\to A. Show that the type \mathsf {retractionOf}(f) \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(r:B\to A)}} r\circ f \sim 1_B of retractions of f is a proposition.
Corollary Coherence for bi-inverses [01IQ]
- September 24, 2025
- Jon Sterling
Let f:A\to B be a function. Then the type \mathsf {biinverseOf}(f) \equiv \mathsf {sectionOf}(f)\times \mathsf {retractionOf}(f) of bi-inverses of f is a proposition.
Proof.
- September 24, 2025
- Jon Sterling
Fix any two pairs \left \langle \sigma ,\rho \right \rangle , \left \langle \sigma ',\rho '\right \rangle : \mathsf {biinverseOf}(f). By the coherence theorem for sections via \rho :\mathsf {retractionOf}(f), we know that \mathsf {sectionOf}(f) is a proposition and thus we have \sigma =\sigma '. By the coherence theorem for retractions via \sigma :\mathsf {sectionOf}(f), we know that \mathsf {retractionOf}(f) is a proposition and so \rho =rho'.
Lemma Characterising the type of quasi-inverses [01IT]
- September 24, 2025
- Jon Sterling
Let f:A\to B be a quasi-invertible function. Then we have an equivalence \mathsf {qinverseOf}(f)\to {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}x=_Ax where \mathsf {qinverseOf}(f) \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(\bar {f}:B\to A)}} f\circ \bar {f}\sim 1_B \times \bar {f}\circ f\sim 1_A is the type of quasi-inverses to f.
Proof.
- September 24, 2025
- Jon Sterling
To be more precise, we are constructing an element of the following type where \mathcal {U} is a big enough univalent universe:
{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(A,B:\mathcal {U})}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(f:A\to B)}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(q_f:\mathsf {qinverseOf}(f))}} \left ( \mathsf {qinverseOf}(f)\cong {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{x=_Ax} \right )Because a quasi-invertible function is an equivalence, it suffices to construct an element of the following type:
{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(A,B:\mathcal {U})}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(f:A\approx _{\mathcal {U} / \mathcal {T}} B)}} \left ( \mathsf {qinverseOf}(f)\cong {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{x=_Ax} \right )We have the following sequence of equivalences:
\begin {aligned} & {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(A,B:\mathcal {U})}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(f:A\approx _{\mathcal {U} / \mathcal {T}} B)}} \left ( \mathsf {qinverseOf}(f)\cong {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{x=_Ax} \right ) \\ &\quad \xrightarrow {(1)} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(A:\mathcal {U})}} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(\left \langle B,f\right \rangle :\left \{A\right \}^+_{\mathcal {U} / \mathcal {T}})}} \left ( \mathsf {qinverseOf}(f)\cong {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{x=_Ax} \right ) \\ &\quad \xrightarrow {(2)} {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(A:\mathcal {U})}} \left ( \mathsf {qinverseOf}(1_A)\cong {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{x=_Ax} \right ) \end {aligned}The second equivalence is precisely the univalence of \mathcal {U}. Now, fixing A:\mathcal {U}, we have the following sequence of equivalences:
\begin {aligned} &\mathsf {qinverseOf}(1_A) \\ &\quad \xrightarrow {\equiv } {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(f:A\to A)}} f\sim 1_A \times f\sim 1_A \\ &\quad \xrightarrow {(1)} {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(\left \langle f,h\right \rangle : \left \{1_A\right \}^+_{{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}\Delta A} )}} f\sim 1_A \\ &\quad \xrightarrow {(2)} 1_A\sim 1_A \\ &\quad \xrightarrow {\equiv } {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}} x=_Ax \end {aligned}Above, (1) is just reshuffling and (2) is the function extensionality / univalence for products of families of discrete reflexive graphs.
Remark Non-coherence of quasi-inverses [01IS]
- September 24, 2025
- Jon Sterling
Let f:A\to B be a function. Although we do not yet have the tools to see that this is the case, it need not be the case that the type \mathsf {qinverseOf}(f) \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(\bar {f}:B\to A)}} (f\circ \bar {f} \sim 1_B) \times (\bar {f}\circ f\sim 1_A) quasi-inverses of f is a proposition, except in special cases (like when A is a set). The reason is, in essence, that there will be types A for which {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}x=_Ax is not a proposition, whereas we have shown that when f does have a quasi-inverse, the type of quasi-inverses to f is equivalent to {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}x=_Ax.
By similar reasoning, it also happens that it would not have been consistent to assert that the reflexive graph structure on \mathcal {U} whose edges are given by quasi-invertible functions is univalent.
For these reasons, although quasi-inverses are nice and familiar and useful, they do not give the “correct” notion of inverse in univalent foundations.
We have seen that quasi-invertible functions, bi-invertible functions, and contractible functions are all interchangeable:
- Contractible maps are quasi-invertible
- Quasi-invertible maps are contractible
- From bi-inverses to quasi-inverses
A priori this does not mean that the types of quasi-invertible, bi-invertible, and contractible functions are all equivalent. Indeed, the type of quasi-invertible functions is not equivalent to the type of bi-invertible functions nor to the type of contractible functions. On the other hand, our coherence theorems will ensure that the types of bi-invertible maps and contractible maps are equivalent, meaning that we may redefine “equivalence” to mean either one of these. To see that this is the case, we first develop a few more useful constructions on reflexive graphs.
Univalent reflexive graphs and propositions [01IV]
- September 26, 2025
- Jon Sterling
Definition The co-discrete reflexive graph [01IW]
- September 26, 2025
- Jon Sterling
For any type A, the co-discrete reflexive graph \nabla {A} on A is defined as follows:
\begin {aligned} \left \lvert {\nabla {A}}\right \rvert &:\equiv A \\ x\approx _{\nabla {A}}y &:\equiv \mathsf {unit} \\ \mathsf {rx}_{\nabla {A}}{x} &:\equiv () \end {aligned}Lemma Univalent co-discrete reflexive graphs [01IX]
- September 26, 2025
- Jon Sterling
A co-discrete reflexive graph \nabla {A} is univalent if and only if A is a proposition.
Proof.
- September 26, 2025
- Jon Sterling
For x:A, the fan \left \{x\right \}^+_{A} is canonically equivalent to A as follows:
\left \{x\right \}^+_{A} \xrightarrow {\equiv } {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(y:A)}}{\mathsf {unit}} \xrightarrow {\cong } {A}Therefore \left \{x\right \}^+_{A} is a proposition if and only if A is.
Definition The co-discrete displayed reflexive graph [01IY]
- September 26, 2025
- Jon Sterling
Let A be a reflexive graph and let x:\left \lvert {A}\right \rvert \vdash B[x]~\mathit {type} be a family of types indexed in the points of A. We define the forgetful displayed reflexive graph \nabla {B} over A as follows:
\begin {aligned} \left \lvert {\nabla B}\right \rvert [x] &:\equiv B[x] \\ \left (u \approx ^{\nabla B}_{p:x\approx _{A} y} v\right ) &:\equiv \mathsf {unit} \\ \mathsf {rx}^{\nabla B}_{x}u &:\equiv () \end {aligned}Lemma Univalent co-discrete displayed reflexive graph [01IZ]
- September 26, 2025
- Jon Sterling
Let A be an arbitrary reflexive graph. A co-discrete displayed reflexive graph \nabla {B} over A is univalent if and only if each type B[x] is a proposition.
Proof.
- September 26, 2025
- Jon Sterling
The component (\nabla B)[x] is precisely the co-discrete reflexive graph \nabla (B[x]), which we have seen is univalent if and only if B[x] is a proposition.
Definition The forgetful reflexive graph on dependent pairs [01J0]
- September 26, 2025
- Jon Sterling
Let A be reflexive graph and let x:\left \lvert {A}\right \rvert \vdash B[x]~\mathit {type} be a family of types indexed in the points of A. We define the forgetful reflexive graph \{x:A\mid B[x] as follows:
\begin {aligned} \left \lvert {\{x:A\mid B[x]\}}\right \rvert &:\equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:\left \lvert {A}\right \rvert )}}{B[x]} \\ \left (\left \langle x,u\right \rangle \approx _{\{x:A\mid B[x]\}} \left \langle y,v\right \rangle \right ) &:\equiv x\approx _{A}y \\ \mathsf {rx}_{\{x:A\mid B[x]\}}{\left \langle x,u\right \rangle } &:\equiv \mathsf {rx}_{A}{x} \end {aligned}Evidently this is equivalent to the total reflexive graph A.\nabla {B} of the co-discrete displayed reflexive graph \nabla B.
Corollary The univalent reflexive graph structure for subtypes [01J1]
- September 26, 2025
- Jon Sterling
Let A be a univalent reflexive graph and let x:\left \lvert {A}\right \rvert \vdash B[x]~\mathit {type} be a family of propositions. Then the forgetful reflexive graph \{x:A\mid B[x] is univalent.
Corollary Equivalence between contractible and bi-invertible maps [01J2]
- September 26, 2025
- Jon Sterling
The map from contractible maps to biinvertible maps induced by Lemma [01H9] is an equivalence.
Proof.
- September 26, 2025
- Jon Sterling
We consider the following univalent reflexive graphs obtained via the subtype construction, using coherence for bi-inverses and coherence for contractible maps:
\begin {align} \mathsf {BiinvMap}(A,B) &:\equiv \left \{ f:{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}} \Delta B \;\middle \vert \; \mathsf {biinverseOf}(f) \right \} \\ \mathsf {ContrMap}(A,B) &:\equiv \left \{ f:{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}\Delta B \;\middle \vert \; \mathsf {isContr}(f) \right \} \end {align}We will construct a quasi-inverse to the canonical map \Phi :\left \lvert {\mathsf {ContrMap}(A,B)}\right \rvert \to \left \lvert {\mathsf {BiinvMap}}\right \rvert \text {.} First we define \bar \Phi using Lemma [01HG] and Lemma [01H9]. To construct the homotopies \epsilon ,\eta we note that by the univalence of the two reflexive graphs above, it suffices find the following edges:
\begin {aligned} \Phi \circ \bar \Phi &\approx _{{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(\_:\left \lvert {\mathsf {BiinvMap}(A,B)}\right \rvert )}}\mathsf {BiinvMap}(A,B)} 1_{\left \lvert {\mathsf {BiinvMap}(A,B)}\right \rvert }\\ \bar \Phi \circ \Phi &\approx _{{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(\_:\left \lvert {\mathsf {ContrMap}(A,B)}\right \rvert )}}\mathsf {ContrMapMap}(A,B)} 1_{\left \lvert {\mathsf {ContrMapMap}(A,B)}\right \rvert } \end {aligned}By definition, these amount to finding two homotopies 1_{A\to B}\sim 1_{A\to B}.
Because of Corollary [01J2] above, we are justified in revising our definition of equivalences.
Definition Equivalence (II) [01J3]
- September 26, 2025
- Jon Sterling
A function f:A\to B is called an equivalence when it satisfies either of the following equivalent properties:
- f is contractible.
- f is biinvertible.
From now on, we will not worry too much about what notions of equivalence we are using, as we can freely convert between them as needed.
Exercises
- September 22, 2025
- Jon Sterling
Exercise. Closure of truncated types under internal sums [01IK]
- September 22, 2025
- Jon Sterling
Let A be an n-truncated type and let x:A\vdash B[x]~\mathit {type} be a family of n-truncated types. Verify that the sum {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}}{B[x]} is n-truncated.
Exercise. Coherence for equivalences / contractible maps [01IR]
- September 24, 2025
- Jon Sterling
Let f:A\to B be a function. Show that the type \mathsf {isEquiv}(f) \equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:B)}} \mathsf {isContr}(\mathsf {fib}_f(x)) of witnesses that f is an equivalence is a proposition
(Hint: you will need to use lemmas that we have proved so far! Don’t try to prove it directly.)Exercise. Postcomposition with a bi-invertible function [01IO]
- September 24, 2025
- Jon Sterling
Let f:A\to B be equipped with a bi-inverse. Show that for each type C, the postcomposition function \begin {aligned} &f_!:(C\to A)\to (C\to B)\\ &f_!g :\equiv f\circ g \end {aligned} is bi-invertible.
Exercise. Coherence for retractions [01IP]
- September 24, 2025
- Jon Sterling
Let f:A\to B be a function equipped with a retraction s_f:B\to A. Show that the type \mathsf {retractionOf}(f) \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(r:B\to A)}} r\circ f \sim 1_B of retractions of f is a proposition.