let R be non degenerated comRing; for h being Function of R,R
for s being FinSequence of the carrier of R st h is additive holds
h . (Sum s) = Sum (h * s)
let h be Function of R,R; for s being FinSequence of the carrier of R st h is additive holds
h . (Sum s) = Sum (h * s)
let s be FinSequence of the carrier of R; ( h is additive implies h . (Sum s) = Sum (h * s) )
assume A1:
h is additive
; h . (Sum s) = Sum (h * s)
defpred S1[ Nat] means for h being Function of R,R
for s being FinSequence of the carrier of R st len s = $1 & h is additive holds
h . (Sum s) = Sum (h * s);
A2:
S1[ 0 ]
A9:
for n being Nat st S1[n] holds
S1[n + 1]
proof
let n be
Nat;
( S1[n] implies S1[n + 1] )
assume A10:
S1[
n]
;
S1[n + 1]
for
h being
Function of
R,
R for
s being
FinSequence of the
carrier of
R st
len s = n + 1 &
h is
additive holds
h . (Sum s) = Sum (h * s)
proof
let h be
Function of
R,
R;
for s being FinSequence of the carrier of R st len s = n + 1 & h is additive holds
h . (Sum s) = Sum (h * s)let s be
FinSequence of the
carrier of
R;
( len s = n + 1 & h is additive implies h . (Sum s) = Sum (h * s) )
assume that A11:
len s = n + 1
and A12:
h is
additive
;
h . (Sum s) = Sum (h * s)
set s0 =
s | n;
dom s = Seg (n + 1)
by A11, FINSEQ_1:def 3;
then
s . (n + 1) in rng s
by FUNCT_1:3, FINSEQ_1:4;
then reconsider v =
s . (n + 1) as
Element of
R ;
A13:
n = len (s | n)
by A11, FINSEQ_1:59, NAT_1:11;
( 1
<= n + 1 &
n + 1
<= len s )
by A11, NAT_1:11;
then A15:
s /. (len s) = s . (n + 1)
by A11, FINSEQ_4:15;
then A16:
s = (s | n) ^ <*v*>
by A11, FINSEQ_5:21;
A17:
h * s =
h * ((s | n) ^ <*v*>)
by A15, A11, FINSEQ_5:21
.=
(h * (s | n)) ^ <*(h . v)*>
by FINSEQOP:8
;
h . (Sum s) =
h . ((Sum (s | n)) + (Sum <*v*>))
by A16, RLVECT_1:41
.=
h . ((Sum (s | n)) + v)
by RLVECT_1:44
.=
(h . (Sum (s | n))) + (h . v)
by A12
.=
(Sum (h * (s | n))) + (h . v)
by A10, A12, A13
.=
(Sum (h * (s | n))) + (Sum <*(h . v)*>)
by RLVECT_1:44
.=
Sum (h * s)
by A17, RLVECT_1:41
;
hence
h . (Sum s) = Sum (h * s)
;
verum
end;
hence
S1[
n + 1]
;
verum
end;
A18:
for n being Nat holds S1[n]
from NAT_1:sch 2(A2, A9);
len s is Nat
;
hence
h . (Sum s) = Sum (h * s)
by A1, A18; verum