Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  gsummptp1 Structured version   Visualization version   GIF version

Theorem gsummptp1 33358
Description: Reindex a zero-based sum as a one-base sum. (Contributed by Thierry Arnoux, 15-Feb-2026.)
Hypotheses
Ref Expression
gsummptp1.1 𝐵 = (Base‘𝑅)
gsummptp1.2 (𝜑𝑅 ∈ CMnd)
gsummptp1.3 (𝜑𝑁 ∈ ℕ0)
gsummptp1.4 ((𝜑𝑙 ∈ (1...𝑁)) → 𝑌𝐵)
gsummptp1.5 (((𝜑𝑘 ∈ (0..^𝑁)) ∧ 𝑙 = (𝑘 + 1)) → 𝑌 = 𝑋)
Assertion
Ref Expression
gsummptp1 (𝜑 → (𝑅 Σg (𝑘 ∈ (0..^𝑁) ↦ 𝑋)) = (𝑅 Σg (𝑙 ∈ (1...𝑁) ↦ 𝑌)))
Distinct variable groups:   𝐵,𝑙   𝑘,𝑁,𝑙   𝑋,𝑙   𝑘,𝑌   𝑘,𝑙,𝜑
Allowed substitution hints:   𝐵(𝑘)   𝑅(𝑘,𝑙)   𝑋(𝑘)   𝑌(𝑙)

