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

Theorem summolem3 15165
Description: Lemma for summo 15168. (Contributed by Mario Carneiro, 29-Mar-2014.)
Hypotheses
Ref Expression
summo.1 𝐹 = (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 0))
summo.2 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
summo.3 𝐺 = (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)
summolem3.4 𝐻 = (𝑛 ∈ ℕ ↦ (𝐾𝑛) / 𝑘𝐵)
summolem3.5 (𝜑 → (𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ))
summolem3.6 (𝜑𝑓:(1...𝑀)–1-1-onto𝐴)
summolem3.7 (𝜑𝐾:(1...𝑁)–1-1-onto𝐴)
Assertion
Ref Expression
summolem3 (𝜑 → (seq1( + , 𝐺)‘𝑀) = (seq1( + , 𝐻)‘𝑁))
Distinct variable groups:   𝑓,𝑘,𝑛,𝐴   𝑓,𝐹,𝑘,𝑛   𝑘,𝐺,𝑛   𝑘,𝐾,𝑛   𝑘,𝑁,𝑛   𝜑,𝑘,𝑛   𝐵,𝑓,𝑛   𝑘,𝑀,𝑛
Allowed substitution hints:   𝜑(𝑓)   𝐵(𝑘)   𝐺(𝑓)   𝐻(𝑓,𝑘,𝑛)   𝐾(𝑓)   𝑀(𝑓)   𝑁(𝑓)

