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

Theorem smupf 16175
Description: The sequence of partial sums of the sequence multiplication. (Contributed by Mario Carneiro, 9-Sep-2016.)
Hypotheses
Ref Expression
smuval.a (𝜑𝐴 ⊆ ℕ0)
smuval.b (𝜑𝐵 ⊆ ℕ0)
smuval.p 𝑃 = seq0((𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)})), (𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1))))
Assertion
Ref Expression
smupf (𝜑𝑃:ℕ0⟶𝒫 ℕ0)
Distinct variable groups:   𝑚,𝑛,𝑝,𝐴   𝜑,𝑛   𝐵,𝑚,𝑛,𝑝
Allowed substitution hints:   𝜑(𝑚,𝑝)   𝑃(𝑚,𝑛,𝑝)

Proof of Theorem smupf
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 0nn0 12240 . . . . 5 0 ∈ ℕ0
2 iftrue 4471 . . . . . 6 (𝑛 = 0 → if(𝑛 = 0, ∅, (𝑛 − 1)) = ∅)
3 eqid 2740 . . . . . 6 (𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1))) = (𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1)))
4 0ex 5235 . . . . . 6 ∅ ∈ V
52, 3, 4fvmpt 6870 . . . . 5 (0 ∈ ℕ0 → ((𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1)))‘0) = ∅)
61, 5mp1i 13 . . . 4 (𝜑 → ((𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1)))‘0) = ∅)
7 0elpw 5282 . . . 4 ∅ ∈ 𝒫 ℕ0
86, 7eqeltrdi 2849 . . 3 (𝜑 → ((𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1)))‘0) ∈ 𝒫 ℕ0)
9 df-ov 7272 . . . . 5 (𝑥(𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}))𝑦) = ((𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}))‘⟨𝑥, 𝑦⟩)
10 elpwi 4548 . . . . . . . . . . 11 (𝑝 ∈ 𝒫 ℕ0𝑝 ⊆ ℕ0)
1110adantr 481 . . . . . . . . . 10 ((𝑝 ∈ 𝒫 ℕ0𝑚 ∈ ℕ0) → 𝑝 ⊆ ℕ0)
12 ssrab2 4018 . . . . . . . . . 10 {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)} ⊆ ℕ0
13 sadcl 16159 . . . . . . . . . 10 ((𝑝 ⊆ ℕ0 ∧ {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)} ⊆ ℕ0) → (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}) ⊆ ℕ0)
1411, 12, 13sylancl 586 . . . . . . . . 9 ((𝑝 ∈ 𝒫 ℕ0𝑚 ∈ ℕ0) → (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}) ⊆ ℕ0)
15 nn0ex 12231 . . . . . . . . . 10 0 ∈ V
1615elpw2 5273 . . . . . . . . 9 ((𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}) ∈ 𝒫 ℕ0 ↔ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}) ⊆ ℕ0)
1714, 16sylibr 233 . . . . . . . 8 ((𝑝 ∈ 𝒫 ℕ0𝑚 ∈ ℕ0) → (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}) ∈ 𝒫 ℕ0)
1817rgen2 3129 . . . . . . 7 𝑝 ∈ 𝒫 ℕ0𝑚 ∈ ℕ0 (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}) ∈ 𝒫 ℕ0
19 eqid 2740 . . . . . . . 8 (𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)})) = (𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}))
2019fmpo 7895 . . . . . . 7 (∀𝑝 ∈ 𝒫 ℕ0𝑚 ∈ ℕ0 (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}) ∈ 𝒫 ℕ0 ↔ (𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)})):(𝒫 ℕ0 × ℕ0)⟶𝒫 ℕ0)
2118, 20mpbi 229 . . . . . 6 (𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)})):(𝒫 ℕ0 × ℕ0)⟶𝒫 ℕ0
2221, 7f0cli 6969 . . . . 5 ((𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}))‘⟨𝑥, 𝑦⟩) ∈ 𝒫 ℕ0
239, 22eqeltri 2837 . . . 4 (𝑥(𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}))𝑦) ∈ 𝒫 ℕ0
2423a1i 11 . . 3 ((𝜑 ∧ (𝑥 ∈ 𝒫 ℕ0𝑦 ∈ V)) → (𝑥(𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)}))𝑦) ∈ 𝒫 ℕ0)
25 nn0uz 12611 . . 3 0 = (ℤ‘0)
26 0zd 12323 . . 3 (𝜑 → 0 ∈ ℤ)
27 fvexd 6784 . . 3 ((𝜑𝑥 ∈ (ℤ‘(0 + 1))) → ((𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1)))‘𝑥) ∈ V)
288, 24, 25, 26, 27seqf2 13732 . 2 (𝜑 → seq0((𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)})), (𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1)))):ℕ0⟶𝒫 ℕ0)
29 smuval.p . . 3 𝑃 = seq0((𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)})), (𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1))))
3029feq1i 6588 . 2 (𝑃:ℕ0⟶𝒫 ℕ0 ↔ seq0((𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0 ↦ (𝑝 sadd {𝑛 ∈ ℕ0 ∣ (𝑚𝐴 ∧ (𝑛𝑚) ∈ 𝐵)})), (𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1)))):ℕ0⟶𝒫 ℕ0)
3128, 30sylibr 233 1 (𝜑𝑃:ℕ0⟶𝒫 ℕ0)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1542  wcel 2110  wral 3066  {crab 3070  Vcvv 3431  wss 3892  c0 4262  ifcif 4465  𝒫 cpw 4539  cop 4573  cmpt 5162   × cxp 5587  wf 6427  cfv 6431  (class class class)co 7269  cmpo 7271  0cc0 10864  1c1 10865   + caddc 10867  cmin 11197  0cn0 12225  cuz 12573  seqcseq 13711   sadd csad 16117
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 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7580  ax-cnex 10920  ax-resscn 10921  ax-1cn 10922  ax-icn 10923  ax-addcl 10924  ax-addrcl 10925  ax-mulcl 10926  ax-mulrcl 10927  ax-mulcom 10928  ax-addass 10929  ax-mulass 10930  ax-distr 10931  ax-i2m1 10932  ax-1ne0 10933  ax-1rid 10934  ax-rnegex 10935  ax-rrecex 10936  ax-cnre 10937  ax-pre-lttri 10938  ax-pre-lttrn 10939  ax-pre-ltadd 10940  ax-pre-mulgt0 10941
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-xor 1507  df-tru 1545  df-fal 1555  df-had 1599  df-cad 1613  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-nel 3052  df-ral 3071  df-rex 3072  df-reu 3073  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4846  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-tr 5197  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6200  df-ord 6267  df-on 6268  df-lim 6269  df-suc 6270  df-iota 6389  df-fun 6433  df-fn 6434  df-f 6435  df-f1 6436  df-fo 6437  df-f1o 6438  df-fv 6439  df-riota 7226  df-ov 7272  df-oprab 7273  df-mpo 7274  df-om 7702  df-1st 7818  df-2nd 7819  df-frecs 8082  df-wrecs 8113  df-recs 8187  df-rdg 8226  df-er 8473  df-en 8709  df-dom 8710  df-sdom 8711  df-pnf 11004  df-mnf 11005  df-xr 11006  df-ltxr 11007  df-le 11008  df-sub 11199  df-neg 11200  df-nn 11966  df-n0 12226  df-z 12312  df-uz 12574  df-fz 13231  df-seq 13712  df-sad 16148
This theorem is referenced by:  smupp1  16177  smuval2  16179  smupvallem  16180  smueqlem  16187
  Copyright terms: Public domain W3C validator