Description: If the domain of a function given by maps-to notation is a set, the function is a set. Inference version of mptexg . (Contributed by NM, 22-Apr-2005) (Revised by Mario Carneiro, 20-Dec-2013)