Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(setminusE1 X X x Hx).
We prove the intermediate
claim HxnotX:
x ∉ X.
An
exact proof term for the current goal is
(setminusE2 X X x Hx).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotX HxX).