Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(setminusE1 X B x HxXB).
We prove the intermediate
claim HxNotB:
x ∉ B.
An
exact proof term for the current goal is
(setminusE2 X B x HxXB).
We prove the intermediate
claim HgxR:
apply_fun g x ∈ R.
An exact proof term for the current goal is (Hgfun x HxX).
We prove the intermediate
claim HhxR:
apply_fun h x ∈ R.
An exact proof term for the current goal is (Hhfun x HxX).
We prove the intermediate
claim HxB:
x ∈ B.
An exact proof term for the current goal is (HxNotB HxB).