Let X, Tx, 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 HopenComp:
open_in X Tx (X ∖ A).
We prove the intermediate
claim HXATx:
(X ∖ A) ∈ Tx.
An
exact proof term for the current goal is
(open_in_elem X Tx (X ∖ A) HopenComp).
Set W to be the term
(B ∩ (X ∖ A)).
We prove the intermediate
claim HWTx:
W ∈ Tx.
We prove the intermediate
claim Hx1XA:
x1 ∈ (X ∖ A).
An
exact proof term for the current goal is
(setminusI X A x1 Hx1X Hx1notA).
We prove the intermediate
claim Hx1W:
x1 ∈ W.
An
exact proof term for the current goal is
(binintersectI B (X ∖ A) x1 Hx1B Hx1XA).
We prove the intermediate
claim HexV:
∃V : set, V ∈ Tx ∧ x1 ∈ V ∧ closure_of X Tx V ⊆ W.
Apply HexV to the current goal.
Let V be given.
We use x1 to witness the existential quantifier.
We use V to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hx1pair.
An exact proof term for the current goal is HVpack.
∎