# Kerodon

$\Newextarrow{\xRightarrow}{5,5}{0x21D2}$ $\newcommand\empty{}$

### 1.2.3 Characterization of Nerves

We now describe the essential image of the functor $\operatorname{N}_{\bullet }: \operatorname{Cat}\rightarrow \operatorname{Set_{\Delta }}$.

Proposition 1.2.3.1. Let $S_{\bullet }$ be a simplicial set. Then $S_{\bullet }$ is isomorphic to the nerve of a category if and only if it satisfies the following condition:

$(\ast ')$

For every pair of integers $0 < i < n$ and every map of simplicial sets $\sigma _0: \Lambda ^{n}_{i} \rightarrow S_{\bullet }$, there exists a unique map $\sigma : \Delta ^{n} \rightarrow S_{\bullet }$ such that $\sigma _0 = \sigma |_{ \Lambda ^{n}_{i} }$.

The proof of Proposition 1.2.3.1 will require some preliminaries. We begin by establishing the necessity of condition $(\ast ')$.

Lemma 1.2.3.2. Let $\operatorname{\mathcal{C}}$ be a category. Then the simplicial set $\operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ satisfies condition $(\ast ')$ of Proposition 1.2.3.1.

Proof. Choose integers $0 < i < n$ together with a map of simplicial sets $\sigma _0: \Lambda ^{n}_{i} \rightarrow \operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$; we wish to show that $\sigma _0$ can be extended uniquely to a $n$-simplex of $\operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$. For $0 \leq j \leq n$, let $C_{j} \in \operatorname{\mathcal{C}}$ denote the image under $\sigma _0$ of the $j$th vertex of $\Delta ^ n$ (which belongs to the horn $\Lambda ^{n}_{i}$). We first consider the case where $n \geq 3$. In this case, $\Lambda ^{n}_{i}$ contains every edge of $\Delta ^ n$. For $0 \leq j \leq k \leq n$, let $f_{k,j}: C_ j \rightarrow C_ k$ denote the $1$-simplex of $\operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ obtained by evaluating $\sigma _0$ on the edge of $\Delta ^ n$ corresponding to the pair $(j,k)$. We claim that the construction

$j \mapsto C_ j \quad \quad (j \leq k) \mapsto f_{k,j}$

determines a functor $[n] \rightarrow \operatorname{\mathcal{C}}$, which we can then identify with an $n$-simplex of $\operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ having the desired properties. It is easy to see that $f_{j,j} = \operatorname{id}_{ C_ j}$ for each $0 \leq j \leq n$, so it will suffice to show that $f_{\ell ,k} \circ f_{k,j} = f_{\ell ,j}$ for every triple $0 \leq j \leq k \leq \ell \leq n$. The triple $(j,k, \ell )$ determines a $2$-simplex $\tau$ of $\Delta ^ n$. If $\tau$ is contained in $\Lambda ^{n}_{i}$, then $\tau ' = \sigma _0( \tau )$ is a $2$-simplex of $\operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ satisfying $d_0( \tau ') = f_{\ell ,k}$, $d_1( \tau ') = f_{\ell ,j}$, and $d_2( \tau ') = f_{k,j}$, so that $\tau '$ “witnesses” the identity $f_{\ell ,k} \circ f_{k,j} = f_{\ell ,j}$. It will therefore suffice to treat the case where the simplex $\tau$ does not belong to the $\Lambda ^{n}_{i}$. In this case, our assumption that $n \geq 3$ guarantees that we must have $\{ j, k, \ell \} = [n] \setminus \{ i \}$. It follows that $n = 3$, so that either $i = 1$ or $i = 2$. We will treat the case $i = 1$ (the case $i =2$ follows by a similar argument). Note that $\Lambda ^3_1$ contains all of the nondegenerate $2$-simplices of $\Delta ^3$ other than $\tau$; applying the map $\sigma _0$, we obtain $2$-simplices of $\operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ which witness the identities

$f_{3,0} = f_{3,1} \circ f_{1,0} \quad \quad f_{3,1} = f_{3,2} \circ f_{2,1} \quad \quad f_{2,0} = f_{2,1} \circ f_{1,0}.$

We now compute

$f_{3,0} = f_{3,1} \circ f_{1,0} = ( f_{3,2} \circ f_{2,1} ) \circ f_{1,0} = f_{3,2} \circ ( f_{2,1} \circ f_{1,0} ) = f_{3,2} \circ f_{2,0}$

so that $f_{\ell ,j} = f_{\ell ,k} \circ f_{k,j}$, as desired.

It remains to treat the case $n =2$, so that we must also have $i = 1$. In this situation, the map $\sigma _0: \Lambda ^ n_ i \rightarrow \operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ determines a pair of composable morphisms $f_{1,0}: C_0 \rightarrow C_1$ and $f_{2,1}: C_1 \rightarrow C_{2}$. This data extends uniquely to a $2$-simplex $\sigma$ of $\operatorname{\mathcal{C}}$ satisfying $d_1(\sigma ) = f_{2,1} \circ f_{1,0}$ (see Remark 1.2.1.3). $\square$

Lemma 1.2.3.3. Let $f: S_{\bullet } \rightarrow T_{\bullet }$ be a map of simplicial sets. Assume that $f$ induces bijections $S_0 \rightarrow T_0$ and $S_1 \rightarrow T_1$, and that both $S_{\bullet }$ and $T_{\bullet }$ satisfy condition $(\ast ')$ of Proposition 1.2.3.1. Then $f$ is an isomorphism.

Proof. We claim that, for every simplicial set $K_{\bullet }$, composition with $f$ induces a bijection

$\theta _{K_{\bullet }}: \operatorname{Hom}_{\operatorname{Set_{\Delta }}}( K_{\bullet }, S_{\bullet } ) \rightarrow \operatorname{Hom}_{\operatorname{Set_{\Delta }}}( K_{\bullet }, T_{\bullet } ).$

Writing $K_{\bullet }$ as a union of its skeleta $\operatorname{sk}_ n K_{\bullet }$, we can reduce to the case where $K$ has dimension $\leq n$, for some integer $n \geq -1$ (see Definition 1.1.3.9). We now proceed by induction on $n$. The case $n = -1$ is trivial (since a simplicial set of dimension $\leq -1$ is empty). Let us therefore assume that $n \geq 0$, so that Proposition 1.1.3.13 supplies a pushout diagram of simplicial sets

$\xymatrix { \coprod \operatorname{\partial \Delta }^{n} \ar [r] \ar [d] & \coprod \Delta ^{n} \ar [d] \\ \operatorname{sk}_{n-1} K_{\bullet } \ar [r] & K_{\bullet }. }$

It follows from our inductive hypothesis that the maps $\theta _{\operatorname{\partial \Delta }^{n}}$ and $\theta _{ \operatorname{sk}_{n-1} K_{\bullet } }$ are bijective. Consequently, to show that $\theta _{ K_{\bullet } }$ is bijective, it will suffice to show that $\theta _{ \Delta ^{n} }$ is bijective: that is, that $f$ induces a bijection $S_{n} \rightarrow T_{n}$. For $n \leq 1$, this follows from our hypothesis. To handle the case $n \geq 2$, we observe that there is a commutative diagram

$\xymatrix { \operatorname{Hom}_{\operatorname{Set_{\Delta }}}( \Delta ^{n}, S_{\bullet } ) \ar [d]^{ \theta _{ \Delta ^ n} } \ar [r] & \operatorname{Hom}_{\operatorname{Set_{\Delta }}}( \Lambda ^{n}_{1}, S_{\bullet } ) \ar [d]^{ \theta _{ \Lambda ^{n}_{1} }} \\ \operatorname{Hom}_{\operatorname{Set_{\Delta }}}( \Delta ^{n}, T_{\bullet } ) \ar [r] & \operatorname{Hom}_{\operatorname{Set_{\Delta }}}( \Lambda ^{n}_{1}, T_{\bullet } ). }$

Here the right vertical map is bijective by virtue of our inductive hypothesis, and the horizontal maps are bijective by virtue of our assumption that both $S_{\bullet }$ and $T_{\bullet }$ satisfy assumption $(\ast ')$. It follows that the left vertical map is also bijective, as desired. $\square$

Proof of Proposition 1.2.3.1. Let $S_{\bullet }$ be a simplicial set satisfying condition $(\ast ')$ of Proposition 1.2.3.1; we will show that there is a category $\operatorname{\mathcal{C}}$ and an isomorphism of simplicial sets $u: S_{\bullet } \rightarrow \operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ (the converse assertion follows from Lemma 1.2.3.2). It follows from Proposition 1.2.2.1 that the category $\operatorname{\mathcal{C}}$ is uniquely determined (up to isomorphism), and from the proof of Proposition 1.2.2.1 we can extract an explicit construction of $\operatorname{\mathcal{C}}$:

• The objects of $\operatorname{\mathcal{C}}$ are the vertices of $S_{\bullet }$.

• Given a pair of objects $C, D \in \operatorname{\mathcal{C}}$, we let $\operatorname{Hom}_{\operatorname{\mathcal{C}}}(C,D)$ denote the collection of edges $e$ of $S_{\bullet }$ satisfying $d_0(e) = D$ and $d_1(e) = C$.

• For each object $C \in \operatorname{\mathcal{C}}$, we define the identity morphism $\operatorname{id}_{C} \in \operatorname{Hom}_{\operatorname{\mathcal{C}}}(C,C)$ to be the degenerate edge $s_0(C)$.

• Given a triple of objects $C,D,E \in \operatorname{\mathcal{C}}$ and a pair of morphisms $f \in \operatorname{Hom}_{\operatorname{\mathcal{C}}}(C,D)$ and $g \in \operatorname{Hom}_{\operatorname{\mathcal{C}}}( D, E)$, we can apply hypothesis $(\ast ')$ (in the special case $n = 2$ and $i = 1$) to conclude that there is a unique $2$-simplex $\sigma$ of $S_{\bullet }$ satisfying $d_2(\sigma ) = f$ and $d_0(\sigma ) = g$. We define the composition $g \circ f \in \operatorname{Hom}_{\operatorname{\mathcal{C}}}(C,E)$ to be the edge $d_1(\sigma )$.

We claim that $\operatorname{\mathcal{C}}$ is a category. For this, we must check the following:

• The composition law on $\operatorname{\mathcal{C}}$ is unital: for every morphism $f: C \rightarrow D$ in $\operatorname{\mathcal{C}}$, we have equalities

$\operatorname{id}_{D} \circ f = f = f \circ \operatorname{id}_ C.$

Let us verify the identity on the left; the proof in the other case is similar. For this, we must construct a $2$-simplex $\sigma$ of $S_{\bullet }$ such that $d_0(\sigma ) = \operatorname{id}_{D}$ and $d_1(\sigma ) = d_2(\sigma ) = f$. The degenerate $2$-simplex $s_1(f)$ has these properties.

• The composition law on $\operatorname{\mathcal{C}}$ is associative. That is, for every triple of composable morphisms

$f: W \rightarrow X \quad \quad g: X \rightarrow Y \quad \quad h: Y \rightarrow Z$

in $\operatorname{\mathcal{C}}$, we have an identity $h \circ (g \circ f) = (h \circ g) \circ f$ in the category $\operatorname{\mathcal{C}}$. Applying condition $(\ast ')$ repeatedly, we deduce the following:

• There is a unique $2$-simplex $\sigma _0$ of $\operatorname{\mathcal{C}}$ satisfying $d_0(\sigma _0) = h$ and $d_2(\sigma _0) = g$ (it follows that $d_1(\sigma _0) = h \circ g$).

• There is a unique $2$-simplex $\sigma _3$ of $\operatorname{\mathcal{C}}$ satisfying $d_0(\sigma _3) = g$ and $d_2(\sigma _3) = f$ (it follows that $d_1(\sigma _3) = g \circ f$).

• There is a unique $2$-simplex $\sigma _2$ of $\operatorname{\mathcal{C}}$ satisfying $d_0( \sigma _2) = h \circ g$ and $d_2( \sigma _2) = f$ (it follows that $d_1( \sigma _2) = (h \circ g) \circ f$).

• There is a unique $3$-simplex $\tau$ of $\operatorname{\mathcal{C}}$ satisfying $d_0( \tau ) = \sigma _0$, $d_2(\tau ) = \sigma _2$, and $d_3(\tau ) = \sigma _3$ (this follows by applying $(\ast ')$ to the horn inclusion $\Lambda ^{3}_{1} \hookrightarrow \Delta ^3$).

The $3$-simplex $\tau$ can be depicted in the following diagram

$\xymatrix@C =70pt@R=70pt{ & X \ar [r]^{g} \ar [drr]_{ h \circ g} & Y \ar [dr]^{ h} & \\ W \ar [ur]^{f} \ar [urr]_{g \circ f} \ar [rrr]^{ (h \circ g) \circ f } & & & Z. }$

Set $\sigma _1 = d_1( \tau )$. Then $\sigma _1$ is a $2$-simplex of $S_{\bullet }$ satisfying $d_0( \sigma _1) = h$, $d_1( \sigma _1) = (h \circ g) \circ f$, and $d_2(\sigma _1) = g \circ f$. It follows that $\sigma _1$ “witnesses” the identity $h \circ (g \circ f) = (h \circ g) \circ f$.

Note that every $n$-simplex $\sigma : \Delta ^{n} \rightarrow S_{\bullet }$ determines a functor $[n] \rightarrow \operatorname{\mathcal{C}}$, given on objects by the values of $\sigma$ on the vertices of $\Delta ^ n$ and on morphisms by the values of $\sigma$ on the edges of $\Delta ^ n$. This construction determines a map of simplicial sets $u: S_{\bullet } \rightarrow \operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$, which is clearly bijective on simplices of dimension $\leq 1$. Since the simplicial sets $S_{\bullet }$ and $\operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ both satisfy condition $(\ast ')$ (Lemma 1.2.3.2), it follows from Lemma 1.2.3.3 that $u$ is an isomorphism. $\square$

Remark 1.2.3.4. The characterization of Proposition 1.2.3.1 has many variants. For example, one can replace condition $(\ast ')$ by the following a priori weaker condition:

$(\ast '_{0})$

For every $n \geq 2$ and every map of simplicial sets $\sigma _0: \Lambda ^{n}_{1} \rightarrow S_{\bullet }$, there exists a unique map $\sigma : \Delta ^{n} \rightarrow S_{\bullet }$ satisfying $\sigma _0 = \sigma |_{ \Lambda ^{n}_{1} }$.