Let f, X and Y be given.
Assume H: total_function_on f X Y.
An exact proof term for the current goal is (andEL (function_on f X Y) (∀x : set, x X∃y : set, y Y (x,y) f) H).