Let X, Tx and x be given.
We prove the intermediate
claim Htop:
topology_on X Tx.
We prove the intermediate
claim HxSub:
{x} ⊆ X.
Let y be given.
We prove the intermediate
claim Hyeq:
y = x.
An
exact proof term for the current goal is
(SingE x y Hy).
rewrite the current goal using Hyeq (from left to right).
An exact proof term for the current goal is HxX.
We prove the intermediate
claim HUopen:
X ∖ {x} ∈ Tx.
We prove the intermediate
claim Hclosed:
closed_in X Tx (X ∖ (X ∖ {x})).
We prove the intermediate
claim Heq:
X ∖ (X ∖ {x}) = {x}.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is Hclosed.
∎