Let X, Tx, W and w be given.
We prove the intermediate
claim HWTx:
∀w0 : set, w0 ∈ W → w0 ∈ Tx.
An
exact proof term for the current goal is
(andEL (∀w0 : set, w0 ∈ W → w0 ∈ Tx) (covers X W) HWcov).
We prove the intermediate
claim HWcovers:
covers X W.
An
exact proof term for the current goal is
(andER (∀w0 : set, w0 ∈ W → w0 ∈ Tx) (covers X W) HWcov).
We prove the intermediate
claim HTsubPow:
Tx ⊆ 𝒫 X.
We prove the intermediate
claim HWsubPow:
W ⊆ 𝒫 X.
We prove the intermediate
claim HWsubX:
∀w0 : set, w0 ∈ W → w0 ⊆ X.
Let w0 be given.
An
exact proof term for the current goal is
(PowerE X w0 (HWsubPow w0 Hw0W)).
Set Wno to be the term
W ∖ {w}.
Set A to be the term
⋃ Clno.
Set Bw to be the term
X ∖ A.
We prove the intermediate
claim HWnoSubW:
Wno ⊆ W.
Let z be given.
An
exact proof term for the current goal is
(setminusE1 W {w} z Hz).
We prove the intermediate
claim HClnoClosed:
∀C : set, C ∈ Clno → closed_in X Tx C.
Let C be given.
Let w0 be given.
rewrite the current goal using HeqC (from left to right).
We prove the intermediate
claim Hw0W:
w0 ∈ W.
An exact proof term for the current goal is (HWnoSubW w0 Hw0).
We prove the intermediate
claim Hw0Tx:
w0 ∈ Tx.
An exact proof term for the current goal is (HWTx w0 Hw0W).
We prove the intermediate
claim Hw0Pow:
w0 ∈ 𝒫 X.
An exact proof term for the current goal is (HTsubPow w0 Hw0Tx).
We prove the intermediate
claim Hw0subX:
w0 ⊆ X.
An
exact proof term for the current goal is
(PowerE X w0 Hw0Pow).
We prove the intermediate
claim HAclosed:
closed_in X Tx A.
We prove the intermediate
claim HBTx:
Bw ∈ Tx.
Assume HAsubX HexU.
Apply HexU to the current goal.
Let U0 be given.
We prove the intermediate
claim HU0Tx:
U0 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U0 ∈ Tx) (A = X ∖ U0) HU0).
We prove the intermediate
claim HAeq:
A = X ∖ U0.
An
exact proof term for the current goal is
(andER (U0 ∈ Tx) (A = X ∖ U0) HU0).
We prove the intermediate
claim HU0subX:
U0 ⊆ X.
We prove the intermediate
claim HBwEq:
Bw = U0.
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(setminusE1 X A x HxBw).
Apply (xm (x ∈ U0)) to the current goal.
An exact proof term for the current goal is HxU0.
We prove the intermediate
claim HxA:
x ∈ A.
rewrite the current goal using HAeq (from left to right).
An
exact proof term for the current goal is
(setminusI X U0 x HxX HxnotU0).
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(setminusE2 X A x HxBw HxA).
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HU0subX x HxU0).
We prove the intermediate
claim HxnotA:
x ∉ A.
We prove the intermediate
claim HxnotU0:
x ∉ U0.
We prove the intermediate
claim HxA2:
x ∈ X ∖ U0.
rewrite the current goal using HAeq (from right to left).
An exact proof term for the current goal is HxA.
An
exact proof term for the current goal is
(setminusE2 X U0 x HxA2).
An exact proof term for the current goal is (HxnotU0 HxU0).
An
exact proof term for the current goal is
(setminusI X A x HxX HxnotA).
rewrite the current goal using HBwEq (from left to right).
An exact proof term for the current goal is HU0Tx.
We prove the intermediate
claim HBsubw:
Bw ⊆ w.
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(setminusE1 X A x HxB).
We prove the intermediate
claim Hexw:
∃w1 : set, w1 ∈ W ∧ x ∈ w1.
An exact proof term for the current goal is (HWcovers x HxX).
Apply Hexw to the current goal.
Let w1 be given.
We prove the intermediate
claim Hw1W:
w1 ∈ W.
An
exact proof term for the current goal is
(andEL (w1 ∈ W) (x ∈ w1) Hw1).
We prove the intermediate
claim Hxw1:
x ∈ w1.
An
exact proof term for the current goal is
(andER (w1 ∈ W) (x ∈ w1) Hw1).
Apply (xm (w1 = w)) to the current goal.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is Hxw1.
We prove the intermediate
claim Hw1Wno:
w1 ∈ Wno.
We prove the intermediate
claim Hw1not:
w1 ∉ {w}.
We prove the intermediate
claim Hw1eq:
w1 = w.
An
exact proof term for the current goal is
(SingE w w1 Hw1in).
An exact proof term for the current goal is (Hneq Hw1eq).
An
exact proof term for the current goal is
(setminusI W {w} w1 Hw1W Hw1not).
We prove the intermediate
claim Hclw1:
closure_of X Tx w1 ∈ Clno.
An
exact proof term for the current goal is
(ReplI Wno (λz : set ⇒ closure_of X Tx z) w1 Hw1Wno).
We prove the intermediate
claim Hxclw1:
x ∈ closure_of X Tx w1.
We prove the intermediate
claim Hw1subX:
w1 ⊆ X.
An exact proof term for the current goal is (HWsubX w1 Hw1W).
An
exact proof term for the current goal is
(subset_of_closure X Tx w1 HTx Hw1subX x Hxw1).
We prove the intermediate
claim HxA:
x ∈ A.
An
exact proof term for the current goal is
(UnionI Clno x (closure_of X Tx w1) Hxclw1 Hclw1).
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(setminusE2 X A x HxB HxA).
We prove the intermediate
claim HBwDisjAll:
∀w1 : set, w1 ∈ W → w1 ≠ w → w1 ∩ Bw = Empty.
Let w1 be given.
Let z be given.
We prove the intermediate
claim Hzw1:
z ∈ w1.
An
exact proof term for the current goal is
(binintersectE1 w1 Bw z Hz).
We prove the intermediate
claim HzBw:
z ∈ Bw.
An
exact proof term for the current goal is
(binintersectE2 w1 Bw z Hz).
We prove the intermediate
claim Hw1Wno:
w1 ∈ Wno.
We prove the intermediate
claim Hw1not:
w1 ∉ {w}.
We prove the intermediate
claim Hw1eq:
w1 = w.
An
exact proof term for the current goal is
(SingE w w1 Hw1in).
An exact proof term for the current goal is (Hw1neq Hw1eq).
An
exact proof term for the current goal is
(setminusI W {w} w1 Hw1W Hw1not).
We prove the intermediate
claim Hclw1:
closure_of X Tx w1 ∈ Clno.
An
exact proof term for the current goal is
(ReplI Wno (λz0 : set ⇒ closure_of X Tx z0) w1 Hw1Wno).
We prove the intermediate
claim Hzw1cl:
z ∈ closure_of X Tx w1.
We prove the intermediate
claim Hw1subX:
w1 ⊆ X.
An exact proof term for the current goal is (HWsubX w1 Hw1W).
An
exact proof term for the current goal is
(subset_of_closure X Tx w1 HTx Hw1subX z Hzw1).
We prove the intermediate
claim HzA:
z ∈ A.
An
exact proof term for the current goal is
(UnionI Clno z (closure_of X Tx w1) Hzw1cl Hclw1).
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(setminusE2 X A z HzBw HzA).
We prove the intermediate
claim HclBsubw:
closure_of X Tx Bw ⊆ w.
Let y be given.
Apply (xm (y ∈ w)) to the current goal.
An exact proof term for the current goal is Hyw.
We prove the intermediate
claim HyX:
y ∈ X.
An
exact proof term for the current goal is
(SepE1 X (λy0 : set ⇒ ∀U : set, U ∈ Tx → y0 ∈ U → U ∩ Bw ≠ Empty) y Hy).
We prove the intermediate
claim Hexw:
∃w1 : set, w1 ∈ W ∧ y ∈ w1.
An exact proof term for the current goal is (HWcovers y HyX).
Apply Hexw to the current goal.
Let w1 be given.
We prove the intermediate
claim Hw1W:
w1 ∈ W.
An
exact proof term for the current goal is
(andEL (w1 ∈ W) (y ∈ w1) Hw1).
We prove the intermediate
claim Hyw1:
y ∈ w1.
An
exact proof term for the current goal is
(andER (w1 ∈ W) (y ∈ w1) Hw1).
We prove the intermediate
claim Hw1neq:
w1 ≠ w.
We prove the intermediate
claim Hyw:
y ∈ w.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is Hyw1.
An exact proof term for the current goal is (Hynw Hyw).
We prove the intermediate
claim HBwDisj:
w1 ∩ Bw = Empty.
An exact proof term for the current goal is (HBwDisjAll w1 Hw1W Hw1neq).
We prove the intermediate
claim HyNbhd:
∀U : set, U ∈ Tx → y ∈ U → U ∩ Bw ≠ Empty.
An
exact proof term for the current goal is
(SepE2 X (λy0 : set ⇒ ∀U : set, U ∈ Tx → y0 ∈ U → U ∩ Bw ≠ Empty) y Hy).
We prove the intermediate
claim Hcontra:
w1 ∩ Bw ≠ Empty.
An exact proof term for the current goal is (HyNbhd w1 (HWTx w1 Hw1W) Hyw1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hcontra HBwDisj).
We use Bw to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HBTx.
An exact proof term for the current goal is HBsubw.
An exact proof term for the current goal is HclBsubw.
∎