Let W be given.
We prove the intermediate
claim HWPowerA:
W ∈ 𝒫 A.
Apply HWexists to the current goal.
Let U be given.
We prove the intermediate
claim HWeqUA:
W = U ∩ A.
We prove the intermediate
claim HUPowerY:
U ∈ 𝒫 Y.
We prove the intermediate
claim HUexists:
∃V ∈ Tx, U = V ∩ Y.
Apply HUexists to the current goal.
Let V be given.
We prove the intermediate
claim HVinTx:
V ∈ Tx.
An
exact proof term for the current goal is
(andEL (V ∈ Tx) (U = V ∩ Y) HV).
We prove the intermediate
claim HUeqVY:
U = V ∩ Y.
An
exact proof term for the current goal is
(andER (V ∈ Tx) (U = V ∩ Y) HV).
We prove the intermediate
claim HWeqVA:
W = V ∩ A.
rewrite the current goal using HWeqUA (from left to right).
rewrite the current goal using HUeqVY (from left to right).
We prove the intermediate
claim HWPred:
∃V0 ∈ Tx, W = V0 ∩ A.
We use V to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HVinTx.
An exact proof term for the current goal is HWeqVA.
An
exact proof term for the current goal is
(SepI (𝒫 A) (λW0 : set ⇒ ∃V0 ∈ Tx, W0 = V0 ∩ A) W HWPowerA HWPred).
Let W be given.
We prove the intermediate
claim HWPowerA:
W ∈ 𝒫 A.
We prove the intermediate
claim HWexists:
∃V ∈ Tx, W = V ∩ A.
Apply HWexists to the current goal.
Let V be given.
We prove the intermediate
claim HVinTx:
V ∈ Tx.
An
exact proof term for the current goal is
(andEL (V ∈ Tx) (W = V ∩ A) HV).
We prove the intermediate
claim HWeqVA:
W = V ∩ A.
An
exact proof term for the current goal is
(andER (V ∈ Tx) (W = V ∩ A) HV).
Set U to be the term
V ∩ Y.
We prove the intermediate
claim HWeqUA:
W = U ∩ A.
rewrite the current goal using HWeqVA (from left to right).
Use symmetry.
We use U to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HUinSubY.
An exact proof term for the current goal is HWeqUA.
An
exact proof term for the current goal is
(SepI (𝒫 A) (λW0 : set ⇒ ∃U0 ∈ subspace_topology X Tx Y, W0 = U0 ∩ A) W HWPowerA HWPred).
∎