Proposition 21.2.16. Let \(C\) be a presentable category and \(D\) a locally small category with small colimits. A functor \(\varphi\colon C\to D\) has a right adjoint if and only if it commutes with small colimits.

Proof

It is clear that \(\varphi\) commutes with colimits if it has a right adjoint. Conversely, let us assume that \(\varphi\) commutes with small colimits. By virtue of Theorem 11.2.13 and of Lemma 21.2.8 it suffices to prove the proposition in a context where we can choose a small category \(A\) and a small family of morphisms \(S\) in \(\PSh(A)\) such that \(C\) is the left Bousfield localization of the category of presheaves on \(A\) by \(S\). We identify \(C\) with the full subcategory of \(S\)-local objects in the category of presheaves on \(A\). We denote by \[ \gamma\colon\PSh(A)\to C \] be the left adjoint of the obvious full embedding. A particular case of Lemma 17.3.6 with \(\kappa=\Cat\) tells us that the functor \(f:=\varphi\circ\gamma\) commutes with small colimits. Therefore, by virtue of Corollary 12.8.5, the functor \(f\) has a right adjoint \(g\). We claim that the functor \(g\) takes values in \(S\)-local objects: for any map \(u\colon x\to y\) in \(S\) and any object \(z\) of \(D\) we have the map \[ u^*\colon\Hom(y,g(z))\to\Hom(x,g(z)) \] is isomorphic to the map \[ f(u)^*\colon\Hom(f(y),z)\to\Hom(f(x),z) \] hence is an isomorphism since \(f\) factorizes through the functor \(\gamma\) and thus sends terms of \(S\) to isomorphisms of \(C\). Therefore, there is a unique functor \[ \psi\colon D\to C \] whose composition with the full embedding \(i\colon C\hookrightarrow\PSh(A)\) yields \(g\). For \(x\) in \(C\) and \(y\) in \(D\) we thus have \begin{align*} \Hom(\varphi(x),y) &=\Hom(f(i(x)),y)\\ &=\Hom(i(x),g(y))\\ &=\Hom(i(x),i(\psi(y)))\\ &=\Hom(x,\psi(y)) \end{align*}

From Section 21.2, The category of presentable categories.