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

Theorem elplyd 26264
Description: Sufficient condition for elementhood in the set of polynomials. (Contributed by Mario Carneiro, 17-Jul-2014.)
Hypotheses
Ref Expression
elplyd.1 (𝜑𝑆 ⊆ ℂ)
elplyd.2 (𝜑𝑁 ∈ ℕ0)
elplyd.3 ((𝜑𝑘 ∈ (0...𝑁)) → 𝐴𝑆)
Assertion
Ref Expression
elplyd (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))) ∈ (Poly‘𝑆))
Distinct variable groups:   𝑧,𝐴   𝑧,𝑘,𝑁   𝜑,𝑘,𝑧   𝑆,𝑘,𝑧
Allowed substitution hint:   𝐴(𝑘)

Proof of Theorem elplyd
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 fveq2 6869 . . . . . . 7 (𝑗 = 𝑘 → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) = ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘))
2 oveq2 7406 . . . . . . 7 (𝑗 = 𝑘 → (𝑧𝑗) = (𝑧𝑘))
31, 2oveq12d 7416 . . . . . 6 (𝑗 = 𝑘 → (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)))
4 nffvmpt1 6880 . . . . . . 7 𝑘((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗)
5 nfcv 2926 . . . . . . 7 𝑘 ·
6 nfcv 2926 . . . . . . 7 𝑘(𝑧𝑗)
74, 5, 6nfov 7428 . . . . . 6 𝑘(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))
8 nfcv 2926 . . . . . 6 𝑗(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘))
93, 7, 8cbvsum 15724 . . . . 5 Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = Σ𝑘 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘))
10 elfznn0 13627 . . . . . . . . 9 (𝑘 ∈ (0...𝑁) → 𝑘 ∈ ℕ0)
11 iftrue 4488 . . . . . . . . . . 11 (𝑘 ∈ (0...𝑁) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) = 𝐴)
1211adantl 485 . . . . . . . . . 10 ((𝜑𝑘 ∈ (0...𝑁)) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) = 𝐴)
13 elplyd.3 . . . . . . . . . 10 ((𝜑𝑘 ∈ (0...𝑁)) → 𝐴𝑆)
1412, 13eqeltrd 2864 . . . . . . . . 9 ((𝜑𝑘 ∈ (0...𝑁)) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ 𝑆)
15 eqid 2764 . . . . . . . . . 10 (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)) = (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1615fvmpt2 6989 . . . . . . . . 9 ((𝑘 ∈ ℕ0 ∧ if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ 𝑆) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1710, 14, 16syl2an2 696 . . . . . . . 8 ((𝜑𝑘 ∈ (0...𝑁)) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1817, 12eqtrd 2799 . . . . . . 7 ((𝜑𝑘 ∈ (0...𝑁)) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = 𝐴)
1918oveq1d 7413 . . . . . 6 ((𝜑𝑘 ∈ (0...𝑁)) → (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)) = (𝐴 · (𝑧𝑘)))
2019sumeq2dv 15731 . . . . 5 (𝜑 → Σ𝑘 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)) = Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘)))
219, 20eqtrid 2811 . . . 4 (𝜑 → Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘)))
2221mpteq2dv 5196 . . 3 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) = (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))))
23 elplyd.1 . . . . 5 (𝜑𝑆 ⊆ ℂ)
24 0cnd 11174 . . . . . 6 (𝜑 → 0 ∈ ℂ)
2524snssd 4747 . . . . 5 (𝜑 → {0} ⊆ ℂ)
2623, 25unssd 4146 . . . 4 (𝜑 → (𝑆 ∪ {0}) ⊆ ℂ)
27 elplyd.2 . . . 4 (𝜑𝑁 ∈ ℕ0)
28 elun1 4136 . . . . . . . 8 (𝐴𝑆𝐴 ∈ (𝑆 ∪ {0}))
2913, 28syl 17 . . . . . . 7 ((𝜑𝑘 ∈ (0...𝑁)) → 𝐴 ∈ (𝑆 ∪ {0}))
3029adantlr 725 . . . . . 6 (((𝜑𝑘 ∈ ℕ0) ∧ 𝑘 ∈ (0...𝑁)) → 𝐴 ∈ (𝑆 ∪ {0}))
31 ssun2 4133 . . . . . . . 8 {0} ⊆ (𝑆 ∪ {0})
32 c0ex 11175 . . . . . . . . 9 0 ∈ V
3332snss 4745 . . . . . . . 8 (0 ∈ (𝑆 ∪ {0}) ↔ {0} ⊆ (𝑆 ∪ {0}))
3431, 33mpbir 233 . . . . . . 7 0 ∈ (𝑆 ∪ {0})
3534a1i 11 . . . . . 6 (((𝜑𝑘 ∈ ℕ0) ∧ ¬ 𝑘 ∈ (0...𝑁)) → 0 ∈ (𝑆 ∪ {0}))
3630, 35ifclda 4518 . . . . 5 ((𝜑𝑘 ∈ ℕ0) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ (𝑆 ∪ {0}))
3736fmpttd 7098 . . . 4 (𝜑 → (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)):ℕ0⟶(𝑆 ∪ {0}))
38 elplyr 26263 . . . 4 (((𝑆 ∪ {0}) ⊆ ℂ ∧ 𝑁 ∈ ℕ0 ∧ (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)):ℕ0⟶(𝑆 ∪ {0})) → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) ∈ (Poly‘(𝑆 ∪ {0})))
3926, 27, 37, 38syl3anc 1392 . . 3 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) ∈ (Poly‘(𝑆 ∪ {0})))
4022, 39eqeltrrd 2865 . 2 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))) ∈ (Poly‘(𝑆 ∪ {0})))
41 plyun0 26259 . 2 (Poly‘(𝑆 ∪ {0})) = (Poly‘𝑆)
4240, 41eleqtrdi 2874 1 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))) ∈ (Poly‘𝑆))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399   = wceq 1562  wcel 2144  cun 3904  wss 3906  ifcif 4482  {csn 4584  cmpt 5183  wf 6519  cfv 6523  (class class class)co 7398  cc 11073  0cc0 11075   · cmul 11080  0cn0 12483  ...cfz 13514  cexp 14076  Σcsu 15715  Polycply 26246
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736  ax-rep 5229  ax-sep 5248  ax-nul 5258  ax-pow 5324  ax-pr 5392  ax-un 7720  ax-cnex 11131  ax-resscn 11132  ax-1cn 11133  ax-icn 11134  ax-addcl 11135  ax-addrcl 11136  ax-mulcl 11137  ax-mulrcl 11138  ax-mulcom 11139  ax-addass 11140  ax-mulass 11141  ax-distr 11142  ax-i2m1 11143  ax-1ne0 11144  ax-1rid 11145  ax-rnegex 11146  ax-rrecex 11147  ax-cnre 11148  ax-pre-lttri 11149  ax-pre-lttrn 11150  ax-pre-ltadd 11151  ax-pre-mulgt0 11152
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1100  df-3an 1101  df-tru 1565  df-fal 1575  df-ex 1802  df-nf 1806  df-sb 2093  df-mo 2568  df-eu 2598  df-clab 2743  df-cleq 2756  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3064  df-ral 3079  df-rex 3089  df-reu 3370  df-rab 3417  df-v 3458  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-pss 3926  df-nul 4288  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5103  df-opab 5165  df-mpt 5184  df-tr 5210  df-id 5544  df-eprel 5549  df-po 5557  df-so 5558  df-fr 5602  df-we 5604  df-xp 5655  df-rel 5656  df-cnv 5657  df-co 5658  df-dm 5659  df-rn 5660  df-res 5661  df-ima 5662  df-pred 6290  df-ord 6351  df-on 6352  df-lim 6353  df-suc 6354  df-iota 6479  df-fun 6525  df-fn 6526  df-f 6527  df-f1 6528  df-fo 6529  df-f1o 6530  df-fv 6531  df-riota 7355  df-ov 7401  df-oprab 7402  df-mpo 7403  df-om 7849  df-1st 7972  df-2nd 7973  df-frecs 8264  df-wrecs 8295  df-recs 8344  df-rdg 8383  df-er 8680  df-map 8812  df-en 8930  df-dom 8931  df-sdom 8932  df-pnf 11220  df-mnf 11221  df-xr 11222  df-ltxr 11223  df-le 11224  df-sub 11418  df-neg 11419  df-nn 12213  df-n0 12484  df-z 12571  df-uz 12842  df-fz 13515  df-seq 14017  df-sum 15716  df-ply 26250
This theorem is referenced by:  ply1term  26266  plyaddlem  26277  plymullem  26278  plycj  26339  plycjOLD  26341  dvply2g  26351  elqaalem3  26387  aareccl  26392  taylply2  26433  basellem2  27148  aacllem  50427
  Copyright terms: Public domain W3C validator