Let X, Tx, F, J, x and y be given.
We prove the intermediate
claim HyCl:
closed_in X Tx {y}.
Set U to be the term
X ∖ {y}.
We prove the intermediate
claim HUopen_in:
open_in X Tx U.
We prove the intermediate
claim HUdef:
U = X ∖ {y}.
rewrite the current goal using HUdef (from left to right).
We prove the intermediate
claim HUopen:
U ∈ Tx.
An
exact proof term for the current goal is
(open_in_elem X Tx U HUopen_in).
We prove the intermediate
claim HxU:
x ∈ U.
An exact proof term for the current goal is HxX.
We prove the intermediate
claim Heq:
x = y.
An
exact proof term for the current goal is
(SingE y x Hxy0).
An exact proof term for the current goal is (Hxy Heq).
An exact proof term for the current goal is (HsepD x HxX U HUopen HxU).
Apply Hneigh to the current goal.
Let j be given.
We use j to witness the existential quantifier.
We prove the intermediate
claim HjJ:
j ∈ J.
We prove the intermediate
claim HyIn:
y ∈ X ∖ U.
We prove the intermediate
claim HsingSub:
{y} ⊆ X.
We prove the intermediate
claim HUdef:
U = X ∖ {y}.
We prove the intermediate
claim Heq:
X ∖ U = {y}.
rewrite the current goal using HUdef (from left to right).
rewrite the current goal using Heq (from left to right).
An
exact proof term for the current goal is
(SingI y).
An exact proof term for the current goal is (Hz0 y HyIn).
Apply andI to the current goal.
An exact proof term for the current goal is HjJ.
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is Hy0.
We prove the intermediate
claim Hpos0:
Rlt 0 0.
rewrite the current goal using Hx0 (from right to left) at position 2.
An exact proof term for the current goal is Hpos.
∎