An exact proof term for the current goal is HAclosed.
Apply HexU to the current goal.
Let U be given.
Assume HandEq.
Apply HandEq to the current goal.
We prove the intermediate
claim HUexV:
∃V ∈ Tx, U = V ∩ Y.
Apply HUexV to the current goal.
Let V be given.
Assume HVandEq.
Apply HVandEq to the current goal.
Set C to be the term
X ∖ V.
We prove the intermediate
claim HCclosed:
closed_in X Tx C.
Apply andI to the current goal.
An exact proof term for the current goal is HTx.
Apply andI to the current goal.
We use V to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HV.
We prove the intermediate
claim HAeqC:
A = C ∩ Y.
rewrite the current goal using HAeq (from left to right).
rewrite the current goal using HUeq (from left to right).
We will
prove Y ∖ (V ∩ Y) = (X ∖ V) ∩ Y.
Let x be given.
We prove the intermediate
claim HxY:
x ∈ Y.
An
exact proof term for the current goal is
(setminusE1 Y (V ∩ Y) x Hx).
We prove the intermediate
claim HxnotVY:
x ∉ V ∩ Y.
An
exact proof term for the current goal is
(setminusE2 Y (V ∩ Y) x Hx).
We prove the intermediate
claim HxnotV:
x ∉ V.
Apply HxnotVY to the current goal.
An exact proof term for the current goal is HxV.
An exact proof term for the current goal is HxY.
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HY x HxY).
An exact proof term for the current goal is HxX.
An exact proof term for the current goal is HxnotV.
An exact proof term for the current goal is HxY.
Let x be given.
We prove the intermediate
claim HxXV:
x ∈ X ∖ V.
An
exact proof term for the current goal is
(binintersectE1 (X ∖ V) Y x Hx).
We prove the intermediate
claim HxY:
x ∈ Y.
An
exact proof term for the current goal is
(binintersectE2 (X ∖ V) Y x Hx).
We prove the intermediate
claim HxnotV:
x ∉ V.
An
exact proof term for the current goal is
(setminusE2 X V x HxXV).
An exact proof term for the current goal is HxY.
Apply HxnotV to the current goal.
An
exact proof term for the current goal is
(binintersectE1 V Y x HxVY).
We use C to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HCclosed.
An exact proof term for the current goal is HAeqC.
Apply Hexists to the current goal.
Let C be given.
Assume HCandEq.
Apply HCandEq to the current goal.
We prove the intermediate
claim HCdef:
topology_on X Tx ∧ (C ⊆ X ∧ ∃V ∈ Tx, C = X ∖ V).
An exact proof term for the current goal is HCclosed.
We prove the intermediate
claim HCandEx:
C ⊆ X ∧ ∃V ∈ Tx, C = X ∖ V.
An
exact proof term for the current goal is
(andER (topology_on X Tx) (C ⊆ X ∧ ∃V ∈ Tx, C = X ∖ V) HCdef).
We prove the intermediate
claim HexV:
∃V ∈ Tx, C = X ∖ V.
An
exact proof term for the current goal is
(andER (C ⊆ X) (∃V ∈ Tx, C = X ∖ V) HCandEx).
Apply HexV to the current goal.
Let V be given.
Assume HVandEq.
Apply HVandEq to the current goal.
Set U to be the term
V ∩ Y.
We prove the intermediate
claim HUinPowerY:
U ∈ 𝒫 Y.
Apply PowerI to the current goal.
We prove the intermediate
claim HPred:
∃W ∈ Tx, U = W ∩ Y.
We use V to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HV.
An
exact proof term for the current goal is
(SepI (𝒫 Y) (λU0 : set ⇒ ∃W ∈ Tx, U0 = W ∩ Y) U HUinPowerY HPred).
We prove the intermediate
claim HAeqYU:
A = Y ∖ U.
rewrite the current goal using HAeq (from left to right).
rewrite the current goal using HCeq (from left to right).
We will
prove (X ∖ V) ∩ Y = Y ∖ (V ∩ Y).
Let x be given.
We prove the intermediate
claim HxXV:
x ∈ X ∖ V.
An
exact proof term for the current goal is
(binintersectE1 (X ∖ V) Y x Hx).
We prove the intermediate
claim HxY:
x ∈ Y.
An
exact proof term for the current goal is
(binintersectE2 (X ∖ V) Y x Hx).
We prove the intermediate
claim HxnotV:
x ∉ V.
An
exact proof term for the current goal is
(setminusE2 X V x HxXV).
An exact proof term for the current goal is HxY.
Apply HxnotV to the current goal.
An
exact proof term for the current goal is
(binintersectE1 V Y x HxVY).
Let x be given.
We prove the intermediate
claim HxY:
x ∈ Y.
An
exact proof term for the current goal is
(setminusE1 Y (V ∩ Y) x Hx).
We prove the intermediate
claim HxnotVY:
x ∉ V ∩ Y.
An
exact proof term for the current goal is
(setminusE2 Y (V ∩ Y) x Hx).
We prove the intermediate
claim HxnotV:
x ∉ V.
Apply HxnotVY to the current goal.
An exact proof term for the current goal is HxV.
An exact proof term for the current goal is HxY.
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HY x HxY).
An exact proof term for the current goal is HxX.
An exact proof term for the current goal is HxnotV.
An exact proof term for the current goal is HxY.
We prove the intermediate
claim HAsub:
A ⊆ Y.
rewrite the current goal using HAeq (from left to right).
Apply andI to the current goal.
An exact proof term for the current goal is HTsubspace.
Apply andI to the current goal.
An exact proof term for the current goal is HAsub.
We use U to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HUsubspace.
An exact proof term for the current goal is HAeqYU.
∎