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

Theorem fsum2dsub 32487
Description: Lemma for breprexp 32513- Re-index a double sum, using difference of the initial indices. (Contributed by Thierry Arnoux, 7-Dec-2021.)
Hypotheses
Ref Expression
fzsum2sub.m (𝜑𝑀 ∈ ℕ0)
fzsum2sub.n (𝜑𝑁 ∈ ℕ0)
fzsum2sub.1 (𝑖 = (𝑘𝑗) → 𝐴 = 𝐵)
fzsum2sub.2 ((𝜑𝑖 ∈ (ℤ‘-𝑗) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
fzsum2sub.3 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) → 𝐵 = 0)
fzsum2sub.4 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑗)) → 𝐵 = 0)
Assertion
Ref Expression
fsum2dsub (𝜑 → Σ𝑖 ∈ (0...𝑀𝑗 ∈ (1...𝑁)𝐴 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))Σ𝑗 ∈ (1...𝑁)𝐵)
Distinct variable groups:   𝐴,𝑘   𝐵,𝑖   𝑖,𝑀,𝑗,𝑘   𝑖,𝑁,𝑗,𝑘   𝜑,𝑖,𝑗,𝑘
Allowed substitution hints:   𝐴(𝑖,𝑗)   𝐵(𝑗,𝑘)

