Non-triviality of the booleans, cooked two ways › Via a universe [01FD]
Let (\mathcal {U},\mathcal {T}) be a universe. Then we define the famiy x:\mathsf {bool}\vdash T[x]~\mathit {type} using the universe and the ordinary elimination rule of the booleans:
T[x] :\equiv \mathcal {T}\bigl [ \mathsf {if}_{\_\mathpunct {.}\mathcal {U}}(x, \overline {\mathsf {unit}}, \overline {\mathsf {empty}}) \bigr ]The witness f:\mathsf {true}=_{\mathsf {bool}}\mathsf {false}\to \mathsf {empty} is then defined as in § [01FC]:
fp :\equiv p_*^T()This works because T[\mathsf {true}] \equiv \mathcal {T}[\overline {\mathsf {unit}}]\equiv \mathsf {unit} and T[\mathsf {false}]\equiv \mathcal {T}[\overline {\mathsf {empty}}]\equiv \mathsf {empty}.