358 One Source: Every Way to Finish a Chain Is a Singleton — \(\infty \)-Categories

Only the diagonal is laid down. Identity is some along the diagonal, with witnesses kept. \(\mathrm {refl}\) is the unit of that adjunction, and \(J\) is the adjunction itself. From these come, in order:

One theorem then carries the rest: the space of ways to finish a chain is a singleton. Its case \(n=0\) is the unit, \(n=1\) the contractible singleton, \(n=2\) transitivity and composition, \(n=3\) associativity, and all \(n\) together coherence. The Segal condition and completeness are this theorem read on chains, and the seven standard presentations differ only in how they remember the contractible space it produces.

S0 (the one thing).

\begin{equation} \Delta _A:A\to A\times A,\qquad \Delta _A(a)=(a,a). \tag{21669}\end{equation}

S0a (identity is some along the diagonal). Substitution along \(\Delta \) is contraction, \((\Delta ^*C)(a)=C(a,a)\) (E4). Keeping witnesses in the recipe of E5, it has a left adjoint \(\Sigma _\Delta \):

\begin{equation} \mathrm {Hom}_{A\times A}\bigl (\Sigma _\Delta P,\ C\bigr )\cong \mathrm {Hom}_A\bigl (P,\ \Delta ^*C\bigr ) \tag{21670}\end{equation}
for families \(P\) over \(A\) and \(C\) over \(A\times A\). Applied to the one-point family, it defines identity:
\begin{equation} (a=b)=\bigl (\Sigma _\Delta 1\bigr )(a,b). \tag{21671}\end{equation}
Truncated to truth values this is \(\exists _\Delta \top \), the equality of E7. Kept with witnesses, it is the identity type.

S0b (\(\mathrm {refl}\) is the unit). By Yoneda (D0), the unit of \(\Sigma _\Delta \dashv \Delta ^*\) at \(1\) is the image of \(\mathrm {id}_{\Sigma _\Delta 1}\):

\begin{equation} \eta :1\to \Delta ^*\Sigma _\Delta 1,\qquad \eta (a)=\mathrm {refl}_a:a=a . \tag{21672}\end{equation}
So \(a=a\) is the diagonal read back on its own image, and \(\mathrm {refl}\) is that reading at the point \(a\).

S0c (\(J\) is the adjunction). For a family \(C\) over \(A\times A\), the adjunction of S0a with \(P=1\) reads

\begin{equation} \mathrm {Hom}_{A\times A}\bigl ((-=-),\ C\bigr )\ \cong \ \prod _aC(a,a), \qquad \varphi \ \mapsto \ \bigl (a\mapsto \varphi (\mathrm {refl}_a)\bigr ). \tag{21673}\end{equation}
The inverse of this bijection is \(J\): data on the diagonal extends uniquely to all paths. The computation rule \(J(d)(\mathrm {refl}_a)=d(a)\) is the triangle identity of the adjunction. Frobenius at \(\Delta \) (E7) lets \(\Sigma _\Delta \) commute with the family structure, which extends the bijection to families \(C(a,b,p)\) that depend on the path itself:
\begin{equation} J:\ \Bigl (\prod _aC(a,a,\mathrm {refl}_a)\Bigr )\to \prod _{a,b}\prod _{p:a=b}C(a,b,p). \tag{21674}\end{equation}
\(J\) is not added. It is the universal property of \(\Sigma _\Delta \), which is Yoneda at the unit: a path is known once its value at \(\mathrm {refl}\) is known.

S1 (witnesses, some, all). A witness of a statement is an inhabitant of it. \(\mathrm {refl}_a\) is the first one. Keeping witnesses in E5 and E6 turns the two adjoints of weakening into

\begin{equation} \textstyle \sum _{x}P(x)\ \dashv \ \text {weakening}\ \dashv \ \prod _xP(x). \tag{21675}\end{equation}

S0a is the same recipe along \(\Delta \) instead of along \(\pi \). Truncating the witnesses to truth values returns \(\exists \) and \(\forall \).

S2 (contractible, assembled).

\begin{equation} \mathrm {isContr}(A)=\sum _{c:A}\ \prod _{x:A}(c=x): \tag{21676}\end{equation}
some point \(c\) is equal to all points. The levels follow by raising one step at a time:
\begin{equation} A\text { is a }(-2)\text {-type}\iff \mathrm {isContr}(A), \qquad A\text { is an }(n+1)\text {-type}\iff \text {each }x=y\text { in }A\text { is an }n\text {-type}. \tag{21677}\end{equation}
Truth values are the \((-1)\)-types and sets the \(0\)-types (IC9).

S3 (singletons, from \(J\)). For each \(a\),

\begin{equation} \textstyle \mathrm {isContr}\bigl (\sum _b(a=b)\bigr ). \tag{21678}\end{equation}
The centre is \((a,\mathrm {refl}_a)\). For any \((b,p)\), \(J\) on \(p\) reduces \((b,p)=(a,\mathrm {refl}_a)\) to \(p=\mathrm {refl}_a\), where \(\mathrm {refl}\) witnesses it.

S4 (directed and undirected, from the diagonal). Read once, \(\Delta (a)=(a,a)\) has two ends, a first copy and a second, and one link from the first to the second. That shape is the directed interval \(\mathbb 2=\{0\to 1\}\). \(J\) supplies the reversal:

\begin{equation} p^{-1}:b=a\ \ \text {for }p:a=b,\qquad \mathrm {refl}_a^{-1}=\mathrm {refl}_a . \tag{21679}\end{equation}
Adding the reversed link to \(\mathbb 2\) gives the undirected interval \(I=\{0\leftrightarrows 1\}\).

The swap \(\sigma \) of the two copies is this reversal, and \(\sigma ^2=1\) is \((p^{-1})^{-1}=p\), which holds at \(\mathrm {refl}\) and hence everywhere by \(J\).

S5 (order, from \(\mathbb 2\)). A chain is links of \(\mathbb 2\) placed end to end:

\begin{equation} [n]=\{0\to 1\to \cdots \to n\}, \tag{21680}\end{equation}
the shapes \(\{t\in \mathbb 2^n:\ t_n\le \dots \le t_1\}\) (OR3). Write \(x\le y\) when a link from \(x\) to \(y\) exists. Faces forget a place and degeneracies copy one, by \(\pi \) and \(\Delta \) (IC1). That \(\le \) is reflexive, transitive and antisymmetric is not assumed; S6 proves it.

