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

Theorem fsumcnv 15982
Description: Transform a region of summation by using the converse operation. (Contributed by Mario Carneiro, 23-Apr-2014.)
Hypotheses
Ref Expression
fsumcnv.1 (𝑥 = ⟨𝑗, 𝑘⟩ → 𝐵 = 𝐷)
fsumcnv.2 (𝑦 = ⟨𝑘, 𝑗⟩ → 𝐶 = 𝐷)
fsumcnv.3 (𝜑 → 𝐴 ∈ Fin)
fsumcnv.4 (𝜑 → Rel 𝐴)
fsumcnv.5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ ℂ)
Assertion
Ref Expression
fsumcnv (𝜑 → Σ𝑥 ∈ 𝐴 𝐵 = Σ𝑦 ∈ ◡ 𝐴𝐶)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑗,𝑘,𝑦,𝐵   𝑥,𝑗,𝐶,𝑘   𝜑,𝑥,𝑦   𝑥,𝐷,𝑦
Allowed substitution hints:   𝜑(𝑗, 𝑘)   𝐴(𝑗, 𝑘)   𝐵(𝑥)   𝐶(𝑦)   𝐷(𝑗, 𝑘)

Proof of Theorem fsumcnv
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 csbeq1a 3864 . . . 4 (𝑥 = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ → 𝐵 = ⦋⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ / 𝑥⦌𝐵)
2 fvex 6928 . . . . 5 (2nd ‘𝑦) ∈ V
3 fvex 6928 . . . . 5 (1st ‘𝑦) ∈ V
4 opex 5438 . . . . . . 7 ⟨𝑗, 𝑘⟩ ∈ V
5 fsumcnv.1 . . . . . . 7 (𝑥 = ⟨𝑗, 𝑘⟩ → 𝐵 = 𝐷)
64, 5csbie 3885 . . . . . 6 ⦋⟨𝑗, 𝑘⟩ / 𝑥⦌𝐵 = 𝐷
7 opeq12 4846 . . . . . . 7 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → ⟨𝑗, 𝑘⟩ = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
87csbeq1d 3854 . . . . . 6 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → ⦋⟨𝑗, 𝑘⟩ / 𝑥⦌𝐵 = ⦋⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ / 𝑥⦌𝐵)
96, 8eqtr3id 2815 . . . . 5 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → 𝐷 = ⦋⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ / 𝑥⦌𝐵)
102, 3, 9csbie2 3889 . . . 4 ⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷 = ⦋⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ / 𝑥⦌𝐵
111, 10eqtr4di 2819 . . 3 (𝑥 = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ → 𝐵 = ⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷)
12 fsumcnv.3 . . . 4 (𝜑 → 𝐴 ∈ Fin)
13 cnvfi 9228 . . . 4 (𝐴 ∈ Fin → ◡𝐴 ∈ Fin)
1412, 13syl 18 . . 3 (𝜑 → ◡𝐴 ∈ Fin)
15 relcnv 6117 . . . . 5 Rel ◡𝐴
16 cnvf1o 8158 . . . . 5 (Rel ◡𝐴 → (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto◡◡𝐴)
1715, 16ax-mp 5 . . . 4 (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto◡◡𝐴
18 fsumcnv.4 . . . . . 6 (𝜑 → Rel 𝐴)
19 dfrel2 6198 . . . . . 6 (Rel 𝐴 ↔ ◡◡𝐴 = 𝐴)
2018, 19sylib 221 . . . . 5 (𝜑 → ◡◡𝐴 = 𝐴)
2120f1oeq3d 6850 . . . 4 (𝜑 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto◡◡𝐴 ↔ (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto𝐴))
2217, 21mpbii 236 . . 3 (𝜑 → (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto𝐴)
23 1st2nd 8083 . . . . . . 7 ((Rel ◡𝐴 ∧ 𝑦 ∈ ◡𝐴) → 𝑦 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩)
2415, 23mpan 703 . . . . . 6 (𝑦 ∈ ◡𝐴 → 𝑦 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩)
2524fveq2d 6919 . . . . 5 (𝑦 ∈ ◡𝐴 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘𝑦) = ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘⟨(1st ‘𝑦), (2nd ‘𝑦)⟩))
26 id 23 . . . . . . 7 (𝑦 ∈ ◡𝐴 → 𝑦 ∈ ◡𝐴)
2724, 26eqeltrrd 2868 . . . . . 6 (𝑦 ∈ ◡𝐴 → ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ ∈ ◡𝐴)
28 sneq 4593 . . . . . . . . . 10 (𝑧 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → {𝑧} = {⟨(1st ‘𝑦), (2nd ‘𝑦)⟩})
2928cnveqd 5864 . . . . . . . . 9 (𝑧 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → ◡{𝑧} = ◡{⟨(1st ‘𝑦), (2nd ‘𝑦)⟩})
3029unieqd 4884 . . . . . . . 8 (𝑧 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → ∪ ◡{𝑧} = ∪ ◡{⟨(1st ‘𝑦), (2nd ‘𝑦)⟩})
31 opswap 6248 . . . . . . . 8 ∪ ◡{⟨(1st ‘𝑦), (2nd ‘𝑦)⟩} = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩
3230, 31eqtrdi 2817 . . . . . . 7 (𝑧 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → ∪ ◡{𝑧} = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
33 eqid 2766 . . . . . . 7 (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}) = (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})
34 opex 5438 . . . . . . 7 ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ ∈ V
3532, 33, 34fvmpt 7023 . . . . . 6 (⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ ∈ ◡𝐴 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘⟨(1st ‘𝑦), (2nd ‘𝑦)⟩) = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
3627, 35syl 18 . . . . 5 (𝑦 ∈ ◡𝐴 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘⟨(1st ‘𝑦), (2nd ‘𝑦)⟩) = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
3725, 36eqtrd 2801 . . . 4 (𝑦 ∈ ◡𝐴 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘𝑦) = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
3837adantl 487 . . 3 ((𝜑 ∧ 𝑦 ∈ ◡𝐴) → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘𝑦) = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
39 fsumcnv.5 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ ℂ)
4011, 14, 22, 38, 39fsumf1o 15932 . 2 (𝜑 → Σ𝑥 ∈ 𝐴 𝐵 = Σ𝑦 ∈ ◡ 𝐴⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷)
41 csbeq1a 3864 . . . . 5 (𝑦 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → 𝐶 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶)
4224, 41syl 18 . . . 4 (𝑦 ∈ ◡𝐴 → 𝐶 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶)
43 opex 5438 . . . . . . 7 ⟨𝑘, 𝑗⟩ ∈ V
44 fsumcnv.2 . . . . . . 7 (𝑦 = ⟨𝑘, 𝑗⟩ → 𝐶 = 𝐷)
4543, 44csbie 3885 . . . . . 6 ⦋⟨𝑘, 𝑗⟩ / 𝑦⦌𝐶 = 𝐷
46 opeq12 4846 . . . . . . . 8 ((𝑘 = (1st ‘𝑦) ∧ 𝑗 = (2nd ‘𝑦)) → ⟨𝑘, 𝑗⟩ = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩)
4746ancoms 464 . . . . . . 7 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → ⟨𝑘, 𝑗⟩ = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩)
4847csbeq1d 3854 . . . . . 6 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → ⦋⟨𝑘, 𝑗⟩ / 𝑦⦌𝐶 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶)
4945, 48eqtr3id 2815 . . . . 5 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → 𝐷 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶)
502, 3, 49csbie2 3889 . . . 4 ⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶
5142, 50eqtr4di 2819 . . 3 (𝑦 ∈ ◡𝐴 → 𝐶 = ⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷)
5251sumeq2i 15908 . 2 Σ𝑦 ∈ ◡ 𝐴𝐶 = Σ𝑦 ∈ ◡ 𝐴⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷
5340, 52eqtr4di 2819 1 (𝜑 → Σ𝑥 ∈ 𝐴 𝐵 = Σ𝑦 ∈ ◡ 𝐴𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  ⦋csb 3850  {csn 4587  ⟨cop 4839  ∪ cuni 4871   ↦ cmpt 5191  ◡ccnv 5656  Rel wrel 5662  ⟶1-1ontowf1o 6564  ‘cfv 6565  1st c1st 8032  2nd c2nd 8033  Fincfn 9010  ℂcc 11236  Σcsu 15896
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 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-inf2 9678  ax-cnex 11294  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315  ax-pre-sup 11316
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 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-se 5611  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-isom 6574  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-1st 8034  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-1o 8513  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-fin 9014  df-sup 9470  df-oi 9540  df-card 10056  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-div 12013  df-nn 12375  df-2 12444  df-3 12445  df-n0 12646  df-z 12733  df-uz 13005  df-rp 13160  df-fz 13679  df-fzo 13828  df-seq 14184  df-exp 14244  df-hash 14515  df-cj 15308  df-re 15309  df-im 15310  df-sqrt 15444  df-abs 15445  df-clim 15698  df-sum 15897
This theorem is used by:  fsumcom2  15983
  Copyright terms: Public domain W3C validator