Lemma 8.5.14. For small categories \(C\) and \(D\) there is an identification \(((-)^C)^D = (-)^{C \times D}\) of functors \(\Cat \to \Cat\).
Proof
The small cocartesian fibration classified by \(((-)^C)^D\) sits in a pullback square as follows:
Under the equivalences \(\Fun(D,\Fun(C,\Cat)) \simeq \Fun(C \times D, \Cat)\) and \(\Fun(D,\Fun(C,\Cat_{\bullet})) \simeq \Fun(C \times D, \Cat_{\bullet})\) from Lemma 1.7.12, the bottom functor is \(p_{C \times D}^*\) and we see that the left vertical map agrees with the small cocartesian fibration \(\Cat_{\bullet}^{c \times d} \to \Cat\) classifying \((-)^{c \times d}\). The claim thus follows from directed univalence.