Let Y be given.
We prove the intermediate
claim HYC:
Y ∈ C.
An
exact proof term for the current goal is
(PowerE C F HF Y HYF).
Apply (ReplE T (λU ⇒ X ∖ U) Y HYC) to the current goal.
Let U be given.
Assume H.
Apply H to the current goal.
We prove the intermediate
claim HUG:
U ∈ G.
Apply SepI to the current goal.
An exact proof term for the current goal is HU.
rewrite the current goal using HYeq (from right to left).
An exact proof term for the current goal is HYF.
We prove the intermediate
claim HxnotU:
x ∉ U.
Apply HxnotUG to the current goal.
An
exact proof term for the current goal is
(UnionI G x U Hcontra HUG).
rewrite the current goal using HYeq (from left to right).
An exact proof term for the current goal is HxX.
An exact proof term for the current goal is HxnotU.