Lemma 12.7.2. A category \(C\) has small colimits if and only if the small Yoneda embedding \[ h_C\colon C\to\widehat{C} \] has a left adjoint \[ L\colon\widehat{C}\to C\, . \]

Proof

Assume that \(C\) has small colimits. Given any small category \(X\) and any functor \(u\colon X\to C\), we let \(a\) be the colimit of \(u\) in \(C\) and \(F\) be the small presheaf defined as the colimit of \(h_C\circ u\). For any \(b : C\) we thus have \begin{align*} \Hom_C(a,b) &\simeq\underset{x : X\catop}{\lim}\, \Hom_C(u(x),b)\\ &\simeq\underset{x : X\catop}{\lim}\, \Hom_{\widehat{C}}(h_C(u(x)),h_C(b))\\ &\simeq\Hom_{\widehat{C}}(\underset{x : X}{\colim}\, h_C(u(x)),h_C(b))\\ &=\Hom_{\widehat{C}}(F,h_C(b))\, . \end{align*} functorially in \(b : C\). Applying Theorem 11.2.13 to \(h_C\catop\) now implies that \(h_C\) has a left adjoint.

Conversely, if \(L\) is a left adjoint of the small Yoneda embedding \(h_C\), for any small category \(X\) and any functor \(u\colon X\to C\), the colimit of \(h_C\circ u\) in \(\Fun(C\catop,\An')\) yields by definition a small presheaf \(F\). The adjunction \(L\dashv h_C\) identifies maps out of \(L(F)\) with cocones under \(u\), so \(L(F)\) is a colimit of \(u\) in \(C\).

From Section 12.7, Small presheaves.