Let U be given.
We prove the intermediate
claim Hex:
∃V ∈ Tx, U = V ∩ X.
Apply Hex to the current goal.
Let V be given.
Assume HVpair.
We prove the intermediate
claim HV:
V ∈ Tx.
An
exact proof term for the current goal is
(andEL (V ∈ Tx) (U = V ∩ X) HVpair).
We prove the intermediate
claim HUeq:
U = V ∩ X.
An
exact proof term for the current goal is
(andER (V ∈ Tx) (U = V ∩ X) HVpair).
We prove the intermediate
claim HVsub:
V ⊆ X.
We prove the intermediate
claim HVeql:
V ∩ X = V.
We prove the intermediate
claim HUeqV:
U = V.
rewrite the current goal using HUeq (from left to right).
An exact proof term for the current goal is HVeql.
rewrite the current goal using HUeqV (from left to right).
An exact proof term for the current goal is HV.