let I be set ; :: thesis: for Y being ManySortedSet of I
for X being V8 ManySortedSet of I st ( for x being ManySortedSet of I holds
( x in X iff x in Y ) ) holds
X = Y
let Y be ManySortedSet of I; :: thesis: for X being V8 ManySortedSet of I st ( for x being ManySortedSet of I holds
( x in X iff x in Y ) ) holds
X = Y
let X be V8 ManySortedSet of I; :: thesis: ( ( for x being ManySortedSet of I holds
( x in X iff x in Y ) ) implies X = Y )
assume A1:
for x being ManySortedSet of I holds
( x in X iff x in Y )
; :: thesis: X = Y
deffunc H1( set ) -> set = X . $1;
A2:
for i being set st i in I holds
H1(i) <> {}
by Def16;
consider f being ManySortedSet of I such that
A3:
for i being set st i in I holds
f . i in H1(i)
from PBOOLE:sch 1(A2);
now let i be
set ;
:: thesis: ( i in I implies X . i = Y . i )assume A4:
i in I
;
:: thesis: X . i = Y . inow let e be
set ;
:: thesis: ( ( e in X . i implies e in Y . i ) & ( e in Y . i implies e in X . i ) )deffunc H2(
set )
-> set =
IFEQ i,$1,
e,
(f . $1);
consider g being
Function such that A5:
dom g = I
and A6:
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 A5, Def3;
A7:
g . i =
IFEQ i,
i,
e,
(f . i)
by A4, A6
.=
e
by FUNCOP_1:def 8
;
assume A11:
e in Y . i
;
:: thesis: e in X . i
g in Y
then
g in X
by A1;
hence
e in X . i
by A4, A7, Def4;
:: thesis: verum end; hence
X . i = Y . i
by TARSKI:2;
:: thesis: verum end;
hence
X = Y
by Th3; :: thesis: verum