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 35438
Description: Lemma for breprexp 35464- 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 490 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (1...𝑁))
21elfzelzd 13716 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℤ)
3 0zd 12764 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 0 ∈ ℤ)
4 fzsum2sub.m . . . . . . 7 (𝜑 → 𝑀 ∈ ℕ0)
54nn0zd 12777 . . . . . 6 (𝜑 → 𝑀 ∈ ℤ)
65adantr 486 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℤ)
7 simpll 779 . . . . . 6 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝜑)
8 fz1ssnn 13748 . . . . . . . . . . . 12 (1...𝑁) ⊆ ℕ
9 nnssnn0 12668 . . . . . . . . . . . 12 ℕ ⊆ ℕ0
108, 9sstri 3929 . . . . . . . . . . 11 (1...𝑁) ⊆ ℕ0
1110, 1sselid 3918 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ0)
12 nn0uz 13062 . . . . . . . . . 10 ℕ0 = (ℤ≥‘0)
1311, 12eleqtrdi 2885 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (ℤ≥‘0))
14 neg0 11662 . . . . . . . . . 10 -0 = 0
15 uzneg 13044 . . . . . . . . . 10 (𝑗 ∈ (ℤ≥‘0) → -0 ∈ (ℤ≥‘ -𝑗))
1614, 15eqeltrrid 2880 . . . . . . . . 9 (𝑗 ∈ (ℤ≥‘0) → 0 ∈ (ℤ≥‘ -𝑗))
17 fzss1 13756 . . . . . . . . 9 (0 ∈ (ℤ≥‘ -𝑗) → (0...𝑀) ⊆ ( -𝑗...𝑀))
1813, 16, 173syl 19 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...𝑀) ⊆ ( -𝑗...𝑀))
19 fzssuz 13758 . . . . . . . 8 ( -𝑗...𝑀) ⊆ (ℤ≥‘ -𝑗)
2018, 19sstrdi 3932 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...𝑀) ⊆ (ℤ≥‘ -𝑗))
2120sselda 3920 . . . . . 6 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝑖 ∈ (ℤ≥‘ -𝑗))
221adantr 486 . . . . . 6 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝑗 ∈ (1...𝑁))
23 fzsum2sub.2 . . . . . 6 ((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
247, 21, 22, 23syl3anc 1401 . . . . 5 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝐴 ∈ ℂ)
25 fzsum2sub.1 . . . . 5 (𝑖 = (𝑘 − 𝑗) → 𝐴 = 𝐵)
262, 3, 6, 24, 25fsumshft 16011 . . . 4 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
274adantr 486 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℕ0)
288, 1sselid 3918 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ)
2928nnnn0d 12726 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ0)
3027, 29nn0addcld 12730 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℕ0)
3130nn0red 12727 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℝ)
3231ltp1d 12306 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) < ((𝑀 + 𝑗) + 1))
33 fzdisj 13744 . . . . . . . 8 ((𝑀 + 𝑗) < ((𝑀 + 𝑗) + 1) → ((𝑗...(𝑀 + 𝑗)) ∩ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) = ∅)
3432, 33syl 18 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((𝑗...(𝑀 + 𝑗)) ∩ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) = ∅)
35 fzsum2sub.n . . . . . . . . . . . 12 (𝜑 → 𝑁 ∈ ℕ0)
3635nn0zd 12777 . . . . . . . . . . 11 (𝜑 → 𝑁 ∈ ℤ)
375, 36zaddcld 12866 . . . . . . . . . 10 (𝜑 → (𝑀 + 𝑁) ∈ ℤ)
3837adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ ℤ)
3930nn0zd 12777 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℤ)
4028nnred 12409 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℝ)
41 nn0addge2 12712 . . . . . . . . . 10 ((𝑗 ∈ ℝ ∧ 𝑀 ∈ ℕ0) → 𝑗 ≤ (𝑀 + 𝑗))
4240, 27, 41syl2anc 596 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ≤ (𝑀 + 𝑗))
4335nn0red 12727 . . . . . . . . . . 11 (𝜑 → 𝑁 ∈ ℝ)
4443adantr 486 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ∈ ℝ)
4527nn0red 12727 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℝ)
46 elfzle2 13720 . . . . . . . . . . 11 (𝑗 ∈ (1...𝑁) → 𝑗 ≤ 𝑁)
4746adantl 487 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ≤ 𝑁)
4840, 44, 45, 47leadd2dd 11990 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ≤ (𝑀 + 𝑁))
492, 38, 39, 42, 48elfzd 13706 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ (𝑗...(𝑀 + 𝑁)))
50 fzsplit 13743 . . . . . . . 8 ((𝑀 + 𝑗) ∈ (𝑗...(𝑀 + 𝑁)) → (𝑗...(𝑀 + 𝑁)) = ((𝑗...(𝑀 + 𝑗)) ∪ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))))
5149, 50syl 18 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) = ((𝑗...(𝑀 + 𝑗)) ∪ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))))
52 fzfid 14177 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) ∈ Fin)
53 simpll 779 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝜑)
541adantr 486 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑗 ∈ (1...𝑁))
5510, 54sselid 3918 . . . . . . . . . 10 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑗 ∈ ℕ0)
56 fz2ssnn0 33612 . . . . . . . . . 10 (𝑗 ∈ ℕ0 → (𝑗...(𝑀 + 𝑁)) ⊆ ℕ0)
5755, 56syl 18 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → (𝑗...(𝑀 + 𝑁)) ⊆ ℕ0)
58 simpr 490 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑁)))
5957, 58sseldd 3921 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑘 ∈ ℕ0)
6025eleq1d 2860 . . . . . . . . 9 (𝑖 = (𝑘 − 𝑗) → (𝐴 ∈ ℂ ↔ 𝐵 ∈ ℂ))
61 simpll 779 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝜑)
62 simplr 781 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝑖 ∈ (ℤ≥‘ -𝑗))
63 simpr 490 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (1...𝑁))
6461, 62, 63, 23syl3anc 1401 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
6564an32s 665 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) → 𝐴 ∈ ℂ)
6665ralrimiva 3169 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ∀𝑖 ∈ (ℤ≥‘ -𝑗)𝐴 ∈ ℂ)
6766adantr 486 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → ∀𝑖 ∈ (ℤ≥‘ -𝑗)𝐴 ∈ ℂ)
68 nnsscn 12399 . . . . . . . . . . . . 13 ℕ ⊆ ℂ
698, 68sstri 3929 . . . . . . . . . . . 12 (1...𝑁) ⊆ ℂ
70 simplr 781 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (1...𝑁))
7169, 70sselid 3918 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ ℂ)
72 simpr 490 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈ ℕ0)
7372nn0cnd 12728 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈ ℂ)
7471, 73negsubdi2d 11743 . . . . . . . . . 10 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → -(𝑗 − 𝑘) = (𝑘 − 𝑗))
7570elfzelzd 13716 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ ℤ)
76 eluzmn 13031 . . . . . . . . . . . 12 ((𝑗 ∈ ℤ ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (ℤ≥‘(𝑗 − 𝑘)))
7775, 72, 76syl2anc 596 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (ℤ≥‘(𝑗 − 𝑘)))
78 uzneg 13044 . . . . . . . . . . 11 (𝑗 ∈ (ℤ≥‘(𝑗 − 𝑘)) → -(𝑗 − 𝑘) ∈ (ℤ≥‘ -𝑗))
7977, 78syl 18 . . . . . . . . . 10 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → -(𝑗 − 𝑘) ∈ (ℤ≥‘ -𝑗))
8074, 79eqeltrrd 2876 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → (𝑘 − 𝑗) ∈ (ℤ≥‘ -𝑗))
8160, 67, 80rspcdva 3588 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝐵 ∈ ℂ)
8253, 54, 59, 81syl21anc 851 . . . . . . 7 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝐵 ∈ ℂ)
8334, 51, 52, 82fsumsplit 15972 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 = (Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 + Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵))
842zcnd 12863 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℂ)
8584addlidd 11569 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0 + 𝑗) = 𝑗)
8685oveq1d 7485 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0 + 𝑗)...(𝑀 + 𝑗)) = (𝑗...(𝑀 + 𝑗)))
8786eqcomd 2780 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑗)) = ((0 + 𝑗)...(𝑀 + 𝑗)))
8887sumeq1d 15932 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
89 fzsum2sub.3 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) → 𝐵 = 0)
9089sumeq2dv 15934 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵 = Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0)
91 fzfi 14176 . . . . . . . . 9 (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin
92 sumz 15953 . . . . . . . . . 10 (((((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ⊆ (ℤ≥‘0) ∨ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0)
9392olcs 890 . . . . . . . . 9 ((((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0)
9491, 93ax-mp 5 . . . . . . . 8 Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0 = 0
9590, 94eqtrdi 2825 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵 = 0)
9688, 95oveq12d 7488 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 + Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵) = (Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 + 0))
97 fzfid 14177 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0 + 𝑗)...(𝑀 + 𝑗)) ∈ Fin)
98 simpll 779 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝜑)
991adantr 486 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑗 ∈ (1...𝑁))
100 elfzuz3 13712 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (1...𝑁) → 𝑁 ∈ (ℤ≥‘𝑗))
101100adantl 487 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ∈ (ℤ≥‘𝑗))
102 eluzadd 13053 . . . . . . . . . . . . . . 15 ((𝑁 ∈ (ℤ≥‘𝑗) ∧ 𝑀 ∈ ℤ) → (𝑁 + 𝑀) ∈ (ℤ≥‘(𝑗 + 𝑀)))
103101, 6, 102syl2anc 596 . . . . . . . . . . . . . 14 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑁 + 𝑀) ∈ (ℤ≥‘(𝑗 + 𝑀)))
10435nn0cnd 12728 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑁 ∈ ℂ)
105104adantr 486 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ∈ ℂ)
106 zsscn 12760 . . . . . . . . . . . . . . . 16 ℤ ⊆ ℂ
107106, 6sselid 3918 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℂ)
108105, 107addcomd 11570 . . . . . . . . . . . . . 14 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑁 + 𝑀) = (𝑀 + 𝑁))
10984, 107addcomd 11570 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗 + 𝑀) = (𝑀 + 𝑗))
110109fveq2d 6938 . . . . . . . . . . . . . 14 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (ℤ≥‘(𝑗 + 𝑀)) = (ℤ≥‘(𝑀 + 𝑗)))
111103, 108, 1103eltr3d 2889 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ (ℤ≥‘(𝑀 + 𝑗)))
112111adantr 486 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → (𝑀 + 𝑁) ∈ (ℤ≥‘(𝑀 + 𝑗)))
113 fzss2 13757 . . . . . . . . . . . 12 ((𝑀 + 𝑁) ∈ (ℤ≥‘(𝑀 + 𝑗)) → (𝑗...(𝑀 + 𝑗)) ⊆ (𝑗...(𝑀 + 𝑁)))
114112, 113syl 18 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → (𝑗...(𝑀 + 𝑗)) ⊆ (𝑗...(𝑀 + 𝑁)))
115 simpr 490 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗)))
11686adantr 486 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → ((0 + 𝑗)...(𝑀 + 𝑗)) = (𝑗...(𝑀 + 𝑗)))
117115, 116eleqtrd 2877 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑗)))
118114, 117sseldd 3921 . . . . . . . . . 10 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑁)))
11998, 99, 118, 59syl21anc 851 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ ℕ0)
12098, 99, 119, 81syl21anc 851 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝐵 ∈ ℂ)
12197, 120fsumcl 15964 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 ∈ ℂ)
122121addridd 11568 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 + 0) = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
12383, 96, 1223eqtrrd 2814 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵)
124 fzval3 13928 . . . . . . . . . 10 ((𝑀 + 𝑁) ∈ ℤ → (𝑗...(𝑀 + 𝑁)) = (𝑗..^((𝑀 + 𝑁) + 1)))
12538, 124syl 18 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) = (𝑗..^((𝑀 + 𝑁) + 1)))
126125ineq2d 4127 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∩ (𝑗...(𝑀 + 𝑁))) = ((0..^𝑗) ∩ (𝑗..^((𝑀 + 𝑁) + 1))))
127 fzodisj 13887 . . . . . . . 8 ((0..^𝑗) ∩ (𝑗..^((𝑀 + 𝑁) + 1))) = ∅
128126, 127eqtrdi 2825 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∩ (𝑗...(𝑀 + 𝑁))) = ∅)
12938peano2zd 12865 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((𝑀 + 𝑁) + 1) ∈ ℤ)
13029nn0ge0d 12729 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 0 ≤ 𝑗)
131129zred 12862 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((𝑀 + 𝑁) + 1) ∈ ℝ)
13238zred 12862 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ ℝ)
133 nn0addge2 12712 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℝ ∧ 𝑀 ∈ ℕ0) → 𝑁 ≤ (𝑀 + 𝑁))
13443, 4, 133syl2anc 596 . . . . . . . . . . . . 13 (𝜑 → 𝑁 ≤ (𝑀 + 𝑁))
135134adantr 486 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ≤ (𝑀 + 𝑁))
136132lep1d 12307 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ≤ ((𝑀 + 𝑁) + 1))
13744, 132, 131, 135, 136letrd 11525 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ≤ ((𝑀 + 𝑁) + 1))
13840, 44, 131, 47, 137letrd 11525 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ≤ ((𝑀 + 𝑁) + 1))
1393, 129, 2, 130, 138elfzd 13706 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (0...((𝑀 + 𝑁) + 1)))
140 fzosplit 13886 . . . . . . . . 9 (𝑗 ∈ (0...((𝑀 + 𝑁) + 1)) → (0..^((𝑀 + 𝑁) + 1)) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
141139, 140syl 18 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0..^((𝑀 + 𝑁) + 1)) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
142 fzval3 13928 . . . . . . . . 9 ((𝑀 + 𝑁) ∈ ℤ → (0...(𝑀 + 𝑁)) = (0..^((𝑀 + 𝑁) + 1)))
14338, 142syl 18 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) = (0..^((𝑀 + 𝑁) + 1)))
144125uneq2d 4177 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∪ (𝑗...(𝑀 + 𝑁))) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
145141, 143, 1443eqtr4d 2819 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) = ((0..^𝑗) ∪ (𝑗...(𝑀 + 𝑁))))
146 fzfid 14177 . . . . . . . 8 (𝜑 → (0...(𝑀 + 𝑁)) ∈ Fin)
147146adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) ∈ Fin)
148 simpl 488 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝜑)
1491adantrl 729 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑗 ∈ (1...𝑁))
150 fz0ssnn0 13815 . . . . . . . . . 10 (0...(𝑀 + 𝑁)) ⊆ ℕ0
151 simprl 783 . . . . . . . . . 10 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑘 ∈ (0...(𝑀 + 𝑁)))
152150, 151sselid 3918 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑘 ∈ ℕ0)
153148, 149, 152, 81syl21anc 851 . . . . . . . 8 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝐵 ∈ ℂ)
154153anass1rs 668 . . . . . . 7 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0...(𝑀 + 𝑁))) → 𝐵 ∈ ℂ)
155128, 145, 147, 154fsumsplit 15972 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵 = (Σ𝑘 ∈ (0..^𝑗)𝐵 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵))
156 fzsum2sub.4 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑗)) → 𝐵 = 0)
157156sumeq2dv 15934 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0..^𝑗)𝐵 = Σ𝑘 ∈ (0..^𝑗)0)
158 fzofi 14178 . . . . . . . . 9 (0..^𝑗) ∈ Fin
159 sumz 15953 . . . . . . . . . 10 (((0..^𝑗) ⊆ (ℤ≥‘0) ∨ (0..^𝑗) ∈ Fin) → Σ𝑘 ∈ (0..^𝑗)0 = 0)
160159olcs 890 . . . . . . . . 9 ((0..^𝑗) ∈ Fin → Σ𝑘 ∈ (0..^𝑗)0 = 0)
161158, 160ax-mp 5 . . . . . . . 8 Σ𝑘 ∈ (0..^𝑗)0 = 0
162157, 161eqtrdi 2825 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0..^𝑗)𝐵 = 0)
163162oveq1d 7485 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ (0..^𝑗)𝐵 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵) = (0 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵))
16452, 82fsumcl 15964 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 ∈ ℂ)
165164addlidd 11569 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵) = Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵)
166155, 163, 1653eqtrrd 2814 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
167123, 166eqtrd 2809 . . . 4 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
16826, 167eqtrd 2809 . . 3 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
169168sumeq2dv 15934 . 2 (𝜑 → Σ𝑗 ∈ (1...𝑁)Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑗 ∈ (1...𝑁)Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
170 fzfid 14177 . . 3 (𝜑 → (0...𝑀) ∈ Fin)
171 fzfid 14177 . . 3 (𝜑 → (1...𝑁) ∈ Fin)
17224anasss 472 . . . 4 ((𝜑 ∧ (𝑗 ∈ (1...𝑁) ∧ 𝑖 ∈ (0...𝑀))) → 𝐴 ∈ ℂ)
173172ancom2s 663 . . 3 ((𝜑 ∧ (𝑖 ∈ (0...𝑀) ∧ 𝑗 ∈ (1...𝑁))) → 𝐴 ∈ ℂ)
174170, 171, 173fsumcom 16006 . 2 (𝜑 → Σ𝑖 ∈ (0...𝑀)Σ𝑗 ∈ (1...𝑁)𝐴 = Σ𝑗 ∈ (1...𝑁)Σ𝑖 ∈ (0...𝑀)𝐴)
175146, 171, 153fsumcom 16006 . 2 (𝜑 → Σ𝑘 ∈ (0...(𝑀 + 𝑁))Σ𝑗 ∈ (1...𝑁)𝐵 = Σ𝑗 ∈ (1...𝑁)Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
176169, 174, 1753eqtr4d 2819 1 (𝜑 → Σ𝑖 ∈ (0...𝑀)Σ𝑗 ∈ (1...𝑁)𝐴 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))Σ𝑗 ∈ (1...𝑁)𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2156  ∀wral 3091   ⊆ wss 3907   ∩ cin 4099   ∪ cun 4159  ∅c0 4288   class class class wbr 5116  ‘cfv 6579  (class class class)co 7470  Fincfn 9030  ℂcc 11256  ℝcr 11257  0cc0 11258  1c1 11259   + caddc 11261   < clt 11401   ≤ cle 11402   − cmin 11599   -cneg 11600  ℕcn 12394  ℕ0cn0 12665  ℤcz 12752  ℤ≥cuz 13024  ...cfz 13698  ..^cfzo 13847  Σcsu 15918
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-inf2 9698  ax-cnex 11314  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334  ax-pre-mulgt0 11335  ax-pre-sup 11336
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-se 5620  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-isom 6588  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-1st 8054  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-er 8774  df-en 9031  df-dom 9032  df-sdom 9033  df-fin 9034  df-sup 9490  df-oi 9560  df-card 10076  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-sub 11601  df-neg 11602  df-div 12033  df-nn 12395  df-2 12464  df-3 12465  df-n0 12666  df-z 12753  df-uz 13025  df-rp 13180  df-fz 13699  df-fzo 13848  df-seq 14206  df-exp 14266  df-hash 14537  df-cj 15330  df-re 15331  df-im 15332  df-sqrt 15466  df-abs 15467  df-clim 15720  df-sum 15919
This theorem is used by:  breprexplemc  35463
  Copyright terms: Public domain W3C validator