Solution (source code)

= Solution

Write $F:\mathcal C\to\mathcal D$ and $G:\mathcal D\to\mathcal C$. The characterization concerns an <adjunction> with the specified <unit and counit of an adjunction> $\eta$ and $\varepsilon$. Its <triangle identities for an adjunction> are
$$
\boxed{\varepsilon_{FA}F\eta_A=1_{FA},\qquad G\varepsilon_D\eta_{GD}=1_{GD}.}
$$
Assume these identities. Define the hom-set maps
$$
\Phi(h)=Gh\,\eta_A\quad(h:FA\to D),\qquad
\Psi(f)=\varepsilon_DFf\quad(f:A\to GD).
$$
Naturality of $\eta$ and $\varepsilon$ makes these maps natural in both objects. Naturality and the <triangle identities for an adjunction> give
$$
\begin{aligned}
\Psi\Phi(h)&=\varepsilon_DFGh\,F\eta_A
=h\varepsilon_{FA}F\eta_A=h,\\
\Phi\Psi(f)&=G\varepsilon_DGFf\,\eta_A
=G\varepsilon_D\eta_{GD}f=f.
\end{aligned}
$$
Thus they are inverse <bijections> and define $F\dashv G$.

Conversely, from the natural hom-set <bijections> of an <adjunction>, define $\eta_A=\Phi(1_{FA})$ and $\varepsilon_D=\Phi^{-1}(1_{GD})$. Naturality gives the same formulas for $\Phi$ and $\Psi$ above. Applying $\Psi\Phi$ to $1_{FA}$ and $\Phi\Psi$ to $1_{GD}$ gives the two <triangle identities for an adjunction>. Therefore these identities are exactly the compatibility conditions on the specified unit and counit. If the printed equivalence were read as mere existence of some adjunction, independently of the supplied transformations, its only-if direction would be false: on the category of <abelian groups>, $F=G=1$ are adjoint, but choosing both transformations to be zero does not satisfy either triangle on a nonzero object.