let it1, it2 be Series of n,L; ( ( for b being bag of n ex s being FinSequence of the carrier of L st
( it1 . b = Sum s & len s = len (decomp b) & ( for k being Element of NAT st k in dom s holds
ex b1, b2 being bag of n st
( (decomp b) /. k = <*b1,b2*> & s /. k = (p . b1) * (q . b2) ) ) ) ) & ( for b being bag of n ex s being FinSequence of the carrier of L st
( it2 . b = Sum s & len s = len (decomp b) & ( for k being Element of NAT st k in dom s holds
ex b1, b2 being bag of n st
( (decomp b) /. k = <*b1,b2*> & s /. k = (p . b1) * (q . b2) ) ) ) ) implies it1 = it2 )
assume that
A7:
for b being bag of n ex s being FinSequence of the carrier of L st
( it1 . b = Sum s & len s = len (decomp b) & ( for k being Element of NAT st k in dom s holds
ex b1, b2 being bag of n st
( (decomp b) /. k = <*b1,b2*> & s /. k = (p . b1) * (q . b2) ) ) )
and
A8:
for b being bag of n ex s being FinSequence of the carrier of L st
( it2 . b = Sum s & len s = len (decomp b) & ( for k being Element of NAT st k in dom s holds
ex b1, b2 being bag of n st
( (decomp b) /. k = <*b1,b2*> & s /. k = (p . b1) * (q . b2) ) ) )
; it1 = it2
reconsider ita = it1, itb = it2 as Function of (Bags n), the carrier of L ;
now for b being Element of Bags n holds ita . b = itb . blet b be
Element of
Bags n;
ita . b = itb . bconsider sa being
FinSequence of the
carrier of
L such that A9:
ita . b = Sum sa
and A10:
len sa = len (decomp b)
and A11:
for
k being
Element of
NAT st
k in dom sa holds
ex
b1,
b2 being
bag of
n st
(
(decomp b) /. k = <*b1,b2*> &
sa /. k = (p . b1) * (q . b2) )
by A7;
consider sb being
FinSequence of the
carrier of
L such that A12:
itb . b = Sum sb
and A13:
len sb = len (decomp b)
and A14:
for
k being
Element of
NAT st
k in dom sb holds
ex
b1,
b2 being
bag of
n st
(
(decomp b) /. k = <*b1,b2*> &
sb /. k = (p . b1) * (q . b2) )
by A8;
now for k being Nat st 1 <= k & k <= len sa holds
sa . k = sb . klet k be
Nat;
( 1 <= k & k <= len sa implies sa . k = sb . k )assume A15:
( 1
<= k &
k <= len sa )
;
sa . k = sb . kthen A16:
k in dom sa
by FINSEQ_3:25;
then A17:
sa /. k = sa . k
by PARTFUN1:def 6;
A18:
k in dom sb
by A10, A13, A15, FINSEQ_3:25;
then A19:
sb /. k = sb . k
by PARTFUN1:def 6;
consider ab1,
ab2 being
bag of
n such that A20:
(decomp b) /. k = <*ab1,ab2*>
and A21:
sa /. k = (p . ab1) * (q . ab2)
by A11, A16;
consider bb1,
bb2 being
bag of
n such that A22:
(decomp b) /. k = <*bb1,bb2*>
and A23:
sb /. k = (p . bb1) * (q . bb2)
by A14, A18;
ab1 = bb1
by A20, A22, FINSEQ_1:77;
hence
sa . k = sb . k
by A20, A21, A22, A23, A17, A19, FINSEQ_1:77;
verum end; hence
ita . b = itb . b
by A9, A10, A12, A13, FINSEQ_1:14;
verum end;
hence
it1 = it2
; verum