| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > gsumxp | Structured version Visualization version GIF version | ||
| 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.) |
| Ref | Expression |
|---|---|
| gsumxp.b | ⊢ 𝐵 = (Base‘𝐺) |
| gsumxp.z | ⊢ 0 = (0g‘𝐺) |
| gsumxp.g | ⊢ (𝜑 → 𝐺 ∈ CMnd) |
| gsumxp.a | ⊢ (𝜑 → 𝐴 ∈ 𝑉) |
| gsumxp.r | ⊢ (𝜑 → 𝐶 ∈ 𝑊) |
| gsumxp.f | ⊢ (𝜑 → 𝐹:(𝐴 × 𝐶)⟶𝐵) |
| gsumxp.w | ⊢ (𝜑 → 𝐹 finSupp 0 ) |
| Ref | Expression |
|---|---|
| gsumxp | ⊢ (𝜑 → (𝐺 Σg 𝐹) = (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘)))))) |
| Step | Hyp | Ref | 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 ⊢ (𝜑 → 𝐶 ∈ 𝑊) | |
| 6 | 4, 5 | xpexd 7730 | . . 3 ⊢ (𝜑 → (𝐴 × 𝐶) ∈ V) |
| 7 | relxp 5659 | . . . 4 ⊢ Rel (𝐴 × 𝐶) | |
| 8 | 7 | a1i 11 | . . 3 ⊢ (𝜑 → Rel (𝐴 × 𝐶)) |
| 9 | dmxpss 6147 | . . . 4 ⊢ dom (𝐴 × 𝐶) ⊆ 𝐴 | |
| 10 | 9 | a1i 11 | . . 3 ⊢ (𝜑 → dom (𝐴 × 𝐶) ⊆ 𝐴) |
| 11 | gsumxp.f | . . 3 ⊢ (𝜑 → 𝐹:(𝐴 × 𝐶)⟶𝐵) | |
| 12 | gsumxp.w | . . 3 ⊢ (𝜑 → 𝐹 finSupp 0 ) | |
| 13 | 1, 2, 3, 6, 8, 4, 10, 11, 12 | gsum2d 19909 | . 2 ⊢ (𝜑 → (𝐺 Σg 𝐹) = (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) |
| 14 | df-ima 5654 | . . . . . . 7 ⊢ ((𝐴 × 𝐶) “ {𝑗}) = ran ((𝐴 × 𝐶) ↾ {𝑗}) | |
| 15 | df-res 5653 | . . . . . . . . . . 11 ⊢ ((𝐴 × 𝐶) ↾ {𝑗}) = ((𝐴 × 𝐶) ∩ ({𝑗} × V)) | |
| 16 | inxp 5798 | . . . . . . . . . . 11 ⊢ ((𝐴 × 𝐶) ∩ ({𝑗} × V)) = ((𝐴 ∩ {𝑗}) × (𝐶 ∩ V)) | |
| 17 | 15, 16 | eqtri 2753 | . . . . . . . . . 10 ⊢ ((𝐴 × 𝐶) ↾ {𝑗}) = ((𝐴 ∩ {𝑗}) × (𝐶 ∩ V)) |
| 18 | simpr 484 | . . . . . . . . . . . . 13 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → 𝑗 ∈ 𝐴) | |
| 19 | 18 | snssd 4776 | . . . . . . . . . . . 12 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → {𝑗} ⊆ 𝐴) |
| 20 | sseqin2 4189 | . . . . . . . . . . . 12 ⊢ ({𝑗} ⊆ 𝐴 ↔ (𝐴 ∩ {𝑗}) = {𝑗}) | |
| 21 | 19, 20 | sylib 218 | . . . . . . . . . . 11 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝐴 ∩ {𝑗}) = {𝑗}) |
| 22 | inv1 4364 | . . . . . . . . . . . 12 ⊢ (𝐶 ∩ V) = 𝐶 | |
| 23 | 22 | a1i 11 | . . . . . . . . . . 11 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝐶 ∩ V) = 𝐶) |
| 24 | 21, 23 | xpeq12d 5672 | . . . . . . . . . 10 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → ((𝐴 ∩ {𝑗}) × (𝐶 ∩ V)) = ({𝑗} × 𝐶)) |
| 25 | 17, 24 | eqtrid 2777 | . . . . . . . . 9 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → ((𝐴 × 𝐶) ↾ {𝑗}) = ({𝑗} × 𝐶)) |
| 26 | 25 | rneqd 5905 | . . . . . . . 8 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → ran ((𝐴 × 𝐶) ↾ {𝑗}) = ran ({𝑗} × 𝐶)) |
| 27 | vex 3454 | . . . . . . . . . 10 ⊢ 𝑗 ∈ V | |
| 28 | 27 | snnz 4743 | . . . . . . . . 9 ⊢ {𝑗} ≠ ∅ |
| 29 | rnxp 6146 | . . . . . . . . 9 ⊢ ({𝑗} ≠ ∅ → ran ({𝑗} × 𝐶) = 𝐶) | |
| 30 | 28, 29 | ax-mp 5 | . . . . . . . 8 ⊢ ran ({𝑗} × 𝐶) = 𝐶 |
| 31 | 26, 30 | eqtrdi 2781 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → ran ((𝐴 × 𝐶) ↾ {𝑗}) = 𝐶) |
| 32 | 14, 31 | eqtrid 2777 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → ((𝐴 × 𝐶) “ {𝑗}) = 𝐶) |
| 33 | 32 | mpteq1d 5200 | . . . . 5 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘)) = (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘))) |
| 34 | 33 | oveq2d 7406 | . . . 4 ⊢ ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝐺 Σg (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘)))) |
| 35 | 34 | mpteq2dva 5203 | . . 3 ⊢ (𝜑 → (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘))))) |
| 36 | 35 | oveq2d 7406 | . 2 ⊢ (𝜑 → (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ ((𝐴 × 𝐶) “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘)))))) |
| 37 | 13, 36 | eqtrd 2765 | 1 ⊢ (𝜑 → (𝐺 Σg 𝐹) = (𝐺 Σg (𝑗 ∈ 𝐴 ↦ (𝐺 Σg (𝑘 ∈ 𝐶 ↦ (𝑗𝐹𝑘)))))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1540 ∈ wcel 2109 ≠ wne 2926 Vcvv 3450 ∩ cin 3916 ⊆ wss 3917 ∅c0 4299 {csn 4592 class class class wbr 5110 ↦ cmpt 5191 × cxp 5639 dom cdm 5641 ran crn 5642 ↾ cres 5643 “ cima 5644 Rel wrel 5646 ⟶wf 6510 ‘cfv 6514 (class class class)co 7390 finSupp cfsupp 9319 Basecbs 17186 0gc0g 17409 Σg cgsu 17410 CMndccmn 19717 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-rep 5237 ax-sep 5254 ax-nul 5264 ax-pow 5323 ax-pr 5390 ax-un 7714 ax-cnex 11131 ax-resscn 11132 ax-1cn 11133 ax-icn 11134 ax-addcl 11135 ax-addrcl 11136 ax-mulcl 11137 ax-mulrcl 11138 ax-mulcom 11139 ax-addass 11140 ax-mulass 11141 ax-distr 11142 ax-i2m1 11143 ax-1ne0 11144 ax-1rid 11145 ax-rnegex 11146 ax-rrecex 11147 ax-cnre 11148 ax-pre-lttri 11149 ax-pre-lttrn 11150 ax-pre-ltadd 11151 ax-pre-mulgt0 11152 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-nfc 2879 df-ne 2927 df-nel 3031 df-ral 3046 df-rex 3055 df-rmo 3356 df-reu 3357 df-rab 3409 df-v 3452 df-sbc 3757 df-csb 3866 df-dif 3920 df-un 3922 df-in 3924 df-ss 3934 df-pss 3937 df-nul 4300 df-if 4492 df-pw 4568 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4875 df-int 4914 df-iun 4960 df-iin 4961 df-br 5111 df-opab 5173 df-mpt 5192 df-tr 5218 df-id 5536 df-eprel 5541 df-po 5549 df-so 5550 df-fr 5594 df-se 5595 df-we 5596 df-xp 5647 df-rel 5648 df-cnv 5649 df-co 5650 df-dm 5651 df-rn 5652 df-res 5653 df-ima 5654 df-pred 6277 df-ord 6338 df-on 6339 df-lim 6340 df-suc 6341 df-iota 6467 df-fun 6516 df-fn 6517 df-f 6518 df-f1 6519 df-fo 6520 df-f1o 6521 df-fv 6522 df-isom 6523 df-riota 7347 df-ov 7393 df-oprab 7394 df-mpo 7395 df-of 7656 df-om 7846 df-1st 7971 df-2nd 7972 df-supp 8143 df-frecs 8263 df-wrecs 8294 df-recs 8343 df-rdg 8381 df-1o 8437 df-2o 8438 df-er 8674 df-en 8922 df-dom 8923 df-sdom 8924 df-fin 8925 df-fsupp 9320 df-oi 9470 df-card 9899 df-pnf 11217 df-mnf 11218 df-xr 11219 df-ltxr 11220 df-le 11221 df-sub 11414 df-neg 11415 df-nn 12194 df-2 12256 df-n0 12450 df-z 12537 df-uz 12801 df-fz 13476 df-fzo 13623 df-seq 13974 df-hash 14303 df-sets 17141 df-slot 17159 df-ndx 17171 df-base 17187 df-ress 17208 df-plusg 17240 df-0g 17411 df-gsum 17412 df-mre 17554 df-mrc 17555 df-acs 17557 df-mgm 18574 df-sgrp 18653 df-mnd 18669 df-submnd 18718 df-mulg 19007 df-cntz 19256 df-cmn 19719 |
| This theorem is referenced by: tsmsxplem1 24047 tsmsxplem2 24048 fedgmullem1 33632 fedgmullem2 33633 evlselv 42582 |
| Copyright terms: Public domain | W3C validator |