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

Theorem elplyd 22725
Description: Sufficient condition for elementhood in the set of polynomials. (Contributed by Mario Carneiro, 17-Jul-2014.)
Hypotheses
Ref Expression
elplyd.1  |-  ( ph  ->  S  C_  CC )
elplyd.2  |-  ( ph  ->  N  e.  NN0 )
elplyd.3  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  A  e.  S )
Assertion
Ref Expression
elplyd  |-  ( ph  ->  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... N ) ( A  x.  ( z ^ k ) ) )  e.  (Poly `  S ) )
Distinct variable groups:    z, A    z, k, N    ph, k, z    S, k, z
Allowed substitution hint:    A( k)

Proof of Theorem elplyd
Dummy variable  j is distinct from all other variables.
StepHypRef Expression
1 nffvmpt1 5880 . . . . . . 7  |-  F/_ k
( ( k  e. 
NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `
 j )
2 nfcv 2619 . . . . . . 7  |-  F/_ k  x.
3 nfcv 2619 . . . . . . 7  |-  F/_ k
( z ^ j
)
41, 2, 3nfov 6322 . . . . . 6  |-  F/_ k
( ( ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  j )  x.  ( z ^
j ) )
5 nfcv 2619 . . . . . 6  |-  F/_ j
( ( ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  k )  x.  ( z ^
k ) )
6 fveq2 5872 . . . . . . 7  |-  ( j  =  k  ->  (
( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  j
)  =  ( ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  k ) )
7 oveq2 6304 . . . . . . 7  |-  ( j  =  k  ->  (
z ^ j )  =  ( z ^
k ) )
86, 7oveq12d 6314 . . . . . 6  |-  ( j  =  k  ->  (
( ( k  e. 
NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `
 j )  x.  ( z ^ j
) )  =  ( ( ( k  e. 
NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `
 k )  x.  ( z ^ k
) ) )
94, 5, 8cbvsumi 13531 . . . . 5  |-  sum_ j  e.  ( 0 ... N
) ( ( ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  j )  x.  ( z ^
j ) )  = 
sum_ k  e.  ( 0 ... N ) ( ( ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  k )  x.  ( z ^
k ) )
10 elfznn0 11797 . . . . . . . . . 10  |-  ( k  e.  ( 0 ... N )  ->  k  e.  NN0 )
1110adantl 466 . . . . . . . . 9  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  k  e.  NN0 )
12 iftrue 3950 . . . . . . . . . . 11  |-  ( k  e.  ( 0 ... N )  ->  if ( k  e.  ( 0 ... N ) ,  A ,  0 )  =  A )
1312adantl 466 . . . . . . . . . 10  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  if ( k  e.  ( 0 ... N ) ,  A ,  0 )  =  A )
14 elplyd.3 . . . . . . . . . 10  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  A  e.  S )
1513, 14eqeltrd 2545 . . . . . . . . 9  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  if ( k  e.  ( 0 ... N ) ,  A ,  0 )  e.  S )
16 eqid 2457 . . . . . . . . . 10  |-  ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) )  =  ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) )
1716fvmpt2 5964 . . . . . . . . 9  |-  ( ( k  e.  NN0  /\  if ( k  e.  ( 0 ... N ) ,  A ,  0 )  e.  S )  ->  ( ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  k )  =  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) )
1811, 15, 17syl2anc 661 . . . . . . . 8  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  (
( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  k
)  =  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) )
1918, 13eqtrd 2498 . . . . . . 7  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  (
( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  k
)  =  A )
2019oveq1d 6311 . . . . . 6  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  (
( ( k  e. 
NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `
 k )  x.  ( z ^ k
) )  =  ( A  x.  ( z ^ k ) ) )
2120sumeq2dv 13537 . . . . 5  |-  ( ph  -> 
sum_ k  e.  ( 0 ... N ) ( ( ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  k )  x.  ( z ^
k ) )  = 
sum_ k  e.  ( 0 ... N ) ( A  x.  (
z ^ k ) ) )
229, 21syl5eq 2510 . . . 4  |-  ( ph  -> 
sum_ j  e.  ( 0 ... N ) ( ( ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `  j )  x.  ( z ^
j ) )  = 
sum_ k  e.  ( 0 ... N ) ( A  x.  (
z ^ k ) ) )
2322mpteq2dv 4544 . . 3  |-  ( ph  ->  ( z  e.  CC  |->  sum_ j  e.  ( 0 ... N ) ( ( ( k  e. 
NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `
 j )  x.  ( z ^ j
) ) )  =  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... N ) ( A  x.  ( z ^ k ) ) ) )
24 elplyd.1 . . . . 5  |-  ( ph  ->  S  C_  CC )
25 0cnd 9606 . . . . . 6  |-  ( ph  ->  0  e.  CC )
2625snssd 4177 . . . . 5  |-  ( ph  ->  { 0 }  C_  CC )
2724, 26unssd 3676 . . . 4  |-  ( ph  ->  ( S  u.  {
0 } )  C_  CC )
28 elplyd.2 . . . 4  |-  ( ph  ->  N  e.  NN0 )
29 elun1 3667 . . . . . . . 8  |-  ( A  e.  S  ->  A  e.  ( S  u.  {
0 } ) )
3014, 29syl 16 . . . . . . 7  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  A  e.  ( S  u.  {
0 } ) )
3130adantlr 714 . . . . . 6  |-  ( ( ( ph  /\  k  e.  NN0 )  /\  k  e.  ( 0 ... N
) )  ->  A  e.  ( S  u.  {
0 } ) )
32 ssun2 3664 . . . . . . . 8  |-  { 0 }  C_  ( S  u.  { 0 } )
33 c0ex 9607 . . . . . . . . 9  |-  0  e.  _V
3433snss 4156 . . . . . . . 8  |-  ( 0  e.  ( S  u.  { 0 } )  <->  { 0 }  C_  ( S  u.  { 0 } ) )
3532, 34mpbir 209 . . . . . . 7  |-  0  e.  ( S  u.  {
0 } )
3635a1i 11 . . . . . 6  |-  ( ( ( ph  /\  k  e.  NN0 )  /\  -.  k  e.  ( 0 ... N ) )  ->  0  e.  ( S  u.  { 0 } ) )
3731, 36ifclda 3976 . . . . 5  |-  ( (
ph  /\  k  e.  NN0 )  ->  if (
k  e.  ( 0 ... N ) ,  A ,  0 )  e.  ( S  u.  { 0 } ) )
3837, 16fmptd 6056 . . . 4  |-  ( ph  ->  ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) : NN0 --> ( S  u.  { 0 } ) )
39 elplyr 22724 . . . 4  |-  ( ( ( S  u.  {
0 } )  C_  CC  /\  N  e.  NN0  /\  ( k  e.  NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) : NN0 --> ( S  u.  { 0 } ) )  -> 
( z  e.  CC  |->  sum_ j  e.  ( 0 ... N ) ( ( ( k  e. 
NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `
 j )  x.  ( z ^ j
) ) )  e.  (Poly `  ( S  u.  { 0 } ) ) )
4027, 28, 38, 39syl3anc 1228 . . 3  |-  ( ph  ->  ( z  e.  CC  |->  sum_ j  e.  ( 0 ... N ) ( ( ( k  e. 
NN0  |->  if ( k  e.  ( 0 ... N ) ,  A ,  0 ) ) `
 j )  x.  ( z ^ j
) ) )  e.  (Poly `  ( S  u.  { 0 } ) ) )
4123, 40eqeltrrd 2546 . 2  |-  ( ph  ->  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... N ) ( A  x.  ( z ^ k ) ) )  e.  (Poly `  ( S  u.  { 0 } ) ) )
42 plyun0 22720 . 2  |-  (Poly `  ( S  u.  { 0 } ) )  =  (Poly `  S )
4341, 42syl6eleq 2555 1  |-  ( ph  ->  ( z  e.  CC  |->  sum_ k  e.  ( 0 ... N ) ( A  x.  ( z ^ k ) ) )  e.  (Poly `  S ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 369    = wceq 1395    e. wcel 1819    u. cun 3469    C_ wss 3471   ifcif 3944   {csn 4032    |-> cmpt 4515   -->wf 5590   ` cfv 5594  (class class class)co 6296   CCcc 9507   0cc0 9509    x. cmul 9514   NN0cn0 10816   ...cfz 11697   ^cexp 12169   sum_csu 13520  Polycply 22707
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1619  ax-4 1632  ax-5 1705  ax-6 1748  ax-7 1791  ax-8 1821  ax-9 1823  ax-10 1838  ax-11 1843  ax-12 1855  ax-13 2000  ax-ext 2435  ax-rep 4568  ax-sep 4578  ax-nul 4586  ax-pow 4634  ax-pr 4695  ax-un 6591  ax-cnex 9565  ax-resscn 9566  ax-1cn 9567  ax-icn 9568  ax-addcl 9569  ax-addrcl 9570  ax-mulcl 9571  ax-mulrcl 9572  ax-mulcom 9573  ax-addass 9574  ax-mulass 9575  ax-distr 9576  ax-i2m1 9577  ax-1ne0 9578  ax-1rid 9579  ax-rnegex 9580  ax-rrecex 9581  ax-cnre 9582  ax-pre-lttri 9583  ax-pre-lttrn 9584  ax-pre-ltadd 9585  ax-pre-mulgt0 9586
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1398  df-fal 1401  df-ex 1614  df-nf 1618  df-sb 1741  df-eu 2287  df-mo 2288  df-clab 2443  df-cleq 2449  df-clel 2452  df-nfc 2607  df-ne 2654  df-nel 2655  df-ral 2812  df-rex 2813  df-reu 2814  df-rab 2816  df-v 3111  df-sbc 3328  df-csb 3431  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-pss 3487  df-nul 3794  df-if 3945  df-pw 4017  df-sn 4033  df-pr 4035  df-tp 4037  df-op 4039  df-uni 4252  df-iun 4334  df-br 4457  df-opab 4516  df-mpt 4517  df-tr 4551  df-eprel 4800  df-id 4804  df-po 4809  df-so 4810  df-fr 4847  df-we 4849  df-ord 4890  df-on 4891  df-lim 4892  df-suc 4893  df-xp 5014  df-rel 5015  df-cnv 5016  df-co 5017  df-dm 5018  df-rn 5019  df-res 5020  df-ima 5021  df-iota 5557  df-fun 5596  df-fn 5597  df-f 5598  df-f1 5599  df-fo 5600  df-f1o 5601  df-fv 5602  df-riota 6258  df-ov 6299  df-oprab 6300  df-mpt2 6301  df-om 6700  df-1st 6799  df-2nd 6800  df-recs 7060  df-rdg 7094  df-er 7329  df-map 7440  df-en 7536  df-dom 7537  df-sdom 7538  df-pnf 9647  df-mnf 9648  df-xr 9649  df-ltxr 9650  df-le 9651  df-sub 9826  df-neg 9827  df-nn 10557  df-n0 10817  df-z 10886  df-uz 11107  df-fz 11698  df-seq 12111  df-sum 13521  df-ply 22711
This theorem is referenced by:  ply1term  22727  plyaddlem  22738  plymullem  22739  plycj  22800  dvply2g  22807  elqaalem3  22843  aareccl  22848  taylply2  22889  basellem2  23481  aacllem  33360
  Copyright terms: Public domain W3C validator