Apply Hexists to the current goal.
Let V be given.
We prove the intermediate
claim HV:
V ∈ Tx.
An
exact proof term for the current goal is
(andEL (V ∈ Tx) (U = V ∩ Y) HVpair).
We prove the intermediate
claim HUeq:
U = V ∩ Y.
An
exact proof term for the current goal is
(andER (V ∈ Tx) (U = V ∩ Y) HVpair).
rewrite the current goal using HUeq (from left to right).