S6 (the one theorem). For a chain of \(n\) links \(x_0\to x_1\to \cdots \to x_n\), let \(\mathrm {Fin}_n\) be the kind of ways to finish it: an outer link \(x_0\to x_n\) together with a witness that it is what remains when every interior place is forgotten (Z5, Z8). Then

\begin{equation} \mathrm {isContr}(\mathrm {Fin}_n)\quad \text {for every }n\ge 0 . \tag{21681}\end{equation}
Proof.

Forgetting in any other order gives an equivalent kind, since each order computes the same \(\Sigma \) (O5). □

S7 (unit, transitivity, composition, associativity, coherence: all S6).

Case of S6 Truncated to truth values Kept as spaces
\(n=0\) reflexivity \(x\le x\) identity link, unit law
\(n=1\) a link is itself singleton (S3)
\(n=2\) transitivity composition, unique up to contractible choice
\(n=3\) — associativity, up to contractible choice
all \(n\) — coherence of all bracketings

Transitivity and associativity are not two facts. They are the cases \(n=2\) and \(n=3\) of one theorem, read at two truncation levels. Antisymmetry of \(\le \) holds for truth values in the undirected case, since links reverse by S4. In the directed case it holds after truncation exactly when completeness (S9) identifies mutual links with identity.

S8 (Segal is S6 on chains). For any structure \(X\) that assigns to each chain its fillings (HC3),

\begin{equation} X_n\simeq \Bigl (X_1\times _{X_0}\cdots \times _{X_0}X_1\Bigr )\times \mathrm {Fin}_n \simeq X_1\times _{X_0}\cdots \times _{X_0}X_1 , \tag{21682}\end{equation}
since \(\mathrm {Fin}_n\) is contractible. This is the Segal condition.

S9 (completeness is S3 on the undirected interval). A filling of \(I\) is a link with its reversal. Built from the diagonal alone, every such filling is a transport of \(\mathrm {refl}\) along \(J\), so the fillings of \(I\) at \(x\) form \(\sum _y(x=y)\), contractible by S3, and

\begin{equation} X_0\simeq \textstyle \sum _x\sum _y(x=y)\simeq X(I). \tag{21683}\end{equation}
This is Rezk completeness, and on a universe it is univalence: there is one identity, the one made by \(\Sigma _\Delta \), so invertible links add no new sameness (HC7).

S10 (seven presentations as seven memories of S6). S6 produces, for every chain, a contractible kind \(\mathrm {Fin}_n\) with a centre \(c\) (S2). The presentations differ in what they remember of it.

Presentation What is kept of \(\mathrm {Fin}_n\) Result
complete Segal spaces [746] all of it, as a space S8 and S9 stated directly
quasi-categories [136, 742, 1686] its points only inner horns have fillers
simplicial categories [136, 1687] the centre \(c\) strict composition, spaces of maps
Segal and Rezk types [1688] all of it, internally shapes in \(\mathbb 2\), S8 and S9 as types
types with \(J\) [193] all of it, with \(\mathbb 2\) replaced by \(I\) every link invertible, univalence
\(n\)-fold Segal spaces [1689] S6 in \(n\) independent directions \((\infty ,n)\)
\(\Theta _n\)-spaces [1690] S6 on chains of chains \((\infty ,n)\)

Points of a contractible kind are all connected, so keeping only points loses nothing up to homotopy. This is why inner horns fill and why the quasi-categorical and complete Segal presentations agree (Joyal–Tierney). Fixing the centre loses nothing either, since every point equals it, which is why strict simplicial categories present the same theory (Bergner). The internal and undirected rows are S6 read inside type theory. The last two rows apply S6 again to the kind of links between two points, which is itself built from the diagonal.

S11 (the picture).

\begin{equation} \begin {gathered} \Delta _A:A\to A\times A\\ \Downarrow \\ a=b\ \text {is }\Sigma _\Delta 1;\ \ \mathrm {refl}=\text {unit};\ \ J=\Sigma _\Delta \dashv \Delta ^*\ (\text {S0a--S0c})\\ \Downarrow \\ \text {witness};\ \text {some}=\textstyle \sum ,\ \text {all}=\prod \ (\text {S1})\\ \Downarrow \\ \text {contractible}=\text {some point equal to all points};\ \text {levels (S2)}\\ \Downarrow \\ \text {singletons contractible (S3)}\qquad \mathbb 2=\Delta \text { read once},\ I=\mathbb 2+J\text {-reversal (S4)}\\ \Downarrow \\ \text {chains in }\mathbb 2,\ \text {order (S5)}\\ \Downarrow \\ \text {every way to finish a chain is a singleton (S6)}\\ \Downarrow \\ n=0,1,2,3,\text {all}:\ \text {unit, singleton, transitivity, associativity, coherence (S7)}\\ \Downarrow \\ \text {Segal (S8)},\ \ \text {complete}=\text {univalent (S9)}\\ \Downarrow \\ \text {Rezk, Joyal, Lurie, Bergner, Riehl--Shulman, HoTT, Barwick, }\Theta _n\ (\text {S10}) \end {gathered} \tag{21684}\end{equation}

358.1 Everything from \(\mathrm {id}\): \(+1\), Rows, Horns and All Higher Categories

Only \(\mathrm {id}\) is laid down. The construction proceeds in order:

Two questions about filling then give the six cells of the \((n,r)\) table. Completeness is the fact that there is one \(\mathrm {id}\), and repeating the construction on mapping objects gives \((\infty ,n)\).

B0 (the one thing).

\begin{equation} \mathrm {id}_A:A\to A,\qquad \mathrm {id}_A(a)=a . \tag{21685}\end{equation}
The diagonal is \(\mathrm {id}\) paired with itself. Under \(\mathrm {Hom}(X,A\times A)\cong \mathrm {Hom}(X,A)\times \mathrm {Hom}(X,A)\), the pair \((\mathrm {id}_A,\mathrm {id}_A)\) is \(\Delta _A\) (D0).

B1 (one point and \(+1\)).

B2 (\(n\) itself). The numbers are \(0\) and whatever \(+1\) produces from them:

