Lectures onType Theory
Chapter 190
Chapter 190Core route

Simplicial Sets, Horns, and Kan Fibrations

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 Y is a map into Y 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

Definition 190.1 — Simplex category

For n0 let [n]:={0,1,,n} with its usual order. The objects of the simplex category Δ are these sets. A morphism from [m] to [n] is a monotone map, that is a function α with α(i)α(j) whenever ij. 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.

Definition 190.2 — Cofaces and codegeneracies

For n1 and 0in let δi:[n1][n] be the monotone injection that omits the value i: δi(j):={j,j<i,j+1,ji. For n0 and 0jn let σj:[n+1][n] be the monotone surjection that repeats the value j: σj(l):={l,lj,l1,l>j.

Lemma 190.3 — Cosimplicial identities

In Δ, δjδi=δiδj1(i<j),σjσi=σiσj+1(ij),σjδi={δiσj1,i<j,id,i{j,j+1},δi1σj,i>j+1.

Proof of Lemma 190.3 — Cosimplicial identities

Proof. Each identity is checked on an argument l.

For equation 190.1 with i<j: the left side omits i and then j from the values, so its image is [n]{i,j}, and it sends l to l for l<i, to l+1 for il<j1, and to l+2 for lj1. The right side first omits j1 and then i; since i<j, the value j1 of the inner map is shifted to j by δi, and one computes the same three cases: ll for l<i, ll+1 for il<j1, and ll+2 for lj1.

For equation 190.2 with ij: both sides send l to l for li, to l1 for i<lj+1, and to l2 for l>j+1. On the left, the inner σi subtracts one above i and the outer σj subtracts one above j; on the right, the inner σj+1 subtracts one above j+1 and the outer σi subtracts one above i. Substituting the three ranges of l gives the same values.

For equation 190.3 take i=j: σj(δj(l)) is σj(l)=l for l<j and σj(l+1)=l for lj, so the composite is the identity; the case i=j+1 is the same calculation with the value j+1 omitted and then collapsed. For i<j the composite omits i and collapses at j, and those operations act on disjoint parts of the range, so the composite equals first collapsing at j1 — the index of j before insertion — and then omitting i. For i>j+1 the same reasoning applies with the roles reversed. ◻

Lemma 190.4 — Epi–mono factorization

Every morphism α:[m][n] of Δ factors as α=δi1δirσj1σjs with ni1>>ir0 and 0j1<<js<m, and this presentation is unique.

Proof of Lemma 190.4 — Epi–mono factorization

Proof. Let {i1>>ir} be the elements of [n] not in the image of α and let {j1<<js} be the elements j[m1] with α(j)=α(j+1). The monotone surjection σ:=σj1σjs:[m][ms] identifies exactly those adjacent pairs, and the monotone injection δ:=δi1δir:[nr][n] has exactly the complement of {i1,,ir} as image. Since α is monotone, its image has ms+1 elements, so nr=ms, 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 i’s are the values omitted, and the j’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

Definition 190.5 — Simplicial set

A simplicial set is a presheaf X:ΔopSet (definition 141.38); its elements of Xn:=X([n]) are the n-simplices of X. Write di:=X(δi):XnXn1,sj:=X(σj):XnXn+1 for the face and degeneracy operators. A simplicial map f:XY is a natural transformation (definition 141.41); explicitly, a family fn:XnYn commuting with every di and sj. A simplex is degenerate when it is sj(y) for some j and some y, and nondegenerate otherwise.

Applying the contravariant X to lemma 190.3 reverses every composite and gives the simplicial identities didj=dj1di(i<j),sisj=sj+1si(ij), disj={sj1di,i<j,id,i{j,j+1},sjdi1,i>j+1.

Example 190.6 — The standard simplices

Let Δ[n]:=homΔ(,[n]), the representable presheaf (definition 141.50). Its m-simplices are the monotone maps [m][n], its faces are di(α)=αδi, and its degeneracies are sj(α)=ασj. We write a monotone α:[m][n] as the list α(0)α(m).

Δ[1] has two nondegenerate simplices, the vertices 0,1 and the edge 01; all other simplices are degenerate, for instance 001=s001 and 011=s101 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 d0012=12,d1012=02,d2012=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: d1s1012=d10112=012, in agreement with the clause disj=id for i=j.

Example 190.7 — Singular simplices

For a topological space Y let Sing(Y)n be the set of continuous maps ΔnY, with Δn the geometric simplex of definition 187.41. A monotone α:[m][n] induces the affine map α:ΔmΔn sending the i-th vertex to the α(i)-th, and Sing(Y)(α)(u):=uα. Functoriality holds because (αβ)=αβ on vertices, hence on all of Δm by affineness. A vertex of Sing(Y) is a point of Y, and an edge is a path (example 187.42), with d1 its start and d0 its end.

Example 190.8 — The nerve of a category

For a small category C let N(C)n be the set of functors [n]C, where [n] is regarded as a category with one arrow ij when ij. Equivalently an n-simplex is a chain c0f1c1fncn. The faces are d0(f1,,fn)=(f2,,fn),dn(f1,,fn)=(f1,,fn1),di(f1,,fn)=(,fi+1fi,)(0<i<n), where the middle clause composes the i-th and (i+1)-st arrows, and sj inserts an identity arrow at position j. The simplicial identities follow from associativity and the unit laws of C: for instance d1d2=d1d1 on a 3-simplex says f3(f2f1)=(f3f2)f1.

Lemma 190.9 — Yoneda for simplicial sets

For every simplicial set X and every n, evaluation at id[n] is a bijection from the set of simplicial maps Δ[n]X to Xn.

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 X on Δ. Concretely, a simplicial map u:Δ[n]X is determined by x:=un(id[n]), because naturality gives um(α)=um(Δ[n](α)(id))=X(α)(x) for every α:[m][n]; and conversely um(α):=X(α)(x) defines a natural family, by functoriality of X. ◻

Boundaries and horns

A simplicial subset AX is a family of subsets AnXn closed under all faces and degeneracies; it is again a simplicial set, and the inclusion is a simplicial map.

Definition 190.10 — Boundary and horns

Let n1 and 0kn. Define simplicial subsets of Δ[n] by Δ[n]m:={α:[m][n] monotone:α is not surjective},Λknm:={α:[m][n] monotone:[n](imα{k})}. These are closed under precomposition with any monotone map, since precomposition can only shrink the image, so both are simplicial subsets, and ΛknΔ[n]Δ[n]. The subset Λkn is the k-horn of Δ[n]; it is inner when 0<k<n and outer otherwise.

Example 190.11 — The three horns of the triangle

Take n=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 Λ12 omits in addition the edge 02, because that edge misses only the value 1, which the definition forgives; so Λ12 consists of the two edges 01 and 12 with their vertices. Likewise Λ02 consists of 01 and 02, and Λ22 of 02 and 12.

Lemma 190.12 — Maps out of a horn are matching families

Let X be a simplicial set and n1. Simplicial maps ΛknX correspond bijectively to families (xi)ik of (n1)-simplices of X satisfying dixj=dj1xi(i<j, ikj). Simplicial maps Δ[n]X correspond to families (xi)0in satisfying the same equations with no index excluded.

Proof of Lemma 190.12 — Maps out of a horn are matching families

Proof. Given a simplicial map u, put xi:=un1(δi); these are (n1)-simplices because δi is an (n1)-simplex of Δ[n] lying in the horn for ik. Naturality and equation 190.1 give dixj=u(δjδi)=u(δiδj1)=dj1xi for i<j, which is equation 190.6.

Conversely let such a family be given. Every simplex α of Λkn factors as α=δiβ for some ik outside the image of α and some monotone β, by lemma 190.4 applied to the corestriction of α to [n]{i}. Set u(α):=X(β)(xi). This is independent of the chosen i: if α also avoids ji, write α=δiβ=δjγ, and then equation 190.1, equation 190.6 identify the two values, since both equal X applied to the factorization of α through the codimension-two face δiδj1. Naturality in α is immediate from functoriality of X, and the two constructions are mutually inverse because u(δi)=X(id)(xi)=xi.

The statement for Δ[n] is the same argument with the index k not excluded. ◻

For n=2 the lemma reads concretely. A map Λ12X is a pair of edges x0 and x2 subject to the single instance of equation 190.6 with i=0 and j=2, namely d0x2=d1x0: the end of x2 is the start of x0. An inner 2-horn in X 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

Definition 190.13 — Kan condition

A simplicial map p:XY is a Kan fibration when for every n1, every 0kn, and every commuting square u:ΛknX,v:Δ[n]Y,pu=v|Λkn, there is a simplicial map w:Δ[n]X with w|Λkn=u and pw=v. A simplicial set X is a Kan complex when the unique map XΔ[0] is a Kan fibration; equivalently, when every map ΛknX extends along the inclusion to a map Δ[n]X. A map w as above is a filler.

The equivalence claimed in the definition holds because Δ[0] has exactly one m-simplex for each m, so the condition on v is vacuous.

Proposition 190.14 — Nerves fill inner horns uniquely

Let C be a small category, n2, and 0<k<n. Every map ΛknN(C) has exactly one filler.

Proof of Proposition 190.14 — Nerves fill inner horns uniquely

Proof. The case n=2, k=1. By lemma 190.12 and the calculation after it, a map Λ12N(C) is a composable pair c0f1c1f2c2. A filler is a 2-simplex, that is a pair (g1,g2) of composable arrows, with d2=f1 and d0=f2, hence g1=f1 and g2=f2; the remaining face d1 is then forced to be f2f1. So the filler exists and is unique.

The case n=3, k=1. A map Λ13N(C) consists of the three 2-simplices x0,x2,x3 matching along their common edges. Reading off the edges, the data amount to arrows f1,f2,f3 composable in that order together with the three composites recorded by x0,x2,x3; a filler is a functor [3]C, which is determined by f1,f2,f3, and its face d1 records f3(f2f1). Existence and uniqueness therefore hold, and the matching condition on the horn is exactly associativity.

General n and 0<k<n. A functor [n]C is determined by the n arrows fi:ci1ci, and each fi is an edge of the horn: the edge i1,i misses at least one element of [n] other than k as soon as n2. So a filler is unique if it exists. For existence, define the functor by the arrows read off the horn; its faces dj for jk agree with the given xj because both are the chains obtained by composing the same arrows, and dk is unconstrained. ◻

Proposition 190.15 — Groupoids and outer horns

Let C be a small category. Then N(C) is a Kan complex if and only if C is a groupoid (definition 141.23).

Proof of Proposition 190.15 — Groupoids and outer horns

Proof. Suppose C is a groupoid. Inner horns fill by proposition 190.14. For Λ02 the data are two arrows f1:c0c1 and g:c0c2 with a common source; the filler must be a composable pair with d2=f1 and d1=g, so the second arrow is forced to be gf11, which exists because f1 is invertible. The case Λ22 is the same calculation with the arrow f2 inverted instead. For n3 the argument of proposition 190.14 applies unchanged, because for n3 every edge i1,i lies in every horn, so the n arrows are still determined and the missing face is still unconstrained.

Conversely suppose N(C) is a Kan complex and let f:c0c1. The pair (f,idc0), with f on the edge 01 and idc0 on 02, is a map Λ02N(C) by lemma 190.12, since both edges start at c0. A filler provides g:c1c0 with gf=idc0. Applying the same argument to g gives h with hg=idc1, and then h=hgf=f, so g is a two-sided inverse of f. ◻

Example 190.16 — A simplicial set that is not a Kan complex

Δ[1]=N([1]) and the category [1] has a non-invertible arrow 01, so Δ[1] is not a Kan complex by proposition 190.15. The failure is visible in one horn: take the map Λ02Δ[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 01 and 10.

Proposition 190.17 — Singular complexes are Kan

For every topological space Y, the simplicial set Sing(Y) is a Kan complex.

Proof of Proposition 190.17 — Singular complexes are Kan

Proof. Write |Λkn|Δn for the union of the geometric faces δi(Δn1) with ik. By lemma 190.12 a map ΛknSing(Y) 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 u:|Λkn|Y. A filler is a continuous extension of u to Δn. It suffices to produce a retraction ρ:Δn|Λkn|, for then uρ is such an extension.

Let m be the barycenter of Δn, let b be the barycenter of the k-th face, and put c:=2bm. Its coordinates satisfy ici=21=1, ck=1/(n+1)<0, and cj=2/n1/(n+1)>0 for jk; so c lies in the plane of Δn, beyond the k-th face.

For xΔn consider y(λ):=c+λ(xc), so that y(1)=x. Put μ(x):=maxjk max(0, cjxjcj),ρ(x):=c+1μ(x)(xc). Here μ is continuous, being a maximum of finitely many continuous functions, and μ(x)>0: if xjcj for every jk then jkxjjkcj=1ck>1, contradicting ixi=1 and xk0. Moreover μ(x)1, because each fraction is at most 1 when xj0. So 1/μ(x)1 and ρ is continuous.

ρ lands in the horn. Writing λ:=1/μ(x), the j-th coordinate of ρ(x) is cj+λ(xjcj), which vanishes exactly when λ=cj/(cjxj), that is when the j-th entry realizes the maximum defining μ(x). Some jk does realize it, since μ(x)>0; for that j the coordinate vanishes, so ρ(x) lies in the j-th face, which is part of |Λkn|. All other coordinates of ρ(x) are nonnegative, since each j-th entry of the maximum is at most μ(x), and the k-th coordinate is ck+λ(xkck)ck+(xkck)=xk0 because xkck>0 and λ1. So ρ(x)Δn.

ρ fixes the horn. If xj=0 for some jk, then the j-th entry of the maximum is 1, so μ(x)=1 and ρ(x)=x. ◻

Exercise 190.1

★☆☆ Compute #Δ[2]3 and #Δ[3]2 by counting monotone maps, and list the nondegenerate simplices of Δ[2] in each dimension up to 3.

Exercise 190.2

★☆☆ Verify the three clauses of equation 190.5 on the simplex 012 of Δ[2] by computing both sides for every pair (i,j) with 0i3 and 0j2.

Exercise 190.3

★★☆ Show that Λkn and Δ[n] have the same simplices in dimensions m<n1, and that they differ in dimension n1 by exactly one simplex. Identify that simplex.

Exercise 190.4

★★☆ Prove that N is faithful: two functors CD inducing the same simplicial map are equal. Then prove that a simplicial map N(C)N(D) comes from a functor, using proposition 190.14 to recover preservation of composition.

Stability of the Kan condition

Every construction below is a lifting argument. Limits of simplicial sets are computed dimensionwise: the product X×Y has (X×Y)n=Xn×Yn with componentwise faces and degeneracies, and the pullback X×ZY has (X×ZY)n={(x,y):fn(x)=gn(y)}; both are simplicial sets because the operators act componentwise.

Proposition 190.18 — Stability

  1. If p:XZ is a Kan fibration and g:YZ is any simplicial map, then the projection q:X×ZYY is a Kan fibration.

  2. A composite of Kan fibrations is a Kan fibration.

  3. If p:XY and p:XY are Kan fibrations, so is p×p:X×XY×Y. In particular a product of Kan complexes is a Kan complex.

  4. If p:XY is a Kan fibration and Y is a Kan complex, then X is a Kan complex.

Proof of Proposition 190.18 — Stability

Proof. (i) Let u:ΛknX×ZY and v:Δ[n]Y agree after q. Write u=(uX,uY) with uY=v|Λkn. Then uX and gv form a lifting problem for p, since puX=guY. A filler wX gives (wX,v), which lands in the pullback because pwX=gv, restricts to u on the horn, and satisfies q(wX,v)=v.

(ii) Given p:XY, p:YZ and a problem u:ΛknX, v:Δ[n]Z with ppu=v|, first fill for p with the horn map pu, obtaining w:Δ[n]Y; then fill for p with u and w.

(iii) A lifting problem for p×p is a pair of lifting problems, one for p and one for p, because maps into a product are pairs of maps (computed dimensionwise). Fill each separately. The last claim is the case Y=Y=Δ[0], whose product is Δ[0].

(iv) Given u:ΛknX, fill the horn pu in Y to get v:Δ[n]Y, then fill the resulting lifting problem for p. ◻

Remark 190.19 — What stability does not give

Proposition 190.18 is about the lifting property alone. It does not say that the fibers of a Kan fibration are homotopy equivalent, that Kan fibrations are stable under any further construction, or that they are the fibrations of a model structure. Those statements are theorems of a different kind, and none of them is used or proved here.

Simplicial homotopy

Definition 190.20 — Homotopy of simplicial maps and of vertices

Let f,g:XY be simplicial maps. A simplicial homotopy from f to g is a simplicial map H:X×Δ[1]Y whose restrictions along the two vertices 0,1:Δ[0]Δ[1] are f and g. For vertices x,yX0, an edge ϵX1 with d1ϵ=x and d0ϵ=y is called an edge from x to y, and we write xy when such an edge exists.

Proposition 190.21 — Edges in a Kan complex

If X is a Kan complex, then is an equivalence relation on X0.

Proof of Proposition 190.21 — Edges in a Kan complex

Proof. Reflexivity. The degenerate edge s0x has d0s0x=x=d1s0x by equation 190.4, so xx.

Transitivity. Let ϵ be an edge from x to y and η one from y to z. Then (x0,x2):=(η,ϵ) is a map Λ12X, because d0x2=y=d1x0 is the matching condition of lemma 190.12. A filler is a 2-simplex whose remaining face d1 is an edge with d1d1=d1d2=x and d0d1=d0d0=z, using equation 190.4. So xz.

Symmetry. Let ϵ be an edge from x to y. Then (x1,x2):=(s0x,ϵ) is a map Λ02X: the matching condition for the indices 1<2 reads d1x2=d1x1, and both sides are x. A filler has d0 an edge with d1d0=d0d2=y and d0d0=d0d1=x, so it is an edge from y to x. ◻

Definition 190.22 — Components

For a Kan complex X put π0(X):=X0/.

Example 190.23 — The two intuitions agree

For X=Sing(Y), a vertex is a point of Y and an edge from x to y is a path from x to y (example 190.7), so π0(Sing(Y)) is the set of path components of Y, that is π0(Y,y0) as a set (definition 188.18). For X=N(G) with G a groupoid, a vertex is an object and an edge is an arrow, so π0(N(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.

Remark 190.24 — The metaphor and where it breaks

Think of a 2-simplex of a Kan complex as a witness that one edge is a composite of two others. The picture breaks at exactly one point: the composite is not a function of the two edges. Proposition 190.14 gives uniqueness of fillers only for nerves of categories, and example 190.16 shows that uniqueness and the Kan condition are independent: Δ[1] has unique inner fillers and is not Kan, while Sing(Y) is Kan and its fillers are wildly non-unique. A composition operation on a Kan complex therefore requires a choice, and no choice has been made here.

What a semantics would still require

A Kan fibration p:XY behaves like a family of objects indexed by Y: proposition 190.18(i) reindexes it along any g:YY, 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.

  1. Comprehension and dependent products. A model needs, for each fibration over Y, an object of sections and a fibration over Y interpreting a dependent function type. Nothing above constructs either, and in particular nothing above shows that the required right adjoints preserve Kan fibrations.

  2. Path objects. Interpreting identity types needs a factorization of the diagonal XX×X into a map with a lifting property followed by a Kan fibration. The chapter constructs no factorization at all.

  3. 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.

  4. Strict stability. Reindexing along g 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.

Exercise 190.5

★★☆ In Sing(Y) for Y=S1, exhibit a map Λ12Sing(S1) whose two edges are the loops 1 and 1 of example 187.17 reparametrized to Δ1, and describe two different fillers. Compute the d1 face of each and say which loops of theorem 187.21 they are.

Exercise 190.6

★★☆ Let G be a group, regarded as a one-object groupoid. Describe N(G)n explicitly, prove directly that every horn Λkn has a unique filler for n2, and identify π0(N(G)). Then explain why uniqueness here does not contradict remark 190.24.

Exercise 190.7

★★☆ Prove that Δ[2] is not a Kan complex by exhibiting a horn with no filler, and that Λ12 is not a Kan complex either. Then prove that the inclusion Λ12Δ[2] is not a Kan fibration.

Exercise 190.8

★★★ 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 N(C)n for n3 as lists of composable chains; the face and degeneracy operators; the horn Λkn as the family of faces with index k 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 (n1)-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 k-th equal the given ones. The concrete result is a function that takes a finite category, a dimension n3, an index k, 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 Z/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(Y), whose simplices form a proper class of continuous maps rather than a finite list.

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.

Search the book

Type to search the local edition.