let I be set ; for X, Y being ManySortedSet of I st X is non-empty & X [= Y holds
X c= Y
let X, Y be ManySortedSet of I; ( X is non-empty & X [= Y implies X c= Y )
assume that
A1:
X is non-empty
and
A2:
X [= Y
; X c= Y
deffunc H1( set ) -> set = X . $1;
A3:
for i being set st i in I holds
H1(i) <> {}
by A1, Def16;
consider f being ManySortedSet of I such that
A4:
for i being set st i in I holds
f . i in H1(i)
from PBOOLE:sch 1(A3);
let i be set ; PBOOLE:def 2 ( i in I implies X . i c= Y . i )
assume A5:
i in I
; X . i c= Y . i
let e be set ; TARSKI:def 3 ( not e in X . i or e in Y . i )
deffunc H2( set ) -> set = IFEQ (i,$1,e,(f . $1));
consider g being Function such that
A6:
dom g = I
and
A7:
for u being set st u in I holds
g . u = H2(u)
from FUNCT_1:sch 3();
reconsider g = g as ManySortedSet of I by A6, PARTFUN1:def 2, RELAT_1:def 18;
A8: g . i =
IFEQ (i,i,e,(f . i))
by A5, A7
.=
e
by FUNCOP_1:def 8
;
assume A9:
e in X . i
; e in Y . i
g in X
then
g in Y
by A2, Def14;
hence
e in Y . i
by A5, A8, Def4; verum