Let A and f be given.
Assume H.
Apply H to the current goal.
Set D to be the term
{f X|X ∈ 𝒫 A, f X ∉ X}.
We prove the intermediate
claim L1:
D ∈ 𝒫 A.
Apply PowerI to the current goal.
Let n be given.
Let X be given.
rewrite the current goal using H5 (from left to right).
Apply H1 to the current goal.
An exact proof term for the current goal is HX.
We prove the intermediate
claim L2:
f D ∉ D.
Let X be given.
We prove the intermediate
claim L2a:
D = X.
An exact proof term for the current goal is H2 D L1 X HX H5.
Apply H4 to the current goal.
rewrite the current goal using L2a (from right to left).
An exact proof term for the current goal is H3.
Apply L2 to the current goal.
An exact proof term for the current goal is L1.
An exact proof term for the current goal is L2.
∎