let n be Ordinal; :: thesis: for L being non empty right_complementable add-associative right_zeroed left-distributive doubleLoopStr
for p being Series of n,L
for a being Element of L holds a * p = (a | n,L) *' p
let L be non empty right_complementable add-associative right_zeroed left-distributive doubleLoopStr ; :: thesis: for p being Series of n,L
for a being Element of L holds a * p = (a | n,L) *' p
let p be Series of n,L; :: thesis: for a being Element of L holds a * p = (a | n,L) *' p
let a be Element of L; :: thesis: a * p = (a | n,L) *' p
A1:
Bags n = dom (a * p)
by FUNCT_2:def 1;
A2:
Bags n = dom ((a | n,L) *' p)
by FUNCT_2:def 1;
for x being set st x in Bags n holds
(a * p) . x = ((a | n,L) *' p) . x
proof
let x be
set ;
:: thesis: ( x in Bags n implies (a * p) . x = ((a | n,L) *' p) . x )
assume
x in Bags n
;
:: thesis: (a * p) . x = ((a | n,L) *' p) . x
then reconsider b =
x as
bag of
by POLYNOM1:def 14;
A3:
b is
Element of
Bags n
by POLYNOM1:def 14;
set O =
a | n,
L;
set cL = the
carrier of
L;
for
b being
Element of
Bags n holds
((a | n,L) *' p) . b = a * (p . b)
proof
let b be
Element of
Bags n;
:: thesis: ((a | n,L) *' p) . b = a * (p . b)
consider s being
FinSequence of the
carrier of
L such that A4:
((a | n,L) *' p) . b = Sum s
and A5:
len s = len (decomp b)
and A6:
for
k being
Element of
NAT st
k in dom s holds
ex
b1,
b2 being
bag of st
(
(decomp b) /. k = <*b1,b2*> &
s /. k = ((a | n,L) . b1) * (p . b2) )
by POLYNOM1:def 26;
A7:
len s <> 0
by A5;
then
not
s is
empty
;
then consider s1 being
Element of the
carrier of
L,
t being
FinSequence of the
carrier of
L such that A8:
s1 = s . 1
and A9:
s = <*s1*> ^ t
by FINSEQ_3:111;
A10:
Sum s = (Sum <*s1*>) + (Sum t)
by A9, RLVECT_1:58;
not
s is
empty
by A7;
then A11:
1
in dom s
by FINSEQ_5:6;
then consider b1,
b2 being
bag of
such that A12:
(decomp b) /. 1
= <*b1,b2*>
and A13:
s /. 1
= ((a | n,L) . b1) * (p . b2)
by A6;
(decomp b) /. 1
= <*(EmptyBag n),b*>
by POLYNOM1:75;
then A14:
(
b2 = b &
b1 = EmptyBag n )
by A12, GROUP_7:2;
A15:
s /. 1
= s . 1
by A11, PARTFUN1:def 8;
A16:
Sum <*s1*> =
s1
by RLVECT_1:61
.=
a * (p . b)
by A8, A13, A14, A15, Th18
;
now per cases
( t = <*> the carrier of L or t <> <*> the carrier of L )
;
suppose A17:
t <> <*> the
carrier of
L
;
:: thesis: Sum t = 0. Lnow let k be
Nat;
:: thesis: ( k in dom t implies t /. b1 = 0. L )assume A18:
k in dom t
;
:: thesis: t /. b1 = 0. Lthen A19:
t /. k =
t . k
by PARTFUN1:def 8
.=
s . (k + 1)
by A9, A18, FINSEQ_3:112
;
1
<= k
by A18, FINSEQ_3:27;
then A20:
1
< k + 1
by NAT_1:13;
A21:
dom s = dom (decomp b)
by A5, FINSEQ_3:31;
A22:
len s =
(len t) + (len <*s1*>)
by A9, FINSEQ_1:35
.=
(len t) + 1
by FINSEQ_1:56
;
k <= len t
by A18, FINSEQ_3:27;
then A23:
k + 1
<= len s
by A22, XREAL_1:8;
then A24:
k + 1
in dom (decomp b)
by A5, A20, FINSEQ_3:27;
then A25:
s /. (k + 1) = s . (k + 1)
by A21, PARTFUN1:def 8;
per cases
( k + 1 < len s or k + 1 = len s )
by A23, XXREAL_0:1;
suppose A26:
k + 1
< len s
;
:: thesis: t /. b1 = 0. Lreconsider k1 =
k as
Element of
NAT by ORDINAL1:def 13;
consider b1,
b2 being
bag of
such that A27:
(decomp b) /. (k1 + 1) = <*b1,b2*>
and A28:
s /. (k1 + 1) = ((a | n,L) . b1) * (p . b2)
by A6, A21, A24;
b1 <> EmptyBag n
by A5, A20, A26, A27, POLYNOM1:76;
hence t /. k =
(0. L) * (p . b2)
by A19, A25, A28, Th18
.=
0. L
by VECTSP_1:39
;
:: thesis: verum end; suppose A29:
k + 1
= len s
;
:: thesis: t /. b1 = 0. Lconsider b1,
b2 being
bag of
such that A30:
(decomp b) /. (k + 1) = <*b1,b2*>
and A31:
s /. (k + 1) = ((a | n,L) . b1) * (p . b2)
by A6, A21, A24;
(decomp b) /. (len s) = <*b,(EmptyBag n)*>
by A5, POLYNOM1:75;
then A32:
(
b2 = EmptyBag n &
b1 = b )
by A29, A30, GROUP_7:2;
then s . (k + 1) =
(0. L) * (p . (EmptyBag n))
by A25, A31, A32, Th18
.=
0. L
by VECTSP_1:39
;
hence
t /. k = 0. L
by A19;
:: thesis: verum end; end; end; hence
Sum t = 0. L
by MATRLIN:15;
:: thesis: verum end; end; end;
hence
((a | n,L) *' p) . b = a * (p . b)
by A4, A10, A16, RLVECT_1:10;
:: thesis: verum
end;
then ((a | n,L) *' p) . b =
a * (p . b)
by A3
.=
(a * p) . b
by Def10
;
hence
(a * p) . x = ((a | n,L) *' p) . x
;
:: thesis: verum
end;
hence
a * p = (a | n,L) *' p
by A1, A2, FUNCT_1:9; :: thesis: verum