let R be non empty right_complementable Abelian add-associative right_zeroed well-unital distributive associative doubleLoopStr ; for V being non empty right_complementable Abelian add-associative right_zeroed ModuleStr over R
for F, G, H being FinSequence of V st len F = len G & len F = len H & ( for k being Nat st k in dom F holds
H . k = (F /. k) - (G /. k) ) holds
Sum H = (Sum F) - (Sum G)
let V be non empty right_complementable Abelian add-associative right_zeroed ModuleStr over R; for F, G, H being FinSequence of V st len F = len G & len F = len H & ( for k being Nat st k in dom F holds
H . k = (F /. k) - (G /. k) ) holds
Sum H = (Sum F) - (Sum G)
let F, G, H be FinSequence of V; ( len F = len G & len F = len H & ( for k being Nat st k in dom F holds
H . k = (F /. k) - (G /. k) ) implies Sum H = (Sum F) - (Sum G) )
assume that
A1:
len F = len G
and
A2:
len F = len H
and
A3:
for k being Nat st k in dom F holds
H . k = (F /. k) - (G /. k)
; Sum H = (Sum F) - (Sum G)
deffunc H1( Nat) -> Element of the carrier of V = - (G /. $1);
consider I being FinSequence such that
A4:
len I = len G
and
A5:
for k being Nat st k in dom I holds
I . k = H1(k)
from FINSEQ_1:sch 2();
A6:
dom I = Seg (len G)
by A4, FINSEQ_1:def 3;
then A7:
for k being Nat st k in Seg (len G) holds
I . k = H1(k)
by A5;
rng I c= the carrier of V
then reconsider I = I as FinSequence of V by FINSEQ_1:def 4;
A10:
Seg (len G) = dom G
by FINSEQ_1:def 3;
then A14:
Sum H = (Sum F) + (Sum I)
by A1, A2, A4, Th2;
Sum I = - (Sum G)
by A4, A7, A10, Th4;
hence
Sum H = (Sum F) - (Sum G)
by A14; verum