let R be non empty non trivial right_complementable add-associative right_zeroed well-unital distributive doubleLoopStr ; :: thesis: for n being Element of NAT
for b being bag of
for p1 being Polynomial of n,R
for F being FinSequence of the carrier of (Polynom-Ring n,R) st p1 = Sum F holds
ex g being Function of the carrier of (Polynom-Ring n,R),the carrier of R st
( ( for p being Polynomial of n,R holds g . p = p . b ) & p1 . b = Sum (g * F) )
let n be Element of NAT ; :: thesis: for b being bag of
for p1 being Polynomial of n,R
for F being FinSequence of the carrier of (Polynom-Ring n,R) st p1 = Sum F holds
ex g being Function of the carrier of (Polynom-Ring n,R),the carrier of R st
( ( for p being Polynomial of n,R holds g . p = p . b ) & p1 . b = Sum (g * F) )
let b be bag of ; :: thesis: for p1 being Polynomial of n,R
for F being FinSequence of the carrier of (Polynom-Ring n,R) st p1 = Sum F holds
ex g being Function of the carrier of (Polynom-Ring n,R),the carrier of R st
( ( for p being Polynomial of n,R holds g . p = p . b ) & p1 . b = Sum (g * F) )
let p1 be Polynomial of n,R; :: thesis: for F being FinSequence of the carrier of (Polynom-Ring n,R) st p1 = Sum F holds
ex g being Function of the carrier of (Polynom-Ring n,R),the carrier of R st
( ( for p being Polynomial of n,R holds g . p = p . b ) & p1 . b = Sum (g * F) )
let F be FinSequence of the carrier of (Polynom-Ring n,R); :: thesis: ( p1 = Sum F implies ex g being Function of the carrier of (Polynom-Ring n,R),the carrier of R st
( ( for p being Polynomial of n,R holds g . p = p . b ) & p1 . b = Sum (g * F) ) )
assume A1:
p1 = Sum F
; :: thesis: ex g being Function of the carrier of (Polynom-Ring n,R),the carrier of R st
( ( for p being Polynomial of n,R holds g . p = p . b ) & p1 . b = Sum (g * F) )
set PNR = Polynom-Ring n,R;
set CPNR = the carrier of (Polynom-Ring n,R);
set CR = the carrier of R;
defpred S1[ Element of the carrier of (Polynom-Ring n,R), Element of the carrier of R] means for p being Polynomial of n,R st p = $1 holds
$2 = p . b;
consider g being Function of the carrier of (Polynom-Ring n,R),the carrier of R such that
A3:
for x being Element of the carrier of (Polynom-Ring n,R) holds S1[x,g . x]
from FUNCT_2:sch 3(A2);
take
g
; :: thesis: ( ( for p being Polynomial of n,R holds g . p = p . b ) & p1 . b = Sum (g * F) )
hence
for p being Polynomial of n,R holds g . p = p . b
; :: thesis: p1 . b = Sum (g * F)
defpred S2[ Nat] means for F' being FinSequence of the carrier of (Polynom-Ring n,R)
for p1' being Polynomial of n,R st len F' <= $1 & p1' = Sum F' holds
p1' . b = Sum (g * F');
A4:
S2[ 0 ]
A8:
for k being Element of NAT st S2[k] holds
S2[k + 1]
proof
let k be
Element of
NAT ;
:: thesis: ( S2[k] implies S2[k + 1] )
assume A9:
S2[
k]
;
:: thesis: S2[k + 1]
now let F' be
FinSequence of the
carrier of
(Polynom-Ring n,R);
:: thesis: for p1' being Polynomial of n,R st len F' <= k + 1 & p1' = Sum F' holds
b3 . b = Sum (g * b2)let p1' be
Polynomial of
n,
R;
:: thesis: ( len F' <= k + 1 & p1' = Sum F' implies b2 . b = Sum (g * b1) )assume A10:
(
len F' <= k + 1 &
p1' = Sum F' )
;
:: thesis: b2 . b = Sum (g * b1)per cases
( len F' < k + 1 or len F' >= k + 1 )
;
suppose
len F' >= k + 1
;
:: thesis: b2 . b = Sum (g * b1)then
len F' = k + 1
by A10, XXREAL_0:1;
then consider p,
q being
FinSequence such that A11:
(
len p = k &
len q = 1 &
F' = p ^ q )
by FINSEQ_2:25;
rng p c= rng F'
by A11, FINSEQ_1:42;
then
rng p c= the
carrier of
(Polynom-Ring n,R)
by XBOOLE_1:1;
then reconsider p =
p as
FinSequence of the
carrier of
(Polynom-Ring n,R) by FINSEQ_1:def 4;
reconsider p' =
Sum p as
Polynomial of
n,
R by POLYNOM1:def 27;
A12:
p' . b = Sum (g * p)
by A9, A11;
rng q c= rng F'
by A11, FINSEQ_1:43;
then
rng q c= the
carrier of
(Polynom-Ring n,R)
by XBOOLE_1:1;
then reconsider q =
q as
FinSequence of the
carrier of
(Polynom-Ring n,R) by FINSEQ_1:def 4;
1
in dom q
by A11, FINSEQ_3:27;
then
q . 1
in rng q
by FUNCT_1:def 5;
then reconsider q' =
q . 1 as
Element of the
carrier of
(Polynom-Ring n,R) ;
A13:
q = <*q'*>
by A11, FINSEQ_1:57;
then A14:
q' = Sum q
by RLVECT_1:61;
reconsider q'' =
q' as
Polynomial of
n,
R by POLYNOM1:def 27;
g * q =
<*(g . q')*>
by A13, FINSEQ_2:39
.=
<*(q'' . b)*>
by A3
;
then A15:
Sum (g * q) = q'' . b
by RLVECT_1:61;
A16:
Sum F' = (Sum p) + (Sum q)
by A11, RLVECT_1:58;
A17:
g * F' = (g * p) ^ (g * q)
by A11, FINSEQOP:10;
p1' = p' + q''
by A10, A14, A16, POLYNOM1:def 27;
hence p1' . b =
(Sum (g * p)) + (Sum (g * q))
by A12, A15, POLYNOM1:def 21
.=
Sum (g * F')
by A17, RLVECT_1:58
;
:: thesis: verum end; end; end;
hence
S2[
k + 1]
;
:: thesis: verum
end;
for k being Element of NAT holds S2[k]
from NAT_1:sch 1(A4, A8);
then
S2[ len F]
;
hence
p1 . b = Sum (g * F)
by A1; :: thesis: verum