Let V be given.
We prove the intermediate
claim HUDef:
U = preimage_of X f V.
We prove the intermediate
claim HUopen:
U ∈ Tx.
rewrite the current goal using HUDef (from left to right).
An exact proof term for the current goal is (Hpre V HV).
We prove the intermediate
claim HxU:
x ∈ U.
rewrite the current goal using HUDef (from left to right).
An
exact proof term for the current goal is
(SepI X (λx0 : set ⇒ apply_fun f x0 ∈ V) x HxX HfxV).
We prove the intermediate
claim Htail0:
∀W : set, W ∈ Tx → x ∈ W → ∃N : set, N ∈ ω ∧ ∀n : set, n ∈ ω → N ⊆ n → apply_fun seq n ∈ W.
We prove the intermediate
claim Hevent:
∃N : set, N ∈ ω ∧ ∀n : set, n ∈ ω → N ⊆ n → apply_fun seq n ∈ U.
An exact proof term for the current goal is (Htail0 U HUopen HxU).
Apply Hevent to the current goal.
Let N be given.
Assume HNpair.
We prove the intermediate
claim HNomega:
N ∈ ω.
An
exact proof term for the current goal is
(andEL (N ∈ ω) (∀n : set, n ∈ ω → N ⊆ n → apply_fun seq n ∈ U) HNpair).
We prove the intermediate
claim Htail:
∀n : set, n ∈ ω → N ⊆ n → apply_fun seq n ∈ U.
An
exact proof term for the current goal is
(andER (N ∈ ω) (∀n : set, n ∈ ω → N ⊆ n → apply_fun seq n ∈ U) HNpair).
We use N to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HNomega.
Let n be given.
We prove the intermediate
claim HseqnU:
apply_fun seq n ∈ U.
An exact proof term for the current goal is (Htail n Hn HNsub).
rewrite the current goal using HUDef (from right to left).
An exact proof term for the current goal is HseqnU.
rewrite the current goal using Hcomp (from left to right).
An exact proof term for the current goal is HfnV.
∎