Let A and f be given.
Assume H.
Apply H to the current goal.
Set D to be the term
{x ∈ A|x ∉ f x}.
We prove the intermediate
claim L1:
D ∈ 𝒫 A.
An
exact proof term for the current goal is
Sep_In_Power A (λx ⇒ x ∉ f x).
Apply H2 D L1 to the current goal.
Let d be given.
Assume H.
Apply H to the current goal.
We prove the intermediate
claim L2:
d ∉ D.
Apply SepE2 A (λx ⇒ x ∉ f x) d H3 to the current goal.
rewrite the current goal using HfdD (from left to right).
An exact proof term for the current goal is H3.
Apply L2 to the current goal.
Apply SepI to the current goal.
An exact proof term for the current goal is Hd.
rewrite the current goal using HfdD (from left to right).
An exact proof term for the current goal is L2.
∎