Proof of Theorem gsummptp1
StepHypRef Expression
1 nfcsb1v 3878 . . 3 𝑙(𝑘 + 1) / 𝑙𝑌
2 gsummptp1.1 . . 3 𝐵 = (Base‘𝑅)
3 eqid 2763 . . 3 (0g𝑅) = (0g𝑅)
4 csbeq1a 3868 . . 3 (𝑙 = (𝑘 + 1) → 𝑌 = (𝑘 + 1) / 𝑙𝑌)
5 gsummptp1.2 . . 3 (𝜑𝑅 ∈ CMnd)
6 fzfid 14011 . . 3 (𝜑 → (1...𝑁) ∈ Fin)
7 ssidd 3961 . . 3 (𝜑𝐵𝐵)
8 gsummptp1.4 . . 3 ((𝜑𝑙 ∈ (1...𝑁)) → 𝑌𝐵)
9 gsummptp1.3 . . . 4 (𝜑𝑁 ∈ ℕ0)
10 fz0add1fz1 13766 . . . 4 ((𝑁 ∈ ℕ0𝑘 ∈ (0..^𝑁)) → (𝑘 + 1) ∈ (1...𝑁))
119, 10sylan 591 . . 3 ((𝜑𝑘 ∈ (0..^𝑁)) → (𝑘 + 1) ∈ (1...𝑁))
12 fz1fzo0m1 13741 . . . . 5 (𝑙 ∈ (1...𝑁) → (𝑙 − 1) ∈ (0..^𝑁))
1312adantl 486 . . . 4 ((𝜑𝑙 ∈ (1...𝑁)) → (𝑙 − 1) ∈ (0..^𝑁))
14 eqcom 2770 . . . . 5 ((𝑘 + 1) = 𝑙𝑙 = (𝑘 + 1))
15 elfzonn0 13738 . . . . . . . 8 (𝑘 ∈ (0..^𝑁) → 𝑘 ∈ ℕ0)
1615adantl 486 . . . . . . 7 (((𝜑𝑙 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑁)) → 𝑘 ∈ ℕ0)
1716nn0cnd 12568 . . . . . 6 (((𝜑𝑙 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑁)) → 𝑘 ∈ ℂ)
18 1cnd 11203 . . . . . 6 (((𝜑𝑙 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑁)) → 1 ∈ ℂ)
19 elfznn 13583 . . . . . . . 8 (𝑙 ∈ (1...𝑁) → 𝑙 ∈ ℕ)
2019ad2antlr 739 . . . . . . 7 (((𝜑𝑙 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑁)) → 𝑙 ∈ ℕ)
2120nncnd 12250 . . . . . 6 (((𝜑𝑙 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑁)) → 𝑙 ∈ ℂ)
2217, 18, 21addlsub 11631 . . . . 5 (((𝜑𝑙 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑁)) → ((𝑘 + 1) = 𝑙𝑘 = (𝑙 − 1)))
2314, 22bitr3id 288 . . . 4 (((𝜑𝑙 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑁)) → (𝑙 = (𝑘 + 1) ↔ 𝑘 = (𝑙 − 1)))
2413, 23reu6dv 32800 . . 3 ((𝜑𝑙 ∈ (1...𝑁)) → ∃!𝑘 ∈ (0..^𝑁)𝑙 = (𝑘 + 1))
251, 2, 3, 4, 5, 6, 7, 8, 11, 24gsummptf1o 20034 . 2 (𝜑 → (𝑅 Σg (𝑙 ∈ (1...𝑁) ↦ 𝑌)) = (𝑅 Σg (𝑘 ∈ (0..^𝑁) ↦ (𝑘 + 1) / 𝑙𝑌)))
26 gsummptp1.5 . . . . 5 (((𝜑𝑘 ∈ (0..^𝑁)) ∧ 𝑙 = (𝑘 + 1)) → 𝑌 = 𝑋)
2711, 26csbied 3890 . . . 4 ((𝜑𝑘 ∈ (0..^𝑁)) → (𝑘 + 1) / 𝑙𝑌 = 𝑋)
2827mpteq2dva 5205 . . 3 (𝜑 → (𝑘 ∈ (0..^𝑁) ↦ (𝑘 + 1) / 𝑙𝑌) = (𝑘 ∈ (0..^𝑁) ↦ 𝑋))
2928oveq2d 7428 . 2 (𝜑 → (𝑅 Σg (𝑘 ∈ (0..^𝑁) ↦ (𝑘 + 1) / 𝑙𝑌)) = (𝑅 Σg (𝑘 ∈ (0..^𝑁) ↦ 𝑋)))
3025, 29eqtr2d 2799 1 (𝜑 → (𝑅 Σg (𝑘 ∈ (0..^𝑁) ↦ 𝑋)) = (𝑅 Σg (𝑙 ∈ (1...𝑁) ↦ 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400   = wceq 1570  wcel 2143  csb 3854  cmpt 5193  cfv 6538  (class class class)co 7412  0cc0 11101  1c1 11102   + caddc 11104  cmin 11442  cn 12234  0cn0 12505  ...cfz 13536  ..^cfzo 13684  Basecbs 17270  0gc0g 17493   Σg cgsu 17494  CMndccmn 19851
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-10 2176  ax-11 2192  ax-12 2213  ax-ext 2735  ax-rep 5239  ax-sep 5258  ax-nul 5270  ax-pow 5338  ax-pr 5406  ax-un 7734  ax-cnex 11157  ax-resscn 11158  ax-1cn 11159  ax-icn 11160  ax-addcl 11161  ax-addrcl 11162  ax-mulcl 11163  ax-mulrcl 11164  ax-mulcom 11165  ax-addass 11166  ax-mulass 11167  ax-distr 11168  ax-i2m1 11169  ax-1ne0 11170  ax-1rid 11171  ax-rnegex 11172  ax-rrecex 11173  ax-cnre 11174  ax-pre-lttri 11175  ax-pre-lttrn 11176  ax-pre-ltadd 11177  ax-pre-mulgt0 11178
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1810  df-nf 1814  df-sb 2097  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3065  df-ral 3080  df-rex 3090  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3457  df-sbc 3746  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-pss 3926  df-nul 4288  df-if 4489  df-pw 4565  df-sn 4591  df-pr 4593  df-op 4597  df-uni 4874  df-int 4914  df-iun 4959  df-br 5111  df-opab 5175  df-mpt 5194  df-tr 5220  df-id 5558  df-eprel 5563  df-po 5571  df-so 5572  df-fr 5616  df-se 5617  df-we 5618  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7864  df-1st 7987  df-2nd 7988  df-supp 8158  df-frecs 8279  df-wrecs 8310  df-recs 8359  df-rdg 8398  df-1o 8454  df-er 8695  df-en 8945  df-dom 8946  df-sdom 8947  df-fin 8948  df-fsupp 9323  df-oi 9473  df-card 9926  df-pnf 11246  df-mnf 11247  df-xr 11248  df-ltxr 11249  df-le 11250  df-sub 11444  df-neg 11445  df-nn 12235  df-n0 12506  df-z 12593  df-uz 12864  df-fz 13537  df-fzo 13685  df-seq 14040  df-hash 14369  df-0g 17495  df-gsum 17496  df-mgm 18699  df-sgrp 18778  df-mnd 18794  df-cntz 19388  df-cmn 19853
This theorem is referenced by:  vietalem  33950
  Copyright terms: Public domain W3C validator