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

Theorem coeidlem 21821
Description: Lemma for coeid 21822. (Contributed by Mario Carneiro, 22-Jul-2014.)
Hypotheses
Ref Expression
dgrub.1  |-  A  =  (coeff `  F )
dgrub.2  |-  N  =  (deg `  F )
coeid.3  |-  ( ph  ->  F  e.  (Poly `  S ) )
coeid.4  |-  ( ph  ->  M  e.  NN0 )
coeid.5  |-  ( ph  ->  B  e.  ( ( S  u.  { 0 } )  ^m  NN0 ) )
coeid.6  |-  ( ph  ->  ( B " ( ZZ>=
`  ( M  + 
1 ) ) )  =  { 0 } )
coeid.7  |-  ( ph  ->  F  =  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... M
) ( ( B `
 k )  x.  ( z ^ k
) ) ) )
Assertion
Ref Expression
coeidlem  |-  ( ph  ->  F  =  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... N
) ( ( A `
 k )  x.  ( z ^ k
) ) ) )
Distinct variable groups:    z, k, A    k, F    ph, k, z    S, k, z    B, k, z    k, M, z   
k, N, z
Allowed substitution hint:    F( z)

Proof of Theorem coeidlem
StepHypRef Expression
1 coeid.7 . 2  |-  ( ph  ->  F  =  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... M
) ( ( B `
 k )  x.  ( z ^ k
) ) ) )
2 dgrub.1 . . . . . . 7  |-  A  =  (coeff `  F )
3 coeid.3 . . . . . . . 8  |-  ( ph  ->  F  e.  (Poly `  S ) )
4 coeid.4 . . . . . . . 8  |-  ( ph  ->  M  e.  NN0 )
5 coeid.5 . . . . . . . . . 10  |-  ( ph  ->  B  e.  ( ( S  u.  { 0 } )  ^m  NN0 ) )
6 plybss 21778 . . . . . . . . . . . . . 14  |-  ( F  e.  (Poly `  S
)  ->  S  C_  CC )
73, 6syl 16 . . . . . . . . . . . . 13  |-  ( ph  ->  S  C_  CC )
8 0cnd 9480 . . . . . . . . . . . . . 14  |-  ( ph  ->  0  e.  CC )
98snssd 4116 . . . . . . . . . . . . 13  |-  ( ph  ->  { 0 }  C_  CC )
107, 9unssd 3630 . . . . . . . . . . . 12  |-  ( ph  ->  ( S  u.  {
0 } )  C_  CC )
11 cnex 9464 . . . . . . . . . . . 12  |-  CC  e.  _V
12 ssexg 4536 . . . . . . . . . . . 12  |-  ( ( ( S  u.  {
0 } )  C_  CC  /\  CC  e.  _V )  ->  ( S  u.  { 0 } )  e. 
_V )
1310, 11, 12sylancl 662 . . . . . . . . . . 11  |-  ( ph  ->  ( S  u.  {
0 } )  e. 
_V )
14 nn0ex 10686 . . . . . . . . . . 11  |-  NN0  e.  _V
15 elmapg 7327 . . . . . . . . . . 11  |-  ( ( ( S  u.  {
0 } )  e. 
_V  /\  NN0  e.  _V )  ->  ( B  e.  ( ( S  u.  { 0 } )  ^m  NN0 )  <->  B : NN0 --> ( S  u.  { 0 } ) ) )
1613, 14, 15sylancl 662 . . . . . . . . . 10  |-  ( ph  ->  ( B  e.  ( ( S  u.  {
0 } )  ^m  NN0 )  <->  B : NN0 --> ( S  u.  { 0 } ) ) )
175, 16mpbid 210 . . . . . . . . 9  |-  ( ph  ->  B : NN0 --> ( S  u.  { 0 } ) )
18 fss 5665 . . . . . . . . 9  |-  ( ( B : NN0 --> ( S  u.  { 0 } )  /\  ( S  u.  { 0 } )  C_  CC )  ->  B : NN0 --> CC )
1917, 10, 18syl2anc 661 . . . . . . . 8  |-  ( ph  ->  B : NN0 --> CC )
20 coeid.6 . . . . . . . 8  |-  ( ph  ->  ( B " ( ZZ>=
`  ( M  + 
1 ) ) )  =  { 0 } )
213, 4, 19, 20, 1coeeq 21811 . . . . . . 7  |-  ( ph  ->  (coeff `  F )  =  B )
222, 21syl5req 2505 . . . . . 6  |-  ( ph  ->  B  =  A )
2322adantr 465 . . . . 5  |-  ( (
ph  /\  z  e.  CC )  ->  B  =  A )
24 fveq1 5788 . . . . . . 7  |-  ( B  =  A  ->  ( B `  k )  =  ( A `  k ) )
2524oveq1d 6205 . . . . . 6  |-  ( B  =  A  ->  (
( B `  k
)  x.  ( z ^ k ) )  =  ( ( A `
 k )  x.  ( z ^ k
) ) )
2625sumeq2sdv 13283 . . . . 5  |-  ( B  =  A  ->  sum_ k  e.  ( 0 ... M
) ( ( B `
 k )  x.  ( z ^ k
) )  =  sum_ k  e.  ( 0 ... M ) ( ( A `  k
)  x.  ( z ^ k ) ) )
2723, 26syl 16 . . . 4  |-  ( (
ph  /\  z  e.  CC )  ->  sum_ k  e.  ( 0 ... M
) ( ( B `
 k )  x.  ( z ^ k
) )  =  sum_ k  e.  ( 0 ... M ) ( ( A `  k
)  x.  ( z ^ k ) ) )
283adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  z  e.  CC )  ->  F  e.  (Poly `  S )
)
29 dgrub.2 . . . . . . . . . 10  |-  N  =  (deg `  F )
30 dgrcl 21817 . . . . . . . . . 10  |-  ( F  e.  (Poly `  S
)  ->  (deg `  F
)  e.  NN0 )
3129, 30syl5eqel 2543 . . . . . . . . 9  |-  ( F  e.  (Poly `  S
)  ->  N  e.  NN0 )
3228, 31syl 16 . . . . . . . 8  |-  ( (
ph  /\  z  e.  CC )  ->  N  e. 
NN0 )
3332nn0zd 10846 . . . . . . 7  |-  ( (
ph  /\  z  e.  CC )  ->  N  e.  ZZ )
344adantr 465 . . . . . . . 8  |-  ( (
ph  /\  z  e.  CC )  ->  M  e. 
NN0 )
3534nn0zd 10846 . . . . . . 7  |-  ( (
ph  /\  z  e.  CC )  ->  M  e.  ZZ )
3623imaeq1d 5266 . . . . . . . . 9  |-  ( (
ph  /\  z  e.  CC )  ->  ( B
" ( ZZ>= `  ( M  +  1 ) ) )  =  ( A " ( ZZ>= `  ( M  +  1
) ) ) )
3720adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  z  e.  CC )  ->  ( B
" ( ZZ>= `  ( M  +  1 ) ) )  =  {
0 } )
3836, 37eqtr3d 2494 . . . . . . . 8  |-  ( (
ph  /\  z  e.  CC )  ->  ( A
" ( ZZ>= `  ( M  +  1 ) ) )  =  {
0 } )
392, 29dgrlb 21820 . . . . . . . 8  |-  ( ( F  e.  (Poly `  S )  /\  M  e.  NN0  /\  ( A
" ( ZZ>= `  ( M  +  1 ) ) )  =  {
0 } )  ->  N  <_  M )
4028, 34, 38, 39syl3anc 1219 . . . . . . 7  |-  ( (
ph  /\  z  e.  CC )  ->  N  <_  M )
41 eluz2 10968 . . . . . . 7  |-  ( M  e.  ( ZZ>= `  N
)  <->  ( N  e.  ZZ  /\  M  e.  ZZ  /\  N  <_  M ) )
4233, 35, 40, 41syl3anbrc 1172 . . . . . 6  |-  ( (
ph  /\  z  e.  CC )  ->  M  e.  ( ZZ>= `  N )
)
43 fzss2 11599 . . . . . 6  |-  ( M  e.  ( ZZ>= `  N
)  ->  ( 0 ... N )  C_  ( 0 ... M
) )
4442, 43syl 16 . . . . 5  |-  ( (
ph  /\  z  e.  CC )  ->  ( 0 ... N )  C_  ( 0 ... M
) )
45 elfznn0 11582 . . . . . 6  |-  ( k  e.  ( 0 ... N )  ->  k  e.  NN0 )
46 plyssc 21784 . . . . . . . . . . 11  |-  (Poly `  S )  C_  (Poly `  CC )
4746, 3sseldi 3452 . . . . . . . . . 10  |-  ( ph  ->  F  e.  (Poly `  CC ) )
482coef3 21816 . . . . . . . . . 10  |-  ( F  e.  (Poly `  CC )  ->  A : NN0 --> CC )
4947, 48syl 16 . . . . . . . . 9  |-  ( ph  ->  A : NN0 --> CC )
5049adantr 465 . . . . . . . 8  |-  ( (
ph  /\  z  e.  CC )  ->  A : NN0
--> CC )
5150ffvelrnda 5942 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  NN0 )  ->  ( A `  k )  e.  CC )
52 expcl 11984 . . . . . . . 8  |-  ( ( z  e.  CC  /\  k  e.  NN0 )  -> 
( z ^ k
)  e.  CC )
5352adantll 713 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  NN0 )  ->  (
z ^ k )  e.  CC )
5451, 53mulcld 9507 . . . . . 6  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  NN0 )  ->  (
( A `  k
)  x.  ( z ^ k ) )  e.  CC )
5545, 54sylan2 474 . . . . 5  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( 0 ... N
) )  ->  (
( A `  k
)  x.  ( z ^ k ) )  e.  CC )
56 eldifn 3577 . . . . . . . . 9  |-  ( k  e.  ( ( 0 ... M )  \ 
( 0 ... N
) )  ->  -.  k  e.  ( 0 ... N ) )
5756adantl 466 . . . . . . . 8  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  -.  k  e.  ( 0 ... N
) )
58 eldifi 3576 . . . . . . . . . . . 12  |-  ( k  e.  ( ( 0 ... M )  \ 
( 0 ... N
) )  ->  k  e.  ( 0 ... M
) )
59 elfznn0 11582 . . . . . . . . . . . 12  |-  ( k  e.  ( 0 ... M )  ->  k  e.  NN0 )
6058, 59syl 16 . . . . . . . . . . 11  |-  ( k  e.  ( ( 0 ... M )  \ 
( 0 ... N
) )  ->  k  e.  NN0 )
612, 29dgrub 21818 . . . . . . . . . . . 12  |-  ( ( F  e.  (Poly `  S )  /\  k  e.  NN0  /\  ( A `
 k )  =/=  0 )  ->  k  <_  N )