Proof of Theorem fsum2dsub
StepHypRef Expression
1 simpr 484 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (1...𝑁))
21elfzelzd 13186 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℤ)
3 0zd 12261 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → 0 ∈ ℤ)
4 fzsum2sub.m . . . . . . 7 (𝜑𝑀 ∈ ℕ0)
54nn0zd 12353 . . . . . 6 (𝜑𝑀 ∈ ℤ)
65adantr 480 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℤ)
7 simpll 763 . . . . . 6 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝜑)
8 fz1ssnn 13216 . . . . . . . . . . . 12 (1...𝑁) ⊆ ℕ
9 nnssnn0 12166 . . . . . . . . . . . 12 ℕ ⊆ ℕ0
108, 9sstri 3926 . . . . . . . . . . 11 (1...𝑁) ⊆ ℕ0
1110, 1sselid 3915 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ0)
12 nn0uz 12549 . . . . . . . . . 10 0 = (ℤ‘0)
1311, 12eleqtrdi 2849 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (ℤ‘0))
14 neg0 11197 . . . . . . . . . 10 -0 = 0
15 uzneg 12531 . . . . . . . . . 10 (𝑗 ∈ (ℤ‘0) → -0 ∈ (ℤ‘-𝑗))
1614, 15eqeltrrid 2844 . . . . . . . . 9 (𝑗 ∈ (ℤ‘0) → 0 ∈ (ℤ‘-𝑗))
17 fzss1 13224 . . . . . . . . 9 (0 ∈ (ℤ‘-𝑗) → (0...𝑀) ⊆ (-𝑗...𝑀))
1813, 16, 173syl 18 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (0...𝑀) ⊆ (-𝑗...𝑀))
19 fzssuz 13226 . . . . . . . 8 (-𝑗...𝑀) ⊆ (ℤ‘-𝑗)
2018, 19sstrdi 3929 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (0...𝑀) ⊆ (ℤ‘-𝑗))
2120sselda 3917 . . . . . 6 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝑖 ∈ (ℤ‘-𝑗))
221adantr 480 . . . . . 6 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝑗 ∈ (1...𝑁))
23 fzsum2sub.2 . . . . . 6 ((𝜑𝑖 ∈ (ℤ‘-𝑗) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
247, 21, 22, 23syl3anc 1369 . . . . 5 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝐴 ∈ ℂ)
25 fzsum2sub.1 . . . . 5 (𝑖 = (𝑘𝑗) → 𝐴 = 𝐵)
262, 3, 6, 24, 25fsumshft 15420 . . . 4 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
274adantr 480 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℕ0)
288, 1sselid 3915 . . . . . . . . . . . 12 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ)
2928nnnn0d 12223 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ0)
3027, 29nn0addcld 12227 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℕ0)
3130nn0red 12224 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℝ)
3231ltp1d 11835 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) < ((𝑀 + 𝑗) + 1))
33 fzdisj 13212 . . . . . . . 8 ((𝑀 + 𝑗) < ((𝑀 + 𝑗) + 1) → ((𝑗...(𝑀 + 𝑗)) ∩ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) = ∅)
3432, 33syl 17 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → ((𝑗...(𝑀 + 𝑗)) ∩ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) = ∅)
35 fzsum2sub.n . . . . . . . . . . . 12 (𝜑𝑁 ∈ ℕ0)
3635nn0zd 12353 . . . . . . . . . . 11 (𝜑𝑁 ∈ ℤ)
375, 36zaddcld 12359 . . . . . . . . . 10 (𝜑 → (𝑀 + 𝑁) ∈ ℤ)
3837adantr 480 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ ℤ)
3930nn0zd 12353 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℤ)
4028nnred 11918 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℝ)
41 nn0addge2 12210 . . . . . . . . . 10 ((𝑗 ∈ ℝ ∧ 𝑀 ∈ ℕ0) → 𝑗 ≤ (𝑀 + 𝑗))
4240, 27, 41syl2anc 583 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ≤ (𝑀 + 𝑗))
4335nn0red 12224 . . . . . . . . . . 11 (𝜑𝑁 ∈ ℝ)
4443adantr 480 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ∈ ℝ)
4527nn0red 12224 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℝ)
46 elfzle2 13189 . . . . . . . . . . 11 (𝑗 ∈ (1...𝑁) → 𝑗𝑁)
4746adantl 481 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗𝑁)
4840, 44, 45, 47leadd2dd 11520 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ≤ (𝑀 + 𝑁))
492, 38, 39, 42, 48elfzd 13176 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ (𝑗...(𝑀 + 𝑁)))
50 fzsplit 13211 . . . . . . . 8 ((𝑀 + 𝑗) ∈ (𝑗...(𝑀 + 𝑁)) → (𝑗...(𝑀 + 𝑁)) = ((𝑗...(𝑀 + 𝑗)) ∪ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))))
5149, 50syl 17 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) = ((𝑗...(𝑀 + 𝑗)) ∪ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))))
52 fzfid 13621 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) ∈ Fin)
53 simpll 763 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝜑)
541adantr 480 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑗 ∈ (1...𝑁))
5510, 54sselid 3915 . . . . . . . . . 10 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑗 ∈ ℕ0)
56 fz2ssnn0 31008 . . . . . . . . . 10 (𝑗 ∈ ℕ0 → (𝑗...(𝑀 + 𝑁)) ⊆ ℕ0)
5755, 56syl 17 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → (𝑗...(𝑀 + 𝑁)) ⊆ ℕ0)
58 simpr 484 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑁)))
5957, 58sseldd 3918 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑘 ∈ ℕ0)
6025eleq1d 2823 . . . . . . . . 9 (𝑖 = (𝑘𝑗) → (𝐴 ∈ ℂ ↔ 𝐵 ∈ ℂ))
61 simpll 763 . . . . . . . . . . . . 13 (((𝜑𝑖 ∈ (ℤ‘-𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝜑)
62 simplr 765 . . . . . . . . . . . . 13 (((𝜑𝑖 ∈ (ℤ‘-𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝑖 ∈ (ℤ‘-𝑗))
63 simpr 484 . . . . . . . . . . . . 13 (((𝜑𝑖 ∈ (ℤ‘-𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (1...𝑁))
6461, 62, 63, 23syl3anc 1369 . . . . . . . . . . . 12 (((𝜑𝑖 ∈ (ℤ‘-𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
6564an32s 648 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (ℤ‘-𝑗)) → 𝐴 ∈ ℂ)
6665ralrimiva 3107 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → ∀𝑖 ∈ (ℤ‘-𝑗)𝐴 ∈ ℂ)
6766adantr 480 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → ∀𝑖 ∈ (ℤ‘-𝑗)𝐴 ∈ ℂ)
68 nnsscn 11908 . . . . . . . . . . . . 13 ℕ ⊆ ℂ
698, 68sstri 3926 . . . . . . . . . . . 12 (1...𝑁) ⊆ ℂ
70 simplr 765 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (1...𝑁))
7169, 70sselid 3915 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ ℂ)
72 simpr 484 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈ ℕ0)
7372nn0cnd 12225 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈ ℂ)
7471, 73negsubdi2d 11278 . . . . . . . . . 10 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → -(𝑗𝑘) = (𝑘𝑗))
7570elfzelzd 13186 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ ℤ)
76 eluzmn 12518 . . . . . . . . . . . 12 ((𝑗 ∈ ℤ ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (ℤ‘(𝑗𝑘)))
7775, 72, 76syl2anc 583 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (ℤ‘(𝑗𝑘)))
78 uzneg 12531 . . . . . . . . . . 11 (𝑗 ∈ (ℤ‘(𝑗𝑘)) → -(𝑗𝑘) ∈ (ℤ‘-𝑗))
7977, 78syl 17 . . . . . . . . . 10 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → -(𝑗𝑘) ∈ (ℤ‘-𝑗))
8074, 79eqeltrrd 2840 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → (𝑘𝑗) ∈ (ℤ‘-𝑗))
8160, 67, 80rspcdva 3554 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝐵 ∈ ℂ)
8253, 54, 59, 81syl21anc 834 . . . . . . 7 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝐵 ∈ ℂ)
8334, 51, 52, 82fsumsplit 15381 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 = (Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 + Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵))
842zcnd 12356 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℂ)
8584addid2d 11106 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → (0 + 𝑗) = 𝑗)
8685oveq1d 7270 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → ((0 + 𝑗)...(𝑀 + 𝑗)) = (𝑗...(𝑀 + 𝑗)))
8786eqcomd 2744 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑗)) = ((0 + 𝑗)...(𝑀 + 𝑗)))
8887sumeq1d 15341 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
89 fzsum2sub.3 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) → 𝐵 = 0)
9089sumeq2dv 15343 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵 = Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0)
91 fzfi 13620 . . . . . . . . 9 (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin
92 sumz 15362 . . . . . . . . . 10 (((((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ⊆ (ℤ‘0) ∨ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0)
9392olcs 872 . . . . . . . . 9 ((((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0)
9491, 93ax-mp 5 . . . . . . . 8 Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0
9590, 94eqtrdi 2795 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵 = 0)
9688, 95oveq12d 7273 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 + Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵) = (Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 + 0))
97 fzfid 13621 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → ((0 + 𝑗)...(𝑀 + 𝑗)) ∈ Fin)
98 simpll 763 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝜑)
991adantr 480 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑗 ∈ (1...𝑁))
100 elfzuz3 13182 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (1...𝑁) → 𝑁 ∈ (ℤ𝑗))
101100adantl 481 . . . . . . . . . . . . . . 15 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ∈ (ℤ𝑗))
102 eluzadd 12542 . . . . . . . . . . . . . . 15 ((𝑁 ∈ (ℤ𝑗) ∧ 𝑀 ∈ ℤ) → (𝑁 + 𝑀) ∈ (ℤ‘(𝑗 + 𝑀)))
103101, 6, 102syl2anc 583 . . . . . . . . . . . . . 14 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑁 + 𝑀) ∈ (ℤ‘(𝑗 + 𝑀)))
10435nn0cnd 12225 . . . . . . . . . . . . . . . 16 (𝜑𝑁 ∈ ℂ)
105104adantr 480 . . . . . . . . . . . . . . 15 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ∈ ℂ)
106 zsscn 12257 . . . . . . . . . . . . . . . 16 ℤ ⊆ ℂ
107106, 6sselid 3915 . . . . . . . . . . . . . . 15 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℂ)
108105, 107addcomd 11107 . . . . . . . . . . . . . 14 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑁 + 𝑀) = (𝑀 + 𝑁))
10984, 107addcomd 11107 . . . . . . . . . . . . . . 15 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗 + 𝑀) = (𝑀 + 𝑗))
110109fveq2d 6760 . . . . . . . . . . . . . 14 ((𝜑𝑗 ∈ (1...𝑁)) → (ℤ‘(𝑗 + 𝑀)) = (ℤ‘(𝑀 + 𝑗)))
111103, 108, 1103eltr3d 2853 . . . . . . . . . . . . 13 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ (ℤ‘(𝑀 + 𝑗)))
112111adantr 480 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → (𝑀 + 𝑁) ∈ (ℤ‘(𝑀 + 𝑗)))
113 fzss2 13225 . . . . . . . . . . . 12 ((𝑀 + 𝑁) ∈ (ℤ‘(𝑀 + 𝑗)) → (𝑗...(𝑀 + 𝑗)) ⊆ (𝑗...(𝑀 + 𝑁)))
114112, 113syl 17 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → (𝑗...(𝑀 + 𝑗)) ⊆ (𝑗...(𝑀 + 𝑁)))
115 simpr 484 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗)))
11686adantr 480 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → ((0 + 𝑗)...(𝑀 + 𝑗)) = (𝑗...(𝑀 + 𝑗)))
117115, 116eleqtrd 2841 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑗)))
118114, 117sseldd 3918 . . . . . . . . . 10 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑁)))
11998, 99, 118, 59syl21anc 834 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ ℕ0)
12098, 99, 119, 81syl21anc 834 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝐵 ∈ ℂ)
12197, 120fsumcl 15373 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 ∈ ℂ)
122121addid1d 11105 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 + 0) = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
12383, 96, 1223eqtrrd 2783 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵)
124 fzval3 13384 . . . . . . . . . 10 ((𝑀 + 𝑁) ∈ ℤ → (𝑗...(𝑀 + 𝑁)) = (𝑗..^((𝑀 + 𝑁) + 1)))
12538, 124syl 17 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) = (𝑗..^((𝑀 + 𝑁) + 1)))
126125ineq2d 4143 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∩ (𝑗...(𝑀 + 𝑁))) = ((0..^𝑗) ∩ (𝑗..^((𝑀 + 𝑁) + 1))))
127 fzodisj 13349 . . . . . . . 8 ((0..^𝑗) ∩ (𝑗..^((𝑀 + 𝑁) + 1))) = ∅
128126, 127eqtrdi 2795 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∩ (𝑗...(𝑀 + 𝑁))) = ∅)
12938peano2zd 12358 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → ((𝑀 + 𝑁) + 1) ∈ ℤ)
13029nn0ge0d 12226 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 0 ≤ 𝑗)
131129zred 12355 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → ((𝑀 + 𝑁) + 1) ∈ ℝ)
13238zred 12355 . . . . . . . . . . . 12 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ ℝ)
133 nn0addge2 12210 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℝ ∧ 𝑀 ∈ ℕ0) → 𝑁 ≤ (𝑀 + 𝑁))
13443, 4, 133syl2anc 583 . . . . . . . . . . . . 13 (𝜑𝑁 ≤ (𝑀 + 𝑁))
135134adantr 480 . . . . . . . . . . . 12 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ≤ (𝑀 + 𝑁))
136132lep1d 11836 . . . . . . . . . . . 12 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ≤ ((𝑀 + 𝑁) + 1))
13744, 132, 131, 135, 136letrd 11062 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ≤ ((𝑀 + 𝑁) + 1))
13840, 44, 131, 47, 137letrd 11062 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ≤ ((𝑀 + 𝑁) + 1))
1393, 129, 2, 130, 138elfzd 13176 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (0...((𝑀 + 𝑁) + 1)))
140 fzosplit 13348 . . . . . . . . 9 (𝑗 ∈ (0...((𝑀 + 𝑁) + 1)) → (0..^((𝑀 + 𝑁) + 1)) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
141139, 140syl 17 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (0..^((𝑀 + 𝑁) + 1)) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
142 fzval3 13384 . . . . . . . . 9 ((𝑀 + 𝑁) ∈ ℤ → (0...(𝑀 + 𝑁)) = (0..^((𝑀 + 𝑁) + 1)))
14338, 142syl 17 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) = (0..^((𝑀 + 𝑁) + 1)))
144125uneq2d 4093 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∪ (𝑗...(𝑀 + 𝑁))) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
145141, 143, 1443eqtr4d 2788 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) = ((0..^𝑗) ∪ (𝑗...(𝑀 + 𝑁))))
146 fzfid 13621 . . . . . . . 8 (𝜑 → (0...(𝑀 + 𝑁)) ∈ Fin)
147146adantr 480 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) ∈ Fin)
148 simpl 482 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝜑)
1491adantrl 712 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑗 ∈ (1...𝑁))
150 fz0ssnn0 13280 . . . . . . . . . 10 (0...(𝑀 + 𝑁)) ⊆ ℕ0
151 simprl 767 . . . . . . . . . 10 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑘 ∈ (0...(𝑀 + 𝑁)))
152150, 151sselid 3915 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑘 ∈ ℕ0)
153148, 149, 152, 81syl21anc 834 . . . . . . . 8 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝐵 ∈ ℂ)
154153anass1rs 651 . . . . . . 7 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0...(𝑀 + 𝑁))) → 𝐵 ∈ ℂ)
155128, 145, 147, 154fsumsplit 15381 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵 = (Σ𝑘 ∈ (0..^𝑗)𝐵 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵))
156 fzsum2sub.4 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑗)) → 𝐵 = 0)
157156sumeq2dv 15343 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0..^𝑗)𝐵 = Σ𝑘 ∈ (0..^𝑗)0)
158 fzofi 13622 . . . . . . . . 9 (0..^𝑗) ∈ Fin
159 sumz 15362 . . . . . . . . . 10 (((0..^𝑗) ⊆ (ℤ‘0) ∨ (0..^𝑗) ∈ Fin) → Σ𝑘 ∈ (0..^𝑗)0 = 0)
160159olcs 872 . . . . . . . . 9 ((0..^𝑗) ∈ Fin → Σ𝑘 ∈ (0..^𝑗)0 = 0)
161158, 160ax-mp 5 . . . . . . . 8 Σ𝑘 ∈ (0..^𝑗)0 = 0
162157, 161eqtrdi 2795 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0..^𝑗)𝐵 = 0)
163162oveq1d 7270 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ (0..^𝑗)𝐵 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵) = (0 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵))
16452, 82fsumcl 15373 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 ∈ ℂ)
165164addid2d 11106 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → (0 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵) = Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵)
166155, 163, 1653eqtrrd 2783 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
167123, 166eqtrd 2778 . . . 4 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
16826, 167eqtrd 2778 . . 3 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
169168sumeq2dv 15343 . 2 (𝜑 → Σ𝑗 ∈ (1...𝑁𝑖 ∈ (0...𝑀)𝐴 = Σ𝑗 ∈ (1...𝑁𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
170 fzfid 13621 . . 3 (𝜑 → (0...𝑀) ∈ Fin)
171 fzfid 13621 . . 3 (𝜑 → (1...𝑁) ∈ Fin)
17224anasss 466 . . . 4 ((𝜑 ∧ (𝑗 ∈ (1...𝑁) ∧ 𝑖 ∈ (0...𝑀))) → 𝐴 ∈ ℂ)
173172ancom2s 646 . . 3 ((𝜑 ∧ (𝑖 ∈ (0...𝑀) ∧ 𝑗 ∈ (1...𝑁))) → 𝐴 ∈ ℂ)
174170, 171, 173fsumcom 15415 . 2 (𝜑 → Σ𝑖 ∈ (0...𝑀𝑗 ∈ (1...𝑁)𝐴 = Σ𝑗 ∈ (1...𝑁𝑖 ∈ (0...𝑀)𝐴)
175146, 171, 153fsumcom 15415 . 2 (𝜑 → Σ𝑘 ∈ (0...(𝑀 + 𝑁))Σ𝑗 ∈ (1...𝑁)𝐵 = Σ𝑗 ∈ (1...𝑁𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
176169, 174, 1753eqtr4d 2788 1 (𝜑 → Σ𝑖 ∈ (0...𝑀𝑗 ∈ (1...𝑁)𝐴 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))Σ𝑗 ∈ (1...𝑁)𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  cun 3881  cin 3882  wss 3883  c0 4253   class class class wbr 5070  cfv 6418  (class class class)co 7255  Fincfn 8691  cc 10800  cr 10801  0cc0 10802  1c1 10803   + caddc 10805   < clt 10940  cle 10941  cmin 11135  -cneg 11136  cn 11903  0cn0 12163  cz 12249  cuz 12511  ...cfz 13168  ..^cfzo 13311  Σcsu 15325
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-oi 9199  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-n0 12164  df-z 12250  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-seq 13650  df-exp 13711  df-hash 13973  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-clim 15125  df-sum 15326
This theorem is referenced by:  breprexplemc  32512
  Copyright terms: Public domain W3C validator