Definition. Unstraightening a family to a fibration [01JR]

The unstraightening of a family of types b:B\vdash E[b]~\mathit {type} is defined to be the fibration \begin {aligned} &\pi _E\colon {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(b:B)}}{E[b]}\to B \\ &\pi _E\left \langle b,e\right \rangle :\equiv b \end {aligned} that projects the index from the sum of E[b] over b:B.

In the case of \mathcal {U}-fibrations, the above amounts to a function:

\mathsf {unstr}_{B}\colon \mathcal {U}^B\to \mathsf {Fib}_{\mathcal {U}}(B)