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

Theorem gsumxp 20264
Description: Write a group sum over a cartesian product as a double sum. (Contributed by Mario Carneiro, 28-Dec-2014.) (Revised by AV, 9-Jun-2019.)
Hypotheses
Ref Expression
gsumxp.b 𝐵 = (Base‘𝐺)
gsumxp.z 0 = (0g‘𝐺)
gsumxp.g (𝜑 → 𝐺 ∈ CMnd)
gsumxp.a (𝜑 → 𝐴 ∈ 𝑉)
gsumxp.r (𝜑 → 𝐶 ∈ 𝑊)
gsumxp.f (𝜑 → 𝐹:(𝐴 × 𝐶)⟶𝐵)
gsumxp.w (𝜑 → 𝐹 finSupp 0 )
Assertion
Ref Expression
gsumxp (𝜑 → (𝐺 Σg 𝐹) = (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘))))))
Distinct variable groups:   𝑗,𝑘, 0   𝑗,𝐺,𝑘   𝜑,𝑗,𝑘   𝐴,𝑗,𝑘   𝐵,𝑗,𝑘   𝐶,𝑗,𝑘   𝑗,𝐹,𝑘   𝑗,𝑉
Allowed substitution hints:   𝑉(𝑘)   𝑊(𝑗, 𝑘)