62613expia 1190 . . . . . . . . . . 11  |-  ( ( F  e.  (Poly `  S )  /\  k  e.  NN0 )  ->  (
( A `  k
)  =/=  0  -> 
k  <_  N )
)
6328, 60, 62syl2an 477 . . . . . . . . . 10  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( ( A `  k )  =/=  0  ->  k  <_  N ) )
64 elfzuz 11550 . . . . . . . . . . . 12  |-  ( k  e.  ( 0 ... M )  ->  k  e.  ( ZZ>= `  0 )
)
6558, 64syl 16 . . . . . . . . . . 11  |-  ( k  e.  ( ( 0 ... M )  \ 
( 0 ... N
) )  ->  k  e.  ( ZZ>= `  0 )
)
66 elfz5 11546 . . . . . . . . . . 11  |-  ( ( k  e.  ( ZZ>= ` 
0 )  /\  N  e.  ZZ )  ->  (
k  e.  ( 0 ... N )  <->  k  <_  N ) )
6765, 33, 66syl2anr 478 . . . . . . . . . 10  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( k  e.  ( 0 ... N
)  <->  k  <_  N
) )
6863, 67sylibrd 234 . . . . . . . . 9  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( ( A `  k )  =/=  0  ->  k  e.  ( 0 ... N
) ) )
6968necon1bd 2666 . . . . . . . 8  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( -.  k  e.  ( 0 ... N )  -> 
( A `  k
)  =  0 ) )
7057, 69mpd 15 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( A `  k )  =  0 )
7170oveq1d 6205 . . . . . 6  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( ( A `  k )  x.  ( z ^ k
) )  =  ( 0  x.  ( z ^ k ) ) )
72 simpr 461 . . . . . . . 8  |-  ( (
ph  /\  z  e.  CC )  ->  z  e.  CC )
7372, 60, 52syl2an 477 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( z ^ k )  e.  CC )
7473mul02d 9668 . . . . . 6  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( 0  x.  ( z ^
k ) )  =  0 )
7571, 74eqtrd 2492 . . . . 5  |-  ( ( ( ph  /\  z  e.  CC )  /\  k  e.  ( ( 0 ... M )  \  (
0 ... N ) ) )  ->  ( ( A `  k )  x.  ( z ^ k
) )  =  0 )
76 fzfid 11896 . . . . 5  |-  ( (
ph  /\  z  e.  CC )  ->  ( 0 ... M )  e. 
Fin )
7744, 55, 75, 76fsumss 13304 . . . 4  |-  ( (
ph  /\  z  e.  CC )  ->  sum_ k  e.  ( 0 ... N
) ( ( A `
 k )  x.  ( z ^ k
) )  =  sum_ k  e.  ( 0 ... M ) ( ( A `  k
)  x.  ( z ^ k ) ) )
7827, 77eqtr4d 2495 . . 3  |-  ( (
ph  /\  z  e.  CC )  ->  sum_ k  e.  ( 0 ... M
) ( ( B `
 k )  x.  ( z ^ k
) )  =  sum_ k  e.  ( 0 ... N ) ( ( A `  k
)  x.  ( z ^ k ) ) )
7978mpteq2dva 4476 . 2  |-  ( ph  ->  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... M ) ( ( B `  k
)  x.  ( z ^ k ) ) )  =  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... N
) ( ( A `
 k )  x.  ( z ^ k
) ) ) )
801, 79eqtrd 2492 1  |-  ( ph  ->  F  =  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... N
) ( ( A `
 k )  x.  ( z ^ k
) ) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1370    e. wcel 1758    =/= wne 2644   _Vcvv 3068    \ cdif 3423    u. cun 3424    C_ wss 3426   {csn 3975   class class class wbr 4390    |-> cmpt 4448   "cima 4941   -->wf 5512   ` cfv 5516  (class class class)co 6190    ^m cmap 7314   CCcc 9381   0cc0 9383   1c1 9384    + caddc 9386    x. cmul 9388    <_ cle 9520   NN0cn0 10680   ZZcz 10747   ZZ>=cuz 10962   ...cfz 11538   ^cexp 11966   sum_csu 13265  Polycply 21768  coeffccoe 21770  degcdgr 21771
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1952  ax-ext 2430  ax-rep 4501  ax-sep 4511  ax-nul 4519  ax-pow 4568  ax-pr 4629  ax-un 6472  ax-inf2 7948  ax-cnex 9439  ax-resscn 9440  ax-1cn 9441  ax-icn 9442  ax-addcl 9443  ax-addrcl 9444  ax-mulcl 9445  ax-mulrcl 9446  ax-mulcom 9447  ax-addass 9448  ax-mulass 9449  ax-distr 9450  ax-i2m1 9451  ax-1ne0 9452  ax-1rid 9453  ax-rnegex 9454  ax-rrecex 9455  ax-cnre 9456  ax-pre-lttri 9457  ax-pre-lttrn 9458  ax-pre-ltadd 9459  ax-pre-mulgt0 9460  ax-pre-sup 9461  ax-addf 9462
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-fal 1376  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2264  df-mo 2265  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2601  df-ne 2646  df-nel 2647  df-ral 2800  df-rex 2801  df-reu 2802  df-rmo 2803  df-rab 2804  df-v 3070  df-sbc 3285  df-csb 3387  df-dif 3429  df-un 3431  df-in 3433  df-ss 3440  df-pss 3442  df-nul 3736  df-if 3890  df-pw 3960  df-sn 3976  df-pr 3978  df-tp 3980  df-op 3982  df-uni 4190  df-int 4227  df-iun 4271  df-br 4391  df-opab 4449  df-mpt 4450  df-tr 4484  df-eprel 4730  df-id 4734  df-po 4739  df-so 4740  df-fr 4777  df-se 4778  df-we 4779  df-ord 4820  df-on 4821  df-lim 4822  df-suc 4823  df-xp 4944  df-rel 4945  df-cnv 4946  df-co 4947  df-dm 4948  df-rn 4949  df-res 4950  df-ima 4951  df-iota 5479  df-fun 5518  df-fn 5519  df-f 5520  df-f1 5521  df-fo 5522  df-f1o 5523  df-fv 5524  df-isom 5525  df-riota 6151  df-ov 6193  df-oprab 6194  df-mpt2 6195  df-of 6420  df-om 6577  df-1st 6677  df-2nd 6678  df-recs 6932  df-rdg 6966  df-1o 7020  df-oadd 7024  df-er 7201  df-map 7316  df-pm 7317  df-en 7411  df-dom 7412  df-sdom 7413  df-fin 7414  df-sup 7792  df-oi 7825  df-card 8210  df-pnf 9521  df-mnf 9522  df-xr 9523  df-ltxr 9524  df-le 9525  df-sub 9698  df-neg 9699  df-div 10095  df-nn 10424  df-2 10481  df-3 10482  df-n0 10681  df-z 10748  df-uz 10963  df-rp 11093  df-fz 11539  df-fzo 11650  df-fl 11743  df-seq 11908  df-exp 11967  df-hash 12205  df-cj 12690  df-re 12691  df-im 12692  df-sqr 12826  df-abs 12827  df-clim 13068  df-rlim 13069  df-sum 13266  df-0p 21264  df-ply 21772  df-coe 21774  df-dgr 21775
This theorem is referenced by:  coeid  21822
  Copyright terms: Public domain W3C validator