\begin{equation} 0,\quad 0+1=1,\quad 1+1=2,\quad \dots \tag{21687}\end{equation}
\(\mathbb N\) is the least kind closed under \(0\) and \(+1\). Its universal property, a unique map to any kind with a point and a step, is recursion, and proof along it is induction (N6, N7). Every later “for all \(n\)” is this induction.

B3 (rows and their order). A row is points laid one after another:

\begin{equation} [0]=1,\qquad [n+1]=[n]\sqcup 1, \tag{21688}\end{equation}
with the new point laid last. Define
\begin{equation} i<j\iff i\text { was laid before }j . \tag{21689}\end{equation}
By induction on \(n\), this is a strict total order. In \([0]\) there is nothing to check. Passing to \([n+1]\), the old points keep their order and the new point lies above all of them, so irreflexivity, transitivity and totality carry over. Writing \(i\le j\) for \(i<j\) or \(i=j\) gives reflexivity from \(\mathrm {id}\) and antisymmetry from the strictness of \(<\). Every finite order is a row, since laying the points of a finite total order in increasing order rebuilds it. The copies of a mark across the row are \(\Delta ^{(n)}=(\mathrm {id},\dots ,\mathrm {id}):A\to A^{[n]}\), which is the diagonal laid \(n+1\) times.

B4 (copy, forget, reverse).

Act On a row Name
lay a place twice \(s_i:[n+1]\to [n]\), places \(i,i+1\mapsto i\) copy, degeneracy (\(\Delta \))
remove a place \(d_i:[n-1]\to [n]\), skip \(i\) forget, face (\(\pi \))
lay from the other end \(\sigma :[n]\to [n]^{\mathrm {op}}\), \(i\mapsto n-i\) reverse, swap (\(\sigma \))

Every order-preserving map \([m]\to [n]\) is copies followed by forgettings. Its image is a row with some places removed, and the map onto that image merges neighbours. The relations among these acts follow from the acts themselves:

B5 (fillings). A structure \(X\) assigns to each row \([n]\) its fillings \(X_n\) and moves them along copies and forgettings by substitution (E3). Points are \(X_0\), links are \(X_1\), and a link from \(x\) to \(y\) is a filling of \([1]\) whose two places are \(x\) and \(y\). The identity link is \(s_0(x)\), the point laid twice.

B6 (the induction: every \(n\) at once). For a row of \(n\) links \(x_0\to \cdots \to x_n\), let \(\mathrm {Fin}_n\) be the kind of ways to finish it: an outer link \(x_0\to x_n\) with a witness that it remains when every interior place is forgotten. Then for all \(n\),

\begin{equation} \mathrm {isContr}(\mathrm {Fin}_n). \tag{21690}\end{equation}
Proof by induction along \(+1\).

Any other order of forgetting removes the same set of places and gives the same \(\Sigma \) (O5). □

Case Truncated to truth values Kept as spaces
\(n=0\) reflexivity identity link, units
\(n=2\) transitivity composition
\(n=3\) — associativity
every \(n\) — coherence of all bracketings

Composition, transitivity and associativity for every \(n\) are one induction along \(+1\).

B7 (horns, derived). The faces of \([n]\) are its \(n+1\) forgettings. The horn withholds one of them:

\begin{equation} \Lambda ^n_k=\bigcup _{i\neq k}d_i[n-1]. \tag{21691}\end{equation}

B8 (two questions, six cells).

Question Answers From
which horns fill inner; all without \(\sigma \); with \(\sigma \) (B7)
how many fillings some; exactly one; at most one link B6 untruncated; at level \(0\); at level \(-1\)

Level Mapping objects Example Horns Fillings
\((0,0)\) none beyond equality sets all at most one link
\((0,1)\) truth values partial orders inner at most one link
\((1,0)\) sets, all invertible groupoids all exactly one
\((1,1)\) sets categories inner exactly one
\((\infty ,0)\) spaces, all invertible Kan complexes, spaces all some
\((\infty ,1)\) spaces quasicategories inner some

B9 (completeness: there is one \(\mathrm {id}\)). Let \(I\) be \([1]\) with \(\sigma \), a link together with its reversal. Sameness of points can be read as \(\mathrm {id}\), or as a filling of \(I\). Since there is only one \(\mathrm {id}\),

\begin{equation} X_0\xrightarrow {\ \simeq \ }X(I), \tag{21692}\end{equation}
as in HC7. This makes a preorder antisymmetric, so a partial order. It makes an equivalence relation discrete, so a set. In the other rows it is univalence and Rezk completeness.

B10 (mapping objects and \((\infty ,n)\)). The links from \(x\) to \(y\) form the fibre of \(X_1\to X_0\times X_0\), made of places \(0\) and \(1\) of a row. That fibre is again a structure built from \(\mathrm {id}\), so B1–B9 apply to it. One repetition makes mapping objects \((\infty ,1)\)-categories and the whole an \((\infty ,2)\)-category. Repeating \(n\) times gives \((\infty ,n)\), presented by \(n\)-fold complete Segal spaces (Barwick) or \(\Theta _n\)-spaces (Rezk). With \(\sigma \) at every level the result is \((\infty ,0)\) throughout.

B11 (presentations).

Presentation What it keeps of the contractible \(\mathrm {Fin}_n\) (B6)
complete Segal spaces [746] all of it, as spaces
quasicategories [136, 742, 1686] its points: inner horns fill
simplicial categories [136, 1687] its centre: strict composition
Segal and Rezk types [1688] all of it, inside type theory
types with \(J\) [193] all of it, with \(\sigma \): every link invertible
\(n\)-fold Segal spaces [1689], \(\Theta _n\)-spaces [1690] B10 repeated

B12 (the ladder).

