Let X, Tx and U be given.
We prove the intermediate
claim HUpow:
U ∈ 𝒫 X.
We prove the intermediate
claim HUsubX:
U ⊆ X.
Let x be given.
An
exact proof term for the current goal is
(PowerE X U HUpow x HxU).
Set A to be the term
X ∖ U.
We prove the intermediate
claim HAclosed:
closed_in X Tx A.
An exact proof term for the current goal is (HclosedG A HAclosed).
Apply Hexf0 to the current goal.
Let f0 be given.
We prove the intermediate
claim Hf0zeroA:
∀x : set, x ∈ A → apply_fun f0 x = 0.
We prove the intermediate
claim Hf0posOutA:
∀x : set, x ∈ X → x ∉ A → Rlt 0 (apply_fun f0 x).
We use f0 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 Hf0cont.
Let x be given.
We prove the intermediate
claim HxA:
x ∈ A.
We prove the intermediate
claim HdefA:
A = X ∖ U.
rewrite the current goal using HdefA (from left to right).
An exact proof term for the current goal is HxOut.
An exact proof term for the current goal is (Hf0zeroA x HxA).
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HUsubX x HxU).
We prove the intermediate
claim HxnotA:
x ∉ A.
We prove the intermediate
claim HxnotU:
x ∉ U.
An
exact proof term for the current goal is
(setminusE2 X U x HxA).
An exact proof term for the current goal is (HxnotU HxU).
An exact proof term for the current goal is (Hf0posOutA x HxX HxnotA).
∎