# Kerodon

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

## 1.5 Functors of $\infty$-Categories

Let $\operatorname{\mathcal{C}}$ and $\operatorname{\mathcal{D}}$ be categories, and let $\operatorname{N}_{\bullet }(\operatorname{\mathcal{C}})$ and $\operatorname{N}_{\bullet }(\operatorname{\mathcal{D}})$ denote the corresponding $\infty$-categories. According to Proposition 1.3.3.1, the nerve functor $\operatorname{N}_{\bullet }$ induces a bijection

$\{ \text{Functors F: \operatorname{\mathcal{C}}\rightarrow \operatorname{\mathcal{D}}} \} \simeq \{ \text{Morphisms of simplicial sets \operatorname{N}_{\bullet }(\operatorname{\mathcal{C}}) \rightarrow \operatorname{N}_{\bullet }(\operatorname{\mathcal{D}})} \} .$

Consequently, the notion of functor admits an obvious generalization to the setting of $\infty$-categories:

Definition 1.5.0.1. Let $\operatorname{\mathcal{C}}$ and $\operatorname{\mathcal{D}}$ be $\infty$-categories. A functor from $\operatorname{\mathcal{C}}$ to $\operatorname{\mathcal{D}}$ is a morphism of simplicial sets $F: \operatorname{\mathcal{C}}\rightarrow \operatorname{\mathcal{D}}$.

This section is devoted to the study of functors between $\infty$-categories, in the sense of Definition 1.5.0.1. We begin in §1.5.1 with some simple examples, which illustrate the meaning of Definition 1.5.0.1 in the case of $\infty$-categories which arise from ordinary categories (via the construction $\operatorname{\mathcal{E}}\mapsto \operatorname{N}_{\bullet }(\operatorname{\mathcal{E}})$) or topological spaces (via the construction $X \mapsto \operatorname{Sing}_{\bullet }(X)$).

In ordinary category theory, one can think of a functor $F: \operatorname{\mathcal{C}}\rightarrow \operatorname{\mathcal{D}}$ as a kind of commutative diagram in $\operatorname{\mathcal{D}}$, having vertices indexed by the objects of $\operatorname{\mathcal{C}}$ and arrows indexed by the morphisms of $\operatorname{\mathcal{C}}$. This perspective is quite useful: if the category $\operatorname{\mathcal{C}}$ is sufficiently small, one can communicate the datum of a functor by drawing a graphical representation of the corresponding diagram. In §1.5.2, we discuss the notion of commutative diagram in an $\infty$-category (Convention 1.5.2.12) and describe some dangers associated with diagrammatic reasoning in the higher-categorical setting (Remark 1.5.2.13).

If $\operatorname{\mathcal{C}}$ and $\operatorname{\mathcal{D}}$ are ordinary categories, then the collection of all functors from $\operatorname{\mathcal{C}}$ to $\operatorname{\mathcal{D}}$ can itself be organized into a category, which we denote by $\operatorname{Fun}(\operatorname{\mathcal{C}}, \operatorname{\mathcal{D}})$. In §1.5.3, we describe a counterpart of this construction in the setting of $\infty$-categories. For every pair of simplicial sets $S$ and $T$, one can form a new simplicial set $\operatorname{Fun}( S,T)$ whose vertices are maps from $S$ to $T$ (Construction 1.5.3.1). The main result of this section asserts that if $T$ is an $\infty$-category, then $\operatorname{Fun}( S,T )$ is also an $\infty$-category (Theorem 1.5.3.7). Moreover, our notation is consistent: in the case where $S$ and $T$ are isomorphic to the nerves of categories $\operatorname{\mathcal{C}}$ and $\operatorname{\mathcal{D}}$, the $\infty$-category $\operatorname{Fun}( S,T )$ is isomorphic to the nerve of the functor category $\operatorname{Fun}( \operatorname{\mathcal{C}}, \operatorname{\mathcal{D}})$ (Proposition 1.5.3.3).

In order to prove Theorem 1.5.3.7, we will need to introduce some auxiliary ideas. Recall that if $f: X \rightarrow Y$ and $g: Y \rightarrow Z$ are composable morphisms in an $\infty$-category $\operatorname{\mathcal{C}}$, then we can form a composition of $f$ and $g$ by choosing a $2$-simplex $\sigma$ of $\operatorname{\mathcal{C}}$ which satisfies $d^{2}_0( \sigma ) = g$ and $d^{2}_2(\sigma ) = f$, as indicated in the diagram

$\xymatrix@R =50pt@C=50pt{ & Y \ar [dr]^{g} & \\ X \ar [ur]^{f} \ar [rr]^{g \circ f} & & Z. }$

We proved in §1.4.4 that the resulting morphism $g \circ f$ is well-defined up to homotopy (Proposition 1.4.4.2). In §1.5.6, we prove a variant of this assertion which asserts that the $2$-simplex $\sigma$ is “unique up to a contractible space of choices” (see Corollary 1.5.6.2 for a precise statement, and §1.5.7 for an extension to more general path categories). Moreover, we show that a strong version of this uniqueness result is equivalent to the assumption that $\operatorname{\mathcal{C}}$ is an $\infty$-category (Theorem 1.5.6.1), and deduce the existence of functor $\infty$-categories $\operatorname{Fun}(\operatorname{\mathcal{C}}, \operatorname{\mathcal{D}})$ as a consequence (Theorem 1.5.3.7). The precise formulation and proof of Theorem 1.5.6.1 will require some general ideas about categorical lifting properties and the homotopy theory of simplicial sets, which we develop in §1.5.4 and §1.5.5, respectively.

## Structure

• Subsection 1.5.1: Examples of Functors
• Subsection 1.5.2: Commutative Diagrams
• Subsection 1.5.3: The $\infty$-Category of Functors
• Subsection 1.5.4: Digression: Lifting Properties
• Subsection 1.5.5: Trivial Kan Fibrations
• Subsection 1.5.6: Uniqueness of Composition
• Subsection 1.5.7: Universality of Path Categories