\begin{equation} \begin {gathered} \mathrm {id}\\ \Downarrow \\ 1=\textstyle \sum _b(a=b),\ \ +1=\sqcup 1\ (\text {B1})\ \to \ n=0,1,2,\dots \ (\text {B2})\\ \Downarrow \\ \text {rows }[n+1]=[n]\sqcup 1;\ \ \text {order}=\text {order of laying (B3)}\\ \Downarrow \\ \text {copy}=s_i,\ \text {forget}=d_i,\ \text {reverse}=\sigma \ (\text {B4})\ \to \ \text {fillings (B5)}\\ \Downarrow \\ \text {one induction along }+1:\ \text {units, transitivity, composition, associativity, coherence for all }n\ (\text {B6})\\ \Downarrow \\ \text {horns};\ \text {inner by B6, outer by }\sigma \ (\text {B7})\\ \Downarrow \\ \text {six cells (B8)}\ \to \ \text {one id: completeness (B9)}\ \to \ (\infty ,n)\ (\text {B10})\ \to \ \text {presentations (B11)} \end {gathered} \tag{21693}\end{equation}

358.2 \(\infty \)-Categories from Orders and Horns

The finite linear orders \([n]=\{0<1<\dots <n\}\) and their monotone maps form the simplex category \(\Delta \), built from the order axioms and from \(\mathbb N\). Presheaves on \(\Delta \) are simplicial sets. A category is a simplicial set in which every inner horn has a unique filler: - uniqueness of the \(2\)-dimensional filler is composition; - uniqueness of the \(3\)-dimensional filler is associativity.

An \(\infty \)-category keeps existence and drops uniqueness. Composition is then defined up to a contractible space of choices, and associativity is witnessed by a simplex rather than holding on the nose. Requiring outer horns to fill as well adds inverses, the involution \(\vartheta \), and gives \(\infty \)-groupoids, which are spaces. Completeness, the identification of equivalences with paths, is univalence. The alternating sum of faces squares to zero by pairwise cancellation, which gives chain complexes and stable \(\infty \)-categories. Each layer is the previous one with a uniqueness condition relaxed or an involution added.

358.3 The simplex category

Objects and maps. Objects are \([n]\), the linear order on \(n+1\) elements (reflexive, transitive, antisymmetric, total; Section 271.6). Morphisms are monotone maps. Every monotone map factors uniquely as a surjection followed by an injection, and these are generated by

\begin{equation} d^i:[n-1]\to [n]\ \ (\text {skip } i), \qquad s^j:[n+1]\to [n]\ \ (\text {repeat } j), \tag{21694}\end{equation}
subject to the cosimplicial identities
\begin{equation} \begin {aligned} d^jd^i&=d^id^{j-1}\quad (i<j), \qquad s^js^i=s^is^{j+1}\quad (i\le j),\\ s^jd^i&=\begin {cases}d^is^{j-1}&i<j,\\ \mathrm {id}&i\in \{j,j+1\},\\ d^{i-1}s^j&i>j+1.\end {cases} \end {aligned} \tag{21695}\end{equation}

Simplicial sets. A simplicial set is a functor \(X:\Delta ^{\mathrm {op}}\to \mathbf {Set}\), with \(X_n=X([n])\), faces \(d_i\) and degeneracies \(s_j\). The standard simplex is \(\Delta ^n=\operatorname {Hom}(-,[n])\). Its boundary \(\partial \Delta ^n\) omits the interior. The horn \(\Lambda ^n_k\) also omits the face opposite vertex \(k\); it is inner if \(0<k<n\) and outer if \(k\in \{0,n\}\).

358.4 Nerves

Categories. For a category \(\mathcal C\), the nerve has \(N(\mathcal C)_n=\operatorname {Fun}([n],\mathcal C)\), the strings of \(n\) composable arrows. Face \(d_i\) for \(0<i<n\) composes the arrows at position \(i\), and the outer faces drop an end.

Monoids. For a monoid \(M\), regarded as a one-object category,

\begin{equation} N(BM)_n=M^n , \tag{21696}\end{equation}
the words of length \(n\). The inner faces multiply adjacent letters, the outer faces delete the first or last letter, and the degeneracies insert the unit. For \(M=X^{*}\) the nerve is the simplicial structure on words of words, the bar construction on the free monoid of Section 584.

Orders. A partial order is a category with at most one arrow between any two objects. Its nerve has as \(n\)-simplices the chains \(x_0\le x_1\le \dots \le x_n\).

358.5 Categories are unique inner horn fillers

Theorem (Segal condition). A simplicial set \(X\) is isomorphic to the nerve of a category exactly when every inner horn \(\Lambda ^n_k\to X\), \(0<k<n\), extends uniquely to \(\Delta ^n\); equivalently, \(X_n\cong X_1\times _{X_0}\cdots \times _{X_0}X_1\) [136, 740].

Proof of the low cases. \(n=2\). A horn \(\Lambda ^2_1\) is a pair of edges \(f:x\to y\), \(g:y\to z\). A unique filler \(\sigma \) defines \(g\circ f:=d_1\sigma \), and the degeneracies give identities.

\(n=3\). Given \(f,g,h\), fill the \(2\)-horns to obtain \(g\circ f\), \(h\circ g\), and then \(h\circ (g\circ f)\) and \((h\circ g)\circ f\). The horn \(\Lambda ^3_1\) formed by the faces \(d_0,d_2,d_3\) has a unique filler \(\tau \), and its face \(d_1\tau \) is a \(2\)-simplex with edges \(f\), \(h\circ g\) and \(d_1d_1\tau \). By uniqueness in degree \(2\), \(d_1d_1\tau =(h\circ g)\circ f\). The simplicial identity \(d_1d_1=d_1d_2\) gives \(d_1d_2\tau =h\circ (g\circ f)\). Hence the two composites agree. \(\square \)

Associativity in a category is the uniqueness of a \(3\)-dimensional filler. For maps of sets, both bracketings evaluate to \(f(g(h(x)))\) (Section 271.2); in a nerve this evaluation is the \(3\)-simplex.

358.6 Quasicategories

Definition [741, 742]. A quasicategory, or \(\infty \)-category, is a simplicial set in which every inner horn has a filler, not necessarily unique.

Composition up to contractible choice. For a quasicategory \(\mathcal C\), restriction

\begin{equation} \operatorname {Fun}(\Delta ^2,\mathcal C)\to \operatorname {Fun}(\Lambda ^2_1,\mathcal C) \tag{21697}\end{equation}
is a trivial Kan fibration [136, 742]. The space of composites of a composable pair is non-empty and contractible. Composition is a choice, and any two choices are connected by a path that is unique up to higher paths.

