Proposition 12.1.19. Let \(f\colon C\to D\) be a functor between locally small categories. The existence of a right adjoint to \(f\) is equivalent to the existence, for each object \(y\) of \(D\), of an object \(g(y)\) of \(C\) and of a map \(\varepsilon\colon f(g(y))\to y\) such that the induced map \[ \Hom_C(x,g(y))\xrightarrow{\text{apply $f$}}\Hom_D(f(x),f(g(y))) \xrightarrow{\text{compose with $\varepsilon$}}\Hom_D(f(x),y) \] is an isomorphism of animae.
Dually, the existence of a left adjoint to \(f\) is equivalent to the existence, for each object \(y\) of \(D\), of an object \(g(y)\) of \(C\) and of a map \(\eta\colon y\to f(g(y))\) such that the induced map \[ \Hom_C(g(y),x)\xrightarrow{\text{apply $f$}}\Hom_D(f(g(y)),f(x)) \xrightarrow{\text{compose with $\eta$}}\Hom_D(y,f(x)) \] is an isomorphism of animae.

Proof

We prove only the first assertion (the second one follows from the first by duality, thanks to Remark 12.1.17 and Proposition 12.1.18).
By directed univalence, for any objects \(a\) and \(b\) of a locally small category \(X\), and for any small anima \(K\) corresponding to an object \(k\colon\An^\simeq\), there is a canonical equivalence of the form \[ \Map(K,X(a,b))\iso\An(k,\Hom_X(a,b))\, . \] This proposition is thus a translation of Proposition 6.2.3, using Remark 12.1.17.

From Section 12.1, Opposite categories.