Concatenation of paths is not associative, by exercise 187.6; the composite of two paths depends on a chosen reparametrization; and the equations that repair these two defects are themselves paths. Every one of those facts was proved by writing a formula on [0,1]. A model of a type theory cannot proceed that way: it must produce composites from finite data, and it must record the higher equations as further finite data rather than as functions of a real parameter.
The combinatorial object that does this replaces the interval by the ordered set {0 <1} and the triangle by {0 <1 <2}. A pair of composable paths in a space 𝑌 is a map into 𝑌 from two edges of a triangle; a composite together with a witness that it is one is a map from the whole triangle. Turning that observation into a definition requires the category of finite ordinals, the presheaves on it, the subobjects of a simplex generated by some of its faces, and the exact lifting condition that says every partial triangle can be completed. This chapter constructs those four things and calculates with them. No model structure and no interpretation of type theory appears here; the chapter ends by listing what such an interpretation would still require.
The simplex category
For 𝑛 ≥0 let [𝑛]:={0,1,…,𝑛} with its usual order. The objects of the simplex category Δ are these sets. A morphism from [𝑚] to [𝑛] is a monotone map, that is a function 𝛼 with 𝛼(𝑖) ≤𝛼(𝑗) whenever 𝑖 ≤𝑗. Composition is composition of functions and the identity morphism is the identity function; both are monotone, so Δ is a category in the sense of definition 141.8. In this chapter the letter Δ denotes this category and never a typing context.
Referenced from 2 locations
For 𝑛 ≥1 and 0 ≤𝑖 ≤𝑛 let 𝛿𝑖 :[𝑛 −1] →[𝑛] be the monotone injection that omits the value 𝑖: 𝛿𝑖(𝑗):={𝑗,𝑗<𝑖,𝑗+1,𝑗≥𝑖. For 𝑛 ≥0 and 0 ≤𝑗 ≤𝑛 let 𝜎𝑗 :[𝑛 +1] →[𝑛] be the monotone surjection that repeats the value 𝑗: 𝜎𝑗(𝑙):={𝑙,𝑙≤𝑗,𝑙−1,𝑙>𝑗.
Referenced from 2 locations
In Δ, 𝛿𝑗∘𝛿𝑖=𝛿𝑖∘𝛿𝑗−1(𝑖<𝑗),𝜎𝑗∘𝜎𝑖=𝜎𝑖∘𝜎𝑗+1(𝑖≤𝑗),𝜎𝑗∘𝛿𝑖=⎧{
{
{⎨{
{
{⎩𝛿𝑖∘𝜎𝑗−1,𝑖<𝑗,id,𝑖∈{𝑗,𝑗+1},𝛿𝑖−1∘𝜎𝑗,𝑖>𝑗+1.
Referenced from 4 locations
Proof of Lemma 190.3 — Cosimplicial identities
Proof. Each identity is checked on an argument 𝑙.
For equation 190.1 with 𝑖 <𝑗: the left side omits 𝑖 and then 𝑗 from the values, so its image is [𝑛] ∖{𝑖,𝑗}, and it sends 𝑙 to 𝑙 for 𝑙 <𝑖, to 𝑙 +1 for 𝑖 ≤𝑙 <𝑗 −1, and to 𝑙 +2 for 𝑙 ≥𝑗 −1. The right side first omits 𝑗 −1 and then 𝑖; since 𝑖 <𝑗, the value 𝑗 −1 of the inner map is shifted to 𝑗 by 𝛿𝑖, and one computes the same three cases: 𝑙 ↦𝑙 for 𝑙 <𝑖, 𝑙 ↦𝑙 +1 for 𝑖 ≤𝑙 <𝑗 −1, and 𝑙 ↦𝑙 +2 for 𝑙 ≥𝑗 −1.
For equation 190.2 with 𝑖 ≤𝑗: both sides send 𝑙 to 𝑙 for 𝑙 ≤𝑖, to 𝑙 −1 for 𝑖 <𝑙 ≤𝑗 +1, and to 𝑙 −2 for 𝑙 >𝑗 +1. On the left, the inner 𝜎𝑖 subtracts one above 𝑖 and the outer 𝜎𝑗 subtracts one above 𝑗; on the right, the inner 𝜎𝑗+1 subtracts one above 𝑗 +1 and the outer 𝜎𝑖 subtracts one above 𝑖. Substituting the three ranges of 𝑙 gives the same values.
For equation 190.3 take 𝑖 =𝑗: 𝜎𝑗(𝛿𝑗(𝑙)) is 𝜎𝑗(𝑙) =𝑙 for 𝑙 <𝑗 and 𝜎𝑗(𝑙 +1) =𝑙 for 𝑙 ≥𝑗, so the composite is the identity; the case 𝑖 =𝑗 +1 is the same calculation with the value 𝑗 +1 omitted and then collapsed. For 𝑖 <𝑗 the composite omits 𝑖 and collapses at 𝑗, and those operations act on disjoint parts of the range, so the composite equals first collapsing at 𝑗 −1 — the index of 𝑗 before insertion — and then omitting 𝑖. For 𝑖 >𝑗 +1 the same reasoning applies with the roles reversed. ◻
Every morphism 𝛼 :[𝑚] →[𝑛] of Δ factors as 𝛼 =𝛿𝑖1⋯𝛿𝑖𝑟 ∘𝜎𝑗1⋯𝜎𝑗𝑠 with 𝑛 ≥𝑖1 >⋯ >𝑖𝑟 ≥0 and 0 ≤𝑗1 <⋯ <𝑗𝑠 <𝑚, and this presentation is unique.
Referenced from 5 locations
Proof of Lemma 190.4 — Epi–mono factorization
Proof. Let {𝑖1 >⋯ >𝑖𝑟} be the elements of [𝑛] not in the image of 𝛼 and let {𝑗1 <⋯ <𝑗𝑠} be the elements 𝑗 ∈[𝑚 −1] with 𝛼(𝑗) =𝛼(𝑗 +1). The monotone surjection 𝜎:=𝜎𝑗1⋯𝜎𝑗𝑠 :[𝑚] →[𝑚 −𝑠] identifies exactly those adjacent pairs, and the monotone injection 𝛿:=𝛿𝑖1⋯𝛿𝑖𝑟 :[𝑛 −𝑟] →[𝑛] has exactly the complement of {𝑖1,…,𝑖𝑟} as image. Since 𝛼 is monotone, its image has 𝑚 −𝑠 +1 elements, so 𝑛 −𝑟 =𝑚 −𝑠, and 𝛼 factors through 𝜎 by a monotone injection with the same image as 𝛼, which is 𝛿. Uniqueness holds because the two index sets are determined by 𝛼: the 𝑖’s are the values omitted, and the 𝑗’s the arguments at which 𝛼 repeats. ◻
Lemma 190.4 is what makes the combinatorics finite: a statement about all morphisms of Δ needs to be checked only on the cofaces and codegeneracies, subject to lemma 190.3.
Simplicial sets
A simplicial set is a presheaf 𝑋 :Δop →𝐒𝐞𝐭 (definition 141.38); its elements of 𝑋𝑛:=𝑋([𝑛]) are the 𝑛-simplices of 𝑋. Write 𝑑𝑖:=𝑋(𝛿𝑖):𝑋𝑛→𝑋𝑛−1,𝑠𝑗:=𝑋(𝜎𝑗):𝑋𝑛→𝑋𝑛+1 for the face and degeneracy operators. A simplicial map 𝑓 :𝑋 →𝑌 is a natural transformation (definition 141.41); explicitly, a family 𝑓𝑛 :𝑋𝑛 →𝑌𝑛 commuting with every 𝑑𝑖 and 𝑠𝑗. A simplex is degenerate when it is 𝑠𝑗(𝑦) for some 𝑗 and some 𝑦, and nondegenerate otherwise.
Referenced from 2 locations
Applying the contravariant 𝑋 to lemma 190.3 reverses every composite and gives the simplicial identities 𝑑𝑖𝑑𝑗=𝑑𝑗−1𝑑𝑖(𝑖<𝑗),𝑠𝑖𝑠𝑗=𝑠𝑗+1𝑠𝑖(𝑖≤𝑗), 𝑑𝑖𝑠𝑗=⎧{
{
{⎨{
{
{⎩𝑠𝑗−1𝑑𝑖,𝑖<𝑗,id,𝑖∈{𝑗,𝑗+1},𝑠𝑗𝑑𝑖−1,𝑖>𝑗+1.
Let Δ[𝑛]:=homΔ( −,[𝑛]), the representable presheaf (definition 141.50). Its 𝑚-simplices are the monotone maps [𝑚] →[𝑛], its faces are 𝑑𝑖(𝛼) =𝛼 ∘𝛿𝑖, and its degeneracies are 𝑠𝑗(𝛼) =𝛼 ∘𝜎𝑗. We write a monotone 𝛼 :[𝑚] →[𝑛] as the list ⟨𝛼(0)⋯𝛼(𝑚)⟩.
Δ[1] has two nondegenerate simplices, the vertices ⟨0⟩,⟨1⟩ and the edge ⟨01⟩; all other simplices are degenerate, for instance ⟨001⟩ =𝑠0⟨01⟩ and ⟨011⟩ =𝑠1⟨01⟩ in dimension 2, and in dimension 3 the four simplices ⟨0001⟩,⟨0011⟩,⟨0111⟩ together with the constant lists. Its dimension-3 set has 5 elements: the monotone maps [3] →[1] are determined by the number of 0s.
Δ[2] has seven nondegenerate simplices: three vertices, three edges ⟨01⟩,⟨12⟩,⟨02⟩, and the 2-simplex ⟨012⟩. Its faces are 𝑑0⟨012⟩=⟨12⟩,𝑑1⟨012⟩=⟨02⟩,𝑑2⟨012⟩=⟨01⟩, computed by precomposing with 𝛿0,𝛿1,𝛿2, which omit 0, 1, 2 respectively. In dimension 3, Δ[2] has the ten monotone maps [3] →[2]; three of them are the degeneracies of ⟨012⟩, namely ⟨0012⟩, ⟨0112⟩, ⟨0122⟩, and the rest are degeneracies of lower simplices. Checking one simplicial identity here: 𝑑1𝑠1⟨012⟩ =𝑑1⟨0112⟩ =⟨012⟩, in agreement with the clause 𝑑𝑖𝑠𝑗 =id for 𝑖 =𝑗.
Referenced from 2 locations
For a topological space 𝑌 let Sing(𝑌)𝑛 be the set of continuous maps Δ𝑛 →𝑌, with Δ𝑛 the geometric simplex of definition 187.41. A monotone 𝛼 :[𝑚] →[𝑛] induces the affine map 𝛼∗ :Δ𝑚 →Δ𝑛 sending the 𝑖-th vertex to the 𝛼(𝑖)-th, and Sing(𝑌)(𝛼)(𝑢):=𝑢 ∘𝛼∗. Functoriality holds because (𝛼 ∘𝛽)∗ =𝛼∗ ∘𝛽∗ on vertices, hence on all of Δ𝑚 by affineness. A vertex of Sing(𝑌) is a point of 𝑌, and an edge is a path (example 187.42), with 𝑑1 its start and 𝑑0 its end.
Referenced from 3 locations
For a small category C let 𝑁(C)𝑛 be the set of functors [𝑛] →C, where [𝑛] is regarded as a category with one arrow 𝑖 →𝑗 when 𝑖 ≤𝑗. Equivalently an 𝑛-simplex is a chain 𝑐0𝑓1⟶𝑐1 →⋯𝑓𝑛⟶𝑐𝑛. The faces are 𝑑0(𝑓1,…,𝑓𝑛)=(𝑓2,…,𝑓𝑛),𝑑𝑛(𝑓1,…,𝑓𝑛)=(𝑓1,…,𝑓𝑛−1),𝑑𝑖(𝑓1,…,𝑓𝑛)=(…,𝑓𝑖+1∘𝑓𝑖,…)(0<𝑖<𝑛), where the middle clause composes the 𝑖-th and (𝑖 +1)-st arrows, and 𝑠𝑗 inserts an identity arrow at position 𝑗. The simplicial identities follow from associativity and the unit laws of C: for instance 𝑑1𝑑2 =𝑑1𝑑1 on a 3-simplex says 𝑓3 ∘(𝑓2 ∘𝑓1) =(𝑓3 ∘𝑓2) ∘𝑓1.
Referenced from 2 locations
For every simplicial set 𝑋 and every 𝑛, evaluation at id[𝑛] is a bijection from the set of simplicial maps Δ[𝑛] →𝑋 to 𝑋𝑛.
Referenced from 2 locations
Proof of Lemma 190.9 — Yoneda for simplicial sets
Proof. This is the Yoneda lemma (definition 141.58 and the development around it) for the presheaf 𝑋 on Δ. Concretely, a simplicial map 𝑢 :Δ[𝑛] →𝑋 is determined by 𝑥:=𝑢𝑛(id[𝑛]), because naturality gives 𝑢𝑚(𝛼) =𝑢𝑚(Δ[𝑛](𝛼)(id)) =𝑋(𝛼)(𝑥) for every 𝛼 :[𝑚] →[𝑛]; and conversely 𝑢𝑚(𝛼):=𝑋(𝛼)(𝑥) defines a natural family, by functoriality of 𝑋. ◻
Boundaries and horns
A simplicial subset 𝐴 ⊆𝑋 is a family of subsets 𝐴𝑛 ⊆𝑋𝑛 closed under all faces and degeneracies; it is again a simplicial set, and the inclusion is a simplicial map.
Let 𝑛 ≥1 and 0 ≤𝑘 ≤𝑛. Define simplicial subsets of Δ[𝑛] by 𝜕Δ[𝑛]𝑚:={𝛼:[𝑚]→[𝑛] monotone:𝛼 is not surjective},Λ𝑛𝑘𝑚:={𝛼:[𝑚]→[𝑛] monotone:[𝑛]∖(im𝛼∪{𝑘})≠∅}. These are closed under precomposition with any monotone map, since precomposition can only shrink the image, so both are simplicial subsets, and Λ𝑛𝑘 ⊆𝜕Δ[𝑛] ⊆Δ[𝑛]. The subset Λ𝑛𝑘 is the 𝑘-horn of Δ[𝑛]; it is inner when 0 <𝑘 <𝑛 and outer otherwise.
Referenced from 2 locations
Take 𝑛 =2. A simplex of Δ[2] lies in 𝜕Δ[2] exactly when it misses one of 0,1,2; the nondegenerate simplices of 𝜕Δ[2] are therefore the three vertices and the three edges, and ⟨012⟩ is the only simplex of Δ[2] outside it. The horn Λ21 omits in addition the edge ⟨02⟩, because that edge misses only the value 1, which the definition forgives; so Λ21 consists of the two edges ⟨01⟩ and ⟨12⟩ with their vertices. Likewise Λ20 consists of ⟨01⟩ and ⟨02⟩, and Λ22 of ⟨02⟩ and ⟨12⟩.
Referenced from 2 locations
Let 𝑋 be a simplicial set and 𝑛 ≥1. Simplicial maps Λ𝑛𝑘 →𝑋 correspond bijectively to families (𝑥𝑖)𝑖≠𝑘 of (𝑛 −1)-simplices of 𝑋 satisfying 𝑑𝑖𝑥𝑗=𝑑𝑗−1𝑥𝑖(𝑖<𝑗, 𝑖≠𝑘≠𝑗). Simplicial maps 𝜕Δ[𝑛] →𝑋 correspond to families (𝑥𝑖)0≤𝑖≤𝑛 satisfying the same equations with no index excluded.
Referenced from 7 locations
Proof of Lemma 190.12 — Maps out of a horn are matching families
Proof. Given a simplicial map 𝑢, put 𝑥𝑖:=𝑢𝑛−1(𝛿𝑖); these are (𝑛 −1)-simplices because 𝛿𝑖 is an (𝑛 −1)-simplex of Δ[𝑛] lying in the horn for 𝑖 ≠𝑘. Naturality and equation 190.1 give 𝑑𝑖𝑥𝑗 =𝑢(𝛿𝑗 ∘𝛿𝑖) =𝑢(𝛿𝑖 ∘𝛿𝑗−1) =𝑑𝑗−1𝑥𝑖 for 𝑖 <𝑗, which is equation 190.6.
Conversely let such a family be given. Every simplex 𝛼 of Λ𝑛𝑘 factors as 𝛼 =𝛿𝑖 ∘𝛽 for some 𝑖 ≠𝑘 outside the image of 𝛼 and some monotone 𝛽, by lemma 190.4 applied to the corestriction of 𝛼 to [𝑛] ∖{𝑖}. Set 𝑢(𝛼):=𝑋(𝛽)(𝑥𝑖). This is independent of the chosen 𝑖: if 𝛼 also avoids 𝑗 ≠𝑖, write 𝛼 =𝛿𝑖𝛽 =𝛿𝑗𝛾, and then equation 190.1, equation 190.6 identify the two values, since both equal 𝑋 applied to the factorization of 𝛼 through the codimension-two face 𝛿𝑖𝛿𝑗−1. Naturality in 𝛼 is immediate from functoriality of 𝑋, and the two constructions are mutually inverse because 𝑢(𝛿𝑖) =𝑋(id)(𝑥𝑖) =𝑥𝑖.
The statement for 𝜕Δ[𝑛] is the same argument with the index 𝑘 not excluded. ◻
For 𝑛 =2 the lemma reads concretely. A map Λ21 →𝑋 is a pair of edges 𝑥0 and 𝑥2 subject to the single instance of equation 190.6 with 𝑖 =0 and 𝑗 =2, namely 𝑑0𝑥2 =𝑑1𝑥0: the end of 𝑥2 is the start of 𝑥0. An inner 2-horn in 𝑋 is therefore exactly a composable pair of edges, and a 2-simplex with those two faces is a choice of composite together with a witness that it is one. This is the finite datum promised in the chapter opening: no interval and no reparametrization occurs in it.
Kan complexes and Kan fibrations
A simplicial map 𝑝 :𝑋 →𝑌 is a Kan fibration when for every 𝑛 ≥1, every 0 ≤𝑘 ≤𝑛, and every commuting square 𝑢:Λ𝑛𝑘→𝑋,𝑣:Δ[𝑛]→𝑌,𝑝∘𝑢=𝑣|Λ𝑛𝑘, there is a simplicial map 𝑤 :Δ[𝑛] →𝑋 with 𝑤|Λ𝑛𝑘 =𝑢 and 𝑝 ∘𝑤 =𝑣. A simplicial set 𝑋 is a Kan complex when the unique map 𝑋 →Δ[0] is a Kan fibration; equivalently, when every map Λ𝑛𝑘 →𝑋 extends along the inclusion to a map Δ[𝑛] →𝑋. A map 𝑤 as above is a filler.
Referenced from 2 locations
The equivalence claimed in the definition holds because Δ[0] has exactly one 𝑚-simplex for each 𝑚, so the condition on 𝑣 is vacuous.
Let C be a small category, 𝑛 ≥2, and 0 <𝑘 <𝑛. Every map Λ𝑛𝑘 →𝑁(C) has exactly one filler.
Referenced from 8 locations
Proof of Proposition 190.14 — Nerves fill inner horns uniquely
Proof. The case 𝑛 =2, 𝑘 =1. By lemma 190.12 and the calculation after it, a map Λ21 →𝑁(C) is a composable pair 𝑐0𝑓1⟶𝑐1𝑓2⟶𝑐2. A filler is a 2-simplex, that is a pair (𝑔1,𝑔2) of composable arrows, with 𝑑2 =𝑓1 and 𝑑0 =𝑓2, hence 𝑔1 =𝑓1 and 𝑔2 =𝑓2; the remaining face 𝑑1 is then forced to be 𝑓2 ∘𝑓1. So the filler exists and is unique.
The case 𝑛 =3, 𝑘 =1. A map Λ31 →𝑁(C) consists of the three 2-simplices 𝑥0,𝑥2,𝑥3 matching along their common edges. Reading off the edges, the data amount to arrows 𝑓1,𝑓2,𝑓3 composable in that order together with the three composites recorded by 𝑥0,𝑥2,𝑥3; a filler is a functor [3] →C, which is determined by 𝑓1,𝑓2,𝑓3, and its face 𝑑1 records 𝑓3 ∘(𝑓2 ∘𝑓1). Existence and uniqueness therefore hold, and the matching condition on the horn is exactly associativity.
General 𝑛 and 0 <𝑘 <𝑛. A functor [𝑛] →C is determined by the 𝑛 arrows 𝑓𝑖 :𝑐𝑖−1 →𝑐𝑖, and each 𝑓𝑖 is an edge of the horn: the edge ⟨𝑖 −1,𝑖⟩ misses at least one element of [𝑛] other than 𝑘 as soon as 𝑛 ≥2. So a filler is unique if it exists. For existence, define the functor by the arrows read off the horn; its faces 𝑑𝑗 for 𝑗 ≠𝑘 agree with the given 𝑥𝑗 because both are the chains obtained by composing the same arrows, and 𝑑𝑘 is unconstrained. ◻
Let C be a small category. Then 𝑁(C) is a Kan complex if and only if C is a groupoid (definition 141.23).
Referenced from 5 locations
Proof of Proposition 190.15 — Groupoids and outer horns
Proof. Suppose C is a groupoid. Inner horns fill by proposition 190.14. For Λ20 the data are two arrows 𝑓1 :𝑐0 →𝑐1 and 𝑔 :𝑐0 →𝑐2 with a common source; the filler must be a composable pair with 𝑑2 =𝑓1 and 𝑑1 =𝑔, so the second arrow is forced to be 𝑔 ∘𝑓−11, which exists because 𝑓1 is invertible. The case Λ22 is the same calculation with the arrow 𝑓2 inverted instead. For 𝑛 ≥3 the argument of proposition 190.14 applies unchanged, because for 𝑛 ≥3 every edge ⟨𝑖 −1,𝑖⟩ lies in every horn, so the 𝑛 arrows are still determined and the missing face is still unconstrained.
Conversely suppose 𝑁(C) is a Kan complex and let 𝑓 :𝑐0 →𝑐1. The pair (𝑓,id𝑐0), with 𝑓 on the edge ⟨01⟩ and id𝑐0 on ⟨02⟩, is a map Λ20 →𝑁(C) by lemma 190.12, since both edges start at 𝑐0. A filler provides 𝑔 :𝑐1 →𝑐0 with 𝑔 ∘𝑓 =id𝑐0. Applying the same argument to 𝑔 gives ℎ with ℎ ∘𝑔 =id𝑐1, and then ℎ =ℎ ∘𝑔 ∘𝑓 =𝑓, so 𝑔 is a two-sided inverse of 𝑓. ◻
Δ[1] =𝑁([1]) and the category [1] has a non-invertible arrow 0 →1, so Δ[1] is not a Kan complex by proposition 190.15. The failure is visible in one horn: take the map Λ20 →Δ[1] whose edge ⟨01⟩ is sent to ⟨01⟩ and whose edge ⟨02⟩ is sent to the degenerate edge ⟨00⟩. A filler would supply an edge from the vertex 1 to the vertex 0, and Δ[1] has none, since a monotone map [1] →[1] cannot send 0 ↦1 and 1 ↦0.
Referenced from 4 locations
For every topological space 𝑌, the simplicial set Sing(𝑌) is a Kan complex.
Referenced from 3 locations
Proof of Proposition 190.17 — Singular complexes are Kan
Proof. Write |Λ𝑛𝑘| ⊆Δ𝑛 for the union of the geometric faces 𝛿𝑖∗(Δ𝑛−1) with 𝑖 ≠𝑘. By lemma 190.12 a map Λ𝑛𝑘 →Sing(𝑌) is a family of continuous maps on those faces agreeing on their intersections, hence by lemma 187.11 — the faces are closed — a single continuous map 𝑢 :|Λ𝑛𝑘| →𝑌. A filler is a continuous extension of 𝑢 to Δ𝑛. It suffices to produce a retraction 𝜌 :Δ𝑛 →|Λ𝑛𝑘|, for then 𝑢 ∘𝜌 is such an extension.
Let 𝑚 be the barycenter of Δ𝑛, let 𝑏 be the barycenter of the 𝑘-th face, and put 𝑐:=2𝑏 −𝑚. Its coordinates satisfy ∑𝑖𝑐𝑖 =2 −1 =1, 𝑐𝑘 = −1/(𝑛 +1) <0, and 𝑐𝑗 =2/𝑛 −1/(𝑛 +1) >0 for 𝑗 ≠𝑘; so 𝑐 lies in the plane of Δ𝑛, beyond the 𝑘-th face.
For 𝑥 ∈Δ𝑛 consider 𝑦(𝜆):=𝑐 +𝜆(𝑥 −𝑐), so that 𝑦(1) =𝑥. Put 𝜇(𝑥):=max𝑗≠𝑘 max(0, 𝑐𝑗−𝑥𝑗𝑐𝑗),𝜌(𝑥):=𝑐+1𝜇(𝑥)(𝑥−𝑐). Here 𝜇 is continuous, being a maximum of finitely many continuous functions, and 𝜇(𝑥) >0: if 𝑥𝑗 ≥𝑐𝑗 for every 𝑗 ≠𝑘 then ∑𝑗≠𝑘𝑥𝑗 ≥∑𝑗≠𝑘𝑐𝑗 =1 −𝑐𝑘 >1, contradicting ∑𝑖𝑥𝑖 =1 and 𝑥𝑘 ≥0. Moreover 𝜇(𝑥) ≤1, because each fraction is at most 1 when 𝑥𝑗 ≥0. So 1/𝜇(𝑥) ≥1 and 𝜌 is continuous.
𝜌 lands in the horn. Writing 𝜆:=1/𝜇(𝑥), the 𝑗-th coordinate of 𝜌(𝑥) is 𝑐𝑗 +𝜆(𝑥𝑗 −𝑐𝑗), which vanishes exactly when 𝜆 =𝑐𝑗/(𝑐𝑗 −𝑥𝑗), that is when the 𝑗-th entry realizes the maximum defining 𝜇(𝑥). Some 𝑗 ≠𝑘 does realize it, since 𝜇(𝑥) >0; for that 𝑗 the coordinate vanishes, so 𝜌(𝑥) lies in the 𝑗-th face, which is part of |Λ𝑛𝑘|. All other coordinates of 𝜌(𝑥) are nonnegative, since each 𝑗-th entry of the maximum is at most 𝜇(𝑥), and the 𝑘-th coordinate is 𝑐𝑘 +𝜆(𝑥𝑘 −𝑐𝑘) ≥𝑐𝑘 +(𝑥𝑘 −𝑐𝑘) =𝑥𝑘 ≥0 because 𝑥𝑘 −𝑐𝑘 >0 and 𝜆 ≥1. So 𝜌(𝑥) ∈Δ𝑛.
𝜌 fixes the horn. If 𝑥𝑗 =0 for some 𝑗 ≠𝑘, then the 𝑗-th entry of the maximum is 1, so 𝜇(𝑥) =1 and 𝜌(𝑥) =𝑥. ◻
★☆☆ Compute #Δ[2]3 and #Δ[3]2 by counting monotone maps, and list the nondegenerate simplices of 𝜕Δ[2] in each dimension up to 3.
Referenced from 2 locations
★☆☆ Verify the three clauses of equation 190.5 on the simplex ⟨012⟩ of Δ[2] by computing both sides for every pair (𝑖,𝑗) with 0 ≤𝑖 ≤3 and 0 ≤𝑗 ≤2.
Referenced from 2 locations
★★☆ Show that Λ𝑛𝑘 and 𝜕Δ[𝑛] have the same simplices in dimensions 𝑚 <𝑛 −1, and that they differ in dimension 𝑛 −1 by exactly one simplex. Identify that simplex.
Referenced from 2 locations
★★☆ Prove that 𝑁 is faithful: two functors C →D inducing the same simplicial map are equal. Then prove that a simplicial map 𝑁(C) →𝑁(D) comes from a functor, using proposition 190.14 to recover preservation of composition.
Referenced from 2 locations
Stability of the Kan condition
Every construction below is a lifting argument. Limits of simplicial sets are computed dimensionwise: the product 𝑋 ×𝑌 has (𝑋 ×𝑌)𝑛 =𝑋𝑛 ×𝑌𝑛 with componentwise faces and degeneracies, and the pullback 𝑋 ×𝑍𝑌 has (𝑋 ×𝑍𝑌)𝑛 ={(𝑥,𝑦) :𝑓𝑛(𝑥) =𝑔𝑛(𝑦)}; both are simplicial sets because the operators act componentwise.
If 𝑝 :𝑋 →𝑍 is a Kan fibration and 𝑔 :𝑌 →𝑍 is any simplicial map, then the projection 𝑞 :𝑋 ×𝑍𝑌 →𝑌 is a Kan fibration.
A composite of Kan fibrations is a Kan fibration.
If 𝑝 :𝑋 →𝑌 and 𝑝′ :𝑋′ →𝑌′ are Kan fibrations, so is 𝑝 ×𝑝′ :𝑋 ×𝑋′ →𝑌 ×𝑌′. In particular a product of Kan complexes is a Kan complex.
If 𝑝 :𝑋 →𝑌 is a Kan fibration and 𝑌 is a Kan complex, then 𝑋 is a Kan complex.
Referenced from 4 locations
Proof of Proposition 190.18 — Stability
Proof. (i) Let 𝑢 :Λ𝑛𝑘 →𝑋 ×𝑍𝑌 and 𝑣 :Δ[𝑛] →𝑌 agree after 𝑞. Write 𝑢 =(𝑢𝑋,𝑢𝑌) with 𝑢𝑌 =𝑣|Λ𝑛𝑘. Then 𝑢𝑋 and 𝑔 ∘𝑣 form a lifting problem for 𝑝, since 𝑝 ∘𝑢𝑋 =𝑔 ∘𝑢𝑌. A filler 𝑤𝑋 gives (𝑤𝑋,𝑣), which lands in the pullback because 𝑝 ∘𝑤𝑋 =𝑔 ∘𝑣, restricts to 𝑢 on the horn, and satisfies 𝑞 ∘(𝑤𝑋,𝑣) =𝑣.
(ii) Given 𝑝 :𝑋 →𝑌, 𝑝′ :𝑌 →𝑍 and a problem 𝑢 :Λ𝑛𝑘 →𝑋, 𝑣 :Δ[𝑛] →𝑍 with 𝑝′𝑝𝑢 =𝑣|, first fill for 𝑝′ with the horn map 𝑝 ∘𝑢, obtaining 𝑤′ :Δ[𝑛] →𝑌; then fill for 𝑝 with 𝑢 and 𝑤′.
(iii) A lifting problem for 𝑝 ×𝑝′ is a pair of lifting problems, one for 𝑝 and one for 𝑝′, because maps into a product are pairs of maps (computed dimensionwise). Fill each separately. The last claim is the case 𝑌 =𝑌′ =Δ[0], whose product is Δ[0].
(iv) Given 𝑢 :Λ𝑛𝑘 →𝑋, fill the horn 𝑝 ∘𝑢 in 𝑌 to get 𝑣 :Δ[𝑛] →𝑌, then fill the resulting lifting problem for 𝑝. ◻
Simplicial homotopy
Let 𝑓,𝑔 :𝑋 →𝑌 be simplicial maps. A simplicial homotopy from 𝑓 to 𝑔 is a simplicial map 𝐻 :𝑋 ×Δ[1] →𝑌 whose restrictions along the two vertices ⟨0⟩,⟨1⟩ :Δ[0] →Δ[1] are 𝑓 and 𝑔. For vertices 𝑥,𝑦 ∈𝑋0, an edge 𝜖 ∈𝑋1 with 𝑑1𝜖 =𝑥 and 𝑑0𝜖 =𝑦 is called an edge from 𝑥 to 𝑦, and we write 𝑥 ∼𝑦 when such an edge exists.
Referenced from 2 locations
If 𝑋 is a Kan complex, then ∼ is an equivalence relation on 𝑋0.
Referenced from 2 locations
Proof of Proposition 190.21 — Edges in a Kan complex
Proof. Reflexivity. The degenerate edge 𝑠0𝑥 has 𝑑0𝑠0𝑥 =𝑥 =𝑑1𝑠0𝑥 by equation 190.4, so 𝑥 ∼𝑥.
Transitivity. Let 𝜖 be an edge from 𝑥 to 𝑦 and 𝜂 one from 𝑦 to 𝑧. Then (𝑥0,𝑥2):=(𝜂,𝜖) is a map Λ21 →𝑋, because 𝑑0𝑥2 =𝑦 =𝑑1𝑥0 is the matching condition of lemma 190.12. A filler is a 2-simplex whose remaining face 𝑑1 is an edge with 𝑑1𝑑1 =𝑑1𝑑2 =𝑥 and 𝑑0𝑑1 =𝑑0𝑑0 =𝑧, using equation 190.4. So 𝑥 ∼𝑧.
Symmetry. Let 𝜖 be an edge from 𝑥 to 𝑦. Then (𝑥1,𝑥2):=(𝑠0𝑥,𝜖) is a map Λ20 →𝑋: the matching condition for the indices 1 <2 reads 𝑑1𝑥2 =𝑑1𝑥1, and both sides are 𝑥. A filler has 𝑑0 an edge with 𝑑1𝑑0 =𝑑0𝑑2 =𝑦 and 𝑑0𝑑0 =𝑑0𝑑1 =𝑥, so it is an edge from 𝑦 to 𝑥. ◻
For a Kan complex 𝑋 put 𝜋0(𝑋):=𝑋0/ ∼.
Referenced from 2 locations
For 𝑋 =Sing(𝑌), a vertex is a point of 𝑌 and an edge from 𝑥 to 𝑦 is a path from 𝑥 to 𝑦 (example 190.7), so 𝜋0(Sing(𝑌)) is the set of path components of 𝑌, that is 𝜋0(𝑌,𝑦0) as a set (definition 188.18). For 𝑋 =𝑁(G) with G a groupoid, a vertex is an object and an edge is an arrow, so 𝜋0(𝑁(G)) is the set of isomorphism classes of objects. The Kan condition was what made ∼ transitive and symmetric in both cases: in the first it is realized by concatenating and reversing paths, in the second by composing and inverting arrows.
Referenced from 2 locations
What a semantics would still require
A Kan fibration 𝑝 :𝑋 →𝑌 behaves like a family of objects indexed by 𝑌: proposition 190.18(i) reindexes it along any 𝑔 :𝑌′ →𝑌, which is the action that substitution must have on a family of types. That analogy is the reason Kan fibrations are candidates for the semantics of dependent types, and it is as far as this chapter goes. Four requirements remain untouched.
Comprehension and dependent products. A model needs, for each fibration over 𝑌, an object of sections and a fibration over 𝑌 interpreting a dependent function type. Nothing above constructs either, and in particular nothing above shows that the required right adjoints preserve Kan fibrations.
Path objects. Interpreting identity types needs a factorization of the diagonal 𝑋 →𝑋 ×𝑋 into a map with a lifting property followed by a Kan fibration. The chapter constructs no factorization at all.
Universes. A type of types requires a Kan fibration classifying small Kan fibrations, together with closure of the small ones under the formers above. No such object appears here.
Strict stability. Reindexing along 𝑔 was defined by a choice of pullback, and choices compose only up to isomorphism, whereas substitution in the syntax composes on the nose. Nothing above addresses that discrepancy.
Each item is a construction problem with its own hypotheses, and each is independent of horn filling: a simplicial set can satisfy the Kan condition without any of (a)–(d) being available. The chapter therefore stops with the combinatorics, which is what the later semantic work consumes.
Suggested first pass.
None of these problems is a prerequisite for a later chapter. Begin with exercise 190.5, then exercise 190.6; the implementation project exercise 190.8 may be attempted at any time.
★★☆ In Sing(𝑌) for 𝑌 =𝑆1, exhibit a map Λ21 →Sing(𝑆1) whose two edges are the loops ℓ1 and ℓ1 of example 187.17 reparametrized to Δ1, and describe two different fillers. Compute the 𝑑1 face of each and say which loops of theorem 187.21 they are.
Referenced from 3 locations
★★☆ Let 𝐺 be a group, regarded as a one-object groupoid. Describe 𝑁(𝐺)𝑛 explicitly, prove directly that every horn Λ𝑛𝑘 has a unique filler for 𝑛 ≥2, and identify 𝜋0(𝑁(𝐺)). Then explain why uniqueness here does not contradict remark 190.24.
Referenced from 3 locations
★★☆ Prove that 𝜕Δ[2] is not a Kan complex by exhibiting a horn with no filler, and that Λ21 is not a Kan complex either. Then prove that the inclusion Λ21 →Δ[2] is not a Kan fibration.
Referenced from 2 locations
★★★ Practical project.horn-filling-checker Implement in Agda or Kappa a checker for the Kan condition on finite simplicial sets presented as nerves. Represent a finite category by its object list, arrow list with source and target, composition table, and identities; validate associativity and unit laws on input. Implement: the sets 𝑁(C)𝑛 for 𝑛 ≤3 as lists of composable chains; the face and degeneracy operators; the horn Λ𝑛𝑘 as the family of faces with index 𝑘 omitted, checked against the matching equations equation 190.6; and a search that enumerates all fillers of a given horn.
The invariant to maintain is the one used throughout section 190.3, section 190.4: a family of (𝑛 −1)-simplices is accepted as a horn only when it satisfies equation 190.6, and a candidate filler is accepted only when all of its faces other than the 𝑘-th equal the given ones. The concrete result is a function that takes a finite category, a dimension 𝑛 ≤3, an index 𝑘, and a horn, and returns the list of all fillers.
Acceptance test. For the poset [1]: every inner horn in dimensions 2 and 3 has exactly one filler, and the outer horn of example 190.16 has none. For the group ℤ/3 as a one-object groupoid: every horn in dimensions 2 and 3, inner or outer, has exactly one filler. For the three-element monoid given by the multiplication table of your choice with a non-invertible element: at least one outer 2-horn has no filler, and your program must name it. A mutation of the matching check that drops equation 190.6 must accept a non-composable pair and thereby report a filler count for a family that is not a horn.
The program decides horn filling for finite nerves only. It illustrates proposition 190.14, proposition 190.15 and proves neither, and it says nothing about Sing(𝑌), whose simplices form a proper class of continuous maps rather than a finite list.
Referenced from 3 locations
Bibliographic notes
The route taken here — ordinals and monotone maps, then presheaves, then boundaries and horns, with the low-dimensional calculations written out — is Friedman’s [Fri12], whose illustrated exposition is the recommended companion for a reader meeting simplicial sets for the first time; the epi–mono factorization of lemma 190.4 and the matching-family description of lemma 190.12 are standard and are given there. Kerodon [Lur26] is the reference for the exact low-dimensional definitions of horns, nerves, and singular complexes once the elementary route has been travelled, and Riehl’s book-length treatment of categorical homotopy theory is the reference for the fibration and lifting material that this chapter deliberately stops short of.
Proposition 190.17 is the classical statement that the singular complex is a Kan complex; the retraction argument reuses the radial projection of lemma 188.22. Proposition 190.14, Proposition 190.15 are the standard characterizations of nerves by unique inner filling and of groupoids by the full Kan condition.
The simplicial conventions fixed above — which face is which, and which horns are inner — are those of Kapulkin and Lumsdaine [KL21], whose semantic development consumes exactly the combinatorics of this chapter. Nothing in that paper is used here; the agreement of conventions is what makes the later comparison possible. A pinned Lean library [The26a] contains machine-checked definitions of simplicial sets, boundaries, horns, and Kan filling, useful as formalization guidance and not as evidence for any statement above.