Associativity up to coherence. Fillers of \(\Lambda ^3_1\) and \(\Lambda ^3_2\) give \(3\)-simplices relating the two bracketings; fillers of higher inner horns relate those \(3\)-simplices, and so on. This infinite tower of coherences is encoded entirely by the inner horn condition.

Homotopy category. Two edges \(f,g:x\to y\) are homotopic if there is a \(2\)-simplex with edges \(f\), \(g\), \(\mathrm {id}_x\). This is an equivalence relation, and the homotopy category \(h\mathcal C\) has homotopy classes of edges as morphisms. Composition is well defined and associative, by the \(n=2,3\) inner horns. A morphism is an equivalence if its class is invertible in \(h\mathcal C\).

Examples. The nerve of a category, with unique fillers; topological spaces; and the \(\infty \)-category of \(\infty \)-categories.

358.7 Groupoids and spaces

Outer horns. A filler of \(\Lambda ^2_0\) given by \(f:x\to y\) and \(\mathrm {id}_x\) provides \(g:y\to x\) with \(g\circ f\simeq \mathrm {id}_x\), a left inverse. Outer horns supply inverses, the involution \(\vartheta \) of Section 195.

Kan complexes. A simplicial set in which every horn, inner and outer, has a filler is a Kan complex [744].

Theorem (Joyal [742]). A quasicategory is a Kan complex exactly when its homotopy category is a groupoid.

Homotopy hypothesis. Geometric realisation and the singular complex, \(|\cdot |:\mathbf {sSet}\rightleftarrows \mathbf {Top}:\operatorname {Sing}\), form a Quillen equivalence for the Kan–Quillen model structure [745]: Kan complexes are spaces up to homotopy. \(\infty \)-groupoids are spaces.

Filling condition Uniqueness Structure
inner horns unique category (nerve)
inner horns existence \(\infty \)-category
all horns unique groupoid (nerve)
all horns existence \(\infty \)-groupoid, space

358.8 Mapping spaces, Yoneda, limits

For objects \(x,y\) of a quasicategory, the mapping space \(\operatorname {Map}(x,y)\) is a Kan complex, and \(\pi _0\operatorname {Map}(x,y)\) is the set of morphisms of \(h\mathcal C\). The Yoneda embedding \(\mathcal C\to \operatorname {Fun}(\mathcal C^{\mathrm {op}},\mathcal S)\) into presheaves of spaces is fully faithful [136]. Limits and colimits are terminal and initial objects of cone and cocone \(\infty \)-categories, defined by contractibility of mapping spaces rather than by uniqueness of maps.

358.9 Completeness and univalence

A Segal space is a simplicial space \(W\) satisfying \(W_n\simeq W_1\times ^h_{W_0}\cdots \times ^h_{W_0}W_1\). It is complete if the space of equivalences \(W_{\mathrm {eq}}\subseteq W_1\) is equivalent to \(W_0\) via the degeneracy \(s_0\) [746]:

\begin{equation} W_0\xrightarrow {\ \simeq \ }W_{\mathrm {eq}} . \tag{21698}\end{equation}
Paths between objects are the same as equivalences between them. This is univalence: the identity type of the universe is equivalent to the type of equivalences. Complete Segal spaces and quasicategories are Quillen equivalent models of \(\infty \)-categories [747]. Every \(\infty \)-topos — an \(\infty \)-category of sheaves of spaces satisfying the \(\infty \)-Giraud axioms [136] — interprets homotopy type theory with univalent universes [748].

358.10 Chains and stability

Boundary. For a simplicial abelian group \(A\), set \(\partial =\sum _{i=0}^n(-1)^id_i:A_n\to A_{n-1}\). Then

\begin{equation} \partial \partial =\sum _{i<j}(-1)^{i+j}d_id_j+\sum _{i\ge j}(-1)^{i+j}d_id_j=0 , \tag{21699}\end{equation}
because \(d_id_j=d_{j-1}d_i\) for \(i<j\) pairs each term of the first sum with a term of the second of opposite sign. This is the sign involution \(A-A=0\) of Section 357.

Dold–Kan. Normalised chains give an equivalence between simplicial abelian groups and chain complexes in non-negative degrees [749].

Stable \(\infty \)-categories. A pointed \(\infty \)-category with finite limits and colimits, in which a square is a pushout exactly when it is a pullback, is stable. Its homotopy category is canonically triangulated [743]. The derived \(\infty \)-category \(\mathcal D(R)\) — chain complexes with quasi-isomorphisms inverted — and the \(\infty \)-category of spectra are stable. Exact triangles, long exact sequences and cohomology are read off from the homotopy category.

358.11 Fibrations and straightening

A map \(p:E\to S\) is a Cartesian fibration if edges of \(S\) lift to \(p\)-Cartesian edges ending at any prescribed object of \(E\). Straightening is an equivalence [136]

\begin{equation} \operatorname {Cart}(S)\simeq \operatorname {Fun}(S^{\mathrm {op}},\mathrm {Cat}_\infty ) , \tag{21700}\end{equation}
the \(\infty \)-categorical Grothendieck construction: a family of \(\infty \)-categories varying functorially over \(S\) is the same as a fibration over \(S\). For left fibrations it gives \(\operatorname {LFib}(S)\simeq \operatorname {Fun}(S,\mathcal S)\).

358.12 The hierarchy

Level Mapping objects Example
\((0,0)\) none beyond equality sets
\((0,1)\) truth values partial orders
\((1,0)\) sets, all invertible groupoids
\((1,1)\) sets categories
\((\infty ,0)\) spaces, all invertible Kan complexes, spaces
\((\infty ,1)\) spaces quasicategories

Each step either replaces truth values by sets and sets by spaces (relaxing uniqueness), or adds inverses (the involution \(\vartheta \)). Truncation runs the other way: an \(\infty \)-groupoid all of whose mapping spaces are discrete is a groupoid, and the \((0,1)\) level is the order relation \(R\) with which the construction began.

358.13 Summary

