Let X, T, U and V be given.
We prove the intermediate
claim Hpairsub:
{U,V} ⊆ T.
Let W be given.
We prove the intermediate
claim Hor:
W = U ∨ W = V.
An
exact proof term for the current goal is
(UPairE W U V HW).
Apply Hor to the current goal.
rewrite the current goal using HWU (from left to right).
An exact proof term for the current goal is HU.
rewrite the current goal using HWV (from left to right).
An exact proof term for the current goal is HV.
We prove the intermediate
claim HUnionPair:
⋃ {U,V} ∈ T.
An exact proof term for the current goal is HUnionPair.
∎