Let seq be given.
We prove the intermediate
claim HAcS:
A ⊆ S_Omega.
Let y be given.
Let n be given.
rewrite the current goal using Hydef (from left to right).
An exact proof term for the current goal is (Hseq n HnO).
We prove the intermediate
claim Hexb:
∃b : set, b ∈ S_Omega ∧ ∀a : set, a ∈ A → a ∈ b.
Apply Hexb to the current goal.
Let b be given.
We use b to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(andEL (b ∈ S_Omega) (∀a : set, a ∈ A → a ∈ b) Hb).
Let n be given.
We prove the intermediate
claim HAn:
apply_fun seq n ∈ A.
An
exact proof term for the current goal is
(ReplI ω (λn0 : set ⇒ apply_fun seq n0) n HnO).
∎