let I be set ; :: thesis: for Z, X, Y being ManySortedSet of st Z is non-empty & ( [|X,Z|] c= [|Y,Z|] or [|Z,X|] c= [|Z,Y|] ) holds
X c= Y
let Z, X, Y be ManySortedSet of ; :: thesis: ( Z is non-empty & ( [|X,Z|] c= [|Y,Z|] or [|Z,X|] c= [|Z,Y|] ) implies X c= Y )
assume that
A1:
Z is non-empty
and
A2:
( [|X,Z|] c= [|Y,Z|] or [|Z,X|] c= [|Z,Y|] )
; :: thesis: X c= Y
per cases
( [|X,Z|] c= [|Y,Z|] or [|Z,X|] c= [|Z,Y|] )
by A2;
suppose A3:
[|X,Z|] c= [|Y,Z|]
;
:: thesis: X c= Ylet i be
set ;
:: according to PBOOLE:def 5 :: thesis: ( not i in I or X . i c= Y . i )assume A4:
i in I
;
:: thesis: X . i c= Y . ithen A5:
not
Z . i is
empty
by A1, PBOOLE:def 16;
[|X,Z|] . i c= [|Y,Z|] . i
by A3, A4, PBOOLE:def 5;
then
[:(X . i),(Z . i):] c= [|Y,Z|] . i
by A4, PBOOLE:def 21;
then
[:(X . i),(Z . i):] c= [:(Y . i),(Z . i):]
by A4, PBOOLE:def 21;
hence
X . i c= Y . i
by A5, ZFMISC_1:117;
:: thesis: verum end; suppose A6:
[|Z,X|] c= [|Z,Y|]
;
:: thesis: X c= Ylet i be
set ;
:: according to PBOOLE:def 5 :: thesis: ( not i in I or X . i c= Y . i )assume A7:
i in I
;
:: thesis: X . i c= Y . ithen A8:
not
Z . i is
empty
by A1, PBOOLE:def 16;
[|Z,X|] . i c= [|Z,Y|] . i
by A6, A7, PBOOLE:def 5;
then
[:(Z . i),(X . i):] c= [|Z,Y|] . i
by A7, PBOOLE:def 21;
then
[:(Z . i),(X . i):] c= [:(Z . i),(Y . i):]
by A7, PBOOLE:def 21;
hence
X . i c= Y . i
by A8, ZFMISC_1:117;
:: thesis: verum end; end;