let R be non empty right_complementable Abelian add-associative right_zeroed associative well-unital distributive doubleLoopStr ; :: thesis: for a being Element of R
for V being non empty right_complementable Abelian add-associative right_zeroed VectSp-like VectSpStr of R
for F, G being FinSequence of the carrier of V st len F = len G & ( for k being Element of NAT
for v being Element of V st k in dom F & v = G . k holds
F . k = a * v ) holds
Sum F = a * (Sum G)
let a be Element of R; :: thesis: for V being non empty right_complementable Abelian add-associative right_zeroed VectSp-like VectSpStr of R
for F, G being FinSequence of the carrier of V st len F = len G & ( for k being Element of NAT
for v being Element of V st k in dom F & v = G . k holds
F . k = a * v ) holds
Sum F = a * (Sum G)
let V be non empty right_complementable Abelian add-associative right_zeroed VectSp-like VectSpStr of R; :: thesis: for F, G being FinSequence of the carrier of V st len F = len G & ( for k being Element of NAT
for v being Element of V st k in dom F & v = G . k holds
F . k = a * v ) holds
Sum F = a * (Sum G)
let F, G be FinSequence of the carrier of V; :: thesis: ( len F = len G & ( for k being Element of NAT
for v being Element of V st k in dom F & v = G . k holds
F . k = a * v ) implies Sum F = a * (Sum G) )
defpred S1[ Element of NAT ] means for H, I being FinSequence of the carrier of V st len H = len I & len H = $1 & ( for k being Element of NAT
for v being Element of V st k in dom H & v = I . k holds
H . k = a * v ) holds
Sum H = a * (Sum I);
A1:
S1[ 0 ]
A3:
for n being Element of NAT st S1[n] holds
S1[n + 1]
proof
let n be
Element of
NAT ;
:: thesis: ( S1[n] implies S1[n + 1] )
assume A4:
for
H,
I being
FinSequence of the
carrier of
V st
len H = len I &
len H = n & ( for
k being
Element of
NAT for
v being
Element of
V st
k in dom H &
v = I . k holds
H . k = a * v ) holds
Sum H = a * (Sum I)
;
:: thesis: S1[n + 1]
let H,
I be
FinSequence of the
carrier of
V;
:: thesis: ( len H = len I & len H = n + 1 & ( for k being Element of NAT
for v being Element of V st k in dom H & v = I . k holds
H . k = a * v ) implies Sum H = a * (Sum I) )
assume that A5:
len H = len I
and A6:
len H = n + 1
and A7:
for
k being
Element of
NAT for
v being
Element of
V st
k in dom H &
v = I . k holds
H . k = a * v
;
:: thesis: Sum H = a * (Sum I)
reconsider p =
H | (Seg n),
q =
I | (Seg n) as
FinSequence of the
carrier of
V by FINSEQ_1:23;
A8:
n <= n + 1
by NAT_1:12;
then A9:
(
len p = n &
len q = n )
by A5, A6, FINSEQ_1:21;
n + 1
in Seg (n + 1)
by FINSEQ_1:6;
then A14:
(
n + 1
in dom H &
dom H = dom I )
by A5, A6, FINSEQ_1:def 3, FINSEQ_3:31;
then reconsider v1 =
H . (n + 1),
v2 =
I . (n + 1) as
Element of
V by FINSEQ_2:13;
A15:
v1 = a * v2
by A7, A14;
A16:
(
p = H | (dom p) &
q = I | (dom q) )
by A5, A6, A8, FINSEQ_1:21;
hence Sum H =
(Sum p) + v1
by A6, A9, RLVECT_1:55
.=
(a * (Sum q)) + (a * v2)
by A4, A9, A10, A15
.=
a * ((Sum q) + v2)
by VECTSP_1:def 26
.=
a * (Sum I)
by A5, A6, A9, A16, RLVECT_1:55
;
:: thesis: verum
end;
for n being Element of NAT holds S1[n]
from NAT_1:sch 1(A1, A3);
hence
( len F = len G & ( for k being Element of NAT
for v being Element of V st k in dom F & v = G . k holds
F . k = a * v ) implies Sum F = a * (Sum G) )
; :: thesis: verum