Let X, d, A, B and x be given.
We prove the intermediate
claim HnotSub:
¬ (B ⊆ A).
We prove the intermediate
claim Hexx1:
∃x1 : set, x1 ∈ B ∧ x1 ∉ A.
Apply Hexx1 to the current goal.
Let x1 be given.
We prove the intermediate
claim Hx1B:
x1 ∈ B.
An
exact proof term for the current goal is
(andEL (x1 ∈ B) (x1 ∉ A) Hx1pair).
We prove the intermediate
claim Hx1notA:
x1 ∉ A.
An
exact proof term for the current goal is
(andER (x1 ∈ B) (x1 ∉ A) Hx1pair).
We prove the intermediate
claim HBsubX:
B ⊆ X.
We prove the intermediate
claim Hx1X:
x1 ∈ X.
An exact proof term for the current goal is (HBsubX x1 Hx1B).
We prove the intermediate
claim HAcOpen:
open_in X Tx (X ∖ A).
We prove the intermediate
claim HAcTx:
X ∖ A ∈ Tx.
An
exact proof term for the current goal is
(open_in_elem X Tx (X ∖ A) HAcOpen).
Set U1 to be the term
B ∩ (X ∖ A).
We prove the intermediate
claim HU1Tx:
U1 ∈ Tx.
We prove the intermediate
claim Hx1U1:
x1 ∈ U1.
We prove the intermediate
claim HU1def:
U1 = B ∩ (X ∖ A).
rewrite the current goal using HU1def (from left to right).
We prove the intermediate
claim HexV1:
∃V1 : set, V1 ∈ Tx ∧ x1 ∈ V1 ∧ closure_of X Tx V1 ⊆ U1.
Apply HexV1 to the current goal.
Let V1 be given.
We prove the intermediate
claim HV1pair:
V1 ∈ Tx ∧ x1 ∈ V1.
An
exact proof term for the current goal is
(andEL (V1 ∈ Tx ∧ x1 ∈ V1) (closure_of X Tx V1 ⊆ U1) HV1).
We prove the intermediate
claim HV1Tx:
V1 ∈ Tx.
An
exact proof term for the current goal is
(andEL (V1 ∈ Tx) (x1 ∈ V1) HV1pair).
We prove the intermediate
claim Hx1V1:
x1 ∈ V1.
An
exact proof term for the current goal is
(andER (V1 ∈ Tx) (x1 ∈ V1) HV1pair).
We prove the intermediate
claim HV1open:
open_in X Tx V1.
An
exact proof term for the current goal is
(open_inI X Tx V1 HTx HV1Tx).
We prove the intermediate
claim HexN1:
∃N1 : set, N1 ∈ ω ∧ open_ball X d x1 (eps_ N1) ⊆ V1.
Apply HexN1 to the current goal.
Let N1 be given.
We use x1 to witness the existential quantifier.
We use V1 to witness the existential quantifier.
We use N1 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 Hx1pair.
We prove the intermediate
claim HV1clsubU1:
closure_of X Tx V1 ⊆ U1.
An
exact proof term for the current goal is
(andER (V1 ∈ Tx ∧ x1 ∈ V1) (closure_of X Tx V1 ⊆ U1) HV1).
We prove the intermediate
claim HU1eq:
U1 = (B ∩ (X ∖ A)).
We prove the intermediate
claim HV1clsub:
closure_of X Tx V1 ⊆ (B ∩ (X ∖ A)).
rewrite the current goal using HU1eq (from right to left).
An exact proof term for the current goal is HV1clsubU1.
An
exact proof term for the current goal is
(andI (V1 ∈ Tx ∧ x1 ∈ V1) (closure_of X Tx V1 ⊆ (B ∩ (X ∖ A))) HV1pair HV1clsub).
An exact proof term for the current goal is HN1.
∎