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

Theorem fta1 19704
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 2296 . 2  |-  (deg `  F )  =  (deg
`  F )
2 dgrcl 19631 . . . . 5  |-  ( F  e.  (Poly `  S
)  ->  (deg `  F
)  e.  NN0 )
32adantr 451 . . . 4  |-  ( ( F  e.  (Poly `  S )  /\  F  =/=  0 p )  -> 
(deg `  F )  e.  NN0 )
4 eqeq2 2305 . . . . . . 7  |-  ( x  =  0  ->  (
(deg `  f )  =  x  <->  (deg `  f )  =  0 ) )
54imbi1d 308 . . . . . 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 2576 . . . . 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 2305 . . . . . . 7  |-  ( x  =  d  ->  (
(deg `  f )  =  x  <->  (deg `  f )  =  d ) )
87imbi1d 308 . . . . . 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 2576 . . . . 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 2305 . . . . . . 7  |-  ( x  =  ( d  +  1 )  ->  (
(deg `  f )  =  x  <->  (deg `  f )  =  ( d  +  1 ) ) )
1110imbi1d 308 . . . . . 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 2576 . . . . 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 2305 . . . . . . 7  |-  ( x  =  (deg `  F
)  ->  ( (deg `  f )  =  x  <-> 
(deg `  f )  =  (deg `  F )
) )
1413imbi1d 308 . . . . . 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 2576 . . . . 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 3763 . . . . . . . . . . 11  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
f  =/=  0 p )
1716adantr 451 . . . . . . . . . 10  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  f  =/=  0 p )
18 simplr 731 . . . . . . . . . . . . . . 15  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  (deg `  f
)  =  0 )
19 eldifi 3311 . . . . . . . . . . . . . . . . 17  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
f  e.  (Poly `  CC ) )
2019ad2antrr 706 . . . . . . . . . . . . . . . 16  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  f  e.  (Poly `  CC ) )
21 0dgrb 19644 . . . . . . . . . . . . . . . 16  |-  ( f  e.  (Poly `  CC )  ->  ( (deg `  f )  =  0  <-> 
f  =  ( CC 
X.  { ( f `
 0 ) } ) ) )
2220, 21syl 15 . . . . . . . . . . . . . . 15  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( (deg `  f )  =  0  <-> 
f  =  ( CC 
X.  { ( f `
 0 ) } ) ) )
2318, 22mpbid 201 . . . . . . . . . . . . . 14  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  f  =  ( CC  X.  { ( f `  0 ) } ) )
2423fveq1d 5543 . . . . . . . . . . . . . . . . 17  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( f `  x )  =  ( ( CC  X.  {
( f `  0
) } ) `  x ) )
2519adantr 451 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  f  e.  (Poly `  CC ) )
26 plyf 19596 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f  e.  (Poly `  CC )  ->  f : CC --> CC )
27 ffn 5405 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f : CC --> CC  ->  f  Fn  CC )
2825, 26, 273syl 18 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  f  Fn  CC )
29 fniniseg 5662 . . . . . . . . . . . . . . . . . . . 20  |-  ( f  Fn  CC  ->  (
x  e.  ( `' f " { 0 } )  <->  ( x  e.  CC  /\  ( f `
 x )  =  0 ) ) )
