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

Theorem gsummptnn0fz 18154
Description: A final group sum over a function over the nonnegative integers (given as mapping) is equal to a final group sum over a finite interval of nonnegative integers. (Contributed by AV, 10-Oct-2019.)
Hypotheses
Ref Expression
gsummptnn0fz.k 𝑘𝜑
gsummptnn0fz.b 𝐵 = (Base‘𝐺)
gsummptnn0fz.0 0 = (0g𝐺)
gsummptnn0fz.g (𝜑𝐺 ∈ CMnd)
gsummptnn0fz.f (𝜑 → ∀𝑘 ∈ ℕ0 𝐶𝐵)
gsummptnn0fz.s (𝜑𝑆 ∈ ℕ0)
gsummptnn0fz.u (𝜑 → ∀𝑘 ∈ ℕ0 (𝑆 < 𝑘𝐶 = 0 ))
Assertion
Ref Expression
gsummptnn0fz (𝜑 → (𝐺 Σg (𝑘 ∈ ℕ0𝐶)) = (𝐺 Σg (𝑘 ∈ (0...𝑆) ↦ 𝐶)))
Distinct variable groups:   𝐵,𝑘   𝑆,𝑘   0 ,𝑘
Allowed substitution hints:   𝜑(𝑘)   𝐶(𝑘)   𝐺(𝑘)

