let F be Field; for E being FieldExtension of F
for a being Element of E
for n being Element of NAT
for l being Linear_Combination of VecSp (E,F) ex p being Polynomial of F st
( deg p <= n & ( for i being Element of NAT st i <= n holds
p . i = l . (a |^ i) ) )
let E be FieldExtension of F; for a being Element of E
for n being Element of NAT
for l being Linear_Combination of VecSp (E,F) ex p being Polynomial of F st
( deg p <= n & ( for i being Element of NAT st i <= n holds
p . i = l . (a |^ i) ) )
let a be Element of E; for n being Element of NAT
for l being Linear_Combination of VecSp (E,F) ex p being Polynomial of F st
( deg p <= n & ( for i being Element of NAT st i <= n holds
p . i = l . (a |^ i) ) )
let n be Element of NAT ; for l being Linear_Combination of VecSp (E,F) ex p being Polynomial of F st
( deg p <= n & ( for i being Element of NAT st i <= n holds
p . i = l . (a |^ i) ) )
let l be Linear_Combination of VecSp (E,F); ex p being Polynomial of F st
( deg p <= n & ( for i being Element of NAT st i <= n holds
p . i = l . (a |^ i) ) )
set V = VecSp (E,F);
defpred S1[ object , object ] means ( ex i being Nat st
( i <= n & $1 = i & $2 = l . (a |^ i) ) or ex i being Nat st
( i > n & $1 = i & $2 = 0. F ) );
A:
for x being Element of NAT ex y being Element of the carrier of F st S1[x,y]
consider p being Function of NAT, the carrier of F such that
B:
for x being Element of NAT holds S1[x,p . x]
from FUNCT_2:sch 3(A);
C1:
for i being Nat st i <= n holds
p . i = l . (a |^ i)
C2:
for i being Nat st i >= n + 1 holds
p . i = 0. F
then reconsider p = p as Polynomial of F by ALGSEQ_1:def 1;
take
p
; ( deg p <= n & ( for i being Element of NAT st i <= n holds
p . i = l . (a |^ i) ) )
n + 1 is_at_least_length_of p
by C2, ALGSEQ_1:def 2;
then
len p <= n + 1
by ALGSEQ_1:def 3;
then
(len p) - 1 <= (n + 1) - 1
by XREAL_1:9;
hence
deg p <= n
by HURWITZ:def 2; for i being Element of NAT st i <= n holds
p . i = l . (a |^ i)
thus
for i being Element of NAT st i <= n holds
p . i = l . (a |^ i)
by C1; verum