Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  gsummpt2co Structured version   Visualization version   GIF version

Theorem gsummpt2co 33767
Description: Split a finite sum into a sum of a collection of sums over disjoint subsets. (Contributed by Thierry Arnoux, 27-Mar-2018.)
Hypotheses
Ref Expression
gsummpt2co.b 𝐵 = (Base‘𝑊)
gsummpt2co.z 0 = (0g‘𝑊)
gsummpt2co.w (𝜑 → 𝑊 ∈ CMnd)
gsummpt2co.a (𝜑 → 𝐴 ∈ Fin)
gsummpt2co.e (𝜑 → 𝐸 ∈ 𝑉)
gsummpt2co.1 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝐵)
gsummpt2co.2 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐷 ∈ 𝐸)
gsummpt2co.3 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐷)
Assertion
Ref Expression
gsummpt2co (𝜑 → (𝑊 Σg (𝑥 ∈ 𝐴 ↦ 𝐶)) = (𝑊 Σg (𝑦 ∈ 𝐸 ↦ (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑦}) ↦ 𝐶)))))
Distinct variable groups:   𝑥, 0 ,𝑦   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑦,𝐶   𝑥,𝐸,𝑦   𝑥,𝐹,𝑦   𝑦,𝑉   𝑥,𝑊,𝑦   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑦)   𝐶(𝑥)   𝐷(𝑥, 𝑦)   𝑉(𝑥)