Statement Form Ingredient
simplex category \([n]\), monotone maps finite linear orders
simplicial set \(X:\Delta ^{\mathrm {op}}\to \mathbf {Set}\) presheaf
nerve of a monoid \(N(BM)_n=M^n\) words
Segal condition unique inner fillers \(\iff \) category composition
associativity uniqueness in degree \(3\) \(d_1d_1=d_1d_2\)
quasicategory inner fillers exist uniqueness relaxed
composition contractible space of choices trivial fibration
homotopy category \(h\mathcal C\) \(2\)- and \(3\)-simplices
inverses outer horns involution \(\vartheta \)
Joyal Kan \(\iff h\mathcal C\) groupoid invertibility
homotopy hypothesis Kan complexes \(\simeq \) spaces Quillen equivalence
Yoneda \(\mathcal C\hookrightarrow \operatorname {Fun}(\mathcal C^{\mathrm {op}},\mathcal S)\) mapping spaces
completeness \(W_0\simeq W_{\mathrm {eq}}\) univalence
\(\infty \)-topoi models of HoTT univalent universes
boundary \(\partial ^2=0\) pairwise sign cancellation
Dold–Kan \(\mathbf {sAb}\simeq \mathbf {Ch}_{\ge 0}\) normalised chains
stability pushout \(=\) pullback triangulated \(h\mathcal C\)
straightening \(\operatorname {Cart}(S)\simeq \operatorname {Fun}(S^{\mathrm {op}},\mathrm {Cat}_\infty )\) Grothendieck construction

358.14 From the floor to horns

Every ingredient of the simplicial construction above comes from the primitives of Section 57:

Finite linear orders. On \(\mathbb N=\{1\}^{*}\) the order \(i\le j\iff \exists c:\ i+c=j\) is reflexive (\(\Delta \subseteq R\)), transitive (\(R\circ R\subseteq R\)), antisymmetric (\(R\cap \vartheta R\subseteq \Delta \)) and total, by the trichotomy \(\{=,<,>\}\) (Section 271.6). The objects of \(\Delta \) are its initial segments \([n]=\{0<1<\dots <n\}\).

Monotone maps are multisets. A monotone \(f:[m]\to [n]\) is a non-decreasing sequence \(0\le f(0)\le \dots \le f(m)\le n\), that is, a multiset of size \(m+1\) drawn from \([n]\): a word in \([n]^{*}\) modulo permutations. Recording the fibre sizes \(c_k=|f^{-1}(k)|\),

\begin{equation} f\ \longleftrightarrow \ (c_0,\dots ,c_n)\in \mathbb N^{n+1}, \qquad \sum _kc_k=m+1, \qquad \bigl |\operatorname {Hom}([m],[n])\bigr |=\binom {m+n+1}{m+1}. \tag{21701}\end{equation}
For \(m=n=1\) the three maps are \(00\), \(01\), \(11\). Further:

Geometric simplices are state spaces. Let \(\mathbb C^{[n]}=\mathbb C^{n+1}\) be the commutative algebra of functions on \([n]\). Its states, the positive normalised functionals (Stage 3), are the probability vectors

\begin{equation} |\Delta ^n|=\Bigl \{t\in \mathbb R^{n+1}:\ t_i\ge 0,\ \sum _it_i=1\Bigr \}. \tag{21702}\end{equation}
For \(n=1\) this is the space of binary partitions, \(|\Delta ^1|=\{(O,U):O,U\ge 0,\ O+U=1\}\). A monotone \(f:[m]\to [n]\) gives the algebra map \(f^{*}g=g\circ f\), and dually the push-forward of states,
\begin{equation} (f_{*}t)_k=\sum _{f(i)=k}t_i , \tag{21703}\end{equation}
an affine map \(|\Delta ^m|\to |\Delta ^n|\). Faces set one weight to zero, and degeneracies merge two adjacent weights, \((s^j_{*}t)_j=t_j+t_{j+1}\). For instance \(d^0:[0]\to [1]\) sends the point to the vertex \((O,U)=(0,1)\). The cosimplicial space \([n]\mapsto |\Delta ^n|\) is the functor of states on finite commutative algebras.

Nerves from composition. The graph of a map is the pushed-forward diagonal, \(\Gamma _f=(\mathrm {id}\times f)(\Delta )\), and composition glues graphs along a diagonal (Section 271.2). The nerve consists of composable strings; for a monoid, \(N(BM)_n=M^n\) are words, inner faces compose adjacent letters, outer faces delete an end, and degeneracies insert the unit.

Horns and relations. For a relation \(R\) on \(X\), let \(N(R)_n\) be the tuples \((x_0,\dots ,x_n)\) with \(x_iRx_j\) for all \(i\le j\); degeneracies require \(\Delta \subseteq R\). A simplex is determined by its vertices, so a filler, when it exists, is unique, and for \(n\ge 3\) every horn already contains all edges. Only the two-dimensional horns impose conditions:

Horn Condition on \(R\) Name
\(\Lambda ^2_1\): \(x_0Rx_1\), \(x_1Rx_2\Rightarrow x_0Rx_2\) \(R\circ R\subseteq R\) transitivity
\(\Lambda ^2_0\): \(x_0Rx_1\), \(x_0Rx_2\Rightarrow x_1Rx_2\) \(\vartheta R\subseteq R\), given transitivity symmetry
\(\Lambda ^2_2\): \(x_0Rx_2\), \(x_1Rx_2\Rightarrow x_0Rx_1\) \(\vartheta R\subseteq R\), given transitivity symmetry

Taking \(x_2=x_0\) in \(\Lambda ^2_0\) shows that the outer condition forces symmetry. Thus a preorder is a relation whose nerve has unique fillers for inner horns, and an equivalence relation is one whose nerve has unique fillers for all horns.

Composition and associativity. For a category, a filler of \(\Lambda ^2_1\) exists because composites exist, and it is unique because composition is single-valued. A unique filler of \(\Lambda ^3_1\) is associativity, through \(d_1d_1=d_1d_2\) (Subsection on categories above). Both reduce to evaluation along the diagonal.

First operation: relaxing uniqueness. Equality of \(x\) and \(y\) in a set is a truth value, the fibre of the diagonal \(\Delta _X:X\to X\times X\) over \((x,y)\), which is empty or a point: an idempotent proposition. Replacing it by the full fibre,

\begin{equation} \operatorname {Id}_X(x,y):=\Delta _X^{-1}(x,y), \tag{21704}\end{equation}
turns uniqueness of fillers into a space of fillers. Two composites are related by a \(2\)-simplex, two such witnesses by a \(3\)-simplex, and so on. Iterating the diagonal gives the tower of identity types, which forms a weak \(\omega \)-groupoid [788, 789].