3028, 29syl 15 . . . . . . . . . . . . . . . . . . 19  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  ( x  e.  ( `' f " { 0 } )  <-> 
( x  e.  CC  /\  ( f `  x
)  =  0 ) ) )
3130biimpa 470 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( x  e.  CC  /\  ( f `
 x )  =  0 ) )
3231simprd 449 . . . . . . . . . . . . . . . . 17  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( f `  x )  =  0 )
3331simpld 445 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  x  e.  CC )
34 fvex 5555 . . . . . . . . . . . . . . . . . . 19  |-  ( f `
 0 )  e. 
_V
3534fvconst2 5745 . . . . . . . . . . . . . . . . . 18  |-  ( x  e.  CC  ->  (
( CC  X.  {
( f `  0
) } ) `  x )  =  ( f `  0 ) )
3633, 35syl 15 . . . . . . . . . . . . . . . . 17  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( ( CC 
X.  { ( f `
 0 ) } ) `  x )  =  ( f ` 
0 ) )
3724, 32, 363eqtr3rd 2337 . . . . . . . . . . . . . . . 16  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( f ` 
0 )  =  0 )
3837sneqd 3666 . . . . . . . . . . . . . . 15  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  { ( f `
 0 ) }  =  { 0 } )
3938xpeq2d 4729 . . . . . . . . . . . . . 14  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  ( CC  X.  { ( f ` 
0 ) } )  =  ( CC  X.  { 0 } ) )
4023, 39eqtrd 2328 . . . . . . . . . . . . 13  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  f  =  ( CC  X.  { 0 } ) )
41 df-0p 19041 . . . . . . . . . . . . 13  |-  0 p  =  ( CC  X.  { 0 } )
4240, 41syl6eqr 2346 . . . . . . . . . . . 12  |-  ( ( ( f  e.  ( (Poly `  CC )  \  { 0 p }
)  /\  (deg `  f
)  =  0 )  /\  x  e.  ( `' f " {
0 } ) )  ->  f  =  0 p )
4342ex 423 . . . . . . . . . . 11  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  ( x  e.  ( `' f " { 0 } )  ->  f  =  0 p ) )
4443necon3ad 2495 . . . . . . . . . 10  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  ( f  =/=  0 p  ->  -.  x  e.  ( `' f " { 0 } ) ) )
4517, 44mpd 14 . . . . . . . . 9  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  -.  x  e.  ( `' f " {
0 } ) )
4645eq0rdv 3502 . . . . . . . 8  |-  ( ( f  e.  ( (Poly `  CC )  \  {
0 p } )  /\  (deg `  f
)  =  0 )  ->  ( `' f
" { 0 } )  =  (/) )
4746ex 423 . . . . . . 7  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
( (deg `  f
)  =  0  -> 
( `' f " { 0 } )  =  (/) ) )
48 dgrcl 19631 . . . . . . . . 9  |-  ( f  e.  (Poly `  CC )  ->  (deg `  f
)  e.  NN0 )
49 nn0ge0 10007 . . . . . . . . 9  |-  ( (deg
`  f )  e. 
NN0  ->  0  <_  (deg `  f ) )
5019, 48, 493syl 18 . . . . . . . 8  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
0  <_  (deg `  f
) )
51 id 19 . . . . . . . . . . 11  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( `' f
" { 0 } )  =  (/) )
52 0fin 7103 . . . . . . . . . . 11  |-  (/)  e.  Fin
5351, 52syl6eqel 2384 . . . . . . . . . 10  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( `' f
" { 0 } )  e.  Fin )
5453biantrurd 494 . . . . . . . . 9  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( ( # `  ( `' f " { 0 } ) )  <_  (deg `  f
)  <->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) )
55 fveq2 5541 . . . . . . . . . . 11  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( # `  ( `' f " {
0 } ) )  =  ( # `  (/) ) )
56 hash0 11371 . . . . . . . . . . 11  |-  ( # `  (/) )  =  0
5755, 56syl6eq 2344 . . . . . . . . . 10  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( # `  ( `' f " {
0 } ) )  =  0 )
5857breq1d 4049 . . . . . . . . 9  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( ( # `  ( `' f " { 0 } ) )  <_  (deg `  f
)  <->  0  <_  (deg `  f ) ) )
5954, 58bitr3d 246 . . . . . . . 8  |-  ( ( `' f " {
0 } )  =  (/)  ->  ( ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) )  <->  0  <_  (deg
`  f ) ) )
6050, 59syl5ibrcom 213 . . . . . . 7  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
( ( `' f
" { 0 } )  =  (/)  ->  (
( `' f " { 0 } )  e.  Fin  /\  ( # `
 ( `' f
" { 0 } ) )  <_  (deg `  f ) ) ) )
6147, 60syld 40 . . . . . 6  |-  ( f  e.  ( (Poly `  CC )  \  { 0 p } )  -> 
( (deg `  f
)  =  0  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) )
6261rgen 2621 . . . . 5  |-  A. f  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  f )  =  0  ->  ( ( `' f " {
0 } )  e. 
Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) )
63 fveq2 5541 . . . . . . . . 9  |-  ( f  =  g  ->  (deg `  f )  =  (deg
`  g ) )
6463eqeq1d 2304 . . . . . . . 8  |-  ( f  =  g  ->  (
(deg `  f )  =  d  <->  (deg `  g )  =  d ) )
65 cnveq 4871 . . . . . . . . . . 11  |-  ( f  =  g  ->  `' f  =  `' g
)
6665imaeq1d 5027 . . . . . . . . . 10  |-  ( f  =  g  ->  ( `' f " {
0 } )  =  ( `' g " { 0 } ) )
6766eleq1d 2362 . . . . . . . . 9  |-  ( f  =  g  ->  (
( `' f " { 0 } )  e.  Fin  <->  ( `' g " { 0 } )  e.  Fin )
)
6866fveq2d 5545 . . . . . . . . . 10  |-  ( f  =  g  ->  ( # `
 ( `' f
" { 0 } ) )  =  (
# `  ( `' g " { 0 } ) ) )
6968, 63breq12d 4052 . . . . . . . . 9  |-  ( f  =  g  ->  (
( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )  <->  (
# `  ( `' g " { 0 } ) )  <_  (deg `  g ) ) )
7067, 69anbi12d 691 . . . . . . . 8  |-  ( f  =  g  ->  (
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
)  <->  ( ( `' g " { 0 } )  e.  Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) )
7164, 70imbi12d 311 . . . . . . 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
) ) ) ) )
7271cbvralv 2777 . . . . . 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
) ) ) )
7350ad2antlr 707 . . . . . . . . . . . 12  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  0  <_  (deg
`  f ) )
7473, 59syl5ibrcom 213 . . . . . . . . . . 11  |-  ( ( ( d  e.  NN0  /\  f  e.  ( (Poly `  CC )  \  {
0 p } ) )  /\  (deg `  f )  =  ( d  +  1 ) )  ->  ( ( `' f " {
0 } )  =  (/)  ->  ( ( `' f " { 0 } )  e.  Fin  /\  ( # `  ( `' f " {
0 } ) )  <_  (deg `  f
) ) ) )
7574a1dd 42 . . . . . . . . . 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 )
) ) ) )
76 n0 3477 . . . . . . . . . . 11  |-  ( ( `' f " {
0 } )  =/=  (/) 
<->  E. x  x  e.  ( `' f " { 0 } ) )
77 eqid 2296 . . . . . . . . . . . . . 14  |-  ( `' f " { 0 } )  =  ( `' f " {
0 } )
78 simplll 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
) ) ) ) )  ->  d  e.  NN0 )
79 simpllr 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
) ) ) ) )  ->  f  e.  ( (Poly `  CC )  \  { 0 p }
) )
80 simplr 731 . . . . . . . . . . . . . 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 ) )
81 simprl 732 . . . . . . . . . . . . . 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 } ) )
82 simprr 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
) ) ) ) )  ->  A. g  e.  ( (Poly `  CC )  \  { 0 p } ) ( (deg
`  g )  =  d  ->  ( ( `' g " {
0 } )  e. 
Fin  /\  ( # `  ( `' g " {
0 } ) )  <_  (deg `  g
) ) ) )
8377, 78, 79, 80, 81, 82fta1lem 19703 . . . . . . . . . . . . 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
) ) )
8483exp32 588 . . . . . . . . . . . 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 )
) ) ) )
8584exlimdv 1626 . . . . . . . . . . 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 )
) ) ) )
8676, 85syl5bi 208 . . . . . . . . . 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 )
) ) ) )
8775, 86pm2.61dne 2536 . . . . . . . . 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 ) ) ) )
8887ex 423 . . . . . . . 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 )
) ) ) )
8988com23 72 . . . . . . 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 ) ) ) ) )
9089ralrimdva 2646 . . . . . 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
) ) ) ) )
9172, 90syl5bi 208 . . . . 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
) ) ) ) )
926, 9, 12, 15, 62, 91nn0ind 10124 . . . 4  |-  ( (deg
`  F )  e. 
NN0  ->  A. f  e.  ( (Poly `  CC )  \  { 0 p }
) ( (deg `  f )  =  (deg
`  F )  -> 
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
) ) )
933, 92syl 15 . . 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 )
) ) )
94 plyssc 19598 . . . . 5  |-  (Poly `  S )  C_  (Poly `  CC )
9594sseli 3189 . . . 4  |-  ( F  e.  (Poly `  S
)  ->  F  e.  (Poly `  CC ) )
96 eldifsn 3762 . . . . 5  |-  ( F  e.  ( (Poly `  CC )  \  { 0 p } )  <->  ( F  e.  (Poly `  CC )  /\  F  =/=  0 p ) )
97 fveq2 5541 . . . . . . . 8  |-  ( f  =  F  ->  (deg `  f )  =  (deg
`  F ) )
9897eqeq1d 2304 . . . . . . 7  |-  ( f  =  F  ->  (
(deg `  f )  =  (deg `  F )  <->  (deg
`  F )  =  (deg `  F )
) )
99 cnveq 4871 . . . . . . . . . . 11  |-  ( f  =  F  ->  `' f  =  `' F
)
10099imaeq1d 5027 . . . . . . . . . 10  |-  ( f  =  F  ->  ( `' f " {
0 } )  =  ( `' F " { 0 } ) )
101 fta1.1 . . . . . . . . . 10  |-  R  =  ( `' F " { 0 } )
102100, 101syl6eqr 2346 . . . . . . . . 9  |-  ( f  =  F  ->  ( `' f " {
0 } )  =  R )
103102eleq1d 2362 . . . . . . . 8  |-  ( f  =  F  ->  (
( `' f " { 0 } )  e.  Fin  <->  R  e.  Fin ) )
104102fveq2d 5545 . . . . . . . . 9  |-  ( f  =  F  ->  ( # `
 ( `' f
" { 0 } ) )  =  (
# `  R )
)
105104, 97breq12d 4052 . . . . . . . 8  |-  ( f  =  F  ->  (
( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )  <->  (
# `  R )  <_  (deg `  F )
) )
106103, 105anbi12d 691 . . . . . . 7  |-  ( f  =  F  ->  (
( ( `' f
" { 0 } )  e.  Fin  /\  ( # `  ( `' f " { 0 } ) )  <_ 
(deg `  f )
)  <->  ( R  e. 
Fin  /\  ( # `  R
)  <_  (deg `  F
) ) ) )
10798, 106imbi12d 311 . . . . . 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 )
) ) ) )
108107rspcv 2893 . . . . 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
) ) ) ) )
10996, 108sylbir 204 . . . 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
) ) ) ) )
11095, 109sylan 457 . . 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
) ) ) ) )
11193, 110mpd 14 . 2  |-  ( ( F  e.  (Poly `  S )  /\  F  =/=  0 p )  -> 
( (deg `  F
)  =  (deg `  F )  ->  ( R  e.  Fin  /\  ( # `
 R )  <_ 
(deg `  F )
) ) )
1121, 111mpi 16 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 176    /\ wa 358   E.wex 1531    = wceq 1632    e. wcel 1696    =/= wne 2459   A.wral 2556    \ cdif 3162   (/)c0 3468   {csn 3653   class class class wbr 4039    X. cxp 4703   `'ccnv 4704   "cima 4708    Fn wfn 5266   -->wf 5267   ` cfv 5271  (class class class)co 5874   Fincfn 6879   CCcc 8751   0cc0 8753   1c1 8754    + caddc 8756    <_ cle 8884   NN0cn0 9981   #chash 11353   0 pc0p 19040  Polycply 19582  degcdgr 19585
This theorem is referenced by:  vieta1lem2  19707  vieta1  19708  plyexmo  19709  aannenlem1  19724  aalioulem2  19729  basellem4  20337  basellem5  20338  dchrfi  20510
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-inf2 7358  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830  ax-pre-sup 8831  ax-addf 8832
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-int 3879  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-se 4369  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-isom 5280  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-of 6094  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-oadd 6499  df-er 6676  df-map 6790  df-pm 6791  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-sup 7210  df-oi 7241  df-card 7588  df-cda 7810  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-div 9440  df-nn 9763  df-2 9820  df-3 9821  df-n0 9982  df-z 10041  df-uz 10247  df-rp 10371  df-fz 10799  df-fzo 10887  df-fl 10941  df-seq 11063  df-exp 11121  df-hash 11354  df-cj 11600  df-re 11601  df-im 11602  df-sqr 11736  df-abs 11737  df-clim 11978  df-rlim 11979  df-sum 12175  df-0p 19041  df-ply 19586  df-idp 19587  df-coe 19588  df-dgr 19589  df-quot 19687
  Copyright terms: Public domain W3C validator