Proof of Theorem gsummptnn0fz
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 gsummptnn0fz.u . . . 4 (𝜑 → ∀𝑘 ∈ ℕ0 (𝑆 < 𝑘𝐶 = 0 ))
2 nfv 1830 . . . . 5 𝑥(𝑆 < 𝑘𝐶 = 0 )
3 nfv 1830 . . . . . 6 𝑘 𝑆 < 𝑥
4 nfcsb1v 3515 . . . . . . 7 𝑘𝑥 / 𝑘𝐶
54nfeq1 2764 . . . . . 6 𝑘𝑥 / 𝑘𝐶 = 0
63, 5nfim 1813 . . . . 5 𝑘(𝑆 < 𝑥𝑥 / 𝑘𝐶 = 0 )
7 breq2 4582 . . . . . 6 (𝑘 = 𝑥 → (𝑆 < 𝑘𝑆 < 𝑥))
8 csbeq1a 3508 . . . . . . 7 (𝑘 = 𝑥𝐶 = 𝑥 / 𝑘𝐶)
98eqeq1d 2612 . . . . . 6 (𝑘 = 𝑥 → (𝐶 = 0𝑥 / 𝑘𝐶 = 0 ))
107, 9imbi12d 333 . . . . 5 (𝑘 = 𝑥 → ((𝑆 < 𝑘𝐶 = 0 ) ↔ (𝑆 < 𝑥𝑥 / 𝑘𝐶 = 0 )))
112, 6, 10cbvral 3143 . . . 4 (∀𝑘 ∈ ℕ0 (𝑆 < 𝑘𝐶 = 0 ) ↔ ∀𝑥 ∈ ℕ0 (𝑆 < 𝑥𝑥 / 𝑘𝐶 = 0 ))
121, 11sylib 207 . . 3 (𝜑 → ∀𝑥 ∈ ℕ0 (𝑆 < 𝑥𝑥 / 𝑘𝐶 = 0 ))
13 simpr 476 . . . . . . . . . 10 ((𝜑𝑥 ∈ ℕ0) → 𝑥 ∈ ℕ0)
14 gsummptnn0fz.f . . . . . . . . . . . . 13 (𝜑 → ∀𝑘 ∈ ℕ0 𝐶𝐵)
1514anim2i 591 . . . . . . . . . . . 12 ((𝑥 ∈ ℕ0𝜑) → (𝑥 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ0 𝐶𝐵))
1615ancoms 468 . . . . . . . . . . 11 ((𝜑𝑥 ∈ ℕ0) → (𝑥 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ0 𝐶𝐵))
17 rspcsbela 3958 . . . . . . . . . . 11 ((𝑥 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ0 𝐶𝐵) → 𝑥 / 𝑘𝐶𝐵)
1816, 17syl 17 . . . . . . . . . 10 ((𝜑𝑥 ∈ ℕ0) → 𝑥 / 𝑘𝐶𝐵)
1913, 18jca 553 . . . . . . . . 9 ((𝜑𝑥 ∈ ℕ0) → (𝑥 ∈ ℕ0𝑥 / 𝑘𝐶𝐵))
2019adantr 480 . . . . . . . 8 (((𝜑𝑥 ∈ ℕ0) ∧ 𝑥 / 𝑘𝐶 = 0 ) → (𝑥 ∈ ℕ0𝑥 / 𝑘𝐶𝐵))
21 eqid 2610 . . . . . . . . 9 (𝑘 ∈ ℕ0𝐶) = (𝑘 ∈ ℕ0𝐶)
2221fvmpts 6179 . . . . . . . 8 ((𝑥 ∈ ℕ0𝑥 / 𝑘𝐶𝐵) → ((𝑘 ∈ ℕ0𝐶)‘𝑥) = 𝑥 / 𝑘𝐶)
2320, 22syl 17 . . . . . . 7 (((𝜑𝑥 ∈ ℕ0) ∧ 𝑥 / 𝑘𝐶 = 0 ) → ((𝑘 ∈ ℕ0𝐶)‘𝑥) = 𝑥 / 𝑘𝐶)
24 simpr 476 . . . . . . 7 (((𝜑𝑥 ∈ ℕ0) ∧ 𝑥 / 𝑘𝐶 = 0 ) → 𝑥 / 𝑘𝐶 = 0 )
2523, 24eqtrd 2644 . . . . . 6 (((𝜑𝑥 ∈ ℕ0) ∧ 𝑥 / 𝑘𝐶 = 0 ) → ((𝑘 ∈ ℕ0𝐶)‘𝑥) = 0 )
2625ex 449 . . . . 5 ((𝜑𝑥 ∈ ℕ0) → (𝑥 / 𝑘𝐶 = 0 → ((𝑘 ∈ ℕ0𝐶)‘𝑥) = 0 ))
2726imim2d 55 . . . 4 ((𝜑𝑥 ∈ ℕ0) → ((𝑆 < 𝑥𝑥 / 𝑘𝐶 = 0 ) → (𝑆 < 𝑥 → ((𝑘 ∈ ℕ0𝐶)‘𝑥) = 0 )))
2827ralimdva 2945 . . 3 (𝜑 → (∀𝑥 ∈ ℕ0 (𝑆 < 𝑥𝑥 / 𝑘𝐶 = 0 ) → ∀𝑥 ∈ ℕ0 (𝑆 < 𝑥 → ((𝑘 ∈ ℕ0𝐶)‘𝑥) = 0 )))
2912, 28mpd 15 . 2 (𝜑 → ∀𝑥 ∈ ℕ0 (𝑆 < 𝑥 → ((𝑘 ∈ ℕ0𝐶)‘𝑥) = 0 ))
30 gsummptnn0fz.b . . 3 𝐵 = (Base‘𝐺)
31 gsummptnn0fz.0 . . 3 0 = (0g𝐺)
32 gsummptnn0fz.g . . 3 (𝜑𝐺 ∈ CMnd)
3321fmpt 6274 . . . . 5 (∀𝑘 ∈ ℕ0 𝐶𝐵 ↔ (𝑘 ∈ ℕ0𝐶):ℕ0𝐵)
3414, 33sylib 207 . . . 4 (𝜑 → (𝑘 ∈ ℕ0𝐶):ℕ0𝐵)
35 fvex 6098 . . . . . . 7 (Base‘𝐺) ∈ V
3630, 35eqeltri 2684 . . . . . 6 𝐵 ∈ V
37 nn0ex 11148 . . . . . 6 0 ∈ V
3836, 37pm3.2i 470 . . . . 5 (𝐵 ∈ V ∧ ℕ0 ∈ V)
39 elmapg 7735 . . . . 5 ((𝐵 ∈ V ∧ ℕ0 ∈ V) → ((𝑘 ∈ ℕ0𝐶) ∈ (𝐵𝑚0) ↔ (𝑘 ∈ ℕ0𝐶):ℕ0𝐵))
4038, 39mp1i 13 . . . 4 (𝜑 → ((𝑘 ∈ ℕ0𝐶) ∈ (𝐵𝑚0) ↔ (𝑘 ∈ ℕ0𝐶):ℕ0𝐵))
4134, 40mpbird 246 . . 3 (𝜑 → (𝑘 ∈ ℕ0𝐶) ∈ (𝐵𝑚0))
42 gsummptnn0fz.s . . 3 (𝜑𝑆 ∈ ℕ0)
43 fz0ssnn0 12262 . . . . 5 (0...𝑆) ⊆ ℕ0
44 resmpt 5356 . . . . 5 ((0...𝑆) ⊆ ℕ0 → ((𝑘 ∈ ℕ0𝐶) ↾ (0...𝑆)) = (𝑘 ∈ (0...𝑆) ↦ 𝐶))
4543, 44ax-mp 5 . . . 4 ((𝑘 ∈ ℕ0𝐶) ↾ (0...𝑆)) = (𝑘 ∈ (0...𝑆) ↦ 𝐶)
4645eqcomi 2619 . . 3 (𝑘 ∈ (0...𝑆) ↦ 𝐶) = ((𝑘 ∈ ℕ0𝐶) ↾ (0...𝑆))
4730, 31, 32, 41, 42, 46fsfnn0gsumfsffz 18151 . 2 (𝜑 → (∀𝑥 ∈ ℕ0 (𝑆 < 𝑥 → ((𝑘 ∈ ℕ0𝐶)‘𝑥) = 0 ) → (𝐺 Σg (𝑘 ∈ ℕ0𝐶)) = (𝐺 Σg (𝑘 ∈ (0...𝑆) ↦ 𝐶))))
4829, 47mpd 15 1 (𝜑 → (𝐺 Σg (𝑘 ∈ ℕ0𝐶)) = (𝐺 Σg (𝑘 ∈ (0...𝑆) ↦ 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wnf 1699  wcel 1977  wral 2896  Vcvv 3173  csb 3499  wss 3540   class class class wbr 4578  cmpt 4638  cres 5030  wf 5786  cfv 5790  (class class class)co 6527  𝑚 cmap 7722  0cc0 9793   < clt 9931  0cn0 11142  ...cfz 12155  Basecbs 15644  0gc0g 15872   Σg cgsu 15873  CMndccmn 17965
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4694  ax-sep 4704  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6825  ax-cnex 9849  ax-resscn 9850  ax-1cn 9851  ax-icn 9852  ax-addcl 9853  ax-addrcl 9854  ax-mulcl 9855  ax-mulrcl 9856  ax-mulcom 9857  ax-addass 9858  ax-mulass 9859  ax-distr 9860  ax-i2m1 9861  ax-1ne0 9862  ax-1rid 9863  ax-rnegex 9864  ax-rrecex 9865  ax-cnre 9866  ax-pre-lttri 9867  ax-pre-lttrn 9868  ax-pre-ltadd 9869  ax-pre-mulgt0 9870
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-fal 1481  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4368  df-int 4406  df-iun 4452  df-br 4579  df-opab 4639  df-mpt 4640  df-tr 4676  df-eprel 4939  df-id 4943  df-po 4949  df-so 4950  df-fr 4987  df-se 4988  df-we 4989  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-pred 5583  df-ord 5629  df-on 5630  df-lim 5631  df-suc 5632  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-f1 5795  df-fo 5796  df-f1o 5797  df-fv 5798  df-isom 5799  df-riota 6489  df-ov 6530  df-oprab 6531  df-mpt2 6532  df-om 6936  df-1st 7037  df-2nd 7038  df-supp 7161  df-wrecs 7272  df-recs 7333  df-rdg 7371  df-1o 7425  df-oadd 7429  df-er 7607  df-map 7724  df-en 7820  df-dom 7821  df-sdom 7822  df-fin 7823  df-fsupp 8137  df-oi 8276  df-card 8626  df-pnf 9933  df-mnf 9934  df-xr 9935  df-ltxr 9936  df-le 9937  df-sub 10120  df-neg 10121  df-nn 10871  df-n0 11143  df-z 11214  df-uz 11523  df-fz 12156  df-fzo 12293  df-seq 12622  df-hash 12938  df-0g 15874  df-gsum 15875  df-mgm 17014  df-sgrp 17056  df-mnd 17067  df-cntz 17522  df-cmn 17967
This theorem is referenced by:  gsummptnn0fzv  18155  gsummoncoe1  19444  pmatcollpwfi  20354
  Copyright terms: Public domain W3C validator