Second operation: adding inverses. The outer horns are the involution \(\vartheta \): filling \(\Lambda ^2_0\) with \(f:x\to y\) and \(\mathrm {id}_x\) yields \(g:y\to x\) with \(g\circ f\simeq \mathrm {id}_x\). Filling all horns gives Kan complexes.

Levels as idempotent images. The \(n\)-truncation \(\tau _{\le n}\) is an idempotent reflector, \(\tau _{\le n}\circ \tau _{\le n}=\tau _{\le n}\). The levels of the hierarchy — truth values, sets, groupoids, …— are the images of these idempotents, and the \((0,1)\) level is the order relation \(R\) from which the construction began.

Boundary. The alternating sum \(\partial =\sum _i(-1)^id_i\) satisfies \(\partial ^2=0\) because \(d_id_j=d_{j-1}d_i\) for \(i<j\) pairs each term with one of opposite sign: the sign involution \(A-A=0\).

Floor Construction Result
diagonal, \(\mathbb N=\{1\}^{*}\) initial segments, composition \([n]\), nerves
multisets \(X^{*}/S_n\) fibre vectors monotone maps, faces, degeneracies
cone, \(\sum \Pi =I\) states on \(\mathbb C^{n+1}\) \(|\Delta ^n|\), \(|\Delta ^1|=\{O+U=1\}\)
evaluation unique \(\Lambda ^3_1\) filler associativity
fibre of \(\Delta \) \(\operatorname {Id}_X(x,y)\) relaxed uniqueness, \(\omega \)-groupoids
involution \(\vartheta \) outer horns inverses, Kan complexes
idempotent \(\tau ^2=\tau \) truncation levels of the hierarchy
sign involution \(\partial =\sum (-1)^id_i\) \(\partial ^2=0\)

358.15 Projective Geometry from \(\Pi ^2=\Pi \)

Setup. From \(\Pi _O^2=\Pi _O\), \(\Pi _O+\Pi _U=I\), geometric objects are identified with projectors of increasing rank.

Point
\begin{equation} \Pi _p = |p\rangle \langle p|, \qquad \Pi _p^2=\Pi _p, \qquad \mathrm {rank}(\Pi _p)=1. \tag{21705}\end{equation}
Distance between points:
\begin{equation} d(p,q)=\|\Pi _p-\Pi _q\|, \qquad \langle p|q\rangle =0 \;\Longleftrightarrow \; d(p,q)=1. \tag{21706}\end{equation}
Line (general case)

For \(V=\mathrm {span}\{|p\rangle ,|q\rangle \}\) with \(|p\rangle ,|q\rangle \) linearly independent (not necessarily orthogonal), define the Gram matrix:

\begin{equation} G_{ij}=\langle v_i|v_j\rangle , \qquad G=\begin {pmatrix}1&\langle p|q\rangle \\ \langle q|p\rangle &1\end {pmatrix}, \qquad G^{-1}=\frac {1}{1-|\langle p|q\rangle |^2} \begin {pmatrix}1&-\langle p|q\rangle \\ -\langle q|p\rangle &1\end {pmatrix}. \tag{21707}\end{equation}
The orthogonal projector onto \(V\):
\begin{equation} \Pi _L = \sum _{i,j\in \{p,q\}}|v_i\rangle (G^{-1})_{ij}\langle v_j|. \tag{21708}\end{equation}
Explicitly:
\begin{equation} \boxed {\Pi _L = \frac {1}{1-|\langle p|q\rangle |^2} \Bigl (|p\rangle \langle p|+|q\rangle \langle q| -\langle p|q\rangle \,|p\rangle \langle q| -\langle q|p\rangle \,|q\rangle \langle p|\Bigr ),} \tag{21709}\end{equation}
\begin{equation} \Pi _L^2=\Pi _L\quad \text {(always)}, \qquad \mathrm {rank}(\Pi _L)=2. \tag{21710}\end{equation}

Special case (orthogonal points). When \(\langle p|q\rangle =0\): \(G=I\), so:

\begin{equation} \Pi _L = \Pi _p+\Pi _q = \Pi _p+\Pi _q-\Pi _p\Pi _q-\Pi _q\Pi _p. \tag{21711}\end{equation}
The formula \(\Pi _p+\Pi _q-\Pi _p\Pi _q-\Pi _q\Pi _p\) holds only when \(\langle p|q\rangle =0\).
Plane

For \(W=\mathrm {span}\{|p\rangle ,|q\rangle ,|r\rangle \}\), the projector \(\Pi _P\) is defined via the \(3\times 3\) Gram matrix:

\begin{equation} \Pi _P = \sum _{i,j\in \{p,q,r\}}|v_i\rangle (G^{-1})_{ij}\langle v_j|, \qquad \Pi _P^2=\Pi _P, \qquad \mathrm {rank}(\Pi _P)=3. \tag{21712}\end{equation}
Incidence and intersection
\begin{equation} p\in L \;\Longleftrightarrow \; \Pi _L\Pi _p=\Pi _p, \qquad L\subset P \;\Longleftrightarrow \; \Pi _P\Pi _L=\Pi _L. \tag{21713}\end{equation}
\begin{equation} \Pi _{A\cap B}=\Pi _A\Pi _B \quad \text {(intersection)}, \qquad \Pi _{A\vee B}=\Pi _A+\Pi _B-\Pi _A\Pi _B \quad \text {(join, orthogonal case)}. \tag{21714}\end{equation}
\begin{equation} \text {point}\;\leftrightarrow \;\text {rank-1 }\Pi , \qquad \text {line}\;\leftrightarrow \;\text {rank-2 }\Pi , \qquad \text {plane}\;\leftrightarrow \;\text {rank-3 }\Pi . \tag{21715}\end{equation}
\begin{equation} \boxed {\text {geometry} \;\Longleftrightarrow \; \{\Pi :\Pi ^2=\Pi \}\text { lattice.}} \tag{21716}\end{equation}

Remark 358.1 (Projective geometry from \(\Pi ^2=\Pi \)). The objects of projective geometry — points, lines, planes, incidence, intersection, join — are all instances of the projector lattice \(\{\Pi :\Pi ^2=\Pi \}\), which follows from \(A=A\) alone.

