let X1, Y1, X2, Y2 be set ; :: thesis: ( X1 <> {} & Y1 <> {} & [:X1,Y1:] = [:X2,Y2:] implies ( X1 = X2 & Y1 = Y2 ) )
assume A1:
X1 <> {}
; :: thesis: ( not Y1 <> {} or not [:X1,Y1:] = [:X2,Y2:] or ( X1 = X2 & Y1 = Y2 ) )
then consider x being set such that
A2:
x in X1
by XBOOLE_0:7;
assume A3:
Y1 <> {}
; :: thesis: ( not [:X1,Y1:] = [:X2,Y2:] or ( X1 = X2 & Y1 = Y2 ) )
then consider y being set such that
A4:
y in Y1
by XBOOLE_0:7;
assume A5:
[:X1,Y1:] = [:X2,Y2:]
; :: thesis: ( X1 = X2 & Y1 = Y2 )
then
[:X2,Y2:] <> {}
by A1, A3, Th113;
then A6:
( X2 <> {} & Y2 <> {} )
by Th113;
for z being set holds
( z in X1 iff z in X2 )
hence
X1 = X2
by TARSKI:2; :: thesis: Y1 = Y2
for z being set holds
( z in Y1 iff z in Y2 )
hence
Y1 = Y2
by TARSKI:2; :: thesis: verum