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 Hf0zero:
∀x : set, x ∈ A → apply_fun f0 x = 0.
We prove the intermediate
claim Hf0pos:
∀x : set, x ∈ X → x ∉ A → Rlt 0 (apply_fun f0 x).
We use f to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
Let x be given.
An exact proof term for the current goal is (Hf0fun x HxX).
rewrite the current goal using HdefCM (from left to right).
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HTx.
An exact proof term for the current goal is Hf0top.
Let x be given.
rewrite the current goal using Happ (from left to right).
Let V be given.
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(SepE1 X (λx0 : set ⇒ apply_fun f x0 ∈ V) x Hx).
We prove the intermediate
claim HxV:
apply_fun f x ∈ V.
An
exact proof term for the current goal is
(SepE2 X (λx0 : set ⇒ apply_fun f x0 ∈ V) x Hx).
We prove the intermediate
claim HxV0:
apply_fun f0 x ∈ V.
rewrite the current goal using Happ (from right to left).
An exact proof term for the current goal is HxV.
An
exact proof term for the current goal is
(SepI X (λx0 : set ⇒ apply_fun f0 x0 ∈ V) x HxX HxV0).
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(SepE1 X (λx0 : set ⇒ apply_fun f0 x0 ∈ V) x Hx).
We prove the intermediate
claim HxV:
apply_fun f0 x ∈ V.
An
exact proof term for the current goal is
(SepE2 X (λx0 : set ⇒ apply_fun f0 x0 ∈ V) x Hx).
We prove the intermediate
claim HxVf:
apply_fun f x ∈ V.
rewrite the current goal using Happ (from left to right).
An exact proof term for the current goal is HxV.
An
exact proof term for the current goal is
(SepI X (λx0 : set ⇒ apply_fun f x0 ∈ V) x HxX HxVf).
rewrite the current goal using HpreEq (from left to right).
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(setminusE1 X U x HxA).
rewrite the current goal using Happ (from left to right).
An exact proof term for the current goal is (Hf0zero 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).
rewrite the current goal using Happ (from left to right).
An exact proof term for the current goal is (Hf0pos x HxX HxnotA).
∎