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

Theorem fsumcnv 15965
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 3865 . . . 4 (𝑥 = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ → 𝐵 = ⦋⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ / 𝑥⦌𝐵)
2 fvex 6918 . . . . 5 (2nd ‘𝑦) ∈ V
3 fvex 6918 . . . . 5 (1st ‘𝑦) ∈ V
4 opex 5436 . . . . . . 7 ⟨𝑗, 𝑘⟩ ∈ V
5 fsumcnv.1 . . . . . . 7 (𝑥 = ⟨𝑗, 𝑘⟩ → 𝐵 = 𝐷)
64, 5csbie 3886 . . . . . 6 ⦋⟨𝑗, 𝑘⟩ / 𝑥⦌𝐵 = 𝐷
7 opeq12 4845 . . . . . . 7 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → ⟨𝑗, 𝑘⟩ = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
87csbeq1d 3855 . . . . . 6 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → ⦋⟨𝑗, 𝑘⟩ / 𝑥⦌𝐵 = ⦋⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ / 𝑥⦌𝐵)
96, 8eqtr3id 2812 . . . . 5 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → 𝐷 = ⦋⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ / 𝑥⦌𝐵)
102, 3, 9csbie2 3890 . . . 4 ⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷 = ⦋⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ / 𝑥⦌𝐵
111, 10eqtr4di 2816 . . 3 (𝑥 = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ → 𝐵 = ⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷)
12 fsumcnv.3 . . . 4 (𝜑 → 𝐴 ∈ Fin)
13 cnvfi 9216 . . . 4 (𝐴 ∈ Fin → ◡𝐴 ∈ Fin)
1412, 13syl 18 . . 3 (𝜑 → ◡𝐴 ∈ Fin)
15 relcnv 6111 . . . . 5 Rel ◡𝐴
16 cnvf1o 8146 . . . . 5 (Rel ◡𝐴 → (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto◡◡𝐴)
1715, 16ax-mp 5 . . . 4 (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto◡◡𝐴
18 fsumcnv.4 . . . . . 6 (𝜑 → Rel 𝐴)
19 dfrel2 6192 . . . . . 6 (Rel 𝐴 ↔ ◡◡𝐴 = 𝐴)
2018, 19sylib 221 . . . . 5 (𝜑 → ◡◡𝐴 = 𝐴)
2120f1oeq3d 6840 . . . 4 (𝜑 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto◡◡𝐴 ↔ (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto𝐴))
2217, 21mpbii 236 . . 3 (𝜑 → (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}):◡𝐴⟶1-1onto𝐴)
23 1st2nd 8071 . . . . . . 7 ((Rel ◡𝐴 ∧ 𝑦 ∈ ◡𝐴) → 𝑦 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩)
2415, 23mpan 703 . . . . . 6 (𝑦 ∈ ◡𝐴 → 𝑦 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩)
2524fveq2d 6909 . . . . 5 (𝑦 ∈ ◡𝐴 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘𝑦) = ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘⟨(1st ‘𝑦), (2nd ‘𝑦)⟩))
26 id 23 . . . . . . 7 (𝑦 ∈ ◡𝐴 → 𝑦 ∈ ◡𝐴)
2724, 26eqeltrrd 2865 . . . . . 6 (𝑦 ∈ ◡𝐴 → ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ ∈ ◡𝐴)
28 sneq 4594 . . . . . . . . . 10 (𝑧 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → {𝑧} = {⟨(1st ‘𝑦), (2nd ‘𝑦)⟩})
2928cnveqd 5859 . . . . . . . . 9 (𝑧 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → ◡{𝑧} = ◡{⟨(1st ‘𝑦), (2nd ‘𝑦)⟩})
3029unieqd 4883 . . . . . . . 8 (𝑧 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → ∪ ◡{𝑧} = ∪ ◡{⟨(1st ‘𝑦), (2nd ‘𝑦)⟩})
31 opswap 6242 . . . . . . . 8 ∪ ◡{⟨(1st ‘𝑦), (2nd ‘𝑦)⟩} = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩
3230, 31eqtrdi 2814 . . . . . . 7 (𝑧 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → ∪ ◡{𝑧} = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
33 eqid 2763 . . . . . . 7 (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧}) = (𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})
34 opex 5436 . . . . . . 7 ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩ ∈ V
3532, 33, 34fvmpt 7013 . . . . . 6 (⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ ∈ ◡𝐴 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘⟨(1st ‘𝑦), (2nd ‘𝑦)⟩) = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
3627, 35syl 18 . . . . 5 (𝑦 ∈ ◡𝐴 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘⟨(1st ‘𝑦), (2nd ‘𝑦)⟩) = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
3725, 36eqtrd 2798 . . . 4 (𝑦 ∈ ◡𝐴 → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘𝑦) = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
3837adantl 487 . . 3 ((𝜑 ∧ 𝑦 ∈ ◡𝐴) → ((𝑧 ∈ ◡𝐴 ↦ ∪ ◡{𝑧})‘𝑦) = ⟨(2nd ‘𝑦), (1st ‘𝑦)⟩)
39 fsumcnv.5 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ ℂ)
4011, 14, 22, 38, 39fsumf1o 15915 . 2 (𝜑 → Σ𝑥 ∈ 𝐴 𝐵 = Σ𝑦 ∈ ◡ 𝐴⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷)
41 csbeq1a 3865 . . . . 5 (𝑦 = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ → 𝐶 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶)
4224, 41syl 18 . . . 4 (𝑦 ∈ ◡𝐴 → 𝐶 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶)
43 opex 5436 . . . . . . 7 ⟨𝑘, 𝑗⟩ ∈ V
44 fsumcnv.2 . . . . . . 7 (𝑦 = ⟨𝑘, 𝑗⟩ → 𝐶 = 𝐷)
4543, 44csbie 3886 . . . . . 6 ⦋⟨𝑘, 𝑗⟩ / 𝑦⦌𝐶 = 𝐷
46 opeq12 4845 . . . . . . . 8 ((𝑘 = (1st ‘𝑦) ∧ 𝑗 = (2nd ‘𝑦)) → ⟨𝑘, 𝑗⟩ = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩)
4746ancoms 464 . . . . . . 7 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → ⟨𝑘, 𝑗⟩ = ⟨(1st ‘𝑦), (2nd ‘𝑦)⟩)
4847csbeq1d 3855 . . . . . 6 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → ⦋⟨𝑘, 𝑗⟩ / 𝑦⦌𝐶 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶)
4945, 48eqtr3id 2812 . . . . 5 ((𝑗 = (2nd ‘𝑦) ∧ 𝑘 = (1st ‘𝑦)) → 𝐷 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶)
502, 3, 49csbie2 3890 . . . 4 ⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷 = ⦋⟨(1st ‘𝑦), (2nd ‘𝑦)⟩ / 𝑦⦌𝐶
5142, 50eqtr4di 2816 . . 3 (𝑦 ∈ ◡𝐴 → 𝐶 = ⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷)
5251sumeq2i 15891 . 2 Σ𝑦 ∈ ◡ 𝐴𝐶 = Σ𝑦 ∈ ◡ 𝐴⦋(2nd ‘𝑦) / 𝑗⦌⦋(1st ‘𝑦) / 𝑘⦌𝐷
5340, 52eqtr4di 2816 1 (𝜑 → Σ𝑥 ∈ 𝐴 𝐵 = Σ𝑦 ∈ ◡ 𝐴𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ⦋csb 3851  {csn 4588  ⟨cop 4838  ∪ cuni 4870   ↦ cmpt 5189  ◡ccnv 5654  Rel wrel 5660  ⟶1-1ontowf1o 6554  ‘cfv 6555  1st c1st 8020  2nd c2nd 8021  Fincfn 8998  ℂcc 11222  Σcsu 15879
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-inf2 9666  ax-cnex 11280  ax-resscn 11281  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300  ax-pre-mulgt0 11301  ax-pre-sup 11302
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-isom 6564  df-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-om 7899  df-1st 8022  df-2nd 8023  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  df-1o 8501  df-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-fin 9002  df-sup 9458  df-oi 9528  df-card 10044  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-div 11998  df-nn 12360  df-2 12429  df-3 12430  df-n0 12631  df-z 12718  df-uz 12990  df-rp 13145  df-fz 13664  df-fzo 13813  df-seq 14169  df-exp 14229  df-hash 14499  df-cj 15292  df-re 15293  df-im 15294  df-sqrt 15428  df-abs 15429  df-clim 15681  df-sum 15880
This theorem is used by:  fsumcom2  15966
  Copyright terms: Public domain W3C validator