Let x be given.
Let F be given.
Set U0 to be the term
X ∖ F.
We prove the intermediate
claim HU0open:
open_in X Tx U0.
We prove the intermediate
claim HU0Tx:
U0 ∈ Tx.
An
exact proof term for the current goal is
(open_in_elem X Tx U0 HU0open).
We prove the intermediate
claim HxU0:
x ∈ U0.
An
exact proof term for the current goal is
(setminusI X F x HxX HxnotF).
We prove the intermediate
claim HexV0:
∃V0 : set, V0 ∈ Tx ∧ x ∈ V0 ∧ closure_of X Tx V0 ⊆ U0.
Apply HexV0 to the current goal.
Let V0 be given.
We prove the intermediate
claim HV0pair:
(V0 ∈ Tx ∧ x ∈ V0) ∧ closure_of X Tx V0 ⊆ U0.
An exact proof term for the current goal is HV0.
We prove the intermediate
claim HV0Tx_x:
V0 ∈ Tx ∧ x ∈ V0.
An
exact proof term for the current goal is
(andEL (V0 ∈ Tx ∧ x ∈ V0) (closure_of X Tx V0 ⊆ U0) HV0pair).
We prove the intermediate
claim HclV0subU0:
closure_of X Tx V0 ⊆ U0.
An
exact proof term for the current goal is
(andER (V0 ∈ Tx ∧ x ∈ V0) (closure_of X Tx V0 ⊆ U0) HV0pair).
We prove the intermediate
claim HV0Tx:
V0 ∈ Tx.
An
exact proof term for the current goal is
(andEL (V0 ∈ Tx) (x ∈ V0) HV0Tx_x).
We prove the intermediate
claim HxV0:
x ∈ V0.
An
exact proof term for the current goal is
(andER (V0 ∈ Tx) (x ∈ V0) HV0Tx_x).
Apply HexU1 to the current goal.
Let U1 be given.
An exact proof term for the current goal is HU1.
We prove the intermediate
claim HU1Tx_x:
U1 ∈ Tx ∧ x ∈ U1.
We prove the intermediate
claim HU1Tx:
U1 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U1 ∈ Tx) (x ∈ U1) HU1Tx_x).
We prove the intermediate
claim HxU1:
x ∈ U1.
An
exact proof term for the current goal is
(andER (U1 ∈ Tx) (x ∈ U1) HU1Tx_x).
Set W to be the term
V0 ∩ U1.
We prove the intermediate
claim HWTx:
W ∈ Tx.
We prove the intermediate
claim HxW:
x ∈ W.
An
exact proof term for the current goal is
(binintersectI V0 U1 x HxV0 HxU1).
We prove the intermediate
claim HWsubV0:
W ⊆ V0.
We prove the intermediate
claim HWsubU0:
W ⊆ U0.
We prove the intermediate
claim HU1subX:
U1 ⊆ X.
We prove the intermediate
claim HV0subX:
V0 ⊆ X.
We prove the intermediate
claim HWsubX:
W ⊆ X.
We prove the intermediate
claim HKsubX:
K ⊆ X.
We prove the intermediate
claim HK1subX:
K1 ⊆ X.
We prove the intermediate
claim HWsubU1:
W ⊆ U1.
We prove the intermediate
claim HclWsubK1:
K ⊆ K1.
An
exact proof term for the current goal is
(closure_monotone X Tx W U1 HTx HWsubU1 HU1subX).
We prove the intermediate
claim HKclosed:
closed_in X Tx K.
We prove the intermediate
claim HKeq:
K = K ∩ K1.
Let z be given.
An exact proof term for the current goal is HzK.
An exact proof term for the current goal is (HclWsubK1 z HzK).
Let z be given.
An
exact proof term for the current goal is
(binintersectE1 K K1 z Hz).
We prove the intermediate
claim HKclosed_in_K1:
closed_in K1 TK1 K.
We use K to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HKclosed.
An exact proof term for the current goal is HKeq.
rewrite the current goal using Htrans (from right to left).
An exact proof term for the current goal is HcompK_sub.
We prove the intermediate
claim HxK:
x ∈ K.
We prove the intermediate
claim HWsubK:
W ⊆ K.
We prove the intermediate
claim HWsubK':
W ⊆ K.
An exact proof term for the current goal is HWsubK.
We use W to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HWTx.
Let z be given.
An
exact proof term for the current goal is
(binintersectI W K z Hz (HWsubK z Hz)).
Let z be given.
An
exact proof term for the current goal is
(binintersectE1 W K z Hz).
We prove the intermediate
claim HxnotKW:
x ∉ (K ∖ W).
We prove the intermediate
claim HxnotW:
x ∉ W.
An
exact proof term for the current goal is
(andER (x ∈ K) (x ∉ W) (setminusE K W x HxKW)).
An exact proof term for the current goal is (HxnotW HxW).
We prove the intermediate
claim Hdisj:
{x} ∩ (K ∖ W) = Empty.
Let z be given.
We prove the intermediate
claim Hzx:
z ∈ {x}.
We prove the intermediate
claim Hzeq:
z = x.
An
exact proof term for the current goal is
(SingE x z Hzx).
We prove the intermediate
claim HzKW:
z ∈ (K ∖ W).
We prove the intermediate
claim HxKW:
x ∈ (K ∖ W).
rewrite the current goal using Hzeq (from right to left).
An exact proof term for the current goal is HzKW.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotKW HxKW).
We prove the intermediate
claim H0le1:
Rle 0 1.
Apply HexfI to the current goal.
Let fI be given.
An exact proof term for the current goal is HfI.
We prove the intermediate
claim HfI0:
∀z : set, z ∈ {x} → apply_fun fI z = 0.
An exact proof term for the current goal is HfI.
We prove the intermediate
claim HfKW1:
∀z : set, z ∈ (K ∖ W) → apply_fun fI z = 1.
An exact proof term for the current goal is HfI.
We prove the intermediate
claim Hfx0:
apply_fun fI x = 0.
An
exact proof term for the current goal is
(HfI0 x (SingI x)).
Set B to be the term
X ∖ W.
We prove the intermediate
claim HBsubX:
B ⊆ X.
We prove the intermediate
claim HBcl:
closed_in X Tx B.
We prove the intermediate
claim HABeq:
K ∪ B = X.
Let z be given.
Apply (binunionE K B z Hz) to the current goal.
An exact proof term for the current goal is (HKsubX z HzK).
An
exact proof term for the current goal is
(setminusE1 X W z HzB).
Let z be given.
Apply (xm (z ∈ W)) to the current goal.
An
exact proof term for the current goal is
(subset_of_closure X Tx W HTx HWsubX z HzW).
An
exact proof term for the current goal is
(setminusI X W z HzX HznotW).
Let z be given.
We prove the intermediate
claim HzK:
z ∈ K.
An
exact proof term for the current goal is
(binintersectE1 K B z HzKB).
We prove the intermediate
claim HzB:
z ∈ B.
An
exact proof term for the current goal is
(binintersectE2 K B z HzKB).
We prove the intermediate
claim HzKW:
z ∈ (K ∖ W).
We prove the intermediate
claim HznotW:
z ∉ W.
An
exact proof term for the current goal is
(andER (z ∈ X) (z ∉ W) (setminusE X W z HzB)).
An
exact proof term for the current goal is
(setminusI K W z HzK HznotW).
rewrite the current goal using
(const_fun_apply B 1 z HzB) (from left to right).
rewrite the current goal using (HfKW1 z HzKW) (from left to right).
Use reflexivity.
Let f be given.
We use f 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 Hcont.
An exact proof term for the current goal is (HfK x HxK).
rewrite the current goal using Hfx (from left to right).
An exact proof term for the current goal is Hfx0.
Let y be given.
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 HyB:
y ∈ B.
Apply (setminusI X W y HyX) to the current goal.
We prove the intermediate
claim HyU0:
y ∈ U0.
An exact proof term for the current goal is (HWsubU0 y HyW).
We prove the intermediate
claim HyNotF:
y ∉ F.
An
exact proof term for the current goal is
(andER (y ∈ X) (y ∉ F) (setminusE X F y HyU0)).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HyNotF HyF).
rewrite the current goal using (HfB y HyB) (from left to right).
rewrite the current goal using
(const_fun_apply B 1 y HyB) (from left to right).
Use reflexivity.