MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fta1 Structured version   Unicode version

Theorem fta1 20227
Description: The easy direction of the Fundamental Theorem of Algebra: A nonzero polynomial has at most deg ( F ) roots. (Contributed by Mario Carneiro, 26-Jul-2014.)
Hypothesis
Ref Expression
fta1.1  |-  R  =  ( `' F " { 0 } )
Assertion
Ref Expression
fta1  |-  ( ( F  e.  (Poly `  S )  /\  F  =/=  0 p )  -> 
( R  e.  Fin  /\  ( # `  R
)  <_  (deg `  F
) ) )

Proof of Theorem fta1
Dummy variables  x  g  f  d are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2438 . 2  |-  (deg `  F )  =  (deg
`  F )
2 dgrcl 20154 . . . . 5  |-  ( F  e.  (Poly `  S
)  ->  (deg `  F
)  e.  NN0 )
32adantr 453 . . . 4  |-  ( ( F  e.  (Poly `  S )  /\  F  =/=  0 p )  -> 
(deg `  F )  e.  NN0 )
4 eqeq2 2447 . . . . . . 7  |-  ( x  =  0  ->  (
(deg `  f )  =  x  <->  (deg `  f )  =  0 ) )
54imbi1d 310 . . . . . 6  |-  ( x  =  0  ->  (
( (deg `  f
)  =  x  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  <->  ( (deg `  f )  =  0  ->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) ) )
65ralbidv 2727 . . . . 5  |-  ( x  =  0  ->  ( A. f  e.  (
(Poly `  CC )  \  { 0 p }
) ( (deg `  f )  =  x  ->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) )  <->  A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  0  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) ) )
7 eqeq2 2447 . . . . . . 7  |-  ( x  =  d  ->  (
(deg `  f )  =  x  <->  (deg `  f )  =  d ) )
87imbi1d 310 . . . . . 6  |-  ( x  =  d  ->  (
( (deg `  f
)  =  x  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  <->  ( (deg `  f )  =  d  ->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) ) )
98ralbidv 2727 . . . . 5  |-  ( x  =  d  ->  ( A. f  e.  (
(Poly `  CC )  \  { 0 p }
) ( (deg `  f )  =  x  ->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) )  <->  A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  d  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) ) )
10 eqeq2 2447 . . . . . . 7  |-  ( x  =  ( d  +  1 )  ->  (
(deg `  f )  =  x  <->  (deg `  f )  =  ( d  +  1 ) ) )
1110imbi1d 310 . . . . . 6  |-  ( x  =  ( d  +  1 )  ->  (
( (deg `  f
)  =  x  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  <->  ( (deg `  f )  =  ( d  +  1 )  ->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) ) )
1211ralbidv 2727 . . . . 5  |-  ( x  =  ( d  +  1 )  ->  ( A. f  e.  (
(Poly `  CC )  \  { 0 p }
) ( (deg `  f )  =  x  ->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) )  <->  A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  ( d  +  1 )  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) ) )
13 eqeq2 2447 . . . . . . 7  |-  ( x  =  (deg `  F
)  ->  ( (deg `  f )  =  x  <-> 
(deg `  f )  =  (deg `  F )
) )
1413imbi1d 310 . . . . . 6  |-  ( x  =  (deg `  F
)  ->  ( (
(deg `  f )  =  x  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) )  <->  ( (deg `  f )  =  (deg
`  F )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) ) )
1514ralbidv 2727 . . . . 5  |-  ( x  =  (deg `  F
)  ->  ( A. f  e.  ( (Poly `  CC )  \  {
0 p } ) ( (deg `  f
)  =  x  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  <->  A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  (deg `  F )  ->  ( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) ) )
16 eldifsni 3930 . . . . . . . . . . 11  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
f  =/=  0 p )
1716adantr 453 . . . . . . . . . 10  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  f  =/=  0 p )
18 simplr 733 . . . . . . . . . . . . . . 15  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  (deg `  f
)  =  0 )
19 eldifi 3471 . . . . . . . . . . . . . . . . 17  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
f  e.  (Poly `  CC ) )
2019ad2antrr 708 . . . . . . . . . . . . . . . 16  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  f  e.  (Poly `  CC ) )
21 0dgrb 20167 . . . . . . . . . . . . . . . 16  |-  ( f  e.  (Poly `  CC )  ->  ( (deg `  f )  =  0  <-> 
f  =  ( CC 
X.  { ( f `
 0 ) } ) ) )
2220, 21syl 16 . . . . . . . . . . . . . . 15  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( (deg `  f )  =  0  <-> 
f  =  ( CC 
X.  { ( f `
 0 ) } ) ) )
2318, 22mpbid 203 . . . . . . . . . . . . . 14  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  f  =  ( CC  X.  { ( f `  0 ) } ) )
2423fveq1d 5732 . . . . . . . . . . . . . . . . 17  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( f `  x )  =  ( ( CC  X.  {
( f `  0
) } ) `  x ) )
2519adantr 453 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  f  e.  (Poly `  CC ) )
26 plyf 20119 . . . . . . . . . . . . . . . . . . . 20  |-  ( f  e.  (Poly `  CC )  ->  f : CC --> CC )
27 ffn 5593 . . . . . . . . . . . . . . . . . . . 20  |-  ( f : CC --> CC  ->  f  Fn  CC )
28 fniniseg 5853 . . . . . . . . . . . . . . . . . . . 20  |-  ( f  Fn  CC  ->  (
x  e.  ( `' f " { 0 } )  <->  ( x  e.  CC  /\  ( f `
 x )  =  0 ) ) )
2925, 26, 27, 284syl 20 . . . . . . . . . . . . . . . . . . 19  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  ( x  e.  ( `' f " { 0 } )  <-> 
( x  e.  CC  /\  ( f `  x
)  =  0 ) ) )
3029biimpa 472 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( x  e.  CC  /\  ( f `
 x )  =  0 ) )
3130simprd 451 . . . . . . . . . . . . . . . . 17  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( f `  x )  =  0 )
3230simpld 447 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  x  e.  CC )
33 fvex 5744 . . . . . . . . . . . . . . . . . . 19  |-  ( f `
 0 )  e. 
_V
3433fvconst2 5949 . . . . . . . . . . . . . . . . . 18  |-  ( x  e.  CC  ->  (
( CC  X.  {
( f `  0
) } ) `  x )  =  ( f `  0 ) )
3532, 34syl 16 . . . . . . . . . . . . . . . . 17  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( ( CC 
X.  { ( f `
 0 ) } ) `  x )  =  ( f ` 
0 ) )
3624, 31, 353eqtr3rd 2479 . . . . . . . . . . . . . . . 16  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( f ` 
0 )  =  0 )
3736sneqd 3829 . . . . . . . . . . . . . . 15  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  { ( f `
 0 ) }  =  { 0 } )
3837xpeq2d 4904 . . . . . . . . . . . . . 14  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( CC  X.  { ( f ` 
0 ) } )  =  ( CC  X.  { 0 } ) )
3923, 38eqtrd 2470 . . . . . . . . . . . . 13  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  f  =  ( CC  X.  { 0 } ) )
40 df-0p 19564 . . . . . . . . . . . . 13  |-  0 p  =  ( CC  X.  { 0 } )
4139, 40syl6eqr 2488 . . . . . . . . . . . 12  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  f  =  0 p )
4241ex 425 . . . . . . . . . . 11  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  ( x  e.  ( `' f " { 0 } )  ->  f  =  0 p ) )
4342necon3ad 2639 . . . . . . . . . 10  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  ( f  =/=  0 p  ->  -.  x  e.  ( `' f " { 0 } ) ) )
4417, 43mpd 15 . . . . . . . . 9  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  -.  x  e.  ( `' f " {
0 } ) )
4544eq0rdv 3664 . . . . . . . 8  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  ( `' f
" { 0 } )  =  (/) )
4645ex 425 . . . . . . 7  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
( (deg `  f
)  =  0  -> 
( `' f " { 0 } )  =  (/) ) )
47 dgrcl 20154 . . . . . . . . 9  |-  ( f  e.  (Poly `  CC )  ->  (deg `  f
)  e.  NN0 )
48 nn0ge0 10249 . . . . . . . . 9  |-  ( (deg
`  f )  e. 
NN0  ->  0  <_  (deg `  f ) )
4919, 47, 483syl 19 . . . . . . . 8  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
0  <_  (deg `  f
) )
50 id 21 . . . . . . . . . . 11  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( `' f
" { 0 } )  =  (/) )
51 0fin 7338 . . . . . . . . . . 11  |-  (/)  e.  Fin
5250, 51syl6eqel 2526 . . . . . . . . . 10  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( `' f
" { 0 } )  e.  Fin )
5352biantrurd 496 . . . . . . . . 9  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( ( # `  ( `' f " { 0 } ) )  <_  (deg `  f
)  <->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) )
54 fveq2 5730 . . . . . . . . . . 11  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( # `  ( `' f " {
0 } ) )  =  ( # `  (/) ) )
55 hash0 11648 . . . . . . . . . . 11  |-  ( # `  (/) )  =  0
5654, 55syl6eq 2486 . . . . . . . . . 10  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( # `  ( `' f " {
0 } ) )  =  0 )
5756breq1d 4224 . . . . . . . . 9  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( ( # `  ( `' f " { 0 } ) )  <_  (deg `  f
)  <->  0  <_  (deg `  f ) ) )
5853, 57bitr3d 248 . . . . . . . 8  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) )  <->  0  <_  (deg
`  f ) ) )
5949, 58syl5ibrcom 215 . . . . . . 7  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
( ( `' f
" { 0 } )  =  (/)  ->  (
( `' f " { 0 } )  e.  Fin  /\  ( # `
 ( `' f
" { 0 } ) )  <_  (deg `  f ) ) ) )
6046, 59syld 43 . . . . . 6  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
( (deg `  f
)  =  0  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) )
6160rgen 2773 . . . . 5  |-  A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  0  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) )
62 fveq2 5730 . . . . . . . . 9  |-  ( f  =  g  ->  (deg `  f )  =  (deg
`  g ) )
6362eqeq1d 2446 . . . . . . . 8  |-  ( f  =  g  ->  (
(deg `  f )  =  d  <->  (deg `  g )  =  d ) )
64 cnveq 5048 . . . . . . . . . . 11  |-  ( f  =  g  ->  `' f  =  `' g
)
6564imaeq1d 5204 . . . . . . . . . 10  |-  ( f  =  g  ->  ( `' f " {
0 } )  =  ( `' g " { 0 } ) )
6665eleq1d 2504 . . . . . . . . 9  |-  ( f  =  g  ->  (
( `' f " { 0 } )  e.  Fin  <->  ( `' g " { 0 } )  e.  Fin )
)
6765fveq2d 5734 . . . . . . . . . 10  |-  ( f  =  g  ->  ( # `
 ( `' f
" { 0 } ) )  =  (
# `  ( `' g " { 0 } ) ) )
6867, 62breq12d 4227 . . . . . . . . 9  |-  ( f  =  g  ->  (
( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )  <->  (
# `  ( `' g " { 0 } ) )  <_  (deg `  g ) ) )
6966, 68anbi12d 693 . . . . . . . 8  |-  ( f  =  g  ->  (
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
)  <->  ( ( `' g " { 0 } )  e.  Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) )
7063, 69imbi12d 313 . . . . . . 7  |-  ( f  =  g  ->  (
( (deg `  f
)  =  d  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  <->  ( (deg `  g )  =  d  ->  ( ( `' g " { 0 } )  e.  Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) ) )
7170cbvralv 2934 . . . . . 6  |-  ( A. f  e.  ( (Poly `  CC )  \  {
0 p } ) ( (deg `  f
)  =  d  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  <->  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) )
7249ad2antlr 709 . . . . . . . . . . . 12  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  0  <_  (deg
`  f ) )
7372, 58syl5ibrcom 215 . . . . . . . . . . 11  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  ( ( `' f " {
0 } )  =  (/)  ->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) )
7473a1dd 45 . . . . . . . . . 10  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  ( ( `' f " {
0 } )  =  (/)  ->  ( A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) ) )
75 n0 3639 . . . . . . . . . . 11  |-  ( ( `' f " {
0 } )  =/=  (/) 
<->  E. x  x  e.  ( `' f " { 0 } ) )
76 eqid 2438 . . . . . . . . . . . . . 14  |-  ( `' f " { 0 } )  =  ( `' f " {
0 } )
77 simplll 736 . . . . . . . . . . . . . 14  |-  ( ( ( ( d  e. 
NN0  /\  f  e.  ( (Poly `  CC )  \  { 0 p }
) )  /\  (deg `  f )  =  ( d  +  1 ) )  /\  ( x  e.  ( `' f
" { 0 } )  /\  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) ) )  ->  d  e.  NN0 )
78 simpllr 737 . . . . . . . . . . . . . 14  |-  ( ( ( ( d  e. 
NN0  /\  f  e.  ( (Poly `  CC )  \  { 0 p }
) )  /\  (deg `  f )  =  ( d  +  1 ) )  /\  ( x  e.  ( `' f
" { 0 } )  /\  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) ) )  ->  f  e.  ( (Poly `  CC )  \  { 0 p }
) )
79 simplr 733 . . . . . . . . . . . . . 14  |-  ( ( ( ( d  e. 
NN0  /\  f  e.  ( (Poly `  CC )  \  { 0 p }
) )  /\  (deg `  f )  =  ( d  +  1 ) )  /\  ( x  e.  ( `' f
" { 0 } )  /\  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) ) )  ->  (deg `  f
)  =  ( d  +  1 ) )
80 simprl 734 . . . . . . . . . . . . . 14  |-  ( ( ( ( d  e. 
NN0  /\  f  e.  ( (Poly `  CC )  \  { 0 p }
) )  /\  (deg `  f )  =  ( d  +  1 ) )  /\  ( x  e.  ( `' f
" { 0 } )  /\  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) ) )  ->  x  e.  ( `' f " {
0 } ) )
81 simprr 735 . . . . . . . . . . . . . 14  |-  ( ( ( ( d  e. 
NN0  /\  f  e.  ( (Poly `  CC )  \  { 0 p }
) )  /\  (deg `  f )  =  ( d  +  1 ) )  /\  ( x  e.  ( `' f
" { 0 } )  /\  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) ) )  ->  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) )
8276, 77, 78, 79, 80, 81fta1lem 20226 . . . . . . . . . . . . 13  |-  ( ( ( ( d  e. 
NN0  /\  f  e.  ( (Poly `  CC )  \  { 0 p }
) )  /\  (deg `  f )  =  ( d  +  1 ) )  /\  ( x  e.  ( `' f
" { 0 } )  /\  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) ) )  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) )
8382exp32 590 . . . . . . . . . . . 12  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  ( x  e.  ( `' f " { 0 } )  ->  ( A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) ) )
8483exlimdv 1647 . . . . . . . . . . 11  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  ( E. x  x  e.  ( `' f " {
0 } )  -> 
( A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) ) )
8575, 84syl5bi 210 . . . . . . . . . 10  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  ( ( `' f " {
0 } )  =/=  (/)  ->  ( A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) ) )
8674, 85pm2.61dne 2683 . . . . . . . . 9  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  ( A. g  e.  ( (Poly `  CC )  \  {
0 p } ) ( (deg `  g
)  =  d  -> 
( ( `' g
" { 0 } )  e.  Fin  /\  ( # `  ( `' g " { 0 } ) )  <_ 
(deg `  g )
) )  ->  (
( `' f " { 0 } )  e.  Fin  /\  ( # `
 ( `' f
" { 0 } ) )  <_  (deg `  f ) ) ) )
8786ex 425 . . . . . . . 8  |-  ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  ->  ( (deg `  f )  =  ( d  +  1 )  ->  ( A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) ) )
8887com23 75 . . . . . . 7  |-  ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  ->  ( A. g  e.  ( (Poly `  CC )  \  {
0 p } ) ( (deg `  g
)  =  d  -> 
( ( `' g
" { 0 } )  e.  Fin  /\  ( # `  ( `' g " { 0 } ) )  <_ 
(deg `  g )
) )  ->  (
(deg `  f )  =  ( d  +  1 )  ->  (
( `' f " { 0 } )  e.  Fin  /\  ( # `
 ( `' f
" { 0 } ) )  <_  (deg `  f ) ) ) ) )
8988ralrimdva 2798 . . . . . 6  |-  ( d  e.  NN0  ->  ( A. g  e.  ( (Poly `  CC )  \  {
0 p } ) ( (deg `  g
)  =  d  -> 
( ( `' g
" { 0 } )  e.  Fin  /\  ( # `  ( `' g " { 0 } ) )  <_ 
(deg `  g )
) )  ->  A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  ( d  +  1 )  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) ) )
9071, 89syl5bi 210 . . . . 5  |-  ( d  e.  NN0  ->  ( A. f  e.  ( (Poly `  CC )  \  {
0 p } ) ( (deg `  f
)  =  d  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  ->  A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  ( d  +  1 )  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) ) )
916, 9, 12, 15, 61, 90nn0ind 10368 . . . 4  |-  ( (deg
`  F )  e. 
NN0  ->  A. f  e.  ( (Poly `  CC )  \  { 0 p }
) ( (deg `  f )  =  (deg
`  F )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) )
923, 91syl 16 . . 3  |-  ( ( F  e.  (Poly `  S )  /\  F  =/=  0 p )  ->  A. f  e.  (
(Poly `  CC )  \  { 0 p }
) ( (deg `  f )  =  (deg
`  F )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) )
93 plyssc 20121 . . . . 5  |-  (Poly `  S )  C_  (Poly `  CC )
9493sseli 3346 . . . 4  |-  ( F  e.  (Poly `  S
)  ->  F  e.  (Poly `  CC ) )
95 eldifsn 3929 . . . . 5  |-  ( F  e.  ( (Poly `  CC )  \  { 0 p } )  <->  ( F  e.  (Poly `  CC )  /\  F  =/=  0 p ) )
96 fveq2 5730 . . . . . . . 8  |-  ( f  =  F  ->  (deg `  f )  =  (deg
`  F ) )
9796eqeq1d 2446 . . . . . . 7  |-  ( f  =  F  ->  (
(deg `  f )  =  (deg `  F )  <->  (deg
`  F )  =  (deg `  F )
) )
98 cnveq 5048 . . . . . . . . . . 11  |-  ( f  =  F  ->  `' f  =  `' F
)
9998imaeq1d 5204 . . . . . . . . . 10  |-  ( f  =  F  ->  ( `' f " {
0 } )  =  ( `' F " { 0 } ) )
100 fta1.1 . . . . . . . . . 10  |-  R  =  ( `' F " { 0 } )
10199, 100syl6eqr 2488 . . . . . . . . 9  |-  ( f  =  F  ->  ( `' f " {
0 } )  =  R )
102101eleq1d 2504 . . . . . . . 8  |-  ( f  =  F  ->  (
( `' f " { 0 } )  e.  Fin  <->  R  e.  Fin ) )
103101fveq2d 5734 . . . . . . . . 9  |-  ( f  =  F  ->  ( # `
 ( `' f
" { 0 } ) )  =  (
# `  R )
)
104103, 96breq12d 4227 . . . . . . . 8  |-  ( f  =  F  ->  (
( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )  <->  (
# `  R )  <_  (deg `  F )
) )
105102, 104anbi12d 693 . . . . . . 7  |-  ( f  =  F  ->  (
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
)  <->  ( R  e. 
Fin  /\  ( # `  R
)  <_  (deg `  F
) ) ) )
10697, 105imbi12d 313 . . . . . 6  |-  ( f  =  F  ->  (
( (deg `  f
)  =  (deg `  F )  ->  (
( `' f " { 0 } )  e.  Fin  /\  ( # `
 ( `' f
" { 0 } ) )  <_  (deg `  f ) ) )  <-> 
( (deg `  F
)  =  (deg `  F )  ->  ( R  e.  Fin  /\  ( # `
 R )  <_ 
(deg `  F )
) ) ) )
107106rspcv 3050 . . . . 5  |-  ( F  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
( A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  (deg `  F )  ->  ( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  ->  (
(deg `  F )  =  (deg `  F )  ->  ( R  e.  Fin  /\  ( # `  R
)  <_  (deg `  F
) ) ) ) )
10895, 107sylbir 206 . . . 4  |-  ( ( F  e.  (Poly `  CC )  /\  F  =/=  0 p )  -> 
( A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  (deg `  F )  ->  ( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  ->  (
(deg `  F )  =  (deg `  F )  ->  ( R  e.  Fin  /\  ( # `  R
)  <_  (deg `  F
) ) ) ) )
10994, 108sylan 459 . . 3  |-  ( ( F  e.  (Poly `  S )  /\  F  =/=  0 p )  -> 
( A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  (deg `  F )  ->  ( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) )  ->  (
(deg `  F )  =  (deg `  F )  ->  ( R  e.  Fin  /\  ( # `  R
)  <_  (deg `  F
) ) ) ) )
11092, 109mpd 15 . 2  |-  ( ( F  e.  (Poly `  S )  /\  F  =/=  0 p )  -> 
( (deg `  F
)  =  (deg `  F )  ->  ( R  e.  Fin  /\  ( # `
 R )  <_ 
(deg `  F )
) ) )
1111, 110mpi 17 1  |-  ( ( F  e.  (Poly `  S )  /\  F  =/=  0 p )  -> 
( R  e.  Fin  /\  ( # `  R
)  <_  (deg `  F
) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 178    /\ wa 360   E.wex 1551    = wceq 1653    e. wcel 1726    =/= wne 2601   A.wral 2707    \ cdif 3319   (/)c0 3630   {csn 3816   class class class wbr 4214    X. cxp 4878   `'ccnv 4879   "cima 4883    Fn wfn 5451   -->wf 5452   ` cfv 5456  (class class class)co 6083   Fincfn 7111   CCcc 8990   0cc0 8992   1c1 8993    + caddc 8995    <_ cle 9123   NN0cn0 10223   #chash 11620   0 pc0p 19563  Polycply 20105  degcdgr 20108
This theorem is referenced by:  vieta1lem2  20230  vieta1  20231  plyexmo  20232  aannenlem1  20247  aalioulem2  20252  basellem4  20868  basellem5  20869  dchrfi  21041
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-rep 4322  ax-sep 4332  ax-nul 4340  ax-pow 4379  ax-pr 4405  ax-un 4703  ax-inf2 7598  ax-cnex 9048  ax-resscn 9049  ax-1cn 9050  ax-icn 9051  ax-addcl 9052  ax-addrcl 9053  ax-mulcl 9054  ax-mulrcl 9055  ax-mulcom 9056  ax-addass 9057  ax-mulass 9058  ax-distr 9059  ax-i2m1 9060  ax-1ne0 9061  ax-1rid 9062  ax-rnegex 9063  ax-rrecex 9064  ax-cnre 9065  ax-pre-lttri 9066  ax-pre-lttrn 9067  ax-pre-ltadd 9068  ax-pre-mulgt0 9069  ax-pre-sup 9070  ax-addf 9071
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2712  df-rex 2713  df-reu 2714  df-rmo 2715  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-pss 3338  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-tp 3824  df-op 3825  df-uni 4018  df-int 4053  df-iun 4097  df-br 4215  df-opab 4269  df-mpt 4270  df-tr 4305  df-eprel 4496  df-id 4500  df-po 4505  df-so 4506  df-fr 4543  df-se 4544  df-we 4545  df-ord 4586  df-on 4587  df-lim 4588  df-suc 4589  df-om 4848  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-res 4892  df-ima 4893  df-iota 5420  df-fun 5458  df-fn 5459  df-f 5460  df-f1 5461  df-fo 5462  df-f1o 5463  df-fv 5464  df-isom 5465  df-ov 6086  df-oprab 6087  df-mpt2 6088  df-of 6307  df-1st 6351  df-2nd 6352  df-riota 6551  df-recs 6635  df-rdg 6670  df-1o 6726  df-oadd 6730  df-er 6907  df-map 7022  df-pm 7023  df-en 7112  df-dom 7113  df-sdom 7114  df-fin 7115  df-sup 7448  df-oi 7481  df-card 7828  df-cda 8050  df-pnf 9124  df-mnf 9125  df-xr 9126  df-ltxr 9127  df-le 9128  df-sub 9295  df-neg 9296  df-div 9680  df-nn 10003  df-2 10060  df-3 10061  df-n0 10224  df-z 10285  df-uz 10491  df-rp 10615  df-fz 11046  df-fzo 11138  df-fl 11204  df-seq 11326  df-exp 11385  df-hash 11621  df-cj 11906  df-re 11907  df-im 11908  df-sqr 12042  df-abs 12043  df-clim 12284  df-rlim 12285  df-sum 12482  df-0p 19564  df-ply 20109  df-idp 20110  df-coe 20111  df-dgr 20112  df-quot 20210
  Copyright terms: Public domain W3C validator