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

Theorem gsummpt1n0 20247
Description: If only one summand in a finite group sum is not zero, the whole sum equals this summand. More general version of gsummptif1n0 20248. (Contributed by AV, 11-Oct-2019.)
Hypotheses
Ref Expression
gsummpt1n0.0 0 = (0g‘𝐺)
gsummpt1n0.g (𝜑 → 𝐺 ∈ Mnd)
gsummpt1n0.i (𝜑 → 𝐼 ∈ 𝑊)
gsummpt1n0.x (𝜑 → 𝑋 ∈ 𝐼)
gsummpt1n0.f 𝐹 = (𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 ))
gsummpt1n0.a (𝜑 → ∀𝑛 ∈ 𝐼 𝐴 ∈ (Base‘𝐺))
Assertion
Ref Expression
gsummpt1n0 (𝜑 → (𝐺 Σg 𝐹) = ⦋𝑋 / 𝑛⦌𝐴)
Distinct variable groups:   𝑛,𝐺   𝑛,𝐼   𝑛,𝑋   𝜑,𝑛   0 ,𝑛
Allowed substitution hints:   𝐴(𝑛)   𝐹(𝑛)   𝑊(𝑛)

Proof of Theorem gsummpt1n0
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 eqid 2769 . . 3 (Base‘𝐺) = (Base‘𝐺)
2 gsummpt1n0.0 . . 3 0 = (0g‘𝐺)
3 gsummpt1n0.g . . 3 (𝜑 → 𝐺 ∈ Mnd)
4 gsummpt1n0.i . . 3 (𝜑 → 𝐼 ∈ 𝑊)
5 gsummpt1n0.x . . 3 (𝜑 → 𝑋 ∈ 𝐼)
6 gsummpt1n0.a . . . . . 6 (𝜑 → ∀𝑛 ∈ 𝐼 𝐴 ∈ (Base‘𝐺))
76r19.21bi 3261 . . . . 5 ((𝜑 ∧ 𝑛 ∈ 𝐼) → 𝐴 ∈ (Base‘𝐺))
81, 2mndidcl 19006 . . . . . . 7 (𝐺 ∈ Mnd → 0 ∈ (Base‘𝐺))
93, 8syl 18 . . . . . 6 (𝜑 → 0 ∈ (Base‘𝐺))
109adantr 486 . . . . 5 ((𝜑 ∧ 𝑛 ∈ 𝐼) → 0 ∈ (Base‘𝐺))
117, 10ifcld 4534 . . . 4 ((𝜑 ∧ 𝑛 ∈ 𝐼) → if(𝑛 = 𝑋, 𝐴, 0 ) ∈ (Base‘𝐺))
12 gsummpt1n0.f . . . 4 𝐹 = (𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 ))
1311, 12fmptd 7156 . . 3 (𝜑 → 𝐹:𝐼⟶(Base‘𝐺))
1412oveq1i 7471 . . . 4 (𝐹 supp 0 ) = ((𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) supp 0 )
15 eldifsni 4758 . . . . . . 7 (𝑛 ∈ (𝐼 ∖ {𝑋}) → 𝑛 ≠ 𝑋)
1615adantl 487 . . . . . 6 ((𝜑 ∧ 𝑛 ∈ (𝐼 ∖ {𝑋})) → 𝑛 ≠ 𝑋)
17 ifnefalse 4499 . . . . . 6 (𝑛 ≠ 𝑋 → if(𝑛 = 𝑋, 𝐴, 0 ) = 0 )
1816, 17syl 18 . . . . 5 ((𝜑 ∧ 𝑛 ∈ (𝐼 ∖ {𝑋})) → if(𝑛 = 𝑋, 𝐴, 0 ) = 0 )
1918, 4suppss2 8265 . . . 4 (𝜑 → ((𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) supp 0 ) ⊆ {𝑋})
2014, 19eqsstrid 3953 . . 3 (𝜑 → (𝐹 supp 0 ) ⊆ {𝑋})
211, 2, 3, 4, 5, 13, 20gsumpt 20244 . 2 (𝜑 → (𝐺 Σg 𝐹) = (𝐹‘𝑋))
22 nfcv 2932 . . . . 5 Ⅎ𝑦if(𝑛 = 𝑋, 𝐴, 0 )
23 nfv 1951 . . . . . 6 Ⅎ𝑛 𝑦 = 𝑋
24 nfcsb1v 3877 . . . . . 6 Ⅎ𝑛⦋𝑦 / 𝑛⦌𝐴
25 nfcv 2932 . . . . . 6 Ⅎ𝑛 0
2623, 24, 25nfif 4518 . . . . 5 Ⅎ𝑛if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 )
27 eqeq1 2773 . . . . . 6 (𝑛 = 𝑦 → (𝑛 = 𝑋 ↔ 𝑦 = 𝑋))
28 csbeq1a 3867 . . . . . 6 (𝑛 = 𝑦 → 𝐴 = ⦋𝑦 / 𝑛⦌𝐴)
2927, 28ifbieq1d 4512 . . . . 5 (𝑛 = 𝑦 → if(𝑛 = 𝑋, 𝐴, 0 ) = if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ))
3022, 26, 29cbvmpt 5216 . . . 4 (𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) = (𝑦 ∈ 𝐼 ↦ if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ))
3112, 30eqtri 2792 . . 3 𝐹 = (𝑦 ∈ 𝐼 ↦ if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ))
32 iftrue 4493 . . . 4 (𝑦 = 𝑋 → if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ) = ⦋𝑦 / 𝑛⦌𝐴)
33 csbeq1 3856 . . . 4 (𝑦 = 𝑋 → ⦋𝑦 / 𝑛⦌𝐴 = ⦋𝑋 / 𝑛⦌𝐴)
3432, 33eqtrd 2804 . . 3 (𝑦 = 𝑋 → if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ) = ⦋𝑋 / 𝑛⦌𝐴)
35 rspcsbela 4401 . . . 4 ((𝑋 ∈ 𝐼 ∧ ∀𝑛 ∈ 𝐼 𝐴 ∈ (Base‘𝐺)) → ⦋𝑋 / 𝑛⦌𝐴 ∈ (Base‘𝐺))
365, 6, 35syl2anc 596 . . 3 (𝜑 → ⦋𝑋 / 𝑛⦌𝐴 ∈ (Base‘𝐺))
3731, 34, 5, 36fvmptd3 7058 . 2 (𝜑 → (𝐹‘𝑋) = ⦋𝑋 / 𝑛⦌𝐴)
3821, 37eqtrd 2804 1 (𝜑 → (𝐺 Σg 𝐹) = ⦋𝑋 / 𝑛⦌𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151   ≠ wne 2965  ∀wral 3086  ⦋csb 3853   ∖ cdif 4050  ifcif 4487  {csn 4590   ↦ cmpt 5195  ‘cfv 6573  (class class class)co 7461   supp csupp 8224  Basecbs 17444  0gc0g 17677   Σg cgsu 17678  Mndcmnd 18990
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793  ax-cnex 11305  ax-resscn 11306  ax-1cn 11307  ax-icn 11308  ax-addcl 11309  ax-addrcl 11310  ax-mulcl 11311  ax-mulrcl 11312  ax-mulcom 11313  ax-addass 11314  ax-mulass 11315  ax-distr 11316  ax-i2m1 11317  ax-1ne0 11318  ax-1rid 11319  ax-rnegex 11320  ax-rrecex 11321  ax-cnre 11322  ax-pre-lttri 11323  ax-pre-lttrn 11324  ax-pre-ltadd 11325  ax-pre-mulgt0 11326
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-int 4916  df-iun 4961  df-iin 4962  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-se 5615  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-isom 6582  df-riota 7418  df-ov 7464  df-oprab 7465  df-mpo 7466  df-om 7922  df-1st 8045  df-2nd 8046  df-supp 8225  df-frecs 8347  df-wrecs 8378  df-recs 8427  df-rdg 8466  df-1o 8524  df-2o 8525  df-er 8765  df-en 9022  df-dom 9023  df-sdom 9024  df-fin 9025  df-fsupp 9402  df-oi 9551  df-card 10067  df-pnf 11394  df-mnf 11395  df-xr 11396  df-ltxr 11397  df-le 11398  df-sub 11592  df-neg 11593  df-nn 12386  df-2 12455  df-n0 12657  df-z 12744  df-uz 13016  df-fz 13690  df-fzo 13839  df-seq 14195  df-hash 14526  df-sets 17399  df-slot 17417  df-ndx 17429  df-base 17445  df-ress 17466  df-plusg 17499  df-0g 17679  df-gsum 17680  df-mre 17823  df-mrc 17824  df-acs 17826  df-mgm 18883  df-sgrp 18975  df-mnd 18991  df-submnd 19046  df-mulg 19345  df-cntz 19599  df-cmn 20064
This theorem is used by:  gsummptif1n0  20248  gsummoncoe1  22704  scmatscm  22906  idpm2idmp  23197  mp2pm2mplem4  23205  monmat2matmon  23220
  Copyright terms: Public domain W3C validator