ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  summodclem3 GIF version

Theorem summodclem3 11332
Description: Lemma for summodc 11335. (Contributed by Mario Carneiro, 29-Mar-2014.) (Revised by Jim Kingdon, 9-Apr-2023.)
Hypotheses
Ref Expression
isummo.1 𝐹 = (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 0))
isummo.2 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
isummolem3.5 (𝜑 → (𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ))
isummolem3.6 (𝜑𝑓:(1...𝑀)–1-1-onto𝐴)
isummolem3.7 (𝜑𝐾:(1...𝑁)–1-1-onto𝐴)
isummolem3.g 𝐺 = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0))
isummolem3.4 𝐻 = (𝑛 ∈ ℕ ↦ if(𝑛𝑁, (𝐾𝑛) / 𝑘𝐵, 0))
Assertion
Ref Expression
summodclem3 (𝜑 → (seq1( + , 𝐺)‘𝑀) = (seq1( + , 𝐻)‘𝑁))
Distinct variable groups:   𝑘,𝑛,𝐴   𝑛,𝐹   𝑘,𝑁,𝑛   𝜑,𝑘,𝑛   𝑘,𝑀,𝑛   𝐵,𝑛   𝑘,𝐾,𝑛   𝑓,𝑘,𝑛
Allowed substitution hints:   𝜑(𝑓)   𝐴(𝑓)   𝐵(𝑓,𝑘)   𝐹(𝑓,𝑘)   𝐺(𝑓,𝑘,𝑛)   𝐻(𝑓,𝑘,𝑛)   𝐾(𝑓)   𝑀(𝑓)   𝑁(𝑓)

