Let X, T, U and V be given.
We prove the intermediate
claim HUFamSub:
UPair U V ⊆ T.
Let W be given.
Apply (UPairE W U V HW) to the current goal.
Assume HWeqU.
rewrite the current goal using HWeqU (from left to right).
An exact proof term for the current goal is HU.
Assume HWeqV.
rewrite the current goal using HWeqV (from left to right).
An exact proof term for the current goal is HV.
We prove the intermediate
claim HUnion:
⋃ (UPair U V) ∈ T.
An exact proof term for the current goal is HUnion.
∎