let L be Field; :: thesis: for n being Element of NAT
for f being non-zero Polynomial of L st deg f = n holds
ex m being Element of NAT st
( m = card (Roots f) & m <= n )
defpred S1[ Nat] means for f being non-zero Polynomial of L st deg f = $1 holds
ex m being Element of NAT st
( m = card (Roots f) & m <= $1 );
A1:
S1[ 0 ]
A8:
now let k be
Element of
NAT ;
:: thesis: ( S1[k] implies S1[k + 1] )assume A9:
S1[
k]
;
:: thesis: S1[k + 1]now let f be
non-zero Polynomial of
L;
:: thesis: ( deg f = k + 1 implies ex m being Element of NAT st
( m = card (Roots f) & m <= k + 1 ) )A10:
f <> 0_. L
by UPROOTS:def 5;
assume A11:
deg f = k + 1
;
:: thesis: ex m being Element of NAT st
( m = card (Roots f) & m <= k + 1 )thus
ex
m being
Element of
NAT st
(
m = card (Roots f) &
m <= k + 1 )
:: thesis: verumproof
per cases
( Roots f = {} or Roots f <> {} )
;
suppose
Roots f <> {}
;
:: thesis: ex m being Element of NAT st
( m = card (Roots f) & m <= k + 1 )then consider z being
set such that A12:
z in Roots f
by XBOOLE_0:def 1;
reconsider z =
z as
Element of
L by A12;
A13:
z is_a_root_of f
by A12, POLYNOM5:def 9;
then A14:
rpoly 1,
z divides f
by HURWITZ:35;
set g =
f div (rpoly 1,z);
0_. L = f mod (rpoly 1,z)
by A14, HURWITZ:def 7;
then
(f div (rpoly 1,z)) *' (rpoly 1,z) = (f - ((f div (rpoly 1,z)) *' (rpoly 1,z))) + ((f div (rpoly 1,z)) *' (rpoly 1,z))
by POLYNOM3:29;
then
(f div (rpoly 1,z)) *' (rpoly 1,z) = f + ((- ((f div (rpoly 1,z)) *' (rpoly 1,z))) + ((f div (rpoly 1,z)) *' (rpoly 1,z)))
by POLYNOM3:26;
then
(f div (rpoly 1,z)) *' (rpoly 1,z) = f + (((f div (rpoly 1,z)) *' (rpoly 1,z)) - ((f div (rpoly 1,z)) *' (rpoly 1,z)))
;
then
(f div (rpoly 1,z)) *' (rpoly 1,z) = f + (0_. L)
by POLYNOM3:30;
then A15:
f = (f div (rpoly 1,z)) *' (rpoly 1,z)
by POLYNOM3:29;
f div (rpoly 1,z) <> 0_. L
by A10, A15, POLYNOM3:35;
then reconsider g =
f div (rpoly 1,z) as
non-zero Polynomial of
L by UPROOTS:def 5;
A16:
deg g =
(k + 1) - 1
by A10, A11, A13, HURWITZ:36
.=
k
;
set RG =
Roots g;
consider m1 being
Element of
NAT such that A17:
(
m1 = card (Roots g) &
m1 <= k )
by A9, A16;
A18:
Roots f c= (Roots g) \/ {z}
set RF =
Roots f;
card ((Roots g) \/ {z}) <= (card (Roots g)) + (card {z})
by CARD_2:62;
then A21:
card ((Roots g) \/ {z}) <= (card (Roots g)) + 1
by CARD_2:60;
card (Roots f) <= card ((Roots g) \/ {z})
by A18, NAT_1:44;
then A22:
card (Roots f) <= (card (Roots g)) + 1
by A21, XXREAL_0:2;
(card (Roots g)) + 1
<= k + 1
by A17, XREAL_1:8;
hence
ex
m being
Element of
NAT st
(
m = card (Roots f) &
m <= k + 1 )
by A22, XXREAL_0:2;
:: thesis: verum end; end;
end; end; hence
S1[
k + 1]
;
:: thesis: verum end;
for k being Element of NAT holds S1[k]
from NAT_1:sch 1(A1, A8);
hence
for n being Element of NAT
for f being non-zero Polynomial of L st deg f = n holds
ex m being Element of NAT st
( m = card (Roots f) & m <= n )
; :: thesis: verum