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

Theorem gsummpt1n0 20007
Description: If only one summand in a finite group sum is not zero, the whole sum equals this summand. More general version of gsummptif1n0 20008. (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 2740 . . 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 3257 . . . . 5 ((𝜑𝑛𝐼) → 𝐴 ∈ (Base‘𝐺))
81, 2mndidcl 18787 . . . . . . 7 (𝐺 ∈ Mnd → 0 ∈ (Base‘𝐺))
93, 8syl 17 . . . . . 6 (𝜑0 ∈ (Base‘𝐺))
109adantr 480 . . . . 5 ((𝜑𝑛𝐼) → 0 ∈ (Base‘𝐺))
117, 10ifcld 4594 . . . 4 ((𝜑𝑛𝐼) → if(𝑛 = 𝑋, 𝐴, 0 ) ∈ (Base‘𝐺))
12 gsummpt1n0.f . . . 4 𝐹 = (𝑛𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 ))
1311, 12fmptd 7148 . . 3 (𝜑𝐹:𝐼⟶(Base‘𝐺))
1412oveq1i 7458 . . . 4 (𝐹 supp 0 ) = ((𝑛𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) supp 0 )
15 eldifsni 4815 . . . . . . 7 (𝑛 ∈ (𝐼 ∖ {𝑋}) → 𝑛𝑋)
1615adantl 481 . . . . . 6 ((𝜑𝑛 ∈ (𝐼 ∖ {𝑋})) → 𝑛𝑋)
17 ifnefalse 4560 . . . . . 6 (𝑛𝑋 → if(𝑛 = 𝑋, 𝐴, 0 ) = 0 )
1816, 17syl 17 . . . . 5 ((𝜑𝑛 ∈ (𝐼 ∖ {𝑋})) → if(𝑛 = 𝑋, 𝐴, 0 ) = 0 )
1918, 4suppss2 8241 . . . 4 (𝜑 → ((𝑛𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) supp 0 ) ⊆ {𝑋})
2014, 19eqsstrid 4057 . . 3 (𝜑 → (𝐹 supp 0 ) ⊆ {𝑋})
211, 2, 3, 4, 5, 13, 20gsumpt 20004 . 2 (𝜑 → (𝐺 Σg 𝐹) = (𝐹𝑋))
22 nfcv 2908 . . . . 5 𝑦if(𝑛 = 𝑋, 𝐴, 0 )
23 nfv 1913 . . . . . 6 𝑛 𝑦 = 𝑋
24 nfcsb1v 3946 . . . . . 6 𝑛𝑦 / 𝑛𝐴
25 nfcv 2908 . . . . . 6 𝑛 0
2623, 24, 25nfif 4578 . . . . 5 𝑛if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 )
27 eqeq1 2744 . . . . . 6 (𝑛 = 𝑦 → (𝑛 = 𝑋𝑦 = 𝑋))
28 csbeq1a 3935 . . . . . 6 (𝑛 = 𝑦𝐴 = 𝑦 / 𝑛𝐴)
2927, 28ifbieq1d 4572 . . . . 5 (𝑛 = 𝑦 → if(𝑛 = 𝑋, 𝐴, 0 ) = if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ))
3022, 26, 29cbvmpt 5277 . . . 4 (𝑛𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) = (𝑦𝐼 ↦ if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ))
3112, 30eqtri 2768 . . 3 𝐹 = (𝑦𝐼 ↦ if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ))
32 iftrue 4554 . . . 4 (𝑦 = 𝑋 → if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ) = 𝑦 / 𝑛𝐴)
33 csbeq1 3924 . . . 4 (𝑦 = 𝑋𝑦 / 𝑛𝐴 = 𝑋 / 𝑛𝐴)
3432, 33eqtrd 2780 . . 3 (𝑦 = 𝑋 → if(𝑦 = 𝑋, 𝑦 / 𝑛𝐴, 0 ) = 𝑋 / 𝑛𝐴)
35 rspcsbela 4461 . . . 4 ((𝑋𝐼 ∧ ∀𝑛𝐼 𝐴 ∈ (Base‘𝐺)) → 𝑋 / 𝑛𝐴 ∈ (Base‘𝐺))
365, 6, 35syl2anc 583 . . 3 (𝜑𝑋 / 𝑛𝐴 ∈ (Base‘𝐺))
3731, 34, 5, 36fvmptd3 7052 . 2 (𝜑 → (𝐹𝑋) = 𝑋 / 𝑛𝐴)
3821, 37eqtrd 2780 1 (𝜑 → (𝐺 Σg 𝐹) = 𝑋 / 𝑛𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1537  wcel 2108  wne 2946  wral 3067  csb 3921  cdif 3973  ifcif 4548  {csn 4648  cmpt 5249  cfv 6573  (class class class)co 7448   supp csupp 8201  Basecbs 17258  0gc0g 17499   Σg cgsu 17500  Mndcmnd 18772
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-rep 5303  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770  ax-cnex 11240  ax-resscn 11241  ax-1cn 11242  ax-icn 11243  ax-addcl 11244  ax-addrcl 11245  ax-mulcl 11246  ax-mulrcl 11247  ax-mulcom 11248  ax-addass 11249  ax-mulass 11250  ax-distr 11251  ax-i2m1 11252  ax-1ne0 11253  ax-1rid 11254  ax-rnegex 11255  ax-rrecex 11256  ax-cnre 11257  ax-pre-lttri 11258  ax-pre-lttrn 11259  ax-pre-ltadd 11260  ax-pre-mulgt0 11261
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-nel 3053  df-ral 3068  df-rex 3077  df-rmo 3388  df-reu 3389  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-pss 3996  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-int 4971  df-iun 5017  df-iin 5018  df-br 5167  df-opab 5229  df-mpt 5250  df-tr 5284  df-id 5593  df-eprel 5599  df-po 5607  df-so 5608  df-fr 5652  df-se 5653  df-we 5654  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-pred 6332  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6525  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 7404  df-ov 7451  df-oprab 7452  df-mpo 7453  df-om 7904  df-1st 8030  df-2nd 8031  df-supp 8202  df-frecs 8322  df-wrecs 8353  df-recs 8427  df-rdg 8466  df-1o 8522  df-2o 8523  df-er 8763  df-en 9004  df-dom 9005  df-sdom 9006  df-fin 9007  df-fsupp 9432  df-oi 9579  df-card 10008  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11522  df-neg 11523  df-nn 12294  df-2 12356  df-n0 12554  df-z 12640  df-uz 12904  df-fz 13568  df-fzo 13712  df-seq 14053  df-hash 14380  df-sets 17211  df-slot 17229  df-ndx 17241  df-base 17259  df-ress 17288  df-plusg 17324  df-0g 17501  df-gsum 17502  df-mre 17644  df-mrc 17645  df-acs 17647  df-mgm 18678  df-sgrp 18757  df-mnd 18773  df-submnd 18819  df-mulg 19108  df-cntz 19357  df-cmn 19824
This theorem is referenced by:  gsummptif1n0  20008  gsummoncoe1  22333  scmatscm  22540  idpm2idmp  22828  mp2pm2mplem4  22836  monmat2matmon  22851
  Copyright terms: Public domain W3C validator