Non-triviality of the booleans, cooked two ways › Via large elimination [01FC]
Let us see how to witness \mathsf {true} =_{\mathsf {bool}}\mathsf {false}\to \mathsf {empty} using a large elimination. First define a family x:\mathsf {bool}\vdash T[x]~\mathit {type} using the large elimination: T[x] :\equiv \mathsf {If}(x, \mathsf {unit}, \mathsf {empty})
Then we define a witness f:\mathsf {true} =_{\mathsf {bool}}\mathsf {false}\to \mathsf {empty} using transport:
fp :\equiv p_*^T()To see that the above makes sense, we note that p_*^T is a function from T[\mathsf {true}] to T[\mathsf {false}] because we have p:\mathsf {true}=_{\mathsf {bool}}\mathsf {false}. But T[\mathsf {true}]\equiv \mathsf {unit} and T[\mathsf {false}]\equiv \mathsf {empty}! So we have p_*^T():\mathsf {empty}.