Let g be given.
Assume H1.
Apply H1 to the current goal.
Set D to be the term
{n ∈ ω|n ∉ g n}.
We prove the intermediate
claim L1:
D ∈ 𝒫 ω.
Apply PowerI to the current goal.
Let n be given.
An
exact proof term for the current goal is
SepE1 ω (λn ⇒ n ∉ g n) n Hn.
Apply H2 D L1 to the current goal.
Let n be given.
Assume H3.
Apply H3 to the current goal.
We prove the intermediate
claim L2:
n ∉ D.
Apply SepE2 ω (λn ⇒ n ∉ g n) n H5 to the current goal.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is H5.
Apply L2 to the current goal.
Apply SepI to the current goal.
An exact proof term for the current goal is H3.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is L2.
∎