Lemma. Straightening followed by unstraightening [01JD]
Let B:\mathcal {U} for some universe (\mathcal {U}, \mathcal {T}), and let \left \langle E,p\right \rangle :\mathsf {Fib}_{\mathcal {U}} B be a fibration over B in \mathcal {U}. We can construct an edge \mathsf {unstr}_B(\mathsf {str}_B\left \langle E,p\right \rangle ) \approx _{ (\mathcal {U} / \mathcal {T}).B^\square } \left \langle E,p\right \rangle as follows.
First of all, such an edge is given by an equivalence f : \left ({\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(b:B)}} \mathsf {fib}_{p}(b)\right )\to E together with a homotopy h: {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(u:{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(b:B)}}\mathsf {fib}_{p}(b))}} u.1 =_{B} {p}(fu) \text {.}
For the former, we define f like so:
\begin {aligned} &{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(b:B)}}\mathsf {fib}_p(b) \\ &\quad \xrightarrow {\equiv } {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(b:B)}}{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(e:E)}} pe=_Bb \\ &\quad \xrightarrow {(1)} {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(e:E)}}{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(b:B)}} pe=_Bb \\ &\quad \xrightarrow {\equiv } {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(e:E)}} \left \{pe\right \}^+_{\Delta B} \\ &\quad \xrightarrow {(2)} E \end {aligned}Explicitly, f\left \langle b,\left \langle e,q\right \rangle \right \rangle \equiv e is an equivalence because the fan \left \{pe\right \}^+_{\Delta B} is contractible. Now we must define the following homotopy:
{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(u:{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(b:B)}}{\mathsf {fib}_p(b)})}} u.1 =_B p(u.2.1)Given b:B, e:E and q:pe=_Bb, we must construct the following identification:
b =_B p(e)For this, we use \bar q.
Now, if (\mathcal {U}, \mathcal {T}) is univalent, we have just exhibited \mathsf {str}_B as a section of \mathsf {unstr}_B.