Let X, Tx, x and y be given.
We prove the intermediate
claim HyCl:
closed_in X Tx {y}.
We prove the intermediate
claim Hxnoty:
x ∉ {y}.
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).
Apply (Hsep x HxX {y} HyCl Hxnoty) to the current goal.
Let f be given.
We use f to witness the existential quantifier.
We prove the intermediate
claim Hfx0:
apply_fun f x = 0.
We prove the intermediate
claim Hfy1:
apply_fun f y = 1.
We prove the intermediate
claim Hfor:
∀z : set, z ∈ {y} → apply_fun f z = 1.
An
exact proof term for the current goal is
(Hfor y (SingI y)).
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is Hcont.
An exact proof term for the current goal is Hfx0.
An exact proof term for the current goal is Hfy1.
∎