let X, Y, Z be set ; for f being Function of X,Y st ( Y = {} implies X = {} ) & Z c= X holds
f | Z is Function of Z,Y
let f be Function of X,Y; ( ( Y = {} implies X = {} ) & Z c= X implies f | Z is Function of Z,Y )
assume that
A1:
( Y = {} implies X = {} )
and
A2:
Z c= X
; f | Z is Function of Z,Y
dom f = X
by A1, Def1;
then A3:
Z = dom (f | Z)
by A2, RELAT_1:62;
rng (f | Z) c= Y
;
then reconsider R = f | Z as Relation of Z,Y by A3, RELSET_1:4;
R is quasi_total
hence
f | Z is Function of Z,Y
; verum