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 vector-distributive scalar-distributive scalar-associative scalar-unital 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 vector-distributive scalar-distributive scalar-associative scalar-unital 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 vector-distributive scalar-distributive scalar-associative scalar-unital 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: 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 A2: 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
A3: len H = len I and
A4: len H = n + 1 and
A5: 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;
A6: n <= n + 1 by NAT_1:12;
then A7: q = I | (dom q) by A3, A4, FINSEQ_1:21;
A8: len p = n by A4, A6, FINSEQ_1:21;
A9: len q = n by A3, A4, A6, FINSEQ_1:21;
A10: now
A11: dom p c= dom H by A4, A6, A8, FINSEQ_3:32;
let k be Element of NAT ; :: thesis: for v being Element of V st k in dom p & v = q . k holds
p . k = a * v

let v be Element of V; :: thesis: ( k in dom p & v = q . k implies p . k = a * v )
assume that
A12: k in dom p and
A13: v = q . k ; :: thesis: p . k = a * v
dom q = dom p by A8, A9, FINSEQ_3:31;
then I . k = q . k by A12, FUNCT_1:70;
then H . k = a * v by A5, A12, A13, A11;
hence p . k = a * v by A12, FUNCT_1:70; :: thesis: verum
end;
n + 1 in Seg (n + 1) by FINSEQ_1:6;
then A14: n + 1 in dom H by A4, FINSEQ_1:def 3;
dom H = dom I by A3, FINSEQ_3:31;
then reconsider v1 = H . (n + 1), v2 = I . (n + 1) as Element of V by A14, FINSEQ_2:13;
A15: v1 = a * v2 by A5, A14;
p = H | (dom p) by A4, A6, FINSEQ_1:21;
hence Sum H = (Sum p) + v1 by A4, A8, RLVECT_1:55
.= (a * (Sum q)) + (a * v2) by A2, A8, A9, A10, A15
.= a * ((Sum q) + v2) by VECTSP_1:def 26
.= a * (Sum I) by A3, A4, A9, A7, RLVECT_1:55 ;
:: thesis: verum
end;
A16: S1[ 0 ]
proof
let H, I be FinSequence of the carrier of V; :: thesis: ( len H = len I & len H = 0 & ( 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
A17: len H = len I and
A18: len H = 0 and
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)
H = <*> the carrier of V by A18;
then A19: Sum H = 0. V by RLVECT_1:60;
I = <*> the carrier of V by A17, A18;
then Sum I = 0. V by RLVECT_1:60;
hence Sum H = a * (Sum I) by A19, VECTSP_1:59; :: thesis: verum
end;
for n being Element of NAT holds S1[n] from NAT_1:sch 1(A16, A1);
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