Let Xi and x be given.
We prove the intermediate
claim HxU:
x ∈ ⋃ Fam.
rewrite the current goal using HXdef (from right to left).
An exact proof term for the current goal is Hx.
Let G be given.
Let i be given.
We use i to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HiO.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HxG.
∎