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:
witnesses, some and all;
contractibility, as an assembly of some, all and \(=\);
the directed and undirected intervals;
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).
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 \):
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}\):
S0c (\(J\) is the adjunction). For a family \(C\) over \(A\times A\), the adjunction of S0a with \(P=1\) reads
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
Some, \(\sum _xP(x)\), holds a point together with its witness.
All, \(\prod _xP(x)\), gives a witness at every point.
S0a is the same recipe along \(\Delta \) instead of along \(\pi \). Truncating the witnesses to truth values returns \(\exists \) and \(\forall \).
S2 (contractible, assembled).
S3 (singletons, from \(J\)). For each \(a\),
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:
Directed is the diagonal read without its \(J\)-reversal.
Undirected is the diagonal read with it.
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:
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
\(n=0\): the chain is one place \(x_0\), and finishing it is a link \(x_0\to x_0\) equal to the empty composite. This is \(\sum _h(h=\mathrm {refl})\), contractible by S3.
\(n=1\): finishing is \(\sum _h(h=f)\), contractible by S3.
\(n+1\): forgetting the last interior place first turns the chain into one of \(n\) links, whose finishing kind is contractible by induction. The forgotten place contributes \(\sum _h(h=g\circ f)\), contractible by S3. A \(\Sigma \) over a contractible base with contractible fibres is contractible.
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),
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
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).
Only \(\mathrm {id}\) is laid down. The construction proceeds in order:
One point is the singleton made from \(\mathrm {id}\), and \(+1\) sets one more such point beside what is already there.
The numbers \(n\) are \(0\) followed by repeated \(+1\).
A row is points laid one after another, and its order is the order of laying.
Copying, forgetting and reversing are laying a place twice, removing a place, and laying from the other end.
One induction on \(n\) gives composition, transitivity and associativity for every \(n\) at once.
Horns are rows with one forgetting withheld. Inner horns fill by the induction, and outer horns fill when reversal is present.
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).
B1 (one point and \(+1\)).
One point is \(1=\sum _b(a=b)\), the singleton of \(\mathrm {id}\). It is contractible (S3).
Nothing is \(0\), the kind with no marks, \(\{a:\neg (a=a)\}\).
Setting beside is \(\sqcup \), the left adjoint of \(\Delta \) (D3).
Plus one is
B2 (\(n\) itself). The numbers are \(0\) and whatever \(+1\) produces from them:
B3 (rows and their order). A row is points laid one after another:
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:
laying a place twice and then removing one copy restores the row, \(d_is_i=\mathrm {id}=d_{i+1}s_i\), which is \(\pi \circ \Delta =\mathrm {id}\);
removing two places in either order removes the same two (O5);
reversing twice lays the row in its original order, so \(\sigma ^2=\mathrm {id}\);
reversal exchanges ends, \(\sigma d_i=d_{n-i}\sigma \).
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\),
\(n=0\): one place, and the finishing link is \(\sum _h(h=s_0(x_0))\), a singleton.
\(n=1\): \(\sum _h(h=f)\), a singleton.
\(n\to n+1\): \([n+1]=[n]\sqcup 1\), so the old last place becomes interior. Finishing \([n+1]\) is finishing \([n]\), contractible by hypothesis, followed by forgetting that one place, which is \(\sum _h(h=g\circ f)\), a singleton.
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:
Inner, \(0<k<n\). Each link \(\{i,i+1\}\) of the row lies in a face other than \(d_k\), so \(\Lambda ^n_k\) contains the spine \([1]\cup _{[0]}\cdots \cup _{[0]}[1]\). By B6, a filling of the spine extends to \([n]\) in a contractible kind of ways, so inner horns fill. The missing face forgets a middle place, which is composition.
Outer, \(k\in \{0,n\}\). The withheld face forgets an end, so filling it runs a link backwards. This is possible exactly when \(\sigma \) of B4 acts on links, that is when links reverse.
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 |
Exactly one, inner: B6 at level \(0\) gives unique composites, units from \(s_0\) and associativity from \(\Lambda ^3_1,\Lambda ^3_2\), so a category.
Exactly one, all: outer horns give \(g\circ f=\mathrm {id}\) and \(f\circ g'=\mathrm {id}\), and \(g=g'\) by associativity, so a groupoid.
At most one link: composition is transitivity, giving a preorder; with \(\sigma \), an equivalence relation.
Some, inner: a quasicategory.
Some, all: a Kan complex.
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}\),
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).
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.
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
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\}\).
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,
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\).
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.
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
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.
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 |
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.
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]:
Boundary. For a simplicial abelian group \(A\), set \(\partial =\sum _{i=0}^n(-1)^id_i:A_n\to A_{n-1}\). Then
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.
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]
| 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.
| 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 |
Every ingredient of the simplicial construction above comes from the primitives of Section 57:
the diagonal gives \(\mathbb N\), composition and the nerve;
multisets give monotone maps;
the cone together with partitions of unity gives the geometric simplices;
fibres of the diagonal relax uniqueness;
the involution supplies inverses;
idempotent truncation separates the levels.
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)|\),
\(f\) is surjective iff every \(c_k\ge 1\), and injective iff every \(c_k\le 1\);
the face \(d^i\) has \(c_i=0\) and all other entries \(1\);
the degeneracy \(s^j\) has \(c_j=2\) and all other entries \(1\);
every monotone map factors uniquely as a surjection followed by an injection;
the cosimplicial identities follow by evaluating both sides on each element.
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
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,
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\) |
Setup. From \(\Pi _O^2=\Pi _O\), \(\Pi _O+\Pi _U=I\), geometric objects are identified with projectors of increasing rank.
For \(V=\mathrm {span}\{|p\rangle ,|q\rangle \}\) with \(|p\rangle ,|q\rangle \) linearly independent (not necessarily orthogonal), define the Gram matrix:
Special case (orthogonal points). When \(\langle p|q\rangle =0\): \(G=I\), so:
For \(W=\mathrm {span}\{|p\rangle ,|q\rangle ,|r\rangle \}\), the projector \(\Pi _P\) is defined via the \(3\times 3\) Gram matrix:
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 \):
Projective geometry is not a separate postulate. It is the lattice structure of \(\Pi ^2=\Pi \):
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:
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\):
Step 3: Topology from clopen sets.
For each \(a\in B\), define:
Step 4: Stone duality isomorphism.
The map \(a\mapsto U_a\) is a Boolean algebra isomorphism:
Complete chain.
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\):
\(x^2=x\) forces \(x\in \{0,1\}\) — the two-point set \(\{0,1\}\) is the Stone space of the two-element Boolean algebra.
\(\mathrm {Spec}(B)=\mathrm {Hom}(B,\{0,1\})\) is the space of all ways to evaluate \(B\) in \(\{0,1\}\) — the space of all partitions \(O\cup U=T\) consistent with \(B\).
The clopen sets \(U_a=\{\phi :\phi (a)=1\}\) are the characteristic functions \(\chi _a:\mathrm {Spec}(B)\to \{0,1\}\).
The isomorphism \(B\cong \mathrm {Clopen}(X_B)\) is the statement that logic (\(B\)) and topology (\(X_B\)) are two descriptions of the same \(x^2=x\) structure.
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\).