The key correction to the naive formula: \(\Pi _L=\Pi _p+\Pi _q-\Pi _p\Pi _q-\Pi _q\Pi _p\) holds only when \(\langle p|q\rangle =0\). In the general case, the correct formula uses the Gram matrix \(G_{ij}=\langle v_i|v_j\rangle \):

\begin{equation} \Pi _L = \sum _{i,j}|v_i\rangle (G^{-1})_{ij}\langle v_j|, \qquad \Pi _L^2=\Pi _L\quad \text {always.} \tag{21717}\end{equation}
The Gram matrix encodes the inner product structure — the geometry of the space — and the projector formula is exact for any angle \(\langle p|q\rangle \).

Projective geometry is not a separate postulate. It is the lattice structure of \(\Pi ^2=\Pi \):

\begin{equation} {\footnotesize \boxed { A=A \;\Rightarrow \; \Pi ^2=\Pi \;\Rightarrow \; \begin {cases} \mathrm {rank}\,1: & \text {point}\\ \mathrm {rank}\,2: & \text {line}\\ \mathrm {rank}\,3: & \text {plane}\\ \Pi _A\Pi _B: & \text {intersection}\\ \Pi _A+\Pi _B-\Pi _A\Pi _B: & \text {join}\\ \Pi _L\Pi _p=\Pi _p: & \text {incidence} \end {cases} \;\Rightarrow \; \text {projective geometry.} }} \tag{21718}\end{equation}

358.16 Stone Duality from \(x^2=x\)

Thesis. The Stone duality theorem [185] — Boolean algebra \(\Longleftrightarrow \) Stone space — follows from \(x^2=x\) via the spectrum construction \(X_B:=\mathrm {Spec}(B)=\mathrm {Hom}(B,\{0,1\})\).

Step 1: Boolean algebra from \(x^2=x\).

From \(x^2=x\): \(x(x-1)=0\), \(x\in \{0,1\}\). A Boolean algebra \(\mathbf {B}=(B,\wedge ,\vee ,\neg ,0,1)\) satisfies:

\begin{align} a\wedge a&=a, & a\vee a&=a \quad \text {(idempotency)}, \tag{21719}\\ a\wedge (a\vee b)&=a, & a\vee (a\wedge b)&=a \quad \text {(absorption)}, \tag{21720}\\ a\wedge \neg a&=0, & a\vee \neg a&=1 \quad \text {(complementation)}. \tag{21721}\end{align}

All follow from \(a^2=a\), \(\neg a=1-a\), \(a\wedge b=ab\), \(a\vee b=a+b-ab\) on \(\{0,1\}\) (Section 754.1).

Step 2: Spectrum from \(\mathrm {Hom}(B,\{0,1\})\).

The spectrum of \(B\):

\begin{equation} X_B := \mathrm {Spec}(B) = \{\phi :B\to \{0,1\}\}, \tag{21722}\end{equation}
where each \(\phi \in X_B\) is a Boolean homomorphism:
\begin{equation} \phi (a\wedge b)=\phi (a)\phi (b),\quad \phi (a\vee b)=\phi (a)+\phi (b)-\phi (a)\phi (b),\quad \phi (\neg a)=1-\phi (a), \tag{21723}\end{equation}
\begin{equation} \phi (1)=1,\qquad \phi (0)=0. \tag{21724}\end{equation}
Each \(\phi \) is the characteristic function of an ultrafilter on \(B\).

Step 3: Topology from clopen sets.

For each \(a\in B\), define:

\begin{equation} U_a := \{\phi \in X_B:\phi (a)=1\}. \tag{21725}\end{equation}
Boolean operations correspond to set operations:
\begin{equation} U_{a\wedge b}=U_a\cap U_b,\quad U_{a\vee b}=U_a\cup U_b,\quad U_{\neg a}=X_B\setminus U_a,\quad U_0=\varnothing ,\quad U_1=X_B. \tag{21726}\end{equation}
The topology:
\begin{equation} \mathcal {T}_B = \{U_a:a\in B\}. \tag{21727}\end{equation}
\((X_B,\mathcal {T}_B)\) is a Stone space: compact, Hausdorff, and totally disconnected.

Step 4: Stone duality isomorphism.

The map \(a\mapsto U_a\) is a Boolean algebra isomorphism:

\begin{equation} B \;\cong \; \mathrm {Clopen}(X_B), \tag{21728}\end{equation}
where \(\mathrm {Clopen}(X_B)=\{U\subseteq X_B: U\text { closed and open}\}\) with:
\begin{equation} a\wedge b \;\leftrightarrow \; U_a\cap U_b,\qquad a\vee b \;\leftrightarrow \; U_a\cup U_b,\qquad \neg a \;\leftrightarrow \; X_B\setminus U_a. \tag{21729}\end{equation}
\begin{equation} \boxed {B \;\cong \; \mathrm {Clopen}(\mathrm {Spec}(B)).} \tag{21730}\end{equation}
\begin{equation} \boxed {\text {Boolean algebra} \;\Longleftrightarrow \; \text {Stone space.}} \tag{21731}\end{equation}
\begin{equation} \boxed {\text {Logic} \;\Longleftrightarrow \; \text {Topology.}} \tag{21732}\end{equation}

Complete chain.

\begin{equation} {\footnotesize \boxed { A=A \;\Longrightarrow \; x^2=x \;\Longrightarrow \; x\in \{0,1\} \;\Longrightarrow \; \mathbf {B}=(B,\wedge ,\vee ,\neg ,0,1) \;\Longrightarrow \; X_B=\mathrm {Hom}(B,\{0,1\}) \;\Longrightarrow \; B\cong \mathrm {Clopen}(X_B). }} \tag{21733}\end{equation}

Remark 358.2 (Stone duality as \(x^2=x\)). The Stone duality \(B\cong \mathrm {Clopen}(\mathrm {Spec}(B))\) is the topological expression of \(x^2=x\):

Stone duality unifies logic and topology because both are \(x^2=x\): logic via \(a\wedge a=a\) (idempotency of propositions), topology via clopen sets (self-complementary open sets). Both are \(\Pi ^2=\Pi \), which is from \(A=A\).