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

Theorem gsummpt1n0 19998
Description: If only one summand in a finite group sum is not zero, the whole sum equals this summand. More general version of gsummptif1n0 19999. (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 2735 . . 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 3249 . . . . 5 ((𝜑𝑛𝐼) → 𝐴 ∈ (Base‘𝐺))
81, 2mndidcl 18775 . . . . . . 7 (𝐺 ∈ Mnd → 0 ∈ (Base‘𝐺))
93, 8syl 17 . . . . . 6 (𝜑0 ∈ (Base‘𝐺))
109adantr 480 . . . . 5 ((𝜑𝑛𝐼) → 0 ∈ (Base‘𝐺))
117, 10ifcld 4577 . . . 4 ((𝜑𝑛𝐼) → if(𝑛 = 𝑋, 𝐴, 0 ) ∈ (Base‘𝐺))
12 gsummpt1n0.f . . . 4 𝐹 = (𝑛𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 ))
1311, 12fmptd 7134 . . 3 (𝜑𝐹:𝐼⟶(Base‘𝐺))
1412oveq1i 7441 . . . 4 (𝐹 supp 0 ) = ((𝑛𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) supp 0 )
15 eldifsni 4795 . . . . . . 7 (𝑛 ∈ (𝐼 ∖ {𝑋}) → 𝑛𝑋)
1615adantl 481 . . . . . 6 ((𝜑𝑛 ∈ (𝐼 ∖ {𝑋})) → 𝑛𝑋)
17 ifnefalse 4543 . . . . . 6 (𝑛𝑋 → if(𝑛 = 𝑋, 𝐴, 0 ) = 0 )
1816, 17syl 17 . . . . 5 ((𝜑𝑛 ∈ (𝐼 ∖ {𝑋})) → if(𝑛 = 𝑋, 𝐴, 0 ) = 0 )
1918, 4suppss2 8224 . . . 4 (𝜑 → ((𝑛𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) supp 0 ) ⊆ {𝑋})
2014, 19eqsstrid 4044 . . 3 (𝜑 → (𝐹 supp 0 ) ⊆ {𝑋})
211, 2, 3, 4, 5, 13, 20gsumpt 19995 . 2 (𝜑 → (𝐺 Σg 𝐹) = (𝐹𝑋))
22 nfcv 2903 . . . . 5 𝑦if(𝑛 = 𝑋, 𝐴, 0 )
23 nfv 1912 . . . . . 6 𝑛 𝑦 = 𝑋
24 nfcsb1v 3933 . . . . . 6 𝑛𝑦 / 𝑛𝐴
25 nfcv 2903 . . . . . 6 𝑛 0
2623, 24, 25nfif 4561 . . . . 5 𝑛if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 )
27 eqeq1 2739 . . . . . 6 (𝑛 = 𝑦 → (𝑛 = 𝑋𝑦 = 𝑋))
28 csbeq1a 3922 . . . . . 6 (𝑛 = 𝑦𝐴 = 𝑦 / 𝑛𝐴)
2927, 28ifbieq1d 4555 . . . . 5 (𝑛 = 𝑦 → if(𝑛 = 𝑋, 𝐴, 0 ) = if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ))
3022, 26, 29cbvmpt 5259 . . . 4 (𝑛𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) = (𝑦𝐼 ↦ if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ))
3112, 30eqtri 2763 . . 3 𝐹 = (𝑦𝐼 ↦ if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ))
32 iftrue 4537 . . . 4 (𝑦 = 𝑋 → if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ) = 𝑦 / 𝑛𝐴)
33 csbeq1 3911 . . . 4 (𝑦 = 𝑋𝑦 / 𝑛𝐴 = 𝑋 / 𝑛𝐴)
3432, 33eqtrd 2775 . . 3 (𝑦 = 𝑋 → if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ) = 𝑋 / 𝑛𝐴)
35 rspcsbela 4444 . . . 4 ((𝑋𝐼 ∧ ∀𝑛𝐼 𝐴 ∈ (Base‘𝐺)) → 𝑋 / 𝑛𝐴 ∈ (Base‘𝐺))
365, 6, 35syl2anc 584 . . 3 (𝜑𝑋 / 𝑛𝐴 ∈ (Base‘𝐺))
3731, 34, 5, 36fvmptd3 7039 . 2 (𝜑 → (𝐹𝑋) = 𝑋 / 𝑛𝐴)
3821, 37eqtrd 2775 1 (𝜑 → (𝐺 Σg 𝐹) = 𝑋 / 𝑛𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1537  wcel 2106  wne 2938  wral 3059  csb 3908  cdif 3960  ifcif 4531  {csn 4631  cmpt 5231  cfv 6563  (class class class)co 7431   supp csupp 8184  Basecbs 17245  0gc0g 17486   Σg cgsu 17487  Mndcmnd 18760
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1908  ax-6 1965  ax-7 2005  ax-8 2108  ax-9 2116  ax-10 2139  ax-11 2155  ax-12 2175  ax-ext 2706  ax-rep 5285  ax-sep 5302  ax-nul 5312  ax-pow 5371  ax-pr 5438  ax-un 7754  ax-cnex 11209  ax-resscn 11210  ax-1cn 11211  ax-icn 11212  ax-addcl 11213  ax-addrcl 11214  ax-mulcl 11215  ax-mulrcl 11216  ax-mulcom 11217  ax-addass 11218  ax-mulass 11219  ax-distr 11220  ax-i2m1 11221  ax-1ne0 11222  ax-1rid 11223  ax-rnegex 11224  ax-rrecex 11225  ax-cnre 11226  ax-pre-lttri 11227  ax-pre-lttrn 11228  ax-pre-ltadd 11229  ax-pre-mulgt0 11230
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1540  df-fal 1550  df-ex 1777  df-nf 1781  df-sb 2063  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2727  df-clel 2814  df-nfc 2890  df-ne 2939  df-nel 3045  df-ral 3060  df-rex 3069  df-rmo 3378  df-reu 3379  df-rab 3434  df-v 3480  df-sbc 3792  df-csb 3909  df-dif 3966  df-un 3968  df-in 3970  df-ss 3980  df-pss 3983  df-nul 4340  df-if 4532  df-pw 4607  df-sn 4632  df-pr 4634  df-op 4638  df-uni 4913  df-int 4952  df-iun 4998  df-iin 4999  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5583  df-eprel 5589  df-po 5597  df-so 5598  df-fr 5641  df-se 5642  df-we 5643  df-xp 5695  df-rel 5696  df-cnv 5697  df-co 5698  df-dm 5699  df-rn 5700  df-res 5701  df-ima 5702  df-pred 6323  df-ord 6389  df-on 6390  df-lim 6391  df-suc 6392  df-iota 6516  df-fun 6565  df-fn 6566  df-f 6567  df-f1 6568  df-fo 6569  df-f1o 6570  df-fv 6571  df-isom 6572  df-riota 7388  df-ov 7434  df-oprab 7435  df-mpo 7436  df-om 7888  df-1st 8013  df-2nd 8014  df-supp 8185  df-frecs 8305  df-wrecs 8336  df-recs 8410  df-rdg 8449  df-1o 8505  df-2o 8506  df-er 8744  df-en 8985  df-dom 8986  df-sdom 8987  df-fin 8988  df-fsupp 9400  df-oi 9548  df-card 9977  df-pnf 11295  df-mnf 11296  df-xr 11297  df-ltxr 11298  df-le 11299  df-sub 11492  df-neg 11493  df-nn 12265  df-2 12327  df-n0 12525  df-z 12612  df-uz 12877  df-fz 13545  df-fzo 13692  df-seq 14040  df-hash 14367  df-sets 17198  df-slot 17216  df-ndx 17228  df-base 17246  df-ress 17275  df-plusg 17311  df-0g 17488  df-gsum 17489  df-mre 17631  df-mrc 17632  df-acs 17634  df-mgm 18666  df-sgrp 18745  df-mnd 18761  df-submnd 18810  df-mulg 19099  df-cntz 19348  df-cmn 19815
This theorem is referenced by:  gsummptif1n0  19999  gsummoncoe1  22328  scmatscm  22535  idpm2idmp  22823  mp2pm2mplem4  22831  monmat2matmon  22846
  Copyright terms: Public domain W3C validator