Theorem 24.2.1 (Straightening/Unstraightening, Lurie (2009b), Hebestreit et al. (2021)). Let \(C\) be a small \(\infty \)-category. Then there exist equivalences of \(\infty \)-categories \[ \Str ^{\cc }\colon \Cocart (C) \iso \Fun (C,\Cat _{\infty }) \] and \[ \Str ^{\ct }\colon \Cart (C) \iso \Fun (C\catop ,\Cat _{\infty }). \] Furthermore, these equivalences are natural1 1See Remark 24.2.11 for a more refined version of the naturality. in \(C\), in the sense that for every functor \(F\colon C \to D\) the following two squares commute:

Commutative square with maps Cocart(D) Str cc to Fun(D,\Cat infinity), Cocart(C) Str cc to Fun(C,\Cat infinity), Cocart(D) Str cc to Cocart(C) Str cc labeled F^*, Fun(D,\Cat infinity) to Fun(C,\Cat infinity) labeled - circ F.
Commutative square with maps Cart(D) Str ct to Fun(Dop,\Cat infinity), Cart(C) Str ct to Fun(Cop,\Cat infinity), Cart(D) Str ct to Cart(C) Str ct labeled F^*, Fun(Dop,\Cat infinity) to Fun(Cop,\Cat infinity) labeled - circ Fop.

Finally, the composites \begin {align*} \Cat _{\infty } \simeq \Cocart (*) &\xrightarrow {\Str ^{\cc }} \Fun (*,\Cat _{\infty }) \simeq \Cat _{\infty } \\ \Cat _{\infty } \simeq \Cart (*) &\xrightarrow {\Str ^{\ct }} \Fun (*,\Cat _{\infty }) \simeq \Cat _{\infty } \end {align*}

are (isomorphic to) the identity functors.