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 32587
Description: Lemma for breprexp 32613- 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 485 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (1...𝑁))
21elfzelzd 13257 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℤ)
3 0zd 12331 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → 0 ∈ ℤ)
4 fzsum2sub.m . . . . . . 7 (𝜑𝑀 ∈ ℕ0)
54nn0zd 12424 . . . . . 6 (𝜑𝑀 ∈ ℤ)
65adantr 481 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℤ)
7 simpll 764 . . . . . 6 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝜑)
8 fz1ssnn 13287 . . . . . . . . . . . 12 (1...𝑁) ⊆ ℕ
9 nnssnn0 12236 . . . . . . . . . . . 12 ℕ ⊆ ℕ0
108, 9sstri 3930 . . . . . . . . . . 11 (1...𝑁) ⊆ ℕ0
1110, 1sselid 3919 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ0)
12 nn0uz 12620 . . . . . . . . . 10 0 = (ℤ‘0)
1311, 12eleqtrdi 2849 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (ℤ‘0))
14 neg0 11267 . . . . . . . . . 10 -0 = 0
15 uzneg 12602 . . . . . . . . . 10 (𝑗 ∈ (ℤ‘0) → -0 ∈ (ℤ‘-𝑗))
1614, 15eqeltrrid 2844 . . . . . . . . 9 (𝑗 ∈ (ℤ‘0) → 0 ∈ (ℤ‘-𝑗))
17 fzss1 13295 . . . . . . . . 9 (0 ∈ (ℤ‘-𝑗) → (0...𝑀) ⊆ (-𝑗...𝑀))
1813, 16, 173syl 18 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (0...𝑀) ⊆ (-𝑗...𝑀))
19 fzssuz 13297 . . . . . . . 8 (-𝑗...𝑀) ⊆ (ℤ‘-𝑗)
2018, 19sstrdi 3933 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (0...𝑀) ⊆ (ℤ‘-𝑗))
2120sselda 3921 . . . . . 6 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝑖 ∈ (ℤ‘-𝑗))
221adantr 481 . . . . . 6 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝑗 ∈ (1...𝑁))
23 fzsum2sub.2 . . . . . 6 ((𝜑𝑖 ∈ (ℤ‘-𝑗) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
247, 21, 22, 23syl3anc 1370 . . . . 5 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝐴 ∈ ℂ)
25 fzsum2sub.1 . . . . 5 (𝑖 = (𝑘𝑗) → 𝐴 = 𝐵)
262, 3, 6, 24, 25fsumshft 15492 . . . 4 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
274adantr 481 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℕ0)
288, 1sselid 3919 . . . . . . . . . . . 12 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ)
2928nnnn0d 12293 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ0)
3027, 29nn0addcld 12297 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℕ0)
3130nn0red 12294 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℝ)
3231ltp1d 11905 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) < ((𝑀 + 𝑗) + 1))
33 fzdisj 13283 . . . . . . . 8 ((𝑀 + 𝑗) < ((𝑀 + 𝑗) + 1) → ((𝑗...(𝑀 + 𝑗)) ∩ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) = ∅)
3432, 33syl 17 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → ((𝑗...(𝑀 + 𝑗)) ∩ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) = ∅)
35 fzsum2sub.n . . . . . . . . . . . 12 (𝜑𝑁 ∈ ℕ0)
3635nn0zd 12424 . . . . . . . . . . 11 (𝜑𝑁 ∈ ℤ)
375, 36zaddcld 12430 . . . . . . . . . 10 (𝜑 → (𝑀 + 𝑁) ∈ ℤ)
3837adantr 481 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ ℤ)
3930nn0zd 12424 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℤ)
4028nnred 11988 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℝ)
41 nn0addge2 12280 . . . . . . . . . 10 ((𝑗 ∈ ℝ ∧ 𝑀 ∈ ℕ0) → 𝑗 ≤ (𝑀 + 𝑗))
4240, 27, 41syl2anc 584 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ≤ (𝑀 + 𝑗))
4335nn0red 12294 . . . . . . . . . . 11 (𝜑𝑁 ∈ ℝ)
4443adantr 481 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ∈ ℝ)
4527nn0red 12294 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℝ)
46 elfzle2 13260 . . . . . . . . . . 11 (𝑗 ∈ (1...𝑁) → 𝑗𝑁)
4746adantl 482 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗𝑁)
4840, 44, 45, 47leadd2dd 11590 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ≤ (𝑀 + 𝑁))
492, 38, 39, 42, 48elfzd 13247 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ (𝑗...(𝑀 + 𝑁)))
50 fzsplit 13282 . . . . . . . 8 ((𝑀 + 𝑗) ∈ (𝑗...(𝑀 + 𝑁)) → (𝑗...(𝑀 + 𝑁)) = ((𝑗...(𝑀 + 𝑗)) ∪ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))))
5149, 50syl 17 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) = ((𝑗...(𝑀 + 𝑗)) ∪ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))))
52 fzfid 13693 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) ∈ Fin)
53 simpll 764 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝜑)
541adantr 481 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑗 ∈ (1...𝑁))
5510, 54sselid 3919 . . . . . . . . . 10 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑗 ∈ ℕ0)
56 fz2ssnn0 31106 . . . . . . . . . 10 (𝑗 ∈ ℕ0 → (𝑗...(𝑀 + 𝑁)) ⊆ ℕ0)
5755, 56syl 17 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → (𝑗...(𝑀 + 𝑁)) ⊆ ℕ0)
58 simpr 485 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑁)))
5957, 58sseldd 3922 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑘 ∈ ℕ0)
6025eleq1d 2823 . . . . . . . . 9 (𝑖 = (𝑘𝑗) → (𝐴 ∈ ℂ ↔ 𝐵 ∈ ℂ))
61 simpll 764 . . . . . . . . . . . . 13 (((𝜑𝑖 ∈ (ℤ‘-𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝜑)
62 simplr 766 . . . . . . . . . . . . 13 (((𝜑𝑖 ∈ (ℤ‘-𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝑖 ∈ (ℤ‘-𝑗))
63 simpr 485 . . . . . . . . . . . . 13 (((𝜑𝑖 ∈ (ℤ‘-𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (1...𝑁))
6461, 62, 63, 23syl3anc 1370 . . . . . . . . . . . 12 (((𝜑𝑖 ∈ (ℤ‘-𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
6564an32s 649 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (ℤ‘-𝑗)) → 𝐴 ∈ ℂ)
6665ralrimiva 3103 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → ∀𝑖 ∈ (ℤ‘-𝑗)𝐴 ∈ ℂ)
6766adantr 481 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → ∀𝑖 ∈ (ℤ‘-𝑗)𝐴 ∈ ℂ)
68 nnsscn 11978 . . . . . . . . . . . . 13 ℕ ⊆ ℂ
698, 68sstri 3930 . . . . . . . . . . . 12 (1...𝑁) ⊆ ℂ
70 simplr 766 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (1...𝑁))
7169, 70sselid 3919 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ ℂ)
72 simpr 485 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈ ℕ0)
7372nn0cnd 12295 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈ ℂ)
7471, 73negsubdi2d 11348 . . . . . . . . . 10 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → -(𝑗𝑘) = (𝑘𝑗))
7570elfzelzd 13257 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ ℤ)
76 eluzmn 12589 . . . . . . . . . . . 12 ((𝑗 ∈ ℤ ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (ℤ‘(𝑗𝑘)))
7775, 72, 76syl2anc 584 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (ℤ‘(𝑗𝑘)))
78 uzneg 12602 . . . . . . . . . . 11 (𝑗 ∈ (ℤ‘(𝑗𝑘)) → -(𝑗𝑘) ∈ (ℤ‘-𝑗))
7977, 78syl 17 . . . . . . . . . 10 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → -(𝑗𝑘) ∈ (ℤ‘-𝑗))
8074, 79eqeltrrd 2840 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → (𝑘𝑗) ∈ (ℤ‘-𝑗))
8160, 67, 80rspcdva 3562 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝐵 ∈ ℂ)
8253, 54, 59, 81syl21anc 835 . . . . . . 7 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝐵 ∈ ℂ)
8334, 51, 52, 82fsumsplit 15453 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 = (Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 + Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵))
842zcnd 12427 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℂ)
8584addid2d 11176 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → (0 + 𝑗) = 𝑗)
8685oveq1d 7290 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → ((0 + 𝑗)...(𝑀 + 𝑗)) = (𝑗...(𝑀 + 𝑗)))
8786eqcomd 2744 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑗)) = ((0 + 𝑗)...(𝑀 + 𝑗)))
8887sumeq1d 15413 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
89 fzsum2sub.3 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) → 𝐵 = 0)
9089sumeq2dv 15415 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵 = Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0)
91 fzfi 13692 . . . . . . . . 9 (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin
92 sumz 15434 . . . . . . . . . 10 (((((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ⊆ (ℤ‘0) ∨ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0)
9392olcs 873 . . . . . . . . 9 ((((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0)
9491, 93ax-mp 5 . . . . . . . 8 Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0
9590, 94eqtrdi 2794 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵 = 0)
9688, 95oveq12d 7293 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 + Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵) = (Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 + 0))
97 fzfid 13693 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → ((0 + 𝑗)...(𝑀 + 𝑗)) ∈ Fin)
98 simpll 764 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝜑)
991adantr 481 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑗 ∈ (1...𝑁))
100 elfzuz3 13253 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (1...𝑁) → 𝑁 ∈ (ℤ𝑗))
101100adantl 482 . . . . . . . . . . . . . . 15 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ∈ (ℤ𝑗))
102 eluzadd 12613 . . . . . . . . . . . . . . 15 ((𝑁 ∈ (ℤ𝑗) ∧ 𝑀 ∈ ℤ) → (𝑁 + 𝑀) ∈ (ℤ‘(𝑗 + 𝑀)))
103101, 6, 102syl2anc 584 . . . . . . . . . . . . . 14 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑁 + 𝑀) ∈ (ℤ‘(𝑗 + 𝑀)))
10435nn0cnd 12295 . . . . . . . . . . . . . . . 16 (𝜑𝑁 ∈ ℂ)
105104adantr 481 . . . . . . . . . . . . . . 15 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ∈ ℂ)
106 zsscn 12327 . . . . . . . . . . . . . . . 16 ℤ ⊆ ℂ
107106, 6sselid 3919 . . . . . . . . . . . . . . 15 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℂ)
108105, 107addcomd 11177 . . . . . . . . . . . . . 14 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑁 + 𝑀) = (𝑀 + 𝑁))
10984, 107addcomd 11177 . . . . . . . . . . . . . . 15 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗 + 𝑀) = (𝑀 + 𝑗))
110109fveq2d 6778 . . . . . . . . . . . . . 14 ((𝜑𝑗 ∈ (1...𝑁)) → (ℤ‘(𝑗 + 𝑀)) = (ℤ‘(𝑀 + 𝑗)))
111103, 108, 1103eltr3d 2853 . . . . . . . . . . . . 13 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ (ℤ‘(𝑀 + 𝑗)))
112111adantr 481 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → (𝑀 + 𝑁) ∈ (ℤ‘(𝑀 + 𝑗)))
113 fzss2 13296 . . . . . . . . . . . 12 ((𝑀 + 𝑁) ∈ (ℤ‘(𝑀 + 𝑗)) → (𝑗...(𝑀 + 𝑗)) ⊆ (𝑗...(𝑀 + 𝑁)))
114112, 113syl 17 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → (𝑗...(𝑀 + 𝑗)) ⊆ (𝑗...(𝑀 + 𝑁)))
115 simpr 485 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗)))
11686adantr 481 . . . . . . . . . . . 12 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → ((0 + 𝑗)...(𝑀 + 𝑗)) = (𝑗...(𝑀 + 𝑗)))
117115, 116eleqtrd 2841 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑗)))
118114, 117sseldd 3922 . . . . . . . . . 10 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑁)))
11998, 99, 118, 59syl21anc 835 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ ℕ0)
12098, 99, 119, 81syl21anc 835 . . . . . . . 8 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝐵 ∈ ℂ)
12197, 120fsumcl 15445 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 ∈ ℂ)
122121addid1d 11175 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 + 0) = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
12383, 96, 1223eqtrrd 2783 . . . . 5 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵)
124 fzval3 13456 . . . . . . . . . 10 ((𝑀 + 𝑁) ∈ ℤ → (𝑗...(𝑀 + 𝑁)) = (𝑗..^((𝑀 + 𝑁) + 1)))
12538, 124syl 17 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) = (𝑗..^((𝑀 + 𝑁) + 1)))
126125ineq2d 4146 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∩ (𝑗...(𝑀 + 𝑁))) = ((0..^𝑗) ∩ (𝑗..^((𝑀 + 𝑁) + 1))))
127 fzodisj 13421 . . . . . . . 8 ((0..^𝑗) ∩ (𝑗..^((𝑀 + 𝑁) + 1))) = ∅
128126, 127eqtrdi 2794 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∩ (𝑗...(𝑀 + 𝑁))) = ∅)
12938peano2zd 12429 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → ((𝑀 + 𝑁) + 1) ∈ ℤ)
13029nn0ge0d 12296 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 0 ≤ 𝑗)
131129zred 12426 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → ((𝑀 + 𝑁) + 1) ∈ ℝ)
13238zred 12426 . . . . . . . . . . . 12 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ ℝ)
133 nn0addge2 12280 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℝ ∧ 𝑀 ∈ ℕ0) → 𝑁 ≤ (𝑀 + 𝑁))
13443, 4, 133syl2anc 584 . . . . . . . . . . . . 13 (𝜑𝑁 ≤ (𝑀 + 𝑁))
135134adantr 481 . . . . . . . . . . . 12 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ≤ (𝑀 + 𝑁))
136132lep1d 11906 . . . . . . . . . . . 12 ((𝜑𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ≤ ((𝑀 + 𝑁) + 1))
13744, 132, 131, 135, 136letrd 11132 . . . . . . . . . . 11 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑁 ≤ ((𝑀 + 𝑁) + 1))
13840, 44, 131, 47, 137letrd 11132 . . . . . . . . . 10 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ≤ ((𝑀 + 𝑁) + 1))
1393, 129, 2, 130, 138elfzd 13247 . . . . . . . . 9 ((𝜑𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (0...((𝑀 + 𝑁) + 1)))
140 fzosplit 13420 . . . . . . . . 9 (𝑗 ∈ (0...((𝑀 + 𝑁) + 1)) → (0..^((𝑀 + 𝑁) + 1)) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
141139, 140syl 17 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (0..^((𝑀 + 𝑁) + 1)) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
142 fzval3 13456 . . . . . . . . 9 ((𝑀 + 𝑁) ∈ ℤ → (0...(𝑀 + 𝑁)) = (0..^((𝑀 + 𝑁) + 1)))
14338, 142syl 17 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) = (0..^((𝑀 + 𝑁) + 1)))
144125uneq2d 4097 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∪ (𝑗...(𝑀 + 𝑁))) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
145141, 143, 1443eqtr4d 2788 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) = ((0..^𝑗) ∪ (𝑗...(𝑀 + 𝑁))))
146 fzfid 13693 . . . . . . . 8 (𝜑 → (0...(𝑀 + 𝑁)) ∈ Fin)
147146adantr 481 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) ∈ Fin)
148 simpl 483 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝜑)
1491adantrl 713 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑗 ∈ (1...𝑁))
150 fz0ssnn0 13351 . . . . . . . . . 10 (0...(𝑀 + 𝑁)) ⊆ ℕ0
151 simprl 768 . . . . . . . . . 10 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑘 ∈ (0...(𝑀 + 𝑁)))
152150, 151sselid 3919 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑘 ∈ ℕ0)
153148, 149, 152, 81syl21anc 835 . . . . . . . 8 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝐵 ∈ ℂ)
154153anass1rs 652 . . . . . . 7 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0...(𝑀 + 𝑁))) → 𝐵 ∈ ℂ)
155128, 145, 147, 154fsumsplit 15453 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵 = (Σ𝑘 ∈ (0..^𝑗)𝐵 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵))
156 fzsum2sub.4 . . . . . . . . 9 (((𝜑𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑗)) → 𝐵 = 0)
157156sumeq2dv 15415 . . . . . . . 8 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0..^𝑗)𝐵 = Σ𝑘 ∈ (0..^𝑗)0)
158 fzofi 13694 . . . . . . . . 9 (0..^𝑗) ∈ Fin
159 sumz 15434 . . . . . . . . . 10 (((0..^𝑗) ⊆ (ℤ‘0) ∨ (0..^𝑗) ∈ Fin) → Σ𝑘 ∈ (0..^𝑗)0 = 0)
160159olcs 873 . . . . . . . . 9 ((0..^𝑗) ∈ Fin → Σ𝑘 ∈ (0..^𝑗)0 = 0)
161158, 160ax-mp 5 . . . . . . . 8 Σ𝑘 ∈ (0..^𝑗)0 = 0
162157, 161eqtrdi 2794 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0..^𝑗)𝐵 = 0)
163162oveq1d 7290 . . . . . 6 ((𝜑𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ (0..^𝑗)𝐵 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵) = (0 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵))
16452, 82fsumcl 15445 . . . . . . 7 ((𝜑𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 ∈ ℂ)
165164addid2d 11176 . . . . . 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 15415 . 2 (𝜑 → Σ𝑗 ∈ (1...𝑁𝑖 ∈ (0...𝑀)𝐴 = Σ𝑗 ∈ (1...𝑁𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
170 fzfid 13693 . . 3 (𝜑 → (0...𝑀) ∈ Fin)
171 fzfid 13693 . . 3 (𝜑 → (1...𝑁) ∈ Fin)
17224anasss 467 . . . 4 ((𝜑 ∧ (𝑗 ∈ (1...𝑁) ∧ 𝑖 ∈ (0...𝑀))) → 𝐴 ∈ ℂ)
173172ancom2s 647 . . 3 ((𝜑 ∧ (𝑖 ∈ (0...𝑀) ∧ 𝑗 ∈ (1...𝑁))) → 𝐴 ∈ ℂ)
174170, 171, 173fsumcom 15487 . 2 (𝜑 → Σ𝑖 ∈ (0...𝑀𝑗 ∈ (1...𝑁)𝐴 = Σ𝑗 ∈ (1...𝑁𝑖 ∈ (0...𝑀)𝐴)
175146, 171, 153fsumcom 15487 . 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 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  cun 3885  cin 3886  wss 3887  c0 4256   class class class wbr 5074  cfv 6433  (class class class)co 7275  Fincfn 8733  cc 10869  cr 10870  0cc0 10871  1c1 10872   + caddc 10874   < clt 11009  cle 11010  cmin 11205  -cneg 11206  cn 11973  0cn0 12233  cz 12319  cuz 12582  ...cfz 13239  ..^cfzo 13382  Σcsu 15397
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948  ax-pre-sup 10949
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-sup 9201  df-oi 9269  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-div 11633  df-nn 11974  df-2 12036  df-3 12037  df-n0 12234  df-z 12320  df-uz 12583  df-rp 12731  df-fz 13240  df-fzo 13383  df-seq 13722  df-exp 13783  df-hash 14045  df-cj 14810  df-re 14811  df-im 14812  df-sqrt 14946  df-abs 14947  df-clim 15197  df-sum 15398
This theorem is referenced by:  breprexplemc  32612
  Copyright terms: Public domain W3C validator