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

Theorem gsummpt1n0 20159
Description: If only one summand in a finite group sum is not zero, the whole sum equals this summand. More general version of gsummptif1n0 20160. (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 2761 . . 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 3255 . . . . 5 ((𝜑 ∧ 𝑛 ∈ 𝐼) → 𝐴 ∈ (Base‘𝐺))
81, 2mndidcl 18919 . . . . . . 7 (𝐺 ∈ Mnd → 0 ∈ (Base‘𝐺))
93, 8syl 18 . . . . . 6 (𝜑 → 0 ∈ (Base‘𝐺))
109adantr 486 . . . . 5 ((𝜑 ∧ 𝑛 ∈ 𝐼) → 0 ∈ (Base‘𝐺))
117, 10ifcld 4529 . . . 4 ((𝜑 ∧ 𝑛 ∈ 𝐼) → if(𝑛 = 𝑋, 𝐴, 0 ) ∈ (Base‘𝐺))
12 gsummpt1n0.f . . . 4 𝐹 = (𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 ))
1311, 12fmptd 7106 . . 3 (𝜑 → 𝐹:𝐼⟶(Base‘𝐺))
1412oveq1i 7422 . . . 4 (𝐹 supp 0 ) = ((𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) supp 0 )
15 eldifsni 4753 . . . . . . 7 (𝑛 ∈ (𝐼 ∖ {𝑋}) → 𝑛 ≠ 𝑋)
1615adantl 487 . . . . . 6 ((𝜑 ∧ 𝑛 ∈ (𝐼 ∖ {𝑋})) → 𝑛 ≠ 𝑋)
17 ifnefalse 4494 . . . . . 6 (𝑛 ≠ 𝑋 → if(𝑛 = 𝑋, 𝐴, 0 ) = 0 )
1816, 17syl 18 . . . . 5 ((𝜑 ∧ 𝑛 ∈ (𝐼 ∖ {𝑋})) → if(𝑛 = 𝑋, 𝐴, 0 ) = 0 )
1918, 4suppss2 8201 . . . 4 (𝜑 → ((𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) supp 0 ) ⊆ {𝑋})
2014, 19eqsstrid 3969 . . 3 (𝜑 → (𝐹 supp 0 ) ⊆ {𝑋})
211, 2, 3, 4, 5, 13, 20gsumpt 20156 . 2 (𝜑 → (𝐺 Σg 𝐹) = (𝐹‘𝑋))
22 nfcv 2923 . . . . 5 Ⅎ𝑦if(𝑛 = 𝑋, 𝐴, 0 )
23 nfv 1947 . . . . . 6 Ⅎ𝑛 𝑦 = 𝑋
24 nfcsb1v 3871 . . . . . 6 Ⅎ𝑛⦋𝑦 / 𝑛⦌𝐴
25 nfcv 2923 . . . . . 6 Ⅎ𝑛 0
2623, 24, 25nfif 4513 . . . . 5 Ⅎ𝑛if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 )
27 eqeq1 2765 . . . . . 6 (𝑛 = 𝑦 → (𝑛 = 𝑋 ↔ 𝑦 = 𝑋))
28 csbeq1a 3861 . . . . . 6 (𝑛 = 𝑦 → 𝐴 = ⦋𝑦 / 𝑛⦌𝐴)
2927, 28ifbieq1d 4507 . . . . 5 (𝑛 = 𝑦 → if(𝑛 = 𝑋, 𝐴, 0 ) = if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ))
3022, 26, 29cbvmpt 5207 . . . 4 (𝑛 ∈ 𝐼 ↦ if(𝑛 = 𝑋, 𝐴, 0 )) = (𝑦 ∈ 𝐼 ↦ if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ))
3112, 30eqtri 2784 . . 3 𝐹 = (𝑦 ∈ 𝐼 ↦ if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ))
32 iftrue 4488 . . . 4 (𝑦 = 𝑋 → if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ) = ⦋𝑦 / 𝑛⦌𝐴)
33 csbeq1 3850 . . . 4 (𝑦 = 𝑋 → ⦋𝑦 / 𝑛⦌𝐴 = ⦋𝑋 / 𝑛⦌𝐴)
3432, 33eqtrd 2796 . . 3 (𝑦 = 𝑋 → if(𝑦 = 𝑋, ⦋𝑦 / 𝑛⦌𝐴, 0 ) = ⦋𝑋 / 𝑛⦌𝐴)
35 rspcsbela 4396 . . . 4 ((𝑋 ∈ 𝐼 ∧ ∀𝑛 ∈ 𝐼 𝐴 ∈ (Base‘𝐺)) → ⦋𝑋 / 𝑛⦌𝐴 ∈ (Base‘𝐺))
365, 6, 35syl2anc 596 . . 3 (𝜑 → ⦋𝑋 / 𝑛⦌𝐴 ∈ (Base‘𝐺))
3731, 34, 5, 36fvmptd3 7009 . 2 (𝜑 → (𝐹‘𝑋) = ⦋𝑋 / 𝑛⦌𝐴)
3821, 37eqtrd 2796 1 (𝜑 → (𝐺 Σg 𝐹) = ⦋𝑋 / 𝑛⦌𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ⦋csb 3847   ∖ cdif 3896  ifcif 4482  {csn 4584   ↦ cmpt 5186  ‘cfv 6531  (class class class)co 7412   supp csupp 8161  Basecbs 17367  0gc0g 17590   Σg cgsu 17591  Mndcmnd 18903
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-cnex 11237  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257  ax-pre-mulgt0 11258
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-iin 4954  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-isom 6540  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-1st 7990  df-2nd 7991  df-supp 8162  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8460  df-2o 8461  df-er 8701  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-fsupp 9338  df-oi 9488  df-card 10001  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11524  df-neg 11525  df-nn 12317  df-2 12386  df-n0 12588  df-z 12675  df-uz 12947  df-fz 13621  df-fzo 13769  df-seq 14125  df-hash 14455  df-sets 17322  df-slot 17340  df-ndx 17352  df-base 17368  df-ress 17389  df-plusg 17421  df-0g 17592  df-gsum 17593  df-mre 17736  df-mrc 17737  df-acs 17739  df-mgm 18796  df-sgrp 18888  df-mnd 18904  df-submnd 18959  df-mulg 19258  df-cntz 19511  df-cmn 19976
This theorem is used by:  gsummptif1n0  20160  gsummoncoe1  22606  scmatscm  22808  idpm2idmp  23099  mp2pm2mplem4  23107  monmat2matmon  23122
  Copyright terms: Public domain W3C validator