Proof of Theorem gsummpt2co
Dummy variables 𝑧 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfcsb1v 3877 . . . 4 Ⅎ𝑥⦋(2nd ‘𝑝) / 𝑥⦌𝐶
2 gsummpt2co.b . . . 4 𝐵 = (Base‘𝑊)
3 gsummpt2co.z . . . 4 0 = (0g‘𝑊)
4 csbeq1a 3867 . . . 4 (𝑥 = (2nd ‘𝑝) → 𝐶 = ⦋(2nd ‘𝑝) / 𝑥⦌𝐶)
5 gsummpt2co.w . . . 4 (𝜑 → 𝑊 ∈ CMnd)
6 gsummpt2co.a . . . 4 (𝜑 → 𝐴 ∈ Fin)
7 ssidd 3938 . . . 4 (𝜑 → 𝐵 ⊆ 𝐵)
8 gsummpt2co.1 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝐵)
9 elcnv 5869 . . . . . 6 (𝑝 ∈ ◡𝐹 ↔ ∃𝑧∃𝑥(𝑝 = ⟨𝑧, 𝑥⟩ ∧ 𝑥𝐹𝑧))
10 vex 3460 . . . . . . . . . 10 𝑧 ∈ V
11 vex 3460 . . . . . . . . . 10 𝑥 ∈ V
1210, 11op2ndd 8057 . . . . . . . . 9 (𝑝 = ⟨𝑧, 𝑥⟩ → (2nd ‘𝑝) = 𝑥)
1312adantr 486 . . . . . . . 8 ((𝑝 = ⟨𝑧, 𝑥⟩ ∧ 𝑥𝐹𝑧) → (2nd ‘𝑝) = 𝑥)
14 gsummpt2co.3 . . . . . . . . . . 11 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐷)
1514dmmptss 6268 . . . . . . . . . 10 dom 𝐹 ⊆ 𝐴
1611, 10breldm 5905 . . . . . . . . . 10 (𝑥𝐹𝑧 → 𝑥 ∈ dom 𝐹)
1715, 16sselid 3913 . . . . . . . . 9 (𝑥𝐹𝑧 → 𝑥 ∈ 𝐴)
1817adantl 487 . . . . . . . 8 ((𝑝 = ⟨𝑧, 𝑥⟩ ∧ 𝑥𝐹𝑧) → 𝑥 ∈ 𝐴)
1913, 18eqeltrd 2870 . . . . . . 7 ((𝑝 = ⟨𝑧, 𝑥⟩ ∧ 𝑥𝐹𝑧) → (2nd ‘𝑝) ∈ 𝐴)
2019exlimivv 1969 . . . . . 6 (∃𝑧∃𝑥(𝑝 = ⟨𝑧, 𝑥⟩ ∧ 𝑥𝐹𝑧) → (2nd ‘𝑝) ∈ 𝐴)
219, 20sylbi 220 . . . . 5 (𝑝 ∈ ◡𝐹 → (2nd ‘𝑝) ∈ 𝐴)
2221adantl 487 . . . 4 ((𝜑 ∧ 𝑝 ∈ ◡𝐹) → (2nd ‘𝑝) ∈ 𝐴)
2314funmpt2 6614 . . . . . . 7 Fun 𝐹
24 funcnvcnv 6647 . . . . . . 7 (Fun 𝐹 → Fun ◡◡𝐹)
2523, 24ax-mp 5 . . . . . 6 Fun ◡◡𝐹
2625a1i 11 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → Fun ◡◡𝐹)
27 dfdm4 5892 . . . . . . . 8 dom 𝐹 = ran ◡𝐹
2814dmeqi 5901 . . . . . . . . 9 dom 𝐹 = dom (𝑥 ∈ 𝐴 ↦ 𝐷)
29 gsummpt2co.2 . . . . . . . . . . 11 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐷 ∈ 𝐸)
3029ralrimiva 3164 . . . . . . . . . 10 (𝜑 → ∀𝑥 ∈ 𝐴 𝐷 ∈ 𝐸)
31 dmmptg 6269 . . . . . . . . . 10 (∀𝑥 ∈ 𝐴 𝐷 ∈ 𝐸 → dom (𝑥 ∈ 𝐴 ↦ 𝐷) = 𝐴)
3230, 31syl 18 . . . . . . . . 9 (𝜑 → dom (𝑥 ∈ 𝐴 ↦ 𝐷) = 𝐴)
3328, 32eqtrid 2816 . . . . . . . 8 (𝜑 → dom 𝐹 = 𝐴)
3427, 33eqtr3id 2818 . . . . . . 7 (𝜑 → ran ◡𝐹 = 𝐴)
3534eleq2d 2856 . . . . . 6 (𝜑 → (𝑥 ∈ ran ◡𝐹 ↔ 𝑥 ∈ 𝐴))
3635biimpar 483 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ran ◡𝐹)
37 relcnv 6122 . . . . . 6 Rel ◡𝐹
38 fcnvgreu 33430 . . . . . 6 (((Rel ◡𝐹 ∧ Fun ◡◡𝐹) ∧ 𝑥 ∈ ran ◡𝐹) → ∃!𝑝 ∈ ◡ 𝐹𝑥 = (2nd ‘𝑝))
3937, 38mpanl1 713 . . . . 5 ((Fun ◡◡𝐹 ∧ 𝑥 ∈ ran ◡𝐹) → ∃!𝑝 ∈ ◡ 𝐹𝑥 = (2nd ‘𝑝))
4026, 36, 39syl2anc 596 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐴) → ∃!𝑝 ∈ ◡ 𝐹𝑥 = (2nd ‘𝑝))
411, 2, 3, 4, 5, 6, 7, 8, 22, 40gsummptf1o 20251 . . 3 (𝜑 → (𝑊 Σg (𝑥 ∈ 𝐴 ↦ 𝐶)) = (𝑊 Σg (𝑝 ∈ ◡𝐹 ↦ ⦋(2nd ‘𝑝) / 𝑥⦌𝐶)))
4214rnmptss 7165 . . . . . . . 8 (∀𝑥 ∈ 𝐴 𝐷 ∈ 𝐸 → ran 𝐹 ⊆ 𝐸)
4330, 42syl 18 . . . . . . 7 (𝜑 → ran 𝐹 ⊆ 𝐸)
44 dfcnv2 33431 . . . . . . 7 (ran 𝐹 ⊆ 𝐸 → ◡𝐹 = ∪ 𝑧 ∈ 𝐸 ({𝑧} × (◡𝐹 “ {𝑧})))
4543, 44syl 18 . . . . . 6 (𝜑 → ◡𝐹 = ∪ 𝑧 ∈ 𝐸 ({𝑧} × (◡𝐹 “ {𝑧})))
4645mpteq1d 5204 . . . . 5 (𝜑 → (𝑝 ∈ ◡𝐹 ↦ ⦋(2nd ‘𝑝) / 𝑥⦌𝐶) = (𝑝 ∈ ∪ 𝑧 ∈ 𝐸 ({𝑧} × (◡𝐹 “ {𝑧})) ↦ ⦋(2nd ‘𝑝) / 𝑥⦌𝐶))
47 nfcv 2932 . . . . . 6 Ⅎ𝑧⦋(2nd ‘𝑝) / 𝑥⦌𝐶
48 csbeq1 3856 . . . . . . . 8 ((2nd ‘𝑝) = 𝑥 → ⦋(2nd ‘𝑝) / 𝑥⦌𝐶 = ⦋𝑥 / 𝑥⦌𝐶)
4912, 48syl 18 . . . . . . 7 (𝑝 = ⟨𝑧, 𝑥⟩ → ⦋(2nd ‘𝑝) / 𝑥⦌𝐶 = ⦋𝑥 / 𝑥⦌𝐶)
50 csbid 3866 . . . . . . 7 ⦋𝑥 / 𝑥⦌𝐶 = 𝐶
5149, 50eqtrdi 2820 . . . . . 6 (𝑝 = ⟨𝑧, 𝑥⟩ → ⦋(2nd ‘𝑝) / 𝑥⦌𝐶 = 𝐶)
5247, 1, 51mpomptxf 33434 . . . . 5 (𝑝 ∈ ∪ 𝑧 ∈ 𝐸 ({𝑧} × (◡𝐹 “ {𝑧})) ↦ ⦋(2nd ‘𝑝) / 𝑥⦌𝐶) = (𝑧 ∈ 𝐸, 𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶)
5346, 52eqtrdi 2820 . . . 4 (𝜑 → (𝑝 ∈ ◡𝐹 ↦ ⦋(2nd ‘𝑝) / 𝑥⦌𝐶) = (𝑧 ∈ 𝐸, 𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶))
5453oveq2d 7478 . . 3 (𝜑 → (𝑊 Σg (𝑝 ∈ ◡𝐹 ↦ ⦋(2nd ‘𝑝) / 𝑥⦌𝐶)) = (𝑊 Σg (𝑧 ∈ 𝐸, 𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶)))
55 gsummpt2co.e . . . 4 (𝜑 → 𝐸 ∈ 𝑉)
56 mptfi 9389 . . . . . . . 8 (𝐴 ∈ Fin → (𝑥 ∈ 𝐴 ↦ 𝐷) ∈ Fin)
5714, 56eqeltrid 2874 . . . . . . 7 (𝐴 ∈ Fin → 𝐹 ∈ Fin)
58 cnvfi 9240 . . . . . . 7 (𝐹 ∈ Fin → ◡𝐹 ∈ Fin)
596, 57, 583syl 19 . . . . . 6 (𝜑 → ◡𝐹 ∈ Fin)
60 imaexg 7970 . . . . . 6 (◡𝐹 ∈ Fin → (◡𝐹 “ {𝑧}) ∈ V)
6159, 60syl 18 . . . . 5 (𝜑 → (◡𝐹 “ {𝑧}) ∈ V)
6261adantr 486 . . . 4 ((𝜑 ∧ 𝑧 ∈ 𝐸) → (◡𝐹 “ {𝑧}) ∈ V)
63 simpll 779 . . . . . 6 (((𝜑 ∧ 𝑧 ∈ 𝐸) ∧ 𝑥 ∈ (◡𝐹 “ {𝑧})) → 𝜑)
64 imassrn 6220 . . . . . . . . 9 (◡𝐹 “ {𝑧}) ⊆ ran ◡𝐹
6564, 27sseqtrri 3964 . . . . . . . 8 (◡𝐹 “ {𝑧}) ⊆ dom 𝐹
6665, 15sstri 3924 . . . . . . 7 (◡𝐹 “ {𝑧}) ⊆ 𝐴
6710, 11elimasn 6110 . . . . . . . . 9 (𝑥 ∈ (◡𝐹 “ {𝑧}) ↔ ⟨𝑧, 𝑥⟩ ∈ ◡𝐹)
6867bilani 510 . . . . . . . 8 (((𝜑 ∧ 𝑧 ∈ 𝐸) ∧ 𝑥 ∈ (◡𝐹 “ {𝑧})) → ⟨𝑧, 𝑥⟩ ∈ ◡𝐹)
6968, 67sylibr 237 . . . . . . 7 (((𝜑 ∧ 𝑧 ∈ 𝐸) ∧ 𝑥 ∈ (◡𝐹 “ {𝑧})) → 𝑥 ∈ (◡𝐹 “ {𝑧}))
7066, 69sselid 3913 . . . . . 6 (((𝜑 ∧ 𝑧 ∈ 𝐸) ∧ 𝑥 ∈ (◡𝐹 “ {𝑧})) → 𝑥 ∈ 𝐴)
7163, 70, 8syl2anc 596 . . . . 5 (((𝜑 ∧ 𝑧 ∈ 𝐸) ∧ 𝑥 ∈ (◡𝐹 “ {𝑧})) → 𝐶 ∈ 𝐵)
7271anasss 472 . . . 4 ((𝜑 ∧ (𝑧 ∈ 𝐸 ∧ 𝑥 ∈ (◡𝐹 “ {𝑧}))) → 𝐶 ∈ 𝐵)
73 df-br 5112 . . . . . . . . 9 (𝑧◡𝐹𝑥 ↔ ⟨𝑧, 𝑥⟩ ∈ ◡𝐹)
7468, 73sylibr 237 . . . . . . . 8 (((𝜑 ∧ 𝑧 ∈ 𝐸) ∧ 𝑥 ∈ (◡𝐹 “ {𝑧})) → 𝑧◡𝐹𝑥)
7574anasss 472 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐸 ∧ 𝑥 ∈ (◡𝐹 “ {𝑧}))) → 𝑧◡𝐹𝑥)
7675pm2.24d 152 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐸 ∧ 𝑥 ∈ (◡𝐹 “ {𝑧}))) → (¬ 𝑧◡𝐹𝑥 → 𝐶 = 0 ))
7776imp 412 . . . . 5 (((𝜑 ∧ (𝑧 ∈ 𝐸 ∧ 𝑥 ∈ (◡𝐹 “ {𝑧}))) ∧ ¬ 𝑧◡𝐹𝑥) → 𝐶 = 0 )
7877anasss 472 . . . 4 ((𝜑 ∧ ((𝑧 ∈ 𝐸 ∧ 𝑥 ∈ (◡𝐹 “ {𝑧})) ∧ ¬ 𝑧◡𝐹𝑥)) → 𝐶 = 0 )
792, 3, 5, 55, 62, 72, 59, 78gsum2d2 20262 . . 3 (𝜑 → (𝑊 Σg (𝑧 ∈ 𝐸, 𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶)) = (𝑊 Σg (𝑧 ∈ 𝐸 ↦ (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶)))))
8041, 54, 793eqtrd 2808 . 2 (𝜑 → (𝑊 Σg (𝑥 ∈ 𝐴 ↦ 𝐶)) = (𝑊 Σg (𝑧 ∈ 𝐸 ↦ (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶)))))
81 nfcv 2932 . . . 4 Ⅎ𝑧(𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑦}) ↦ 𝐶))
82 nfcv 2932 . . . 4 Ⅎ𝑦(𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶))
83 sneq 4596 . . . . . . 7 (𝑦 = 𝑧 → {𝑦} = {𝑧})
8483imaeq2d 6074 . . . . . 6 (𝑦 = 𝑧 → (◡𝐹 “ {𝑦}) = (◡𝐹 “ {𝑧}))
8584mpteq1d 5204 . . . . 5 (𝑦 = 𝑧 → (𝑥 ∈ (◡𝐹 “ {𝑦}) ↦ 𝐶) = (𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶))
8685oveq2d 7478 . . . 4 (𝑦 = 𝑧 → (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑦}) ↦ 𝐶)) = (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶)))
8781, 82, 86cbvmpt 5216 . . 3 (𝑦 ∈ 𝐸 ↦ (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑦}) ↦ 𝐶))) = (𝑧 ∈ 𝐸 ↦ (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶)))
8887oveq2i 7473 . 2 (𝑊 Σg (𝑦 ∈ 𝐸 ↦ (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑦}) ↦ 𝐶)))) = (𝑊 Σg (𝑧 ∈ 𝐸 ↦ (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑧}) ↦ 𝐶))))
8980, 88eqtr4di 2822 1 (𝜑 → (𝑊 Σg (𝑥 ∈ 𝐴 ↦ 𝐶)) = (𝑊 Σg (𝑦 ∈ 𝐸 ↦ (𝑊 Σg (𝑥 ∈ (◡𝐹 “ {𝑦}) ↦ 𝐶)))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  ∀wral 3086  ∃!wreu 3369  Vcvv 3456  ⦋csb 3853   ⊆ wss 3902  {csn 4590  ⟨cop 4843  ∪ ciun 4959   class class class wbr 5111   ↦ cmpt 5195   × cxp 5659  ◡ccnv 5660  dom cdm 5661  ran crn 5662   “ cima 5664  Rel wrel 5666  Fun wfun 6567  ‘cfv 6573  (class class class)co 7462   ∈ cmpo 7464  2nd c2nd 8045  Fincfn 9022  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:  gsummpt2d  33768  elrgspnsubrunlem2  33965
  Copyright terms: Public domain W3C validator