Proof of Theorem summodclem3
Dummy variables 𝑖 𝑗 𝑚 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addcl 7888 . . . 4 ((𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ) → (𝑚 + 𝑗) ∈ ℂ)
21adantl 275 . . 3 ((𝜑 ∧ (𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ)) → (𝑚 + 𝑗) ∈ ℂ)
3 addcom 8045 . . . 4 ((𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ) → (𝑚 + 𝑗) = (𝑗 + 𝑚))
43adantl 275 . . 3 ((𝜑 ∧ (𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ)) → (𝑚 + 𝑗) = (𝑗 + 𝑚))
5 addass 7893 . . . 4 ((𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ ∧ 𝑦 ∈ ℂ) → ((𝑚 + 𝑗) + 𝑦) = (𝑚 + (𝑗 + 𝑦)))
65adantl 275 . . 3 ((𝜑 ∧ (𝑚 ∈ ℂ ∧ 𝑗 ∈ ℂ ∧ 𝑦 ∈ ℂ)) → ((𝑚 + 𝑗) + 𝑦) = (𝑚 + (𝑗 + 𝑦)))
7 isummolem3.5 . . . . 5 (𝜑 → (𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ))
87simpld 111 . . . 4 (𝜑𝑀 ∈ ℕ)
9 nnuz 9511 . . . 4 ℕ = (ℤ‘1)
108, 9eleqtrdi 2263 . . 3 (𝜑𝑀 ∈ (ℤ‘1))
11 isummolem3.6 . . . . . 6 (𝜑𝑓:(1...𝑀)–1-1-onto𝐴)
12 f1ocnv 5453 . . . . . 6 (𝑓:(1...𝑀)–1-1-onto𝐴𝑓:𝐴1-1-onto→(1...𝑀))
1311, 12syl 14 . . . . 5 (𝜑𝑓:𝐴1-1-onto→(1...𝑀))
14 isummolem3.7 . . . . 5 (𝜑𝐾:(1...𝑁)–1-1-onto𝐴)
15 f1oco 5463 . . . . 5 ((𝑓:𝐴1-1-onto→(1...𝑀) ∧ 𝐾:(1...𝑁)–1-1-onto𝐴) → (𝑓𝐾):(1...𝑁)–1-1-onto→(1...𝑀))
1613, 14, 15syl2anc 409 . . . 4 (𝜑 → (𝑓𝐾):(1...𝑁)–1-1-onto→(1...𝑀))
177, 11, 14nnf1o 11328 . . . . . . 7 (𝜑𝑁 = 𝑀)
1817eqcomd 2176 . . . . . 6 (𝜑𝑀 = 𝑁)
1918oveq2d 5867 . . . . 5 (𝜑 → (1...𝑀) = (1...𝑁))
20 f1oeq2 5430 . . . . 5 ((1...𝑀) = (1...𝑁) → ((𝑓𝐾):(1...𝑀)–1-1-onto→(1...𝑀) ↔ (𝑓𝐾):(1...𝑁)–1-1-onto→(1...𝑀)))
2119, 20syl 14 . . . 4 (𝜑 → ((𝑓𝐾):(1...𝑀)–1-1-onto→(1...𝑀) ↔ (𝑓𝐾):(1...𝑁)–1-1-onto→(1...𝑀)))
2216, 21mpbird 166 . . 3 (𝜑 → (𝑓𝐾):(1...𝑀)–1-1-onto→(1...𝑀))
23 elnnuz 9512 . . . 4 (𝑚 ∈ ℕ ↔ 𝑚 ∈ (ℤ‘1))
24 isummolem3.g . . . . . . 7 𝐺 = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0))
25 breq1 3990 . . . . . . . 8 (𝑛 = 𝑚 → (𝑛𝑀𝑚𝑀))
26 fveq2 5494 . . . . . . . . 9 (𝑛 = 𝑚 → (𝑓𝑛) = (𝑓𝑚))
2726csbeq1d 3056 . . . . . . . 8 (𝑛 = 𝑚(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑚) / 𝑘𝐵)
2825, 27ifbieq1d 3547 . . . . . . 7 (𝑛 = 𝑚 → if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑚𝑀, (𝑓𝑚) / 𝑘𝐵, 0))
29 simplr 525 . . . . . . 7 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)) → 𝑚 ∈ ℕ)
30 elfzle2 9973 . . . . . . . . . 10 (𝑚 ∈ (1...𝑀) → 𝑚𝑀)
3130adantl 275 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)) → 𝑚𝑀)
3231iftrued 3532 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)) → if(𝑚𝑀, (𝑓𝑚) / 𝑘𝐵, 0) = (𝑓𝑚) / 𝑘𝐵)
33 f1of 5440 . . . . . . . . . . . 12 (𝑓:(1...𝑀)–1-1-onto𝐴𝑓:(1...𝑀)⟶𝐴)
3411, 33syl 14 . . . . . . . . . . 11 (𝜑𝑓:(1...𝑀)⟶𝐴)
3534ffvelrnda 5629 . . . . . . . . . 10 ((𝜑𝑚 ∈ (1...𝑀)) → (𝑓𝑚) ∈ 𝐴)
36 isummo.2 . . . . . . . . . . . 12 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
3736ralrimiva 2543 . . . . . . . . . . 11 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
3837adantr 274 . . . . . . . . . 10 ((𝜑𝑚 ∈ (1...𝑀)) → ∀𝑘𝐴 𝐵 ∈ ℂ)
39 nfcsb1v 3082 . . . . . . . . . . . 12 𝑘(𝑓𝑚) / 𝑘𝐵
4039nfel1 2323 . . . . . . . . . . 11 𝑘(𝑓𝑚) / 𝑘𝐵 ∈ ℂ
41 csbeq1a 3058 . . . . . . . . . . . 12 (𝑘 = (𝑓𝑚) → 𝐵 = (𝑓𝑚) / 𝑘𝐵)
4241eleq1d 2239 . . . . . . . . . . 11 (𝑘 = (𝑓𝑚) → (𝐵 ∈ ℂ ↔ (𝑓𝑚) / 𝑘𝐵 ∈ ℂ))
4340, 42rspc 2828 . . . . . . . . . 10 ((𝑓𝑚) ∈ 𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → (𝑓𝑚) / 𝑘𝐵 ∈ ℂ))
4435, 38, 43sylc 62 . . . . . . . . 9 ((𝜑𝑚 ∈ (1...𝑀)) → (𝑓𝑚) / 𝑘𝐵 ∈ ℂ)
4544adantlr 474 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)) → (𝑓𝑚) / 𝑘𝐵 ∈ ℂ)
4632, 45eqeltrd 2247 . . . . . . 7 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)) → if(𝑚𝑀, (𝑓𝑚) / 𝑘𝐵, 0) ∈ ℂ)
4724, 28, 29, 46fvmptd3 5587 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)) → (𝐺𝑚) = if(𝑚𝑀, (𝑓𝑚) / 𝑘𝐵, 0))
4847, 46eqeltrd 2247 . . . . 5 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)) → (𝐺𝑚) ∈ ℂ)
49 simplr 525 . . . . . . 7 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → 𝑚 ∈ ℕ)
508ad2antrr 485 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → 𝑀 ∈ ℕ)
5150nnzd 9322 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → 𝑀 ∈ ℤ)
52 eluzp1l 9500 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → 𝑀 < 𝑚)
5351, 52sylancom 418 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → 𝑀 < 𝑚)
5449nnzd 9322 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → 𝑚 ∈ ℤ)
55 zltnle 9247 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ 𝑚 ∈ ℤ) → (𝑀 < 𝑚 ↔ ¬ 𝑚𝑀))
5651, 54, 55syl2anc 409 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → (𝑀 < 𝑚 ↔ ¬ 𝑚𝑀))
5753, 56mpbid 146 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → ¬ 𝑚𝑀)
5857iffalsed 3535 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → if(𝑚𝑀, (𝑓𝑚) / 𝑘𝐵, 0) = 0)
59 0cn 7901 . . . . . . . 8 0 ∈ ℂ
6058, 59eqeltrdi 2261 . . . . . . 7 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → if(𝑚𝑀, (𝑓𝑚) / 𝑘𝐵, 0) ∈ ℂ)
6124, 28, 49, 60fvmptd3 5587 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → (𝐺𝑚) = if(𝑚𝑀, (𝑓𝑚) / 𝑘𝐵, 0))
6261, 60eqeltrd 2247 . . . . 5 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → (𝐺𝑚) ∈ ℂ)
63 nnsplit 10082 . . . . . . . . 9 (𝑀 ∈ ℕ → ℕ = ((1...𝑀) ∪ (ℤ‘(𝑀 + 1))))
648, 63syl 14 . . . . . . . 8 (𝜑 → ℕ = ((1...𝑀) ∪ (ℤ‘(𝑀 + 1))))
6564eleq2d 2240 . . . . . . 7 (𝜑 → (𝑚 ∈ ℕ ↔ 𝑚 ∈ ((1...𝑀) ∪ (ℤ‘(𝑀 + 1)))))
6665biimpa 294 . . . . . 6 ((𝜑𝑚 ∈ ℕ) → 𝑚 ∈ ((1...𝑀) ∪ (ℤ‘(𝑀 + 1))))
67 elun 3268 . . . . . 6 (𝑚 ∈ ((1...𝑀) ∪ (ℤ‘(𝑀 + 1))) ↔ (𝑚 ∈ (1...𝑀) ∨ 𝑚 ∈ (ℤ‘(𝑀 + 1))))
6866, 67sylib 121 . . . . 5 ((𝜑𝑚 ∈ ℕ) → (𝑚 ∈ (1...𝑀) ∨ 𝑚 ∈ (ℤ‘(𝑀 + 1))))
6948, 62, 68mpjaodan 793 . . . 4 ((𝜑𝑚 ∈ ℕ) → (𝐺𝑚) ∈ ℂ)
7023, 69sylan2br 286 . . 3 ((𝜑𝑚 ∈ (ℤ‘1)) → (𝐺𝑚) ∈ ℂ)
7117oveq2d 5867 . . . . . . . . 9 (𝜑 → (1...𝑁) = (1...𝑀))
7271eleq2d 2240 . . . . . . . 8 (𝜑 → (𝑚 ∈ (1...𝑁) ↔ 𝑚 ∈ (1...𝑀)))
7372adantr 274 . . . . . . 7 ((𝜑𝑚 ∈ ℕ) → (𝑚 ∈ (1...𝑁) ↔ 𝑚 ∈ (1...𝑀)))
7473pm5.32i 451 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑁)) ↔ ((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)))
75 isummolem3.4 . . . . . . . 8 𝐻 = (𝑛 ∈ ℕ ↦ if(𝑛𝑁, (𝐾𝑛) / 𝑘𝐵, 0))
76 breq1 3990 . . . . . . . . 9 (𝑛 = 𝑚 → (𝑛𝑁𝑚𝑁))
77 fveq2 5494 . . . . . . . . . 10 (𝑛 = 𝑚 → (𝐾𝑛) = (𝐾𝑚))
7877csbeq1d 3056 . . . . . . . . 9 (𝑛 = 𝑚(𝐾𝑛) / 𝑘𝐵 = (𝐾𝑚) / 𝑘𝐵)
7976, 78ifbieq1d 3547 . . . . . . . 8 (𝑛 = 𝑚 → if(𝑛𝑁, (𝐾𝑛) / 𝑘𝐵, 0) = if(𝑚𝑁, (𝐾𝑚) / 𝑘𝐵, 0))
80 simplr 525 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑁)) → 𝑚 ∈ ℕ)
81 elfzle2 9973 . . . . . . . . . . 11 (𝑚 ∈ (1...𝑁) → 𝑚𝑁)
8281adantl 275 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑁)) → 𝑚𝑁)
8382iftrued 3532 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑁)) → if(𝑚𝑁, (𝐾𝑚) / 𝑘𝐵, 0) = (𝐾𝑚) / 𝑘𝐵)
84 f1of 5440 . . . . . . . . . . . . 13 (𝐾:(1...𝑁)–1-1-onto𝐴𝐾:(1...𝑁)⟶𝐴)
8514, 84syl 14 . . . . . . . . . . . 12 (𝜑𝐾:(1...𝑁)⟶𝐴)
8685ffvelrnda 5629 . . . . . . . . . . 11 ((𝜑𝑚 ∈ (1...𝑁)) → (𝐾𝑚) ∈ 𝐴)
8737adantr 274 . . . . . . . . . . 11 ((𝜑𝑚 ∈ (1...𝑁)) → ∀𝑘𝐴 𝐵 ∈ ℂ)
88 nfcsb1v 3082 . . . . . . . . . . . . 13 𝑘(𝐾𝑚) / 𝑘𝐵
8988nfel1 2323 . . . . . . . . . . . 12 𝑘(𝐾𝑚) / 𝑘𝐵 ∈ ℂ
90 csbeq1a 3058 . . . . . . . . . . . . 13 (𝑘 = (𝐾𝑚) → 𝐵 = (𝐾𝑚) / 𝑘𝐵)
9190eleq1d 2239 . . . . . . . . . . . 12 (𝑘 = (𝐾𝑚) → (𝐵 ∈ ℂ ↔ (𝐾𝑚) / 𝑘𝐵 ∈ ℂ))
9289, 91rspc 2828 . . . . . . . . . . 11 ((𝐾𝑚) ∈ 𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → (𝐾𝑚) / 𝑘𝐵 ∈ ℂ))
9386, 87, 92sylc 62 . . . . . . . . . 10 ((𝜑𝑚 ∈ (1...𝑁)) → (𝐾𝑚) / 𝑘𝐵 ∈ ℂ)
9493adantlr 474 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑁)) → (𝐾𝑚) / 𝑘𝐵 ∈ ℂ)
9583, 94eqeltrd 2247 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑁)) → if(𝑚𝑁, (𝐾𝑚) / 𝑘𝐵, 0) ∈ ℂ)
9675, 79, 80, 95fvmptd3 5587 . . . . . . 7 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑁)) → (𝐻𝑚) = if(𝑚𝑁, (𝐾𝑚) / 𝑘𝐵, 0))
9796, 95eqeltrd 2247 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑁)) → (𝐻𝑚) ∈ ℂ)
9874, 97sylbir 134 . . . . 5 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (1...𝑀)) → (𝐻𝑚) ∈ ℂ)
9917breq2d 3999 . . . . . . . . . . . 12 (𝜑 → (𝑚𝑁𝑚𝑀))
10099notbid 662 . . . . . . . . . . 11 (𝜑 → (¬ 𝑚𝑁 ↔ ¬ 𝑚𝑀))
101100ad2antrr 485 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → (¬ 𝑚𝑁 ↔ ¬ 𝑚𝑀))
10257, 101mpbird 166 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → ¬ 𝑚𝑁)
103102iffalsed 3535 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → if(𝑚𝑁, (𝐾𝑚) / 𝑘𝐵, 0) = 0)
104103, 59eqeltrdi 2261 . . . . . . 7 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → if(𝑚𝑁, (𝐾𝑚) / 𝑘𝐵, 0) ∈ ℂ)
10575, 79, 49, 104fvmptd3 5587 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → (𝐻𝑚) = if(𝑚𝑁, (𝐾𝑚) / 𝑘𝐵, 0))
106105, 104eqeltrd 2247 . . . . 5 (((𝜑𝑚 ∈ ℕ) ∧ 𝑚 ∈ (ℤ‘(𝑀 + 1))) → (𝐻𝑚) ∈ ℂ)
10798, 106, 68mpjaodan 793 . . . 4 ((𝜑𝑚 ∈ ℕ) → (𝐻𝑚) ∈ ℂ)
10823, 107sylan2br 286 . . 3 ((𝜑𝑚 ∈ (ℤ‘1)) → (𝐻𝑚) ∈ ℂ)
109 f1oeq2 5430 . . . . . . . . . . 11 ((1...𝑀) = (1...𝑁) → (𝐾:(1...𝑀)–1-1-onto𝐴𝐾:(1...𝑁)–1-1-onto𝐴))
11019, 109syl 14 . . . . . . . . . 10 (𝜑 → (𝐾:(1...𝑀)–1-1-onto𝐴𝐾:(1...𝑁)–1-1-onto𝐴))
11114, 110mpbird 166 . . . . . . . . 9 (𝜑𝐾:(1...𝑀)–1-1-onto𝐴)
112 f1of 5440 . . . . . . . . 9 (𝐾:(1...𝑀)–1-1-onto𝐴𝐾:(1...𝑀)⟶𝐴)
113111, 112syl 14 . . . . . . . 8 (𝜑𝐾:(1...𝑀)⟶𝐴)
114 fvco3 5565 . . . . . . . 8 ((𝐾:(1...𝑀)⟶𝐴𝑖 ∈ (1...𝑀)) → ((𝑓𝐾)‘𝑖) = (𝑓‘(𝐾𝑖)))
115113, 114sylan 281 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → ((𝑓𝐾)‘𝑖) = (𝑓‘(𝐾𝑖)))
116115fveq2d 5498 . . . . . 6 ((𝜑𝑖 ∈ (1...𝑀)) → (𝑓‘((𝑓𝐾)‘𝑖)) = (𝑓‘(𝑓‘(𝐾𝑖))))
11711adantr 274 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → 𝑓:(1...𝑀)–1-1-onto𝐴)
118113ffvelrnda 5629 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐾𝑖) ∈ 𝐴)
119 f1ocnvfv2 5755 . . . . . . 7 ((𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (𝐾𝑖) ∈ 𝐴) → (𝑓‘(𝑓‘(𝐾𝑖))) = (𝐾𝑖))
120117, 118, 119syl2anc 409 . . . . . 6 ((𝜑𝑖 ∈ (1...𝑀)) → (𝑓‘(𝑓‘(𝐾𝑖))) = (𝐾𝑖))
121116, 120eqtr2d 2204 . . . . 5 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐾𝑖) = (𝑓‘((𝑓𝐾)‘𝑖)))
122121csbeq1d 3056 . . . 4 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐾𝑖) / 𝑘𝐵 = (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵)
123 elfznn 9999 . . . . . 6 (𝑖 ∈ (1...𝑀) → 𝑖 ∈ ℕ)
124 elfzle2 9973 . . . . . . . . . 10 (𝑖 ∈ (1...𝑀) → 𝑖𝑀)
125124adantl 275 . . . . . . . . 9 ((𝜑𝑖 ∈ (1...𝑀)) → 𝑖𝑀)
12618breq2d 3999 . . . . . . . . . 10 (𝜑 → (𝑖𝑀𝑖𝑁))
127126adantr 274 . . . . . . . . 9 ((𝜑𝑖 ∈ (1...𝑀)) → (𝑖𝑀𝑖𝑁))
128125, 127mpbid 146 . . . . . . . 8 ((𝜑𝑖 ∈ (1...𝑀)) → 𝑖𝑁)
129128iftrued 3532 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → if(𝑖𝑁, (𝐾𝑖) / 𝑘𝐵, 0) = (𝐾𝑖) / 𝑘𝐵)
13037adantr 274 . . . . . . . 8 ((𝜑𝑖 ∈ (1...𝑀)) → ∀𝑘𝐴 𝐵 ∈ ℂ)
131 nfcsb1v 3082 . . . . . . . . . 10 𝑘(𝐾𝑖) / 𝑘𝐵
132131nfel1 2323 . . . . . . . . 9 𝑘(𝐾𝑖) / 𝑘𝐵 ∈ ℂ
133 csbeq1a 3058 . . . . . . . . . 10 (𝑘 = (𝐾𝑖) → 𝐵 = (𝐾𝑖) / 𝑘𝐵)
134133eleq1d 2239 . . . . . . . . 9 (𝑘 = (𝐾𝑖) → (𝐵 ∈ ℂ ↔ (𝐾𝑖) / 𝑘𝐵 ∈ ℂ))
135132, 134rspc 2828 . . . . . . . 8 ((𝐾𝑖) ∈ 𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → (𝐾𝑖) / 𝑘𝐵 ∈ ℂ))
136118, 130, 135sylc 62 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐾𝑖) / 𝑘𝐵 ∈ ℂ)
137129, 136eqeltrd 2247 . . . . . 6 ((𝜑𝑖 ∈ (1...𝑀)) → if(𝑖𝑁, (𝐾𝑖) / 𝑘𝐵, 0) ∈ ℂ)
138 breq1 3990 . . . . . . . 8 (𝑛 = 𝑖 → (𝑛𝑁𝑖𝑁))
139 fveq2 5494 . . . . . . . . 9 (𝑛 = 𝑖 → (𝐾𝑛) = (𝐾𝑖))
140139csbeq1d 3056 . . . . . . . 8 (𝑛 = 𝑖(𝐾𝑛) / 𝑘𝐵 = (𝐾𝑖) / 𝑘𝐵)
141138, 140ifbieq1d 3547 . . . . . . 7 (𝑛 = 𝑖 → if(𝑛𝑁, (𝐾𝑛) / 𝑘𝐵, 0) = if(𝑖𝑁, (𝐾𝑖) / 𝑘𝐵, 0))
142141, 75fvmptg 5570 . . . . . 6 ((𝑖 ∈ ℕ ∧ if(𝑖𝑁, (𝐾𝑖) / 𝑘𝐵, 0) ∈ ℂ) → (𝐻𝑖) = if(𝑖𝑁, (𝐾𝑖) / 𝑘𝐵, 0))
143123, 137, 142syl2an2 589 . . . . 5 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐻𝑖) = if(𝑖𝑁, (𝐾𝑖) / 𝑘𝐵, 0))
144143, 129eqtrd 2203 . . . 4 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐻𝑖) = (𝐾𝑖) / 𝑘𝐵)
145 breq1 3990 . . . . . . 7 (𝑛 = ((𝑓𝐾)‘𝑖) → (𝑛𝑀 ↔ ((𝑓𝐾)‘𝑖) ≤ 𝑀))
146 fveq2 5494 . . . . . . . 8 (𝑛 = ((𝑓𝐾)‘𝑖) → (𝑓𝑛) = (𝑓‘((𝑓𝐾)‘𝑖)))
147146csbeq1d 3056 . . . . . . 7 (𝑛 = ((𝑓𝐾)‘𝑖) → (𝑓𝑛) / 𝑘𝐵 = (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵)
148145, 147ifbieq1d 3547 . . . . . 6 (𝑛 = ((𝑓𝐾)‘𝑖) → if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0) = if(((𝑓𝐾)‘𝑖) ≤ 𝑀, (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵, 0))
149 f1of 5440 . . . . . . . . 9 ((𝑓𝐾):(1...𝑀)–1-1-onto→(1...𝑀) → (𝑓𝐾):(1...𝑀)⟶(1...𝑀))
15022, 149syl 14 . . . . . . . 8 (𝜑 → (𝑓𝐾):(1...𝑀)⟶(1...𝑀))
151150ffvelrnda 5629 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → ((𝑓𝐾)‘𝑖) ∈ (1...𝑀))
152 elfznn 9999 . . . . . . 7 (((𝑓𝐾)‘𝑖) ∈ (1...𝑀) → ((𝑓𝐾)‘𝑖) ∈ ℕ)
153151, 152syl 14 . . . . . 6 ((𝜑𝑖 ∈ (1...𝑀)) → ((𝑓𝐾)‘𝑖) ∈ ℕ)
154 elfzle2 9973 . . . . . . . . . 10 (((𝑓𝐾)‘𝑖) ∈ (1...𝑀) → ((𝑓𝐾)‘𝑖) ≤ 𝑀)
155151, 154syl 14 . . . . . . . . 9 ((𝜑𝑖 ∈ (1...𝑀)) → ((𝑓𝐾)‘𝑖) ≤ 𝑀)
156155iftrued 3532 . . . . . . . 8 ((𝜑𝑖 ∈ (1...𝑀)) → if(((𝑓𝐾)‘𝑖) ≤ 𝑀, (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵, 0) = (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵)
157156, 122eqtr4d 2206 . . . . . . 7 ((𝜑𝑖 ∈ (1...𝑀)) → if(((𝑓𝐾)‘𝑖) ≤ 𝑀, (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵, 0) = (𝐾𝑖) / 𝑘𝐵)
158157, 136eqeltrd 2247 . . . . . 6 ((𝜑𝑖 ∈ (1...𝑀)) → if(((𝑓𝐾)‘𝑖) ≤ 𝑀, (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵, 0) ∈ ℂ)
15924, 148, 153, 158fvmptd3 5587 . . . . 5 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐺‘((𝑓𝐾)‘𝑖)) = if(((𝑓𝐾)‘𝑖) ≤ 𝑀, (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵, 0))
160159, 156eqtrd 2203 . . . 4 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐺‘((𝑓𝐾)‘𝑖)) = (𝑓‘((𝑓𝐾)‘𝑖)) / 𝑘𝐵)
161122, 144, 1603eqtr4d 2213 . . 3 ((𝜑𝑖 ∈ (1...𝑀)) → (𝐻𝑖) = (𝐺‘((𝑓𝐾)‘𝑖)))
1622, 4, 6, 10, 22, 70, 108, 161seq3f1o 10449 . 2 (𝜑 → (seq1( + , 𝐻)‘𝑀) = (seq1( + , 𝐺)‘𝑀))
16318fveq2d 5498 . 2 (𝜑 → (seq1( + , 𝐻)‘𝑀) = (seq1( + , 𝐻)‘𝑁))
164162, 163eqtr3d 2205 1 (𝜑 → (seq1( + , 𝐺)‘𝑀) = (seq1( + , 𝐻)‘𝑁))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 703  w3a 973   = wceq 1348  wcel 2141  wral 2448  csb 3049  cun 3119  ifcif 3525   class class class wbr 3987  cmpt 4048  ccnv 4608  ccom 4613  wf 5192  1-1-ontowf1o 5195  cfv 5196  (class class class)co 5851  cc 7761  0cc0 7763  1c1 7764   + caddc 7766   < clt 7943  cle 7944  cn 8867  cz 9201  cuz 9476  ...cfz 9954  seqcseq 10390
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4102  ax-sep 4105  ax-nul 4113  ax-pow 4158  ax-pr 4192  ax-un 4416  ax-setind 4519  ax-iinf 4570  ax-cnex 7854  ax-resscn 7855  ax-1cn 7856  ax-1re 7857  ax-icn 7858  ax-addcl 7859  ax-addrcl 7860  ax-mulcl 7861  ax-addcom 7863  ax-addass 7865  ax-distr 7867  ax-i2m1 7868  ax-0lt1 7869  ax-0id 7871  ax-rnegex 7872  ax-cnre 7874  ax-pre-ltirr 7875  ax-pre-ltwlin 7876  ax-pre-lttrn 7877  ax-pre-apti 7878  ax-pre-ltadd 7879
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3526  df-pw 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-int 3830  df-iun 3873  df-br 3988  df-opab 4049  df-mpt 4050  df-tr 4086  df-id 4276  df-iord 4349  df-on 4351  df-ilim 4352  df-suc 4354  df-iom 4573  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-res 4621  df-ima 4622  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-fv 5204  df-riota 5807  df-ov 5854  df-oprab 5855  df-mpo 5856  df-1st 6117  df-2nd 6118  df-recs 6282  df-frec 6368  df-1o 6393  df-er 6510  df-en 6716  df-dom 6717  df-fin 6718  df-pnf 7945  df-mnf 7946  df-xr 7947  df-ltxr 7948  df-le 7949  df-sub 8081  df-neg 8082  df-inn 8868  df-n0 9125  df-z 9202  df-uz 9477  df-fz 9955  df-fzo 10088  df-seqfrec 10391  df-ihash 10699
This theorem is referenced by:  summodclem2a  11333  summodc  11335
  Copyright terms: Public domain W3C validator