let X, Y, Z be set ; for f being Function of [:X,Y:],Z st Z <> {} holds
~ f is Function of [:Y,X:],Z
let f be Function of [:X,Y:],Z; ( Z <> {} implies ~ f is Function of [:Y,X:],Z )
assume A1:
Z <> {}
; ~ f is Function of [:Y,X:],Z
then A2:
dom f = [:X,Y:]
by FUNCT_2:def 1;
then A3:
[:Y,X:] = dom (~ f)
by Th46;
rng f c= Z
;
then
rng (~ f) c= Z
by A2, Th47;
then reconsider R = ~ f as Relation of [:Y,X:],Z by A3, RELSET_1:4;
R is quasi_total
hence
~ f is Function of [:Y,X:],Z
; verum