Proof of Theorem gsumxp
StepHypRef Expression
1 gsumxp.b . . 3 𝐵 = (Base‘𝐺)
2 gsumxp.z . . 3 0 = (0g‘𝐺)
3 gsumxp.g . . 3 (𝜑 → 𝐺 ∈ CMnd)
4 gsumxp.a . . . 4 (𝜑 → 𝐴 ∈ 𝑉)
5 gsumxp.r . . . 4 (𝜑 → 𝐶 ∈ 𝑊)
64, 5xpexd 7808 . . 3 (𝜑 → (𝐴 × 𝐶) ∈ V)
7 relxp 5679 . . . 4 Rel (𝐴 × 𝐶)
87a1i 11 . . 3 (𝜑 → Rel (𝐴 × 𝐶))
9 dmxpss 6185 . . . 4 dom (𝐴 × 𝐶) ⊆ 𝐴
109a1i 11 . . 3 (𝜑 → dom (𝐴 × 𝐶) ⊆ 𝐴)
11 gsumxp.f . . 3 (𝜑 → 𝐹:(𝐴 × 𝐶)⟶𝐵)
12 gsumxp.w . . 3 (𝜑 → 𝐹 finSupp 0 )
131, 2, 3, 6, 8, 4, 10, 11, 12gsum2d 20260 . 2 (𝜑 → (𝐺 Σg 𝐹) = (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
14 df-ima 5674 . . . . . . 7 ((𝐴 × 𝐶) “ {𝑗}) = ran ((𝐴 × 𝐶) ↾ {𝑗})
15 df-res 5673 . . . . . . . . . . 11 ((𝐴 × 𝐶) ↾ {𝑗}) = ((𝐴 × 𝐶) ∩ ({𝑗} × V))
16 inxp 5822 . . . . . . . . . . 11 ((𝐴 × 𝐶) ∩ ({𝑗} × V)) = ((𝐴 ∩ {𝑗}) × (𝐶 ∩ V))
1715, 16eqtri 2792 . . . . . . . . . 10 ((𝐴 × 𝐶) ↾ {𝑗}) = ((𝐴 ∩ {𝑗}) × (𝐶 ∩ V))
18 simpr 490 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 𝑗 ∈ 𝐴)
1918snssd 4752 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ 𝐴) → {𝑗} ⊆ 𝐴)
20 sseqin2 4125 . . . . . . . . . . . 12 ({𝑗} ⊆ 𝐴 ↔ (𝐴 ∩ {𝑗}) = {𝑗})
2119, 20sylib 221 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝐴 ∩ {𝑗}) = {𝑗})
22 inv1 4353 . . . . . . . . . . . 12 (𝐶 ∩ V) = 𝐶
2322a1i 11 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝐶 ∩ V) = 𝐶)
2421, 23xpeq12d 5692 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ((𝐴 ∩ {𝑗}) × (𝐶 ∩ V)) = ({𝑗} × 𝐶))
2517, 24eqtrid 2816 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ((𝐴 × 𝐶) ↾ {𝑗}) = ({𝑗} × 𝐶))
2625rneqd 5935 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ran ((𝐴 × 𝐶) ↾ {𝑗}) = ran ({𝑗} × 𝐶))
27 vex 3460 . . . . . . . . . 10 𝑗 ∈ V
2827snnz 4742 . . . . . . . . 9 {𝑗} ≠ ∅
29 rnxp 6184 . . . . . . . . 9 ({𝑗} ≠ ∅ → ran ({𝑗} × 𝐶) = 𝐶)
3028, 29ax-mp 5 . . . . . . . 8 ran ({𝑗} × 𝐶) = 𝐶
3126, 30eqtrdi 2820 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ran ((𝐴 × 𝐶) ↾ {𝑗}) = 𝐶)
3214, 31eqtrid 2816 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ((𝐴 × 𝐶) “ {𝑗}) = 𝐶)
3332mpteq1d 5204 . . . . 5 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘)) = (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘)))
3433oveq2d 7478 . . . 4 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝐺 Σg (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘))))
3534mpteq2dva 5207 . . 3 (𝜑 → (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘)))))
3635oveq2d 7478 . 2 (𝜑 → (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘))))))
3713, 36eqtrd 2804 1 (𝜑 → (𝐺 Σg 𝐹) = (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘))))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151   ≠ wne 2965  Vcvv 3456   ⊆ wss 3902   ∩ cin 4094  ∅c0 4283  {csn 4590   class class class wbr 5111   ↦ cmpt 5195   × cxp 5659  dom cdm 5661  ran crn 5662   ↾ cres 5663   “ cima 5664  Rel wrel 5666  ⟶wf 6569  ‘cfv 6573  (class class class)co 7462   finSupp cfsupp 9402  Basecbs 17447  0gc0g 17680   Σg cgsu 17681  CMndccmn 20067
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 7794  ax-cnex 11306  ax-resscn 11307  ax-1cn 11308  ax-icn 11309  ax-addcl 11310  ax-addrcl 11311  ax-mulcl 11312  ax-mulrcl 11313  ax-mulcom 11314  ax-addass 11315  ax-mulass 11316  ax-distr 11317  ax-i2m1 11318  ax-1ne0 11319  ax-1rid 11320  ax-rnegex 11321  ax-rrecex 11322  ax-cnre 11323  ax-pre-lttri 11324  ax-pre-lttrn 11325  ax-pre-ltadd 11326  ax-pre-mulgt0 11327
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 7465  df-oprab 7466  df-mpo 7467  df-of 7736  df-om 7923  df-1st 8046  df-2nd 8047  df-supp 8226  df-frecs 8348  df-wrecs 8379  df-recs 8428  df-rdg 8467  df-1o 8525  df-2o 8526  df-er 8766  df-en 9023  df-dom 9024  df-sdom 9025  df-fin 9026  df-fsupp 9403  df-oi 9552  df-card 10068  df-pnf 11395  df-mnf 11396  df-xr 11397  df-ltxr 11398  df-le 11399  df-sub 11593  df-neg 11594  df-nn 12387  df-2 12456  df-n0 12658  df-z 12745  df-uz 13017  df-fz 13691  df-fzo 13840  df-seq 14198  df-hash 14529  df-sets 17402  df-slot 17420  df-ndx 17432  df-base 17448  df-ress 17469  df-plusg 17502  df-0g 17682  df-gsum 17683  df-mre 17826  df-mrc 17827  df-acs 17829  df-mgm 18886  df-sgrp 18978  df-mnd 18994  df-submnd 19049  df-mulg 19350  df-cntz 19604  df-cmn 20069
This theorem is used by:  tsmsxplem1  24572  tsmsxplem2  24573  fedgmullem1  34389  fedgmullem2  34390  evlselv  43906
  Copyright terms: Public domain W3C validator