let X, Y be set ; :: thesis: ( X <> {} & Y <> {} implies ( dom [:X,Y:] = X & rng [:X,Y:] = Y ) )
assume
X <> {}
; :: thesis: ( not Y <> {} or ( dom [:X,Y:] = X & rng [:X,Y:] = Y ) )
then consider a being set such that
W1:
a in X
by XBOOLE_0:def 1;
assume
Y <> {}
; :: thesis: ( dom [:X,Y:] = X & rng [:X,Y:] = Y )
then consider b being set such that
W2:
b in Y
by XBOOLE_0:def 1;
for x being set st ex y being set st [x,y] in [:X,Y:] holds
x in X
by ZFMISC_1:106;
hence
dom [:X,Y:] = X
by A, Def4; :: thesis: rng [:X,Y:] = Y
for y being set st ex x being set st [x,y] in [:X,Y:] holds
y in Y
by ZFMISC_1:106;
hence
rng [:X,Y:] = Y
by Def5, A; :: thesis: verum