Proof of Theorem summolem3
Dummy variables 𝑖 𝑗 𝑚 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addcl 10698 . . . 4 ((𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ) → (𝑚 + 𝑗) ∈ ℂ)
21adantl 485 . . 3 ((𝜑 ∧ (𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ)) → (𝑚 + 𝑗) ∈ ℂ)
3 addcom 10905 . . . 4 ((𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ) → (𝑚 + 𝑗) = (𝑗 + 𝑚))
43adantl 485 . . 3 ((𝜑 ∧ (𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ)) → (𝑚 + 𝑗) = (𝑗 + 𝑚))
5 addass 10703 . . . 4 ((𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ ∧ 𝑦 ∈ ℂ) → ((𝑚 + 𝑗) + 𝑦) = (𝑚 + (𝑗 + 𝑦)))
65adantl 485 . . 3 ((𝜑 ∧ (𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ ∧ 𝑦 ∈ ℂ)) → ((𝑚 + 𝑗) + 𝑦) = (𝑚 + (𝑗 + 𝑦)))
7 summolem3.5 . . . . 5 (𝜑 → (𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ))
87simpld 498 . . . 4 (𝜑𝑀 ∈ ℕ)
9 nnuz 12364 . . . 4 ℕ = (ℤ‘1)
108, 9eleqtrdi 2843 . . 3 (𝜑𝑀 ∈ (ℤ‘1))
11 ssidd 3901 . . 3 (𝜑 → ℂ ⊆ ℂ)
12 summolem3.6 . . . . . 6 (𝜑𝑓:(1...𝑀)–1-1-onto𝐴)
13 f1ocnv 6631 . . . . . 6 (𝑓:(1...𝑀)–1-1-onto𝐴𝑓:𝐴1-1-onto→(1...𝑀))
1412, 13syl 17 . . . . 5 (𝜑𝑓:𝐴1-1-onto→(1...𝑀))
15 summolem3.7 . . . . 5 (𝜑𝐾:(1...𝑁)–1-1-onto𝐴)
16 f1oco 6641 . . . . 5 ((𝑓:𝐴1-1-onto→(1...𝑀) ∧ 𝐾:(1...𝑁)–1-1-onto𝐴) → (𝑓𝐾):(1...𝑁)–1-1-onto→(1...𝑀))
1714, 15, 16syl2anc 587 . . . 4 (𝜑 → (𝑓𝐾):(1...𝑁)–1-1-onto→(1...𝑀))
18 ovex 7204 . . . . . . . . . 10 (1...𝑁) ∈ V
1918f1oen 8577 . . . . . . . . 9 ((𝑓𝐾):(1...𝑁)–1-1-onto→(1...𝑀) → (1...𝑁) ≈ (1...𝑀))
2017, 19syl 17 . . . . . . . 8 (𝜑 → (1...𝑁) ≈ (1...𝑀))
21 fzfi 13432 . . . . . . . . 9 (1...𝑁) ∈ Fin
22 fzfi 13432 . . . . . . . . 9 (1...𝑀) ∈ Fin
23 hashen 13800 . . . . . . . . 9 (((1...𝑁) ∈ Fin ∧ (1...𝑀) ∈ Fin) → ((♯‘(1...𝑁)) = (♯‘(1...𝑀)) ↔ (1...𝑁) ≈ (1...𝑀)))
2421, 22, 23mp2an 692 . . . . . . . 8 ((♯‘(1...𝑁)) = (♯‘(1...𝑀)) ↔ (1...𝑁) ≈ (1...𝑀))
2520, 24sylibr 237 . . . . . . 7 (𝜑 → (♯‘(1...𝑁)) = (♯‘(1...𝑀)))
267simprd 499 . . . . . . . 8 (𝜑𝑁 ∈ ℕ)
27 nnnn0 11984 . . . . . . . 8 (𝑁 ∈ ℕ → 𝑁 ∈ ℕ0)
28 hashfz1 13799 . . . . . . . 8 (𝑁 ∈ ℕ0 → (♯‘(1...𝑁)) = 𝑁)
2926, 27, 283syl 18 . . . . . . 7 (𝜑 → (♯‘(1...𝑁)) = 𝑁)
30 nnnn0 11984 . . . . . . . 8 (𝑀 ∈ ℕ → 𝑀 ∈ ℕ0)
31 hashfz1 13799 . . . . . . . 8 (𝑀 ∈ ℕ0 → (♯‘(1...𝑀)) = 𝑀)
328, 30, 313syl 18 . . . . . . 7 (𝜑 → (♯‘(1...𝑀)) = 𝑀)
3325, 29, 323eqtr3rd 2782 . . . . . 6 (𝜑𝑀 = 𝑁)
3433oveq2d 7187 . . . . 5 (𝜑 → (1...𝑀) = (1...𝑁))
3534f1oeq2d 6615 . . . 4 (𝜑 → ((𝑓𝐾):(1...𝑀)–1-1-onto→(1...𝑀) ↔ (𝑓𝐾):(1...𝑁)–1-1-onto→(1...𝑀)))
3617, 35mpbird 260 . . 3 (𝜑 → (𝑓𝐾):(1...𝑀)–1-1-onto→(1...𝑀))
37 summo.3 . . . . 5 𝐺 = (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)
38 fveq2 6675 . . . . . 6 (𝑛 = 𝑚 → (𝑓𝑛) = (𝑓𝑚))
3938csbeq1d 3795 . . . . 5 (𝑛 = 𝑚(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑚) / 𝑘𝐵)
40 elfznn 13028 . . . . . 6 (𝑚 ∈ (1...𝑀) → 𝑚 ∈ ℕ)
4140adantl 485 . . . . 5 ((𝜑𝑚 ∈ (1...𝑀)) → 𝑚 ∈ ℕ)
42 f1of 6619 . . . . . . . 8 (𝑓:(1...𝑀)–1-1-onto𝐴𝑓:(1...𝑀)⟶𝐴)
4312, 42syl 17 . . . . . . 7 (𝜑𝑓:(1...𝑀)⟶𝐴)
4443ffvelrnda 6862 . . . . . 6 ((𝜑𝑚 ∈ (1...𝑀)) → (𝑓𝑚) ∈ 𝐴)
45 summo.2 . . . . . . . 8 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
4645ralrimiva 3096 . . . . . . 7 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
4746adantr 484 . . . . . 6 ((𝜑𝑚 ∈ (1...𝑀)) → ∀𝑘𝐴 𝐵 ∈ ℂ)
48 nfcsb1v 3815 . . . . . . . 8 𝑘(𝑓𝑚) / 𝑘𝐵
4948nfel1 2915 . . . . . . 7 𝑘(𝑓𝑚) / 𝑘𝐵 ∈ ℂ
50 csbeq1a 3805 . . . . . . . 8 (𝑘 = (𝑓𝑚) → 𝐵 = (𝑓𝑚) / 𝑘𝐵)
5150eleq1d 2817 . . . . . . 7 (𝑘 = (𝑓𝑚) → (𝐵 ∈ ℂ ↔ (𝑓𝑚) / 𝑘𝐵 ∈ ℂ))
5249, 51rspc 3515 . . . . . 6 ((𝑓𝑚) ∈ 𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → (𝑓𝑚) / 𝑘𝐵 ∈ ℂ))
5344, 47, 52sylc 65 . . . . 5 ((𝜑𝑚 ∈ (1...𝑀)) → (𝑓𝑚) / 𝑘𝐵 ∈ ℂ)
5437, 39, 41, 53fvmptd3 6799 . . . 4 ((𝜑𝑚 ∈ (1...𝑀)) → (𝐺𝑚) = (𝑓𝑚) / 𝑘𝐵)
5554, 53eqeltrd 2833 . . 3 ((𝜑𝑚 ∈ (1...𝑀)) → (𝐺𝑚) ∈ ℂ)
5634f1oeq2d 6615 . . . . . . . . . . 11 (𝜑 → (𝐾:(1...𝑀)–1-1-onto𝐴𝐾:(1...𝑁)–1-1-onto𝐴))
5715, 56mpbird 260 . . . . . . . . . 10 (𝜑𝐾:(1...𝑀)–1-1-onto𝐴)
58 f1of 6619 . . . . . . . . . 10 (𝐾:(1...𝑀)–1-1-onto𝐴𝐾:(1...𝑀)⟶𝐴)
5957, 58syl 17 . . . . . . . . 9 (𝜑𝐾:(1...𝑀)⟶𝐴)
60 fvco3 6768 . . . . . . . . 9 ((𝐾:(1...𝑀)⟶𝐴𝑖 ∈ (1...𝑀)) → ((𝑓𝐾)‘𝑖) = (𝑓‘(𝐾𝑖)))
6159, 60sylan 583 . . . . . . . 8 ((𝜑𝑖 ∈ (1...𝑀)) → ((𝑓𝐾)‘𝑖) = (𝑓‘(𝐾𝑖)))
6261fveq2d 6679 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → (𝑓‘((𝑓𝐾)‘𝑖)) = (𝑓‘(𝑓‘(𝐾𝑖))))
6312adantr 484 . . . . . . . 8 ((𝜑𝑖 ∈ (1...𝑀)) → 𝑓:(1...𝑀)–1-1-onto𝐴)
6459ffvelrnda 6862 . . . . . . . 8 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐾𝑖) ∈ 𝐴)
65 f1ocnvfv2 7046 . . . . . . . 8 ((𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (𝐾𝑖) ∈ 𝐴) → (𝑓‘(𝑓‘(𝐾𝑖))) = (𝐾𝑖))
6663, 64, 65syl2anc 587 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → (𝑓‘(𝑓‘(𝐾𝑖))) = (𝐾𝑖))
6762, 66eqtr2d 2774 . . . . . 6 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐾𝑖) = (𝑓‘((𝑓𝐾)‘𝑖)))
6867csbeq1d 3795 . . . . 5 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐾𝑖) / 𝑘𝐵 = (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵)
6968fveq2d 6679 . . . 4 ((𝜑𝑖 ∈ (1...𝑀)) → ( I ‘(𝐾𝑖) / 𝑘𝐵) = ( I ‘(𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵))
70 elfznn 13028 . . . . . 6 (𝑖 ∈ (1...𝑀) → 𝑖 ∈ ℕ)
7170adantl 485 . . . . 5 ((𝜑𝑖 ∈ (1...𝑀)) → 𝑖 ∈ ℕ)
72 fveq2 6675 . . . . . . 7 (𝑛 = 𝑖 → (𝐾𝑛) = (𝐾𝑖))
7372csbeq1d 3795 . . . . . 6 (𝑛 = 𝑖(𝐾𝑛) / 𝑘𝐵 = (𝐾𝑖) / 𝑘𝐵)
74 summolem3.4 . . . . . 6 𝐻 = (𝑛 ∈ ℕ ↦ (𝐾𝑛) / 𝑘𝐵)
7573, 74fvmpti 6775 . . . . 5 (𝑖 ∈ ℕ → (𝐻𝑖) = ( I ‘(𝐾𝑖) / 𝑘𝐵))
7671, 75syl 17 . . . 4 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐻𝑖) = ( I ‘(𝐾𝑖) / 𝑘𝐵))
77 f1of 6619 . . . . . . 7 ((𝑓𝐾):(1...𝑀)–1-1-onto→(1...𝑀) → (𝑓𝐾):(1...𝑀)⟶(1...𝑀))
7836, 77syl 17 . . . . . 6 (𝜑 → (𝑓𝐾):(1...𝑀)⟶(1...𝑀))
7978ffvelrnda 6862 . . . . 5 ((𝜑𝑖 ∈ (1...𝑀)) → ((𝑓𝐾)‘𝑖) ∈ (1...𝑀))
80 elfznn 13028 . . . . 5 (((𝑓𝐾)‘𝑖) ∈ (1...𝑀) → ((𝑓𝐾)‘𝑖) ∈ ℕ)
81 fveq2 6675 . . . . . . 7 (𝑛 = ((𝑓𝐾)‘𝑖) → (𝑓𝑛) = (𝑓‘((𝑓𝐾)‘𝑖)))
8281csbeq1d 3795 . . . . . 6 (𝑛 = ((𝑓𝐾)‘𝑖) → (𝑓𝑛) / 𝑘𝐵 = (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵)
8382, 37fvmpti 6775 . . . . 5 (((𝑓𝐾)‘𝑖) ∈ ℕ → (𝐺‘((𝑓𝐾)‘𝑖)) = ( I ‘(𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵))
8479, 80, 833syl 18 . . . 4 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐺‘((𝑓𝐾)‘𝑖)) = ( I ‘(𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵))
8569, 76, 843eqtr4d 2783 . . 3 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐻𝑖) = (𝐺‘((𝑓𝐾)‘𝑖)))
862, 4, 6, 10, 11, 36, 55, 85seqf1o 13504 . 2 (𝜑 → (seq1( + , 𝐻)‘𝑀) = (seq1( + , 𝐺)‘𝑀))
8733fveq2d 6679 . 2 (𝜑 → (seq1( + , 𝐻)‘𝑀) = (seq1( + , 𝐻)‘𝑁))
8886, 87eqtr3d 2775 1 (𝜑 → (seq1( + , 𝐺)‘𝑀) = (seq1( + , 𝐻)‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1088   = wceq 1542  wcel 2113  wral 3053  csb 3791  ifcif 4415   class class class wbr 5031  cmpt 5111   I cid 5429  ccnv 5525  ccom 5530  wf 6336  1-1-ontowf1o 6339  cfv 6340  (class class class)co 7171  cen 8553  Fincfn 8556  cc 10614  0cc0 10616  1c1 10617   + caddc 10619  cn 11717  0cn0 11977  cz 12063  cuz 12325  ...cfz 12982  seqcseq 13461  chash 13783
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1916  ax-6 1974  ax-7 2019  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2161  ax-12 2178  ax-ext 2710  ax-rep 5155  ax-sep 5168  ax-nul 5175  ax-pow 5233  ax-pr 5297  ax-un 7480  ax-cnex 10672  ax-resscn 10673  ax-1cn 10674  ax-icn 10675  ax-addcl 10676  ax-addrcl 10677  ax-mulcl 10678  ax-mulrcl 10679  ax-mulcom 10680  ax-addass 10681  ax-mulass 10682  ax-distr 10683  ax-i2m1 10684  ax-1ne0 10685  ax-1rid 10686  ax-rnegex 10687  ax-rrecex 10688  ax-cnre 10689  ax-pre-lttri 10690  ax-pre-lttrn 10691  ax-pre-ltadd 10692  ax-pre-mulgt0 10693
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-nel 3039  df-ral 3058  df-rex 3059  df-reu 3060  df-rab 3062  df-v 3400  df-sbc 3683  df-csb 3792  df-dif 3847  df-un 3849  df-in 3851  df-ss 3861  df-pss 3863  df-nul 4213  df-if 4416  df-pw 4491  df-sn 4518  df-pr 4520  df-tp 4522  df-op 4524  df-uni 4798  df-int 4838  df-iun 4884  df-br 5032  df-opab 5094  df-mpt 5112  df-tr 5138  df-id 5430  df-eprel 5435  df-po 5443  df-so 5444  df-fr 5484  df-we 5486  df-xp 5532  df-rel 5533  df-cnv 5534  df-co 5535  df-dm 5536  df-rn 5537  df-res 5538  df-ima 5539  df-pred 6130  df-ord 6176  df-on 6177  df-lim 6178  df-suc 6179  df-iota 6298  df-fun 6342  df-fn 6343  df-f 6344  df-f1 6345  df-fo 6346  df-f1o 6347  df-fv 6348  df-riota 7128  df-ov 7174  df-oprab 7175  df-mpo 7176  df-om 7601  df-1st 7715  df-2nd 7716  df-wrecs 7977  df-recs 8038  df-rdg 8076  df-1o 8132  df-er 8321  df-en 8557  df-dom 8558  df-sdom 8559  df-fin 8560  df-card 9442  df-pnf 10756  df-mnf 10757  df-xr 10758  df-ltxr 10759  df-le 10760  df-sub 10951  df-neg 10952  df-nn 11718  df-n0 11978  df-z 12064  df-uz 12326  df-fz 12983  df-fzo 13126  df-seq 13462  df-hash 13784
This theorem is referenced by:  summolem2a  15166  summo  15168
  Copyright terms: Public domain W3C validator