Let X, Tx, U and x be given.
We prove the intermediate
claim HTsub:
Tx ⊆ 𝒫 X.
We prove the intermediate
claim HUPow:
U ∈ 𝒫 X.
An exact proof term for the current goal is (HTsub U HU).
We prove the intermediate
claim HUsX:
U ⊆ X.
An
exact proof term for the current goal is
(PowerE X U HUPow).
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HUsX x HxU).
Set F to be the term
X ∖ U.
We prove the intermediate
claim HFcl:
closed_in X Tx F.
We prove the intermediate
claim HxnotF:
x ∉ F.
We prove the intermediate
claim HxNotU:
x ∉ U.
An
exact proof term for the current goal is
(setminusE2 X U x HxF).
An exact proof term for the current goal is (HxNotU HxU).
We prove the intermediate
claim Hsep:
∃U0 V0 : set, U0 ∈ Tx ∧ V0 ∈ Tx ∧ x ∈ U0 ∧ F ⊆ V0 ∧ U0 ∩ V0 = Empty.
Apply Hsep to the current goal.
Let U0 be given.
Apply HexV0 to the current goal.
Let V0 be given.
We prove the intermediate
claim Habcd:
((U0 ∈ Tx ∧ V0 ∈ Tx) ∧ x ∈ U0) ∧ F ⊆ V0.
An
exact proof term for the current goal is
(andEL (((U0 ∈ Tx ∧ V0 ∈ Tx) ∧ x ∈ U0) ∧ F ⊆ V0) (U0 ∩ V0 = Empty) Hpack).
We prove the intermediate
claim Hdisj:
U0 ∩ V0 = Empty.
An
exact proof term for the current goal is
(andER (((U0 ∈ Tx ∧ V0 ∈ Tx) ∧ x ∈ U0) ∧ F ⊆ V0) (U0 ∩ V0 = Empty) Hpack).
We prove the intermediate
claim Habc:
(U0 ∈ Tx ∧ V0 ∈ Tx) ∧ x ∈ U0.
An
exact proof term for the current goal is
(andEL ((U0 ∈ Tx ∧ V0 ∈ Tx) ∧ x ∈ U0) (F ⊆ V0) Habcd).
We prove the intermediate
claim HFV0:
F ⊆ V0.
An
exact proof term for the current goal is
(andER ((U0 ∈ Tx ∧ V0 ∈ Tx) ∧ x ∈ U0) (F ⊆ V0) Habcd).
We prove the intermediate
claim H12:
U0 ∈ Tx ∧ V0 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U0 ∈ Tx ∧ V0 ∈ Tx) (x ∈ U0) Habc).
We prove the intermediate
claim HxU0:
x ∈ U0.
An
exact proof term for the current goal is
(andER (U0 ∈ Tx ∧ V0 ∈ Tx) (x ∈ U0) Habc).
We prove the intermediate
claim HU0Tx:
U0 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U0 ∈ Tx) (V0 ∈ Tx) H12).
We prove the intermediate
claim HV0Tx:
V0 ∈ Tx.
An
exact proof term for the current goal is
(andER (U0 ∈ Tx) (V0 ∈ Tx) H12).
We prove the intermediate
claim HU0sub:
U0 ⊆ X.
We prove the intermediate
claim HU0Pow:
U0 ∈ 𝒫 X.
An exact proof term for the current goal is (HTsub U0 HU0Tx).
An
exact proof term for the current goal is
(PowerE X U0 HU0Pow).
We prove the intermediate
claim HU0subC:
U0 ⊆ X ∖ V0.
Let y be given.
We will
prove y ∈ X ∖ V0.
We prove the intermediate
claim HyX:
y ∈ X.
An exact proof term for the current goal is (HU0sub y HyU0).
We prove the intermediate
claim HyNotV0:
y ∉ V0.
We prove the intermediate
claim HyInt:
y ∈ U0 ∩ V0.
An
exact proof term for the current goal is
(binintersectI U0 V0 y HyU0 HyV0).
We prove the intermediate
claim HyE:
y ∈ Empty.
rewrite the current goal using Hdisj (from right to left).
An exact proof term for the current goal is HyInt.
An
exact proof term for the current goal is
(EmptyE y HyE).
An
exact proof term for the current goal is
(setminusI X V0 y HyX HyNotV0).
We prove the intermediate
claim HCcl:
closed_in X Tx (X ∖ V0).
We prove the intermediate
claim HclU0subC:
closure_of X Tx U0 ⊆ (X ∖ V0).
We prove the intermediate
claim HCsubU:
(X ∖ V0) ⊆ U.
Let y be given.
We prove the intermediate
claim HyX:
y ∈ X.
An
exact proof term for the current goal is
(setminusE1 X V0 y HyC).
We prove the intermediate
claim HyNotV0:
y ∉ V0.
An
exact proof term for the current goal is
(setminusE2 X V0 y HyC).
We prove the intermediate
claim HyNotF:
y ∉ F.
We prove the intermediate
claim HyV0:
y ∈ V0.
An exact proof term for the current goal is (HFV0 y HyF).
An exact proof term for the current goal is (HyNotV0 HyV0).
We prove the intermediate
claim HyUF:
y ∈ X ∖ F.
An
exact proof term for the current goal is
(setminusI X F y HyX HyNotF).
We prove the intermediate
claim HXFeq:
X ∖ F = U.
We prove the intermediate
claim HFdef:
F = X ∖ U.
rewrite the current goal using HFdef (from left to right) at position 1.
rewrite the current goal using HXFeq (from right to left).
An exact proof term for the current goal is HyUF.
We use U0 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 HU0Tx.
An exact proof term for the current goal is HxU0.
An
exact proof term for the current goal is
(Subq_tra (closure_of X Tx U0) (X ∖ V0) U HclU0subC HCsubU).
∎