let F be Field; :: thesis: for m being Ordinal st m in card (nonConstantPolys F) holds
for p being non constant Polynomial of F holds
( (Lt (Poly (m,p))) . m = deg p & ( for o being Ordinal st o <> m holds
(Lt (Poly (m,p))) . o = 0 ) )

let m be Ordinal; :: thesis: ( m in card (nonConstantPolys F) implies for p being non constant Polynomial of F holds
( (Lt (Poly (m,p))) . m = deg p & ( for o being Ordinal st o <> m holds
(Lt (Poly (m,p))) . o = 0 ) ) )

assume AS: m in card (nonConstantPolys F) ; :: thesis: for p being non constant Polynomial of F holds
( (Lt (Poly (m,p))) . m = deg p & ( for o being Ordinal st o <> m holds
(Lt (Poly (m,p))) . o = 0 ) )

let p be non constant Polynomial of F; :: thesis: ( (Lt (Poly (m,p))) . m = deg p & ( for o being Ordinal st o <> m holds
(Lt (Poly (m,p))) . o = 0 ) )

set n = card (nonConstantPolys F);
set q = Poly (m,p);
for o being object st o in {m} holds
o in card (nonConstantPolys F) by AS, TARSKI:def 1;
then reconsider S = {m} as finite Subset of (card (nonConstantPolys F)) by TARSKI:def 3;
reconsider degp = deg p as non zero Element of NAT by RATFUNC1:def 2;
H: m in {m} by TARSKI:def 1;
K: deg p = (len p) - 1 by HURWITZ:def 2;
then I: deg p = (len p) -' 1 by XREAL_0:def 2;
set b = (S,degp) -bag ;
D: support ((S,degp) -bag) = S by UPROOTS:8;
E: (S,degp) -bag in Support (Poly (m,p))
proof
F: (Poly (m,p)) . ((S,degp) -bag) = p . (((S,degp) -bag) . m) by D, defPg
.= p . degp by H, UPROOTS:7 ;
p . degp = LC p by I, RATFUNC1:def 6;
then p . degp <> 0. F ;
hence (S,degp) -bag in Support (Poly (m,p)) by F, POLYNOM1:def 4; :: thesis: verum
end;
for b1 being bag of card (nonConstantPolys F) st b1 in Support (Poly (m,p)) holds
b1 <=' (S,degp) -bag
proof
let b1 be bag of card (nonConstantPolys F); :: thesis: ( b1 in Support (Poly (m,p)) implies b1 <=' (S,degp) -bag )
assume b1 in Support (Poly (m,p)) ; :: thesis: b1 <=' (S,degp) -bag
then E1: (Poly (m,p)) . b1 <> 0. F by POLYNOM1:def 4;
per cases ( support b1 = {} or support b1 = {m} or ( support b1 <> {} & support b1 <> {m} ) ) ;
suppose E0: support b1 = {m} ; :: thesis: b1 <=' (S,degp) -bag
per cases ( b1 = (S,degp) -bag or b1 <> (S,degp) -bag ) ;
suppose b1 = (S,degp) -bag ; :: thesis: b1 <=' (S,degp) -bag
hence b1 <=' (S,degp) -bag ; :: thesis: verum
end;
suppose EE: b1 <> (S,degp) -bag ; :: thesis: b1 <=' (S,degp) -bag
E4: (Poly (m,p)) . b1 = p . (b1 . m) by E0, defPg;
E3: ((S,degp) -bag) . m = (len p) - 1 by K, H, UPROOTS:7;
E7: now :: thesis: not b1 . m >= ((S,degp) -bag) . m
assume b1 . m >= ((S,degp) -bag) . m ; :: thesis: contradiction
per cases then ( b1 . m = ((S,degp) -bag) . m or b1 . m > ((S,degp) -bag) . m ) by XXREAL_0:1;
suppose E5: b1 . m = ((S,degp) -bag) . m ; :: thesis: contradiction
now :: thesis: for i being object st i in card (nonConstantPolys F) holds
b1 . i = ((S,degp) -bag) . i
let i be object ; :: thesis: ( i in card (nonConstantPolys F) implies b1 . b1 = ((S,degp) -bag) . b1 )
assume i in card (nonConstantPolys F) ; :: thesis: b1 . b1 = ((S,degp) -bag) . b1
per cases ( i = m or i <> m ) ;
suppose i = m ; :: thesis: b1 . b1 = ((S,degp) -bag) . b1
hence b1 . i = ((S,degp) -bag) . i by E5; :: thesis: verum
end;
suppose i <> m ; :: thesis: ((S,degp) -bag) . b1 = b1 . b1
then E6: not i in {m} by TARSKI:def 1;
hence ((S,degp) -bag) . i = 0 by UPROOTS:6
.= b1 . i by E6, E0, PRE_POLY:def 7 ;
:: thesis: verum
end;
end;
end;
hence contradiction by EE, PBOOLE:def 10; :: thesis: verum
end;
suppose b1 . m > ((S,degp) -bag) . m ; :: thesis: contradiction
end;
end;
end;
ex k being Ordinal st
( b1 . k < ((S,degp) -bag) . k & ( for l being Ordinal st l in k holds
b1 . l = ((S,degp) -bag) . l ) )
proof
take k = m; :: thesis: ( b1 . k < ((S,degp) -bag) . k & ( for l being Ordinal st l in k holds
b1 . l = ((S,degp) -bag) . l ) )

thus b1 . k < ((S,degp) -bag) . k by E7; :: thesis: for l being Ordinal st l in k holds
b1 . l = ((S,degp) -bag) . l

now :: thesis: for l being Ordinal st l in k holds
((S,degp) -bag) . l = b1 . l
let l be Ordinal; :: thesis: ( l in k implies ((S,degp) -bag) . l = b1 . l )
assume l in k ; :: thesis: ((S,degp) -bag) . l = b1 . l
then l <> k ;
then E8: not l in {m} by TARSKI:def 1;
hence ((S,degp) -bag) . l = 0 by UPROOTS:6
.= b1 . l by E8, E0, PRE_POLY:def 7 ;
:: thesis: verum
end;
hence for l being Ordinal st l in k holds
b1 . l = ((S,degp) -bag) . l ; :: thesis: verum
end;
hence b1 <=' (S,degp) -bag by PRE_POLY:def 9, PRE_POLY:def 10; :: thesis: verum
end;
end;
end;
suppose ( support b1 <> {} & support b1 <> {m} ) ; :: thesis: b1 <=' (S,degp) -bag
hence b1 <=' (S,degp) -bag by E1, defPg; :: thesis: verum
end;
end;
end;
then F: (S,degp) -bag = Lt (Poly (m,p)) by E, LT1;
hence (Lt (Poly (m,p))) . m = deg p by H, UPROOTS:7; :: thesis: for o being Ordinal st o <> m holds
(Lt (Poly (m,p))) . o = 0

now :: thesis: for o being Ordinal st o <> m holds
(Lt (Poly (m,p))) . o = 0
let o be Ordinal; :: thesis: ( o <> m implies (Lt (Poly (m,p))) . o = 0 )
assume o <> m ; :: thesis: (Lt (Poly (m,p))) . o = 0
then not o in {m} by TARSKI:def 1;
hence (Lt (Poly (m,p))) . o = 0 by F, UPROOTS:6; :: thesis: verum
end;
hence for o being Ordinal st o <> m holds
(Lt (Poly (m,p))) . o = 0 ; :: thesis: verum