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 35236
Description: Lemma for breprexp 35262- 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 13657 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℤ)
3 0zd 12705 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 0 ∈ ℤ)
4 fzsum2sub.m . . . . . . 7 (𝜑 → 𝑀 ∈ ℕ0)
54nn0zd 12718 . . . . . 6 (𝜑 → 𝑀 ∈ ℤ)
65adantr 486 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℤ)
7 simpll 779 . . . . . 6 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝜑)
8 fz1ssnn 13689 . . . . . . . . . . . 12 (1...𝑁) ⊆ ℕ
9 nnssnn0 12609 . . . . . . . . . . . 12 ℕ ⊆ ℕ0
108, 9sstri 3940 . . . . . . . . . . 11 (1...𝑁) ⊆ ℕ0
1110, 1sselid 3929 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ0)
12 nn0uz 13003 . . . . . . . . . 10 ℕ0 = (ℤ≥‘0)
1311, 12eleqtrdi 2871 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (ℤ≥‘0))
14 neg0 11604 . . . . . . . . . 10 -0 = 0
15 uzneg 12985 . . . . . . . . . 10 (𝑗 ∈ (ℤ≥‘0) → -0 ∈ (ℤ≥‘ -𝑗))
1614, 15eqeltrrid 2866 . . . . . . . . 9 (𝑗 ∈ (ℤ≥‘0) → 0 ∈ (ℤ≥‘ -𝑗))
17 fzss1 13697 . . . . . . . . 9 (0 ∈ (ℤ≥‘ -𝑗) → (0...𝑀) ⊆ ( -𝑗...𝑀))
1813, 16, 173syl 19 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...𝑀) ⊆ ( -𝑗...𝑀))
19 fzssuz 13699 . . . . . . . 8 ( -𝑗...𝑀) ⊆ (ℤ≥‘ -𝑗)
2018, 19sstrdi 3943 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...𝑀) ⊆ (ℤ≥‘ -𝑗))
2120sselda 3931 . . . . . 6 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝑖 ∈ (ℤ≥‘ -𝑗))
221adantr 486 . . . . . 6 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝑗 ∈ (1...𝑁))
23 fzsum2sub.2 . . . . . 6 ((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
247, 21, 22, 23syl3anc 1398 . . . . 5 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (0...𝑀)) → 𝐴 ∈ ℂ)
25 fzsum2sub.1 . . . . 5 (𝑖 = (𝑘 − 𝑗) → 𝐴 = 𝐵)
262, 3, 6, 24, 25fsumshft 15946 . . . 4 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
274adantr 486 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℕ0)
288, 1sselid 3929 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ)
2928nnnn0d 12667 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℕ0)
3027, 29nn0addcld 12671 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℕ0)
3130nn0red 12668 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℝ)
3231ltp1d 12247 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) < ((𝑀 + 𝑗) + 1))
33 fzdisj 13685 . . . . . . . 8 ((𝑀 + 𝑗) < ((𝑀 + 𝑗) + 1) → ((𝑗...(𝑀 + 𝑗)) ∩ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) = ∅)
3432, 33syl 18 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((𝑗...(𝑀 + 𝑗)) ∩ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) = ∅)
35 fzsum2sub.n . . . . . . . . . . . 12 (𝜑 → 𝑁 ∈ ℕ0)
3635nn0zd 12718 . . . . . . . . . . 11 (𝜑 → 𝑁 ∈ ℤ)
375, 36zaddcld 12807 . . . . . . . . . 10 (𝜑 → (𝑀 + 𝑁) ∈ ℤ)
3837adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ ℤ)
3930nn0zd 12718 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ ℤ)
4028nnred 12350 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℝ)
41 nn0addge2 12653 . . . . . . . . . 10 ((𝑗 ∈ ℝ ∧ 𝑀 ∈ ℕ0) → 𝑗 ≤ (𝑀 + 𝑗))
4240, 27, 41syl2anc 596 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ≤ (𝑀 + 𝑗))
4335nn0red 12668 . . . . . . . . . . 11 (𝜑 → 𝑁 ∈ ℝ)
4443adantr 486 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ∈ ℝ)
4527nn0red 12668 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℝ)
46 elfzle2 13661 . . . . . . . . . . 11 (𝑗 ∈ (1...𝑁) → 𝑗 ≤ 𝑁)
4746adantl 487 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ≤ 𝑁)
4840, 44, 45, 47leadd2dd 11931 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ≤ (𝑀 + 𝑁))
492, 38, 39, 42, 48elfzd 13647 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑗) ∈ (𝑗...(𝑀 + 𝑁)))
50 fzsplit 13684 . . . . . . . 8 ((𝑀 + 𝑗) ∈ (𝑗...(𝑀 + 𝑁)) → (𝑗...(𝑀 + 𝑁)) = ((𝑗...(𝑀 + 𝑗)) ∪ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))))
5149, 50syl 18 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) = ((𝑗...(𝑀 + 𝑗)) ∪ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))))
52 fzfid 14116 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) ∈ Fin)
53 simpll 779 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝜑)
541adantr 486 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑗 ∈ (1...𝑁))
5510, 54sselid 3929 . . . . . . . . . 10 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑗 ∈ ℕ0)
56 fz2ssnn0 33377 . . . . . . . . . 10 (𝑗 ∈ ℕ0 → (𝑗...(𝑀 + 𝑁)) ⊆ ℕ0)
5755, 56syl 18 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → (𝑗...(𝑀 + 𝑁)) ⊆ ℕ0)
58 simpr 490 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑁)))
5957, 58sseldd 3932 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝑘 ∈ ℕ0)
6025eleq1d 2846 . . . . . . . . 9 (𝑖 = (𝑘 − 𝑗) → (𝐴 ∈ ℂ ↔ 𝐵 ∈ ℂ))
61 simpll 779 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝜑)
62 simplr 781 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝑖 ∈ (ℤ≥‘ -𝑗))
63 simpr 490 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (1...𝑁))
6461, 62, 63, 23syl3anc 1398 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) ∧ 𝑗 ∈ (1...𝑁)) → 𝐴 ∈ ℂ)
6564an32s 665 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑖 ∈ (ℤ≥‘ -𝑗)) → 𝐴 ∈ ℂ)
6665ralrimiva 3155 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ∀𝑖 ∈ (ℤ≥‘ -𝑗)𝐴 ∈ ℂ)
6766adantr 486 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → ∀𝑖 ∈ (ℤ≥‘ -𝑗)𝐴 ∈ ℂ)
68 nnsscn 12340 . . . . . . . . . . . . 13 ℕ ⊆ ℂ
698, 68sstri 3940 . . . . . . . . . . . 12 (1...𝑁) ⊆ ℂ
70 simplr 781 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (1...𝑁))
7169, 70sselid 3929 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ ℂ)
72 simpr 490 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈ ℕ0)
7372nn0cnd 12669 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈ ℂ)
7471, 73negsubdi2d 11685 . . . . . . . . . 10 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → -(𝑗 − 𝑘) = (𝑘 − 𝑗))
7570elfzelzd 13657 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ ℤ)
76 eluzmn 12972 . . . . . . . . . . . 12 ((𝑗 ∈ ℤ ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (ℤ≥‘(𝑗 − 𝑘)))
7775, 72, 76syl2anc 596 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝑗 ∈ (ℤ≥‘(𝑗 − 𝑘)))
78 uzneg 12985 . . . . . . . . . . 11 (𝑗 ∈ (ℤ≥‘(𝑗 − 𝑘)) → -(𝑗 − 𝑘) ∈ (ℤ≥‘ -𝑗))
7977, 78syl 18 . . . . . . . . . 10 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → -(𝑗 − 𝑘) ∈ (ℤ≥‘ -𝑗))
8074, 79eqeltrrd 2862 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → (𝑘 − 𝑗) ∈ (ℤ≥‘ -𝑗))
8160, 67, 80rspcdva 3578 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ℕ0) → 𝐵 ∈ ℂ)
8253, 54, 59, 81syl21anc 851 . . . . . . 7 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (𝑗...(𝑀 + 𝑁))) → 𝐵 ∈ ℂ)
8334, 51, 52, 82fsumsplit 15907 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 = (Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 + Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵))
842zcnd 12804 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ ℂ)
8584addlidd 11511 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0 + 𝑗) = 𝑗)
8685oveq1d 7435 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0 + 𝑗)...(𝑀 + 𝑗)) = (𝑗...(𝑀 + 𝑗)))
8786eqcomd 2767 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑗)) = ((0 + 𝑗)...(𝑀 + 𝑗)))
8887sumeq1d 15867 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
89 fzsum2sub.3 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))) → 𝐵 = 0)
9089sumeq2dv 15869 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵 = Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))0)
91 fzfi 14115 . . . . . . . . 9 (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁)) ∈ Fin
92 sumz 15888 . . . . . . . . . 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 2812 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵 = 0)
9688, 95oveq12d 7438 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ (𝑗...(𝑀 + 𝑗))𝐵 + Σ𝑘 ∈ (((𝑀 + 𝑗) + 1)...(𝑀 + 𝑁))𝐵) = (Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 + 0))
97 fzfid 14116 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0 + 𝑗)...(𝑀 + 𝑗)) ∈ Fin)
98 simpll 779 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝜑)
991adantr 486 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑗 ∈ (1...𝑁))
100 elfzuz3 13653 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (1...𝑁) → 𝑁 ∈ (ℤ≥‘𝑗))
101100adantl 487 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ∈ (ℤ≥‘𝑗))
102 eluzadd 12994 . . . . . . . . . . . . . . 15 ((𝑁 ∈ (ℤ≥‘𝑗) ∧ 𝑀 ∈ ℤ) → (𝑁 + 𝑀) ∈ (ℤ≥‘(𝑗 + 𝑀)))
103101, 6, 102syl2anc 596 . . . . . . . . . . . . . 14 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑁 + 𝑀) ∈ (ℤ≥‘(𝑗 + 𝑀)))
10435nn0cnd 12669 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑁 ∈ ℂ)
105104adantr 486 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ∈ ℂ)
106 zsscn 12701 . . . . . . . . . . . . . . . 16 ℤ ⊆ ℂ
107106, 6sselid 3929 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑀 ∈ ℂ)
108105, 107addcomd 11512 . . . . . . . . . . . . . 14 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑁 + 𝑀) = (𝑀 + 𝑁))
10984, 107addcomd 11512 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗 + 𝑀) = (𝑀 + 𝑗))
110109fveq2d 6889 . . . . . . . . . . . . . 14 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (ℤ≥‘(𝑗 + 𝑀)) = (ℤ≥‘(𝑀 + 𝑗)))
111103, 108, 1103eltr3d 2875 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ (ℤ≥‘(𝑀 + 𝑗)))
112111adantr 486 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → (𝑀 + 𝑁) ∈ (ℤ≥‘(𝑀 + 𝑗)))
113 fzss2 13698 . . . . . . . . . . . 12 ((𝑀 + 𝑁) ∈ (ℤ≥‘(𝑀 + 𝑗)) → (𝑗...(𝑀 + 𝑗)) ⊆ (𝑗...(𝑀 + 𝑁)))
114112, 113syl 18 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → (𝑗...(𝑀 + 𝑗)) ⊆ (𝑗...(𝑀 + 𝑁)))
115 simpr 490 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗)))
11686adantr 486 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → ((0 + 𝑗)...(𝑀 + 𝑗)) = (𝑗...(𝑀 + 𝑗)))
117115, 116eleqtrd 2863 . . . . . . . . . . 11 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑗)))
118114, 117sseldd 3932 . . . . . . . . . 10 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ (𝑗...(𝑀 + 𝑁)))
11998, 99, 118, 59syl21anc 851 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝑘 ∈ ℕ0)
12098, 99, 119, 81syl21anc 851 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))) → 𝐵 ∈ ℂ)
12197, 120fsumcl 15899 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 ∈ ℂ)
122121addridd 11510 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 + 0) = Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵)
12383, 96, 1223eqtrrd 2801 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵)
124 fzval3 13869 . . . . . . . . . 10 ((𝑀 + 𝑁) ∈ ℤ → (𝑗...(𝑀 + 𝑁)) = (𝑗..^((𝑀 + 𝑁) + 1)))
12538, 124syl 18 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑗...(𝑀 + 𝑁)) = (𝑗..^((𝑀 + 𝑁) + 1)))
126125ineq2d 4166 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∩ (𝑗...(𝑀 + 𝑁))) = ((0..^𝑗) ∩ (𝑗..^((𝑀 + 𝑁) + 1))))
127 fzodisj 13828 . . . . . . . 8 ((0..^𝑗) ∩ (𝑗..^((𝑀 + 𝑁) + 1))) = ∅
128126, 127eqtrdi 2812 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∩ (𝑗...(𝑀 + 𝑁))) = ∅)
12938peano2zd 12806 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((𝑀 + 𝑁) + 1) ∈ ℤ)
13029nn0ge0d 12670 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 0 ≤ 𝑗)
131129zred 12803 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((𝑀 + 𝑁) + 1) ∈ ℝ)
13238zred 12803 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ∈ ℝ)
133 nn0addge2 12653 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℝ ∧ 𝑀 ∈ ℕ0) → 𝑁 ≤ (𝑀 + 𝑁))
13443, 4, 133syl2anc 596 . . . . . . . . . . . . 13 (𝜑 → 𝑁 ≤ (𝑀 + 𝑁))
135134adantr 486 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ≤ (𝑀 + 𝑁))
136132lep1d 12248 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (𝑀 + 𝑁) ≤ ((𝑀 + 𝑁) + 1))
13744, 132, 131, 135, 136letrd 11467 . . . . . . . . . . 11 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑁 ≤ ((𝑀 + 𝑁) + 1))
13840, 44, 131, 47, 137letrd 11467 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ≤ ((𝑀 + 𝑁) + 1))
1393, 129, 2, 130, 138elfzd 13647 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → 𝑗 ∈ (0...((𝑀 + 𝑁) + 1)))
140 fzosplit 13827 . . . . . . . . 9 (𝑗 ∈ (0...((𝑀 + 𝑁) + 1)) → (0..^((𝑀 + 𝑁) + 1)) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
141139, 140syl 18 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0..^((𝑀 + 𝑁) + 1)) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
142 fzval3 13869 . . . . . . . . 9 ((𝑀 + 𝑁) ∈ ℤ → (0...(𝑀 + 𝑁)) = (0..^((𝑀 + 𝑁) + 1)))
14338, 142syl 18 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) = (0..^((𝑀 + 𝑁) + 1)))
144125uneq2d 4115 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → ((0..^𝑗) ∪ (𝑗...(𝑀 + 𝑁))) = ((0..^𝑗) ∪ (𝑗..^((𝑀 + 𝑁) + 1))))
145141, 143, 1443eqtr4d 2806 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) = ((0..^𝑗) ∪ (𝑗...(𝑀 + 𝑁))))
146 fzfid 14116 . . . . . . . 8 (𝜑 → (0...(𝑀 + 𝑁)) ∈ Fin)
147146adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0...(𝑀 + 𝑁)) ∈ Fin)
148 simpl 488 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝜑)
1491adantrl 729 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑗 ∈ (1...𝑁))
150 fz0ssnn0 13756 . . . . . . . . . 10 (0...(𝑀 + 𝑁)) ⊆ ℕ0
151 simprl 783 . . . . . . . . . 10 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑘 ∈ (0...(𝑀 + 𝑁)))
152150, 151sselid 3929 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝑘 ∈ ℕ0)
153148, 149, 152, 81syl21anc 851 . . . . . . . 8 ((𝜑 ∧ (𝑘 ∈ (0...(𝑀 + 𝑁)) ∧ 𝑗 ∈ (1...𝑁))) → 𝐵 ∈ ℂ)
154153anass1rs 668 . . . . . . 7 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0...(𝑀 + 𝑁))) → 𝐵 ∈ ℂ)
155128, 145, 147, 154fsumsplit 15907 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵 = (Σ𝑘 ∈ (0..^𝑗)𝐵 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵))
156 fzsum2sub.4 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ (1...𝑁)) ∧ 𝑘 ∈ (0..^𝑗)) → 𝐵 = 0)
157156sumeq2dv 15869 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0..^𝑗)𝐵 = Σ𝑘 ∈ (0..^𝑗)0)
158 fzofi 14117 . . . . . . . . 9 (0..^𝑗) ∈ Fin
159 sumz 15888 . . . . . . . . . 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 2812 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (0..^𝑗)𝐵 = 0)
163162oveq1d 7435 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (Σ𝑘 ∈ (0..^𝑗)𝐵 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵) = (0 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵))
16452, 82fsumcl 15899 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 ∈ ℂ)
165164addlidd 11511 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → (0 + Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵) = Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵)
166155, 163, 1653eqtrrd 2801 . . . . 5 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ (𝑗...(𝑀 + 𝑁))𝐵 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
167123, 166eqtrd 2796 . . . 4 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑘 ∈ ((0 + 𝑗)...(𝑀 + 𝑗))𝐵 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
16826, 167eqtrd 2796 . . 3 ((𝜑 ∧ 𝑗 ∈ (1...𝑁)) → Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
169168sumeq2dv 15869 . 2 (𝜑 → Σ𝑗 ∈ (1...𝑁)Σ𝑖 ∈ (0...𝑀)𝐴 = Σ𝑗 ∈ (1...𝑁)Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
170 fzfid 14116 . . 3 (𝜑 → (0...𝑀) ∈ Fin)
171 fzfid 14116 . . 3 (𝜑 → (1...𝑁) ∈ Fin)
17224anasss 472 . . . 4 ((𝜑 ∧ (𝑗 ∈ (1...𝑁) ∧ 𝑖 ∈ (0...𝑀))) → 𝐴 ∈ ℂ)
173172ancom2s 663 . . 3 ((𝜑 ∧ (𝑖 ∈ (0...𝑀) ∧ 𝑗 ∈ (1...𝑁))) → 𝐴 ∈ ℂ)
174170, 171, 173fsumcom 15941 . 2 (𝜑 → Σ𝑖 ∈ (0...𝑀)Σ𝑗 ∈ (1...𝑁)𝐴 = Σ𝑗 ∈ (1...𝑁)Σ𝑖 ∈ (0...𝑀)𝐴)
175146, 171, 153fsumcom 15941 . 2 (𝜑 → Σ𝑘 ∈ (0...(𝑀 + 𝑁))Σ𝑗 ∈ (1...𝑁)𝐵 = Σ𝑗 ∈ (1...𝑁)Σ𝑘 ∈ (0...(𝑀 + 𝑁))𝐵)
176169, 174, 1753eqtr4d 2806 1 (𝜑 → Σ𝑖 ∈ (0...𝑀)Σ𝑗 ∈ (1...𝑁)𝐴 = Σ𝑘 ∈ (0...(𝑀 + 𝑁))Σ𝑗 ∈ (1...𝑁)𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  ∀wral 3077   ∪ cun 3897   ∩ cin 3898   ⊆ wss 3899  ∅c0 4279   class class class wbr 5103  ‘cfv 6538  (class class class)co 7420  Fincfn 8973  ℂcc 11198  ℝcr 11199  0cc0 11200  1c1 11201   + caddc 11203   < clt 11343   ≤ cle 11344   − cmin 11541   -cneg 11542  ℕcn 12335  ℕ0cn0 12606  ℤcz 12693  ℤ≥cuz 12965  ...cfz 13639  ..^cfzo 13788  Σcsu 15853
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-inf2 9642  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277  ax-pre-sup 11278
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-sup 9434  df-oi 9504  df-card 10020  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-div 11974  df-nn 12336  df-2 12405  df-3 12406  df-n0 12607  df-z 12694  df-uz 12966  df-rp 13121  df-fz 13640  df-fzo 13789  df-seq 14145  df-exp 14205  df-hash 14475  df-cj 15266  df-re 15267  df-im 15268  df-sqrt 15402  df-abs 15403  df-clim 15655  df-sum 15854
This theorem is used by:  breprexplemc  35261
  Copyright terms: Public domain W3C validator