Let x be given.
Let F be given.
Apply HexU0 to the current goal.
Let U0 be given.
Assume HU0pack.
We prove the intermediate
claim HU0and:
U0 ∈ Tx ∧ x ∈ U0.
We prove the intermediate
claim HU0Tx:
U0 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U0 ∈ Tx) (x ∈ U0) HU0and).
We prove the intermediate
claim HxU0:
x ∈ U0.
An
exact proof term for the current goal is
(andER (U0 ∈ Tx) (x ∈ U0) HU0and).
We prove the intermediate
claim HKsubX:
K ⊆ X.
We prove the intermediate
claim HKclosed:
closed_in X Tx K.
Set C to be the term
F ∩ K.
We prove the intermediate
claim HCsubK:
C ⊆ K.
We prove the intermediate
claim HCsubX:
C ⊆ X.
An
exact proof term for the current goal is
(Subq_tra C K X HCsubK HKsubX).
We prove the intermediate
claim HCclosed_in_K:
closed_in K Tk C.
We use F to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HFcl.
We prove the intermediate
claim HsubCK:
C ⊆ K.
An exact proof term for the current goal is HCsubK.
rewrite the current goal using HeqTopC (from right to left).
An exact proof term for the current goal is HcompC_K.
We prove the intermediate
claim HxnotC:
x ∉ C.
We prove the intermediate
claim HxF:
x ∈ F.
An
exact proof term for the current goal is
(binintersectE1 F K x HxC).
An exact proof term for the current goal is (HxnotF HxF).
We prove the intermediate
claim Hsep:
∃U1 V1 : set, U1 ∈ Tx ∧ V1 ∈ Tx ∧ x ∈ U1 ∧ C ⊆ V1 ∧ U1 ∩ V1 = Empty.
Apply Hsep to the current goal.
Let U1 be given.
Assume HexV1.
Apply HexV1 to the current goal.
Let V1 be given.
Assume HU1V1pack.
We prove the intermediate
claim Hleft4:
(((U1 ∈ Tx ∧ V1 ∈ Tx) ∧ x ∈ U1) ∧ C ⊆ V1).
An
exact proof term for the current goal is
(andEL ((((U1 ∈ Tx ∧ V1 ∈ Tx) ∧ x ∈ U1) ∧ C ⊆ V1)) (U1 ∩ V1 = Empty) HU1V1pack).
We prove the intermediate
claim HU1V1Empty:
U1 ∩ V1 = Empty.
An
exact proof term for the current goal is
(andER ((((U1 ∈ Tx ∧ V1 ∈ Tx) ∧ x ∈ U1) ∧ C ⊆ V1)) (U1 ∩ V1 = Empty) HU1V1pack).
We prove the intermediate
claim Hleft3:
(U1 ∈ Tx ∧ V1 ∈ Tx) ∧ x ∈ U1.
An
exact proof term for the current goal is
(andEL ((U1 ∈ Tx ∧ V1 ∈ Tx) ∧ x ∈ U1) (C ⊆ V1) Hleft4).
We prove the intermediate
claim HCV1:
C ⊆ V1.
An
exact proof term for the current goal is
(andER ((U1 ∈ Tx ∧ V1 ∈ Tx) ∧ x ∈ U1) (C ⊆ V1) Hleft4).
We prove the intermediate
claim HU1V1ab:
U1 ∈ Tx ∧ V1 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U1 ∈ Tx ∧ V1 ∈ Tx) (x ∈ U1) Hleft3).
We prove the intermediate
claim HxU1:
x ∈ U1.
An
exact proof term for the current goal is
(andER (U1 ∈ Tx ∧ V1 ∈ Tx) (x ∈ U1) Hleft3).
We prove the intermediate
claim HU1Tx:
U1 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U1 ∈ Tx) (V1 ∈ Tx) HU1V1ab).
We prove the intermediate
claim HV1Tx:
V1 ∈ Tx.
An
exact proof term for the current goal is
(andER (U1 ∈ Tx) (V1 ∈ Tx) HU1V1ab).
Set U to be the term
U1 ∩ U0.
Set V to be the term
V1 ∪ (X ∖ K).
We prove the intermediate
claim HUopen:
U ∈ Tx.
We prove the intermediate
claim HKU0sub:
U0 ⊆ K.
We prove the intermediate
claim HU0subX:
U0 ⊆ X.
We prove the intermediate
claim HxU:
x ∈ U.
An exact proof term for the current goal is HxU1.
An exact proof term for the current goal is HxU0.
We prove the intermediate
claim HXKTx:
(X ∖ K) ∈ Tx.
We prove the intermediate
claim HVopen:
V ∈ Tx.
We prove the intermediate
claim HFsubV:
F ⊆ V.
Let y be given.
Apply (xm (y ∈ K)) to the current goal.
We prove the intermediate
claim HyC:
y ∈ C.
An exact proof term for the current goal is HyF.
An exact proof term for the current goal is HyK.
We prove the intermediate
claim HyV1:
y ∈ V1.
An exact proof term for the current goal is (HCV1 y HyC).
An
exact proof term for the current goal is
(binunionI1 V1 (X ∖ K) y HyV1).
We prove the intermediate
claim HyX:
y ∈ X.
An
exact proof term for the current goal is
((closed_in_subset X Tx F HFcl) y HyF).
We prove the intermediate
claim HyXK:
y ∈ X ∖ K.
An
exact proof term for the current goal is
(setminusI X K y HyX HynK).
An
exact proof term for the current goal is
(binunionI2 V1 (X ∖ K) y HyXK).
We prove the intermediate
claim HUcapV:
U ∩ V = Empty.
Let z be given.
We prove the intermediate
claim HzU:
z ∈ U.
An
exact proof term for the current goal is
(binintersectE1 U V z HzUV).
We prove the intermediate
claim HzV:
z ∈ V.
An
exact proof term for the current goal is
(binintersectE2 U V z HzUV).
We prove the intermediate
claim HzU1:
z ∈ U1.
An
exact proof term for the current goal is
(binintersectE1 U1 U0 z HzU).
We prove the intermediate
claim HzU0:
z ∈ U0.
An
exact proof term for the current goal is
(binintersectE2 U1 U0 z HzU).
We prove the intermediate
claim HzK:
z ∈ K.
An exact proof term for the current goal is (HKU0sub z HzU0).
We prove the intermediate
claim HzVor:
z ∈ V1 ∨ z ∈ (X ∖ K).
An
exact proof term for the current goal is
(binunionE V1 (X ∖ K) z HzV).
Apply HzVor to the current goal.
We prove the intermediate
claim HzU1V1:
z ∈ U1 ∩ V1.
An exact proof term for the current goal is HzU1.
An exact proof term for the current goal is HzV1.
We prove the intermediate
claim HzEmpty:
z ∈ Empty.
rewrite the current goal using HU1V1Empty (from right to left).
An exact proof term for the current goal is HzU1V1.
An exact proof term for the current goal is HzEmpty.
We prove the intermediate
claim HznotK:
z ∉ K.
An
exact proof term for the current goal is
(setminusE2 X K z HzXK).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HznotK HzK).
Let z be given.
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(EmptyE z HzE).
We use U to witness the existential quantifier.
We use V to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HUopen.
An exact proof term for the current goal is HVopen.
An exact proof term for the current goal is HxU.
An exact proof term for the current goal is HFsubV.
An exact proof term for the current goal is HUcapV.
∎