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

Theorem elplyd 24463
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 nffvmpt1 6541 . . . . . . 7 𝑘((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗)
2 nfcv 2947 . . . . . . 7 𝑘 ·
3 nfcv 2947 . . . . . . 7 𝑘(𝑧𝑗)
41, 2, 3nfov 7037 . . . . . 6 𝑘(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))
5 nfcv 2947 . . . . . 6 𝑗(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘))
6 fveq2 6530 . . . . . . 7 (𝑗 = 𝑘 → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) = ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘))
7 oveq2 7015 . . . . . . 7 (𝑗 = 𝑘 → (𝑧𝑗) = (𝑧𝑘))
86, 7oveq12d 7025 . . . . . 6 (𝑗 = 𝑘 → (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)))
94, 5, 8cbvsumi 14875 . . . . 5 Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = Σ𝑘 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘))
10 elfznn0 12839 . . . . . . . . 9 (𝑘 ∈ (0...𝑁) → 𝑘 ∈ ℕ0)
11 iftrue 4381 . . . . . . . . . . 11 (𝑘 ∈ (0...𝑁) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) = 𝐴)
1211adantl 482 . . . . . . . . . 10 ((𝜑𝑘 ∈ (0...𝑁)) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) = 𝐴)
13 elplyd.3 . . . . . . . . . 10 ((𝜑𝑘 ∈ (0...𝑁)) → 𝐴𝑆)
1412, 13eqeltrd 2881 . . . . . . . . 9 ((𝜑𝑘 ∈ (0...𝑁)) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ 𝑆)
15 eqid 2793 . . . . . . . . . 10 (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)) = (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1615fvmpt2 6636 . . . . . . . . 9 ((𝑘 ∈ ℕ0 ∧ if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ 𝑆) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1710, 14, 16syl2an2 682 . . . . . . . 8 ((𝜑𝑘 ∈ (0...𝑁)) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = if(𝑘 ∈ (0...𝑁), 𝐴, 0))
1817, 12eqtrd 2829 . . . . . . 7 ((𝜑𝑘 ∈ (0...𝑁)) → ((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) = 𝐴)
1918oveq1d 7022 . . . . . 6 ((𝜑𝑘 ∈ (0...𝑁)) → (((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)) = (𝐴 · (𝑧𝑘)))
2019sumeq2dv 14881 . . . . 5 (𝜑 → Σ𝑘 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑘) · (𝑧𝑘)) = Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘)))
219, 20syl5eq 2841 . . . 4 (𝜑 → Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗)) = Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘)))
2221mpteq2dv 5050 . . 3 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) = (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))))
23 elplyd.1 . . . . 5 (𝜑𝑆 ⊆ ℂ)
24 0cnd 10469 . . . . . 6 (𝜑 → 0 ∈ ℂ)
2524snssd 4643 . . . . 5 (𝜑 → {0} ⊆ ℂ)
2623, 25unssd 4078 . . . 4 (𝜑 → (𝑆 ∪ {0}) ⊆ ℂ)
27 elplyd.2 . . . 4 (𝜑𝑁 ∈ ℕ0)
28 elun1 4068 . . . . . . . 8 (𝐴𝑆𝐴 ∈ (𝑆 ∪ {0}))
2913, 28syl 17 . . . . . . 7 ((𝜑𝑘 ∈ (0...𝑁)) → 𝐴 ∈ (𝑆 ∪ {0}))
3029adantlr 711 . . . . . 6 (((𝜑𝑘 ∈ ℕ0) ∧ 𝑘 ∈ (0...𝑁)) → 𝐴 ∈ (𝑆 ∪ {0}))
31 ssun2 4065 . . . . . . . 8 {0} ⊆ (𝑆 ∪ {0})
32 c0ex 10470 . . . . . . . . 9 0 ∈ V
3332snss 4619 . . . . . . . 8 (0 ∈ (𝑆 ∪ {0}) ↔ {0} ⊆ (𝑆 ∪ {0}))
3431, 33mpbir 232 . . . . . . 7 0 ∈ (𝑆 ∪ {0})
3534a1i 11 . . . . . 6 (((𝜑𝑘 ∈ ℕ0) ∧ ¬ 𝑘 ∈ (0...𝑁)) → 0 ∈ (𝑆 ∪ {0}))
3630, 35ifclda 4409 . . . . 5 ((𝜑𝑘 ∈ ℕ0) → if(𝑘 ∈ (0...𝑁), 𝐴, 0) ∈ (𝑆 ∪ {0}))
3736fmpttd 6733 . . . 4 (𝜑 → (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)):ℕ0⟶(𝑆 ∪ {0}))
38 elplyr 24462 . . . 4 (((𝑆 ∪ {0}) ⊆ ℂ ∧ 𝑁 ∈ ℕ0 ∧ (𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0)):ℕ0⟶(𝑆 ∪ {0})) → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) ∈ (Poly‘(𝑆 ∪ {0})))
3926, 27, 37, 38syl3anc 1362 . . 3 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑗 ∈ (0...𝑁)(((𝑘 ∈ ℕ0 ↦ if(𝑘 ∈ (0...𝑁), 𝐴, 0))‘𝑗) · (𝑧𝑗))) ∈ (Poly‘(𝑆 ∪ {0})))
4022, 39eqeltrrd 2882 . 2 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))) ∈ (Poly‘(𝑆 ∪ {0})))
41 plyun0 24458 . 2 (Poly‘(𝑆 ∪ {0})) = (Poly‘𝑆)
4240, 41syl6eleq 2891 1 (𝜑 → (𝑧 ∈ ℂ ↦ Σ𝑘 ∈ (0...𝑁)(𝐴 · (𝑧𝑘))) ∈ (Poly‘𝑆))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1520  wcel 2079  cun 3852  wss 3854  ifcif 4375  {csn 4466  cmpt 5035  wf 6213  cfv 6217  (class class class)co 7007  cc 10370  0cc0 10372   · cmul 10377  0cn0 11734  ...cfz 12731  cexp 13267  Σcsu 14864  Polycply 24445
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1775  ax-4 1789  ax-5 1886  ax-6 1945  ax-7 1990  ax-8 2081  ax-9 2089  ax-10 2110  ax-11 2124  ax-12 2139  ax-13 2342  ax-ext 2767  ax-rep 5075  ax-sep 5088  ax-nul 5095  ax-pow 5150  ax-pr 5214  ax-un 7310  ax-cnex 10428  ax-resscn 10429  ax-1cn 10430  ax-icn 10431  ax-addcl 10432  ax-addrcl 10433  ax-mulcl 10434  ax-mulrcl 10435  ax-mulcom 10436  ax-addass 10437  ax-mulass 10438  ax-distr 10439  ax-i2m1 10440  ax-1ne0 10441  ax-1rid 10442  ax-rnegex 10443  ax-rrecex 10444  ax-cnre 10445  ax-pre-lttri 10446  ax-pre-lttrn 10447  ax-pre-ltadd 10448  ax-pre-mulgt0 10449
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 843  df-3or 1079  df-3an 1080  df-tru 1523  df-fal 1533  df-ex 1760  df-nf 1764  df-sb 2041  df-mo 2574  df-eu 2610  df-clab 2774  df-cleq 2786  df-clel 2861  df-nfc 2933  df-ne 2983  df-nel 3089  df-ral 3108  df-rex 3109  df-reu 3110  df-rab 3112  df-v 3434  df-sbc 3702  df-csb 3807  df-dif 3857  df-un 3859  df-in 3861  df-ss 3869  df-pss 3871  df-nul 4207  df-if 4376  df-pw 4449  df-sn 4467  df-pr 4469  df-tp 4471  df-op 4473  df-uni 4740  df-iun 4821  df-br 4957  df-opab 5019  df-mpt 5036  df-tr 5058  df-id 5340  df-eprel 5345  df-po 5354  df-so 5355  df-fr 5394  df-we 5396  df-xp 5441  df-rel 5442  df-cnv 5443  df-co 5444  df-dm 5445  df-rn 5446  df-res 5447  df-ima 5448  df-pred 6015  df-ord 6061  df-on 6062  df-lim 6063  df-suc 6064  df-iota 6181  df-fun 6219  df-fn 6220  df-f 6221  df-f1 6222  df-fo 6223  df-f1o 6224  df-fv 6225  df-riota 6968  df-ov 7010  df-oprab 7011  df-mpo 7012  df-om 7428  df-1st 7536  df-2nd 7537  df-wrecs 7789  df-recs 7851  df-rdg 7889  df-er 8130  df-map 8249  df-en 8348  df-dom 8349  df-sdom 8350  df-pnf 10512  df-mnf 10513  df-xr 10514  df-ltxr 10515  df-le 10516  df-sub 10708  df-neg 10709  df-nn 11476  df-n0 11735  df-z 11819  df-uz 12083  df-fz 12732  df-seq 13208  df-sum 14865  df-ply 24449
This theorem is referenced by:  ply1term  24465  plyaddlem  24476  plymullem  24477  plycj  24538  dvply2g  24545  elqaalem3  24581  aareccl  24586  taylply2  24627  basellem2  25329  aacllem  44336
  Copyright terms: Public domain W3C validator