let I be set ; :: thesis: for Z being ManySortedSet of I
for A being non-empty ManySortedSet of I st ( for X being ManySortedSet of I st X in A holds
X c= Z ) holds
union A c= Z

let Z be ManySortedSet of I; :: thesis: for A being non-empty ManySortedSet of I st ( for X being ManySortedSet of I st X in A holds
X c= Z ) holds
union A c= Z

let A be non-empty ManySortedSet of I; :: thesis: ( ( for X being ManySortedSet of I st X in A holds
X c= Z ) implies union A c= Z )

assume A1: for X being ManySortedSet of I st X in A holds
X c= Z ; :: thesis: union A c= Z
let i be object ; :: according to PBOOLE:def 2 :: thesis: ( not i in I or (union A) . i c= Z . i )
assume A2: i in I ; :: thesis: (union A) . i c= Z . i
for X9 being set st X9 in A . i holds
X9 c= Z . i
proof
consider M being ManySortedSet of I such that
A3: M in A by PBOOLE:134;
let X9 be set ; :: thesis: ( X9 in A . i implies X9 c= Z . i )
assume A4: X9 in A . i ; :: thesis: X9 c= Z . i
dom (M +* (i .--> X9)) = I by A2, Lm1;
then reconsider K = M +* (i .--> X9) as ManySortedSet of I by PARTFUN1:def 2, RELAT_1:def 18;
A5: dom (i .--> X9) = {i} ;
i in {i} by TARSKI:def 1;
then A6: K . i = (i .--> X9) . i by A5, FUNCT_4:13
.= X9 by FUNCOP_1:72 ;
K in A
proof
let j be object ; :: according to PBOOLE:def 1 :: thesis: ( not j in I or K . j in A . j )
assume A7: j in I ; :: thesis: K . j in A . j
now :: thesis: ( ( j = i & K . j in A . j ) or ( j <> i & K . j in A . j ) )
per cases ( j = i or j <> i ) ;
case j = i ; :: thesis: K . j in A . j
hence K . j in A . j by A4, A6; :: thesis: verum
end;
case j <> i ; :: thesis: K . j in A . j
then not j in dom (i .--> X9) by TARSKI:def 1;
then K . j = M . j by FUNCT_4:11;
hence K . j in A . j by A3, A7; :: thesis: verum
end;
end;
end;
hence K . j in A . j ; :: thesis: verum
end;
then K c= Z by A1;
hence X9 c= Z . i by A2, A6; :: thesis: verum
end;
then union (A . i) c= Z . i by ZFMISC_1:76;
hence (union A) . i c= Z . i by A2, Def2; :: thesis: verum