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

Theorem elplyd 26186
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 6828 . . . . . . 7 (𝑗 = 𝑘 → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) = ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘))
2 oveq2 7365 . . . . . . 7 (𝑗 = 𝑘 → (𝑧𝑗) = (𝑧𝑘))
31, 2oveq12d 7375 . . . . . 6 (𝑗 = 𝑘 → (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)))
4 nffvmpt1 6839 . . . . . . 7 𝑘((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗)
5 nfcv 2901 . . . . . . 7 𝑘 ·
6 nfcv 2901 . . . . . . 7 𝑘(𝑧𝑗)
74, 5, 6nfov 7387 . . . . . 6 𝑘(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))
8 nfcv 2901 . . . . . 6 𝑗(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘))
93, 7, 8cbvsum 15649 . . . . 5 Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = Σ𝑘 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘))
10 elfznn0 13566 . . . . . . . . 9 (𝑘 ∈ (0...𝑁) → 𝑘 ∈ ℕ0)
11 iftrue 4461 . . . . . . . . . . 11 (𝑘 ∈ (0...𝑁) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) = 𝐴)
1211adantl 482 . . . . . . . . . 10 ((𝜑𝑘 ∈ (0...𝑁)) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) = 𝐴)
13 elplyd.3 . . . . . . . . . 10 ((𝜑𝑘 ∈ (0...𝑁)) → 𝐴𝑆)
1412, 13eqeltrd 2839 . . . . . . . . 9 ((𝜑𝑘 ∈ (0...𝑁)) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ 𝑆)
15 eqid 2739 . . . . . . . . . 10 (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)) = (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1615fvmpt2 6948 . . . . . . . . 9 ((𝑘 ∈ ℕ0 ∧ if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ 𝑆) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1710, 14, 16syl2an2 692 . . . . . . . 8 ((𝜑𝑘 ∈ (0...𝑁)) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1817, 12eqtrd 2774 . . . . . . 7 ((𝜑𝑘 ∈ (0...𝑁)) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = 𝐴)
1918oveq1d 7372 . . . . . 6 ((𝜑𝑘 ∈ (0...𝑁)) → (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)) = (𝐴 · (𝑧𝑘)))
2019sumeq2dv 15656 . . . . 5 (𝜑 → Σ𝑘 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)) = Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘)))
219, 20eqtrid 2786 . . . 4 (𝜑 → Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘)))
2221mpteq2dv 5167 . . 3 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) = (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))))
23 elplyd.1 . . . . 5 (𝜑𝑆 ⊆ ℂ)
24 0cnd 11129 . . . . . 6 (𝜑 → 0 ∈ ℂ)
2524snssd 4719 . . . . 5 (𝜑 → {0} ⊆ ℂ)
2623, 25unssd 4122 . . . 4 (𝜑 → (𝑆 ∪ {0}) ⊆ ℂ)
27 elplyd.2 . . . 4 (𝜑𝑁 ∈ ℕ0)
28 elun1 4112 . . . . . . . 8 (𝐴𝑆𝐴 ∈ (𝑆 ∪ {0}))
2913, 28syl 17 . . . . . . 7 ((𝜑𝑘 ∈ (0...𝑁)) → 𝐴 ∈ (𝑆 ∪ {0}))
3029adantlr 721 . . . . . 6 (((𝜑𝑘 ∈ ℕ0) ∧ 𝑘 ∈ (0...𝑁)) → 𝐴 ∈ (𝑆 ∪ {0}))
31 ssun2 4109 . . . . . . . 8 {0} ⊆ (𝑆 ∪ {0})
32 c0ex 11130 . . . . . . . . 9 0 ∈ V
3332snss 4717 . . . . . . . 8 (0 ∈ (𝑆 ∪ {0}) ↔ {0} ⊆ (𝑆 ∪ {0}))
3431, 33mpbir 232 . . . . . . 7 0 ∈ (𝑆 ∪ {0})
3534a1i 11 . . . . . 6 (((𝜑𝑘 ∈ ℕ0) ∧ ¬ 𝑘 ∈ (0...𝑁)) → 0 ∈ (𝑆 ∪ {0}))
3630, 35ifclda 4491 . . . . 5 ((𝜑𝑘 ∈ ℕ0) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ (𝑆 ∪ {0}))
3736fmpttd 7057 . . . 4 (𝜑 → (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)):ℕ0⟶(𝑆 ∪ {0}))
38 elplyr 26185 . . . 4 (((𝑆 ∪ {0}) ⊆ ℂ ∧ 𝑁 ∈ ℕ0 ∧ (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)):ℕ0⟶(𝑆 ∪ {0})) → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) ∈ (Poly‘(𝑆 ∪ {0})))
3926, 27, 37, 38syl3anc 1379 . . 3 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) ∈ (Poly‘(𝑆 ∪ {0})))
4022, 39eqeltrrd 2840 . 2 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))) ∈ (Poly‘(𝑆 ∪ {0})))
41 plyun0 26181 . 2 (Poly‘(𝑆 ∪ {0})) = (Poly‘𝑆)
4240, 41eleqtrdi 2849 1 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))) ∈ (Poly‘𝑆))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1547  wcel 2119  cun 3881  wss 3883  ifcif 4455  {csn 4556  cmpt 5154  wf 6482  cfv 6486  (class class class)co 7357  cc 11028  0cc0 11030   · cmul 11035  0cn0 12429  ...cfz 13453  cexp 14015  Σcsu 15640  Polycply 26168
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2711  ax-rep 5200  ax-sep 5219  ax-nul 5229  ax-pow 5295  ax-pr 5363  ax-un 7679  ax-cnex 11086  ax-resscn 11087  ax-1cn 11088  ax-icn 11089  ax-addcl 11090  ax-addrcl 11091  ax-mulcl 11092  ax-mulrcl 11093  ax-mulcom 11094  ax-addass 11095  ax-mulass 11096  ax-distr 11097  ax-i2m1 11098  ax-1ne0 11099  ax-1rid 11100  ax-rnegex 11101  ax-rrecex 11102  ax-cnre 11103  ax-pre-lttri 11104  ax-pre-lttrn 11105  ax-pre-ltadd 11106  ax-pre-mulgt0 11107
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3or 1093  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2718  df-cleq 2731  df-clel 2814  df-nfc 2888  df-ne 2935  df-nel 3039  df-ral 3054  df-rex 3064  df-reu 3345  df-rab 3392  df-v 3433  df-sbc 3724  df-csb 3832  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3903  df-nul 4263  df-if 4456  df-pw 4532  df-sn 4557  df-pr 4559  df-op 4563  df-uni 4840  df-iun 4924  df-br 5074  df-opab 5136  df-mpt 5155  df-tr 5181  df-id 5514  df-eprel 5519  df-po 5527  df-so 5528  df-fr 5572  df-we 5574  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-pred 6253  df-ord 6314  df-on 6315  df-lim 6316  df-suc 6317  df-iota 6442  df-fun 6488  df-fn 6489  df-f 6490  df-f1 6491  df-fo 6492  df-f1o 6493  df-fv 6494  df-riota 7314  df-ov 7360  df-oprab 7361  df-mpo 7362  df-om 7808  df-1st 7932  df-2nd 7933  df-frecs 8222  df-wrecs 8253  df-recs 8302  df-rdg 8340  df-er 8634  df-map 8766  df-en 8885  df-dom 8886  df-sdom 8887  df-pnf 11173  df-mnf 11174  df-xr 11175  df-ltxr 11176  df-le 11177  df-sub 11371  df-neg 11372  df-nn 12167  df-n0 12430  df-z 12517  df-uz 12781  df-fz 13454  df-seq 13956  df-sum 15641  df-ply 26172
This theorem is referenced by:  ply1term  26188  plyaddlem  26199  plymullem  26200  plycj  26261  plycjOLD  26263  dvply2g  26270  elqaalem3  26306  aareccl  26311  taylply2  26352  basellem2  27064  aacllem  50299
  Copyright terms: Public domain W3C validator