\[ \textup{Hom}_{\mathsf{Sets}}\webleft (A\times B,C\webright )\cong \textup{Hom}_{\mathsf{Sets}}\webleft (A,\textup{Hom}_{\mathsf{Sets}}\webleft (B,C\webright )\webright ), \]
natural in $B,C\in \text{Obj}\webleft (\mathsf{Sets}\webright )$, as the proof of the existence of the adjunction $A\times -\dashv \textup{Hom}_{\mathsf{Sets}}\webleft (A,-\webright )$ follows almost exactly in the same way.
- Map I. We define a map
\[ \Phi _{B,C}\colon \textup{Hom}_{\mathsf{Sets}}\webleft (A\times B,C\webright )\to \textup{Hom}_{\mathsf{Sets}}\webleft (A,\textup{Hom}_{\mathsf{Sets}}\webleft (B,C\webright )\webright ), \]
by sending a function
\[ \xi \colon A\times B\to C \]
to the function
where we define
\[ \xi ^{\dagger }_{a}\webleft (b\webright )\mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\xi \webleft (a,b\webright ) \]
for each $b\in B$. In terms of the $[\mspace {-3mu}[a\mapsto f\webleft (a\webright )]\mspace {-3mu}]$ notation of Chapter 1: Sets, Notation 1.1.1.1.2, we have
\[ \xi ^{\dagger }\mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}[\mspace {-3mu}[a\mapsto [\mspace {-3mu}[b\mapsto \xi \webleft (a,b\webright )]\mspace {-3mu}]]\mspace {-3mu}]. \]
- Map II. We define a map
\[ \Psi _{B,C}\colon \textup{Hom}_{\mathsf{Sets}}\webleft (A,\textup{Hom}_{\mathsf{Sets}}\webleft (B,C\webright )\webright ),\to \textup{Hom}_{\mathsf{Sets}}\webleft (A\times B,C\webright ) \]
given by sending a function
to the function
\[ \xi ^{\dagger }\colon A\times B\to C \]
defined by
\begin{align*} \xi ^{\dagger }\webleft (a,b\webright ) & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\mathrm{ev}_{b}\webleft (\mathrm{ev}_{a}\webleft (\xi \webright )\webright )\\ & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\mathrm{ev}_{b}\webleft (\xi _{a}\webright )\\ & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\xi _{a}\webleft (b\webright )\end{align*}
for each $\webleft (a,b\webright )\in A\times B$.
- Invertibility I. We claim that
\[ \Psi _{A,B}\circ \Phi _{A,B}=\text{id}_{\textup{Hom}_{\mathsf{Sets}}\webleft (A\times B,C\webright )}. \]
Indeed, given a function $\xi \colon A\times B\to C$, we have
\begin{align*} \webleft [\Psi _{A,B}\circ \Phi _{A,B}\webright ]\webleft (\xi \webright ) & = \Psi _{A,B}\webleft (\Phi _{A,B}\webleft (\xi \webright )\webright )\\ & = \Psi _{A,B}\webleft (\Phi _{A,B}\webleft ([\mspace {-3mu}[\webleft (a,b\webright )\mapsto \xi \webleft (a,b\webright )]\mspace {-3mu}]\webright )\webright )\\ & = \Psi _{A,B}\webleft ([\mspace {-3mu}[a\mapsto [\mspace {-3mu}[b\mapsto \xi \webleft (a,b\webright )]\mspace {-3mu}]]\mspace {-3mu}]\webright )\\ & = \Psi _{A,B}\webleft ([\mspace {-3mu}[a'\mapsto [\mspace {-3mu}[b'\mapsto \xi \webleft (a',b'\webright )]\mspace {-3mu}]]\mspace {-3mu}]\webright )\\ & = [\mspace {-3mu}[\webleft (a,b\webright )\mapsto \mathrm{ev}_{b}\webleft (\mathrm{ev}_{a}\webleft ([\mspace {-3mu}[a'\mapsto [\mspace {-3mu}[b'\mapsto \xi \webleft (a',b'\webright )]\mspace {-3mu}]]\mspace {-3mu}]\webright )\webright )]\mspace {-3mu}]\\ & = [\mspace {-3mu}[\webleft (a,b\webright )\mapsto \mathrm{ev}_{b}\webleft ([\mspace {-3mu}[b'\mapsto \xi \webleft (a,b'\webright )]\mspace {-3mu}]\webright )]\mspace {-3mu}]\\ & = [\mspace {-3mu}[\webleft (a,b\webright )\mapsto \xi \webleft (a,b\webright )]\mspace {-3mu}]\\ & = \xi . \end{align*}
- Invertibility II. We claim that
\[ \Phi _{A,B}\circ \Psi _{A,B}=\text{id}_{\textup{Hom}_{\mathsf{Sets}}\webleft (A,\textup{Hom}_{\mathsf{Sets}}\webleft (B,C\webright )\webright )}. \]
Indeed, given a function
we have
\begin{align*} \webleft [\Phi _{A,B}\circ \Psi _{A,B}\webright ]\webleft (\xi \webright ) & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\Phi _{A,B}\webleft (\Psi _{A,B}\webleft (\xi \webright )\webright )\\ & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\Phi _{A,B}\webleft ([\mspace {-3mu}[\webleft (a,b\webright )\mapsto \xi _{a}\webleft (b\webright )]\mspace {-3mu}]\webright )\\ & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\Phi _{A,B}\webleft ([\mspace {-3mu}[\webleft (a',b'\webright )\mapsto \xi _{a'}\webleft (b'\webright )]\mspace {-3mu}]\webright )\\ & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}[\mspace {-3mu}[a\mapsto [\mspace {-3mu}[b\mapsto \mathrm{ev}_{\webleft (a,b\webright )}\webleft ([\mspace {-3mu}[\webleft (a',b'\webright )\mapsto \xi _{a'}\webleft (b'\webright )]\mspace {-3mu}]\webright )]\mspace {-3mu}]]\mspace {-3mu}]\\ & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}[\mspace {-3mu}[a\mapsto [\mspace {-3mu}[b\mapsto \xi _{a}\webleft (b\webright )]\mspace {-3mu}]]\mspace {-3mu}]\\ & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}[\mspace {-3mu}[a\mapsto \xi _{a}]\mspace {-3mu}]\\ & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\xi .\end{align*}
- Naturality for $\Phi $, Part I. We need to show that, given a function $g\colon B\to B'$, the diagram
commutes. Indeed, given a function
\[ \xi \colon A\times B'\to C, \]
we have
\begin{align*} \webleft [\Phi _{B,C}\circ \webleft (\text{id}_{A}\times g^{*}\webright )\webright ]\webleft (\xi \webright ) & = \Phi _{B,C}\webleft (\webleft [\text{id}_{A}\times g^{*}\webright ]\webleft (\xi \webright )\webright )\\ & = \Phi _{B,C}\webleft (\xi \webleft (-_{1},g\webleft (-_{2}\webright )\webright )\webright )\\ & = \webleft [\xi \webleft (-_{1},g\webleft (-_{2}\webright )\webright )\webright ]^{\dagger }\\ & = \xi ^{\dagger }_{-_{1}}\webleft (g\webleft (-_{2}\webright )\webright )\\ & = \webleft (g^{*}\webright )_{*}\webleft (\xi ^{\dagger }\webright )\\ & = \webleft (g^{*}\webright )_{*}\webleft (\Phi _{B',C}\webleft (\xi \webright )\webright )\\ & = \webleft [\webleft (g^{*}\webright )_{*}\circ \Phi _{B',C}\webright ]\webleft (\xi \webright ). \end{align*}
Alternatively, using the $[\mspace {-3mu}[a\mapsto f\webleft (a\webright )]\mspace {-3mu}]$ notation of Chapter 1: Sets, Notation 1.1.1.1.2, we have
\begin{align*} \webleft [\Phi _{B,C}\circ \webleft (\text{id}_{A}\times g^{*}\webright )\webright ]\webleft (\xi \webright ) & = \Phi _{B,C}\webleft (\webleft [\text{id}_{A}\times g^{*}\webright ]\webleft (\xi \webright )\webright )\\ & = \Phi _{B,C}\webleft (\webleft [\text{id}_{A}\times g^{*}\webright ]\webleft ([\mspace {-3mu}[\webleft (a,b'\webright )\mapsto \xi \webleft (a,b'\webright )]\mspace {-3mu}]\webright )\webright )\\ & = \Phi _{B,C}\webleft ([\mspace {-3mu}[\webleft (a,b\webright )\mapsto \xi \webleft (a,g\webleft (b\webright )\webright )]\mspace {-3mu}]\webright )\\ & = [\mspace {-3mu}[a\mapsto [\mspace {-3mu}[b\mapsto \xi \webleft (a,g\webleft (b\webright )\webright )]\mspace {-3mu}]]\mspace {-3mu}]\\ & = [\mspace {-3mu}[a\mapsto g^{*}\webleft ([\mspace {-3mu}[b'\mapsto \xi \webleft (a,b'\webright )]\mspace {-3mu}]\webright )]\mspace {-3mu}]\\ & = \webleft (g^{*}\webright )_{*}\webleft ([\mspace {-3mu}[a\mapsto [\mspace {-3mu}[b'\mapsto \xi \webleft (a,b'\webright )]\mspace {-3mu}]]\mspace {-3mu}]\webright )\\ & = \webleft (g^{*}\webright )_{*}\webleft (\Phi _{B',C}\webleft ([\mspace {-3mu}[\webleft (a,b'\webright )\mapsto \xi \webleft (a,b'\webright )]\mspace {-3mu}]\webright )\webright )\\ & = \webleft (g^{*}\webright )_{*}\webleft (\Phi _{B',C}\webleft (\xi \webright )\webright )\\ & = \webleft [\webleft (g^{*}\webright )_{*}\circ \Phi _{B',C}\webright ]\webleft (\xi \webright ). \end{align*}
- Naturality for $\Phi $, Part II. We need to show that, given a function $h\colon C\to C'$, the diagram
commutes. Indeed, given a function
\[ \xi \colon A\times B\to C, \]
we have
\begin{align*} \webleft [\Phi _{B,C}\circ h_{*}\webright ]\webleft (\xi \webright ) & = \Phi _{B,C}\webleft (h_{*}\webleft (\xi \webright )\webright )\\ & = \Phi _{B,C}\webleft (h_{*}\webleft ([\mspace {-3mu}[\webleft (a,b\webright )\mapsto \xi \webleft (a,b\webright )]\mspace {-3mu}]\webright )\webright )\\ & = \Phi _{B,C}\webleft ([\mspace {-3mu}[\webleft (a,b\webright )\mapsto h\webleft (\xi \webleft (a,b\webright )\webright )]\mspace {-3mu}]\webright )\\ & = [\mspace {-3mu}[a\mapsto [\mspace {-3mu}[b\mapsto h\webleft (\xi \webleft (a,b\webright )\webright )]\mspace {-3mu}]]\mspace {-3mu}]\\ & = [\mspace {-3mu}[a\mapsto h_{*}\webleft ([\mspace {-3mu}[b\mapsto \xi \webleft (a,b\webright )]\mspace {-3mu}]]\mspace {-3mu}]\webright )\\ & = \webleft (h_{*}\webright )_{*}\webleft ([\mspace {-3mu}[a\mapsto [\mspace {-3mu}[b\mapsto \xi \webleft (a,b\webright )]\mspace {-3mu}]]\mspace {-3mu}]\webright )\\ & = \webleft (h_{*}\webright )_{*}\webleft (\Phi _{B,C}\webleft ([\mspace {-3mu}[\webleft (a,b\webright )\mapsto \xi \webleft (a,b\webright )]\mspace {-3mu}]\webright )\webright )\\ & = \webleft (h_{*}\webright )_{*}\webleft (\Phi _{B,C}\webleft (\xi \webright )\webright )\\ & = \webleft [\webleft (h_{*}\webright )_{*}\circ \Phi _{B,C}\webright ]\webleft (\xi \webright ). \end{align*}
- Naturality for $\Psi $. Since $\Phi $ is natural in each argument and $\Phi $ is a componentwise inverse to $\Psi $ in each argument, it follows from Chapter 8: Categories, Item 2 of Proposition 8.8.6.1.2 that $\Psi $ is also natural in each argument.