You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: HoTT/HoTTEST_Lectures_7-9.tex
+30-5
Original file line number
Diff line number
Diff line change
@@ -530,10 +530,27 @@ \section*{Identity types of contractible types}
530
530
531
531
\part*{August 1: Propositions, sets, and general truncation levels}
532
532
533
-
We now formally study propositions in homotopy type theory.
533
+
Topologists are familiar with various spaces built by attaching cells. These cell complexes can also be described in homotopy type theory as higher inductive types.
534
+
535
+
For instance, we have types like $\emptyset$, $\1$, and $\1+\1$, which are built by freely adding points.
536
+
537
+
The circle $S^1$ can be built by freely attaching a basepoint and then a loop identifying the basepoint with itself.
538
+
539
+
Higher dimensional spheres can be built analogously: the 2-sphere is defined by attaching a free 2-dimensional loop from $\refl_\base$ to itself, while the 3-sphere is defined by attaching a free 3-dimensional loop from $\refl_{\refl_\base}$ to itself, and so on.
540
+
541
+
Other spaces that can be formed as cell complexes include the torus $T$, which is built from one point, two loops $a$ and $b$, and a 2-dimensional path from $a \cdot b \cdot a^{-1} \cdot b^{-1}$ to $\refl$. Certain spaces, like $\mathbb{R}P^\infty$ and $\mathbb{C}P^\infty$, require cells in arbitrarily large dimensions.
542
+
543
+
Today we will introduce a hierarchy that classifies all types according to their truncation level, which recovers the topological characterization of ``homotopy $n$-types.'' Note that being truncated at level $n$ does \emph{not} correspond to the naive notion of having ``dimension $n$.'' While the types $\emptyset$, $\1$, and $\1+\1$ are all 0-types, as one might expect, the types $S^1$, $T$, and $\mathbb{R}P^\infty$ are all 1-types, even though the latter are built using higher cells. The type $\mathbb{C}P^\infty$ is a 2-type, but $S^2$ is not. Indeed, only the lowest dimensional spheres $S^0$ and $S^1$ have finite truncation levels.
544
+
545
+
Finally, as we will learn, homotopy type theory extends this hierarchy downwards: $\emptyset$ and $\1$ are both -1-types, aka \emph{propositions}, while $\1$ is also a -2-type, aka contractible.
534
546
535
547
\section*{Propositions}
536
548
549
+
Recall a type $A$ is \textbf{contractible} if it has a term of type
550
+
\[\iscontr{A} \coloneq\Sigma_{c :A}\Pi_{x:A} c =x.\]
551
+
552
+
We now formally study propositions in homotopy type theory.
553
+
537
554
\begin{defn} A type $A$ is a \textbf{proposition} if all of its identity types are contractible: i.e., if it comes with a term of type
By the fundamental theorem of identity types, $f$ is an embedding if and only if $\sum_{x:A}f(x)=_B f(y)$ is contractible for each $y :A$. Thus $f$ is an embedding iff $\fib_f(f(y))$ is contractible for each $y : A$. If $b:B$ and $p : f(y) = b$ then transport defines an equivalence
728
-
\[\fib_f(f(y)) \simeq\fib_f(b).\]
729
-
Thus $f$ is an embedding iff $\fib_f(b)$ is contractible for each $b : B$ equipped with $p : f(y) = b$ for some $y:A$. This latter condition may be re-expressed as \[\fib_f(b) \to\iscontr(\fib_f(b)),\]
730
-
which asserts that each $\fib_f(b)$ is a proposition.
744
+
By the fundamental theorem of identity types, $f$ is an embedding if and only if $\sum_{x:A}f(x)=_B f(y)$ is contractible for each $y :A$. This is the fiber of $f$ over the point $f(y) : B$. Thus condition (i) is logically equivalent to:\\
745
+
\indent {\em (i')} $\fib_f(f(a))$ is contractible for each $a : A$.\\
746
+
At the same time, by our logically equivalent ways of characterizing the propositions, (ii) is logically equivalent to:
747
+
\\
748
+
\indent {\em (ii')} $\fib_f(b) \to\iscontr{(\fib_f(b))}$ for all $b : B$.\\
749
+
We'll prove that (i') and (ii') are logically equivalent.
750
+
751
+
Assume (i'). let $b : B$, and suppose $\fib_f(b)$ holds, which by $\Sigma$-induction provides terms $x:A$ and $p : f(x) = b$. By (i'), $\fib_ff(x)$ is contractible and transport along $p$ then defines an equivalence
752
+
\[\fib_f(f(x)) \simeq\fib_f(b).\]
753
+
Thus $\fib_f(b)$ must be contractible as well, proving (ii').
754
+
755
+
Now assume (ii') and let $a : A$. By our assumption (ii'), to show that $\fib_f(f(a))$ is contractible it suffices to show that it is inhabited, which we do with the pair $(a, \refl_{f(a)})$.
731
756
\end{proof}
732
757
733
758
\begin{cor} For any family $B : A \to\UU$ the following are logically equivalent:
0 commit comments