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

Theorem breprexpnat 32514
Description: Express the 𝑆 th power of the finite series in terms of the number of representations of integers 𝑚 as sums of 𝑆 terms of elements of 𝐴, bounded by 𝑁. Proposition of [Nathanson] p. 123. (Contributed by Thierry Arnoux, 11-Dec-2021.)
Hypotheses
Ref Expression
breprexp.n (𝜑𝑁 ∈ ℕ0)
breprexp.s (𝜑𝑆 ∈ ℕ0)
breprexp.z (𝜑𝑍 ∈ ℂ)
breprexpnat.a (𝜑𝐴 ⊆ ℕ)
breprexpnat.p 𝑃 = Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)
breprexpnat.r 𝑅 = (♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚))
Assertion
Ref Expression
breprexpnat (𝜑 → (𝑃𝑆) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))(𝑅 · (𝑍𝑚)))
Distinct variable groups:   𝑚,𝑁   𝑆,𝑚   𝑚,𝑍   𝐴,𝑏,𝑚   𝑁,𝑏   𝑆,𝑏   𝑍,𝑏   𝜑,𝑏,𝑚
Allowed substitution hints:   𝑃(𝑚,𝑏)   𝑅(𝑚,𝑏)

Proof of Theorem breprexpnat
Dummy variables 𝑐 𝑎 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breprexp.n . . . 4 (𝜑𝑁 ∈ ℕ0)
2 breprexp.s . . . 4 (𝜑𝑆 ∈ ℕ0)
3 breprexp.z . . . 4 (𝜑𝑍 ∈ ℂ)
4 fvex 6769 . . . . . 6 ((𝟭‘ℕ)‘𝐴) ∈ V
54fconst 6644 . . . . 5 ((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)}):(0..^𝑆)⟶{((𝟭‘ℕ)‘𝐴)}
6 nnex 11909 . . . . . . . . 9 ℕ ∈ V
7 breprexpnat.a . . . . . . . . 9 (𝜑𝐴 ⊆ ℕ)
8 indf 31883 . . . . . . . . 9 ((ℕ ∈ V ∧ 𝐴 ⊆ ℕ) → ((𝟭‘ℕ)‘𝐴):ℕ⟶{0, 1})
96, 7, 8sylancr 586 . . . . . . . 8 (𝜑 → ((𝟭‘ℕ)‘𝐴):ℕ⟶{0, 1})
10 0cn 10898 . . . . . . . . 9 0 ∈ ℂ
11 ax-1cn 10860 . . . . . . . . 9 1 ∈ ℂ
12 prssi 4751 . . . . . . . . 9 ((0 ∈ ℂ ∧ 1 ∈ ℂ) → {0, 1} ⊆ ℂ)
1310, 11, 12mp2an 688 . . . . . . . 8 {0, 1} ⊆ ℂ
14 fss 6601 . . . . . . . 8 ((((𝟭‘ℕ)‘𝐴):ℕ⟶{0, 1} ∧ {0, 1} ⊆ ℂ) → ((𝟭‘ℕ)‘𝐴):ℕ⟶ℂ)
159, 13, 14sylancl 585 . . . . . . 7 (𝜑 → ((𝟭‘ℕ)‘𝐴):ℕ⟶ℂ)
16 cnex 10883 . . . . . . . 8 ℂ ∈ V
1716, 6elmap 8617 . . . . . . 7 (((𝟭‘ℕ)‘𝐴) ∈ (ℂ ↑m ℕ) ↔ ((𝟭‘ℕ)‘𝐴):ℕ⟶ℂ)
1815, 17sylibr 233 . . . . . 6 (𝜑 → ((𝟭‘ℕ)‘𝐴) ∈ (ℂ ↑m ℕ))
194snss 4716 . . . . . 6 (((𝟭‘ℕ)‘𝐴) ∈ (ℂ ↑m ℕ) ↔ {((𝟭‘ℕ)‘𝐴)} ⊆ (ℂ ↑m ℕ))
2018, 19sylib 217 . . . . 5 (𝜑 → {((𝟭‘ℕ)‘𝐴)} ⊆ (ℂ ↑m ℕ))
21 fss 6601 . . . . 5 ((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)}):(0..^𝑆)⟶{((𝟭‘ℕ)‘𝐴)} ∧ {((𝟭‘ℕ)‘𝐴)} ⊆ (ℂ ↑m ℕ)) → ((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)}):(0..^𝑆)⟶(ℂ ↑m ℕ))
225, 20, 21sylancr 586 . . . 4 (𝜑 → ((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)}):(0..^𝑆)⟶(ℂ ↑m ℕ))
231, 2, 3, 22breprexp 32513 . . 3 (𝜑 → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)))
244fvconst2 7061 . . . . . . . . . 10 (𝑎 ∈ (0..^𝑆) → (((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎) = ((𝟭‘ℕ)‘𝐴))
2524ad2antlr 723 . . . . . . . . 9 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → (((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎) = ((𝟭‘ℕ)‘𝐴))
2625fveq1d 6758 . . . . . . . 8 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → ((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) = (((𝟭‘ℕ)‘𝐴)‘𝑏))
2726oveq1d 7270 . . . . . . 7 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → (((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = ((((𝟭‘ℕ)‘𝐴)‘𝑏) · (𝑍𝑏)))
2827sumeq2dv 15343 . . . . . 6 ((𝜑𝑎 ∈ (0..^𝑆)) → Σ𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = Σ𝑏 ∈ (1...𝑁)((((𝟭‘ℕ)‘𝐴)‘𝑏) · (𝑍𝑏)))
296a1i 11 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → ℕ ∈ V)
30 fzfi 13620 . . . . . . . 8 (1...𝑁) ∈ Fin
3130a1i 11 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → (1...𝑁) ∈ Fin)
32 fz1ssnn 13216 . . . . . . . 8 (1...𝑁) ⊆ ℕ
3332a1i 11 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → (1...𝑁) ⊆ ℕ)
347adantr 480 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → 𝐴 ⊆ ℕ)
353ad2antrr 722 . . . . . . . 8 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → 𝑍 ∈ ℂ)
36 nnssnn0 12166 . . . . . . . . . 10 ℕ ⊆ ℕ0
3732, 36sstri 3926 . . . . . . . . 9 (1...𝑁) ⊆ ℕ0
38 simpr 484 . . . . . . . . 9 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → 𝑏 ∈ (1...𝑁))
3937, 38sselid 3915 . . . . . . . 8 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → 𝑏 ∈ ℕ0)
4035, 39expcld 13792 . . . . . . 7 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → (𝑍𝑏) ∈ ℂ)
4129, 31, 33, 34, 40indsumin 31890 . . . . . 6 ((𝜑𝑎 ∈ (0..^𝑆)) → Σ𝑏 ∈ (1...𝑁)((((𝟭‘ℕ)‘𝐴)‘𝑏) · (𝑍𝑏)) = Σ𝑏 ∈ ((1...𝑁) ∩ 𝐴)(𝑍𝑏))
42 incom 4131 . . . . . . . 8 ((1...𝑁) ∩ 𝐴) = (𝐴 ∩ (1...𝑁))
4342a1i 11 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → ((1...𝑁) ∩ 𝐴) = (𝐴 ∩ (1...𝑁)))
4443sumeq1d 15341 . . . . . 6 ((𝜑𝑎 ∈ (0..^𝑆)) → Σ𝑏 ∈ ((1...𝑁) ∩ 𝐴)(𝑍𝑏) = Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏))
4528, 41, 443eqtrd 2782 . . . . 5 ((𝜑𝑎 ∈ (0..^𝑆)) → Σ𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏))
4645prodeq2dv 15561 . . . 4 (𝜑 → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏))
47 fzofi 13622 . . . . . 6 (0..^𝑆) ∈ Fin
4847a1i 11 . . . . 5 (𝜑 → (0..^𝑆) ∈ Fin)
49 inss2 4160 . . . . . . . 8 (𝐴 ∩ (1...𝑁)) ⊆ (1...𝑁)
50 ssfi 8918 . . . . . . . 8 (((1...𝑁) ∈ Fin ∧ (𝐴 ∩ (1...𝑁)) ⊆ (1...𝑁)) → (𝐴 ∩ (1...𝑁)) ∈ Fin)
5130, 49, 50mp2an 688 . . . . . . 7 (𝐴 ∩ (1...𝑁)) ∈ Fin
5251a1i 11 . . . . . 6 (𝜑 → (𝐴 ∩ (1...𝑁)) ∈ Fin)
533adantr 480 . . . . . . 7 ((𝜑𝑏 ∈ (𝐴 ∩ (1...𝑁))) → 𝑍 ∈ ℂ)
5449, 37sstri 3926 . . . . . . . 8 (𝐴 ∩ (1...𝑁)) ⊆ ℕ0
55 simpr 484 . . . . . . . 8 ((𝜑𝑏 ∈ (𝐴 ∩ (1...𝑁))) → 𝑏 ∈ (𝐴 ∩ (1...𝑁)))
5654, 55sselid 3915 . . . . . . 7 ((𝜑𝑏 ∈ (𝐴 ∩ (1...𝑁))) → 𝑏 ∈ ℕ0)
5753, 56expcld 13792 . . . . . 6 ((𝜑𝑏 ∈ (𝐴 ∩ (1...𝑁))) → (𝑍𝑏) ∈ ℂ)
5852, 57fsumcl 15373 . . . . 5 (𝜑 → Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏) ∈ ℂ)
59 fprodconst 15616 . . . . 5 (((0..^𝑆) ∈ Fin ∧ Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏) ∈ ℂ) → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑(♯‘(0..^𝑆))))
6048, 58, 59syl2anc 583 . . . 4 (𝜑 → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑(♯‘(0..^𝑆))))
61 hashfzo0 14073 . . . . . 6 (𝑆 ∈ ℕ0 → (♯‘(0..^𝑆)) = 𝑆)
622, 61syl 17 . . . . 5 (𝜑 → (♯‘(0..^𝑆)) = 𝑆)
6362oveq2d 7271 . . . 4 (𝜑 → (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑(♯‘(0..^𝑆))) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑𝑆))
6446, 60, 633eqtrd 2782 . . 3 (𝜑 → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑𝑆))
6532a1i 11 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (1...𝑁) ⊆ ℕ)
66 fzssz 13187 . . . . . . . 8 (0...(𝑆 · 𝑁)) ⊆ ℤ
67 simpr 484 . . . . . . . 8 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑚 ∈ (0...(𝑆 · 𝑁)))
6866, 67sselid 3915 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑚 ∈ ℤ)
692adantr 480 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑆 ∈ ℕ0)
7030a1i 11 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (1...𝑁) ∈ Fin)
7165, 68, 69, 70reprfi 32496 . . . . . 6 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → ((1...𝑁)(repr‘𝑆)𝑚) ∈ Fin)
723adantr 480 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑍 ∈ ℂ)
73 fz0ssnn0 13280 . . . . . . . 8 (0...(𝑆 · 𝑁)) ⊆ ℕ0
7473, 67sselid 3915 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑚 ∈ ℕ0)
7572, 74expcld 13792 . . . . . 6 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (𝑍𝑚) ∈ ℂ)
7647a1i 11 . . . . . . 7 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → (0..^𝑆) ∈ Fin)
779ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → ((𝟭‘ℕ)‘𝐴):ℕ⟶{0, 1})
7832a1i 11 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → (1...𝑁) ⊆ ℕ)
7968adantr 480 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → 𝑚 ∈ ℤ)
8069adantr 480 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → 𝑆 ∈ ℕ0)
81 simpr 484 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚))
8278, 79, 80, 81reprf 32492 . . . . . . . . . . 11 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → 𝑐:(0..^𝑆)⟶(1...𝑁))
8382ffvelrnda 6943 . . . . . . . . . 10 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → (𝑐𝑎) ∈ (1...𝑁))
8432, 83sselid 3915 . . . . . . . . 9 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → (𝑐𝑎) ∈ ℕ)
8577, 84ffvelrnd 6944 . . . . . . . 8 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → (((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) ∈ {0, 1})
8613, 85sselid 3915 . . . . . . 7 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → (((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) ∈ ℂ)
8776, 86fprodcl 15590 . . . . . 6 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → ∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) ∈ ℂ)
8871, 75, 87fsummulc1 15425 . . . . 5 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)) = Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)))
897adantr 480 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝐴 ⊆ ℕ)
9089, 68, 69, 70, 65hashreprin 32500 . . . . . 6 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) = Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9190oveq1d 7270 . . . . 5 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → ((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)) = (Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)))
9224fveq1d 6758 . . . . . . . . . 10 (𝑎 ∈ (0..^𝑆) → ((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) = (((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9392adantl 481 . . . . . . . . 9 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑎 ∈ (0..^𝑆)) → ((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) = (((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9493prodeq2dv 15561 . . . . . . . 8 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → ∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) = ∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9594adantr 480 . . . . . . 7 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → ∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) = ∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9695oveq1d 7270 . . . . . 6 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → (∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)) = (∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)))
9796sumeq2dv 15343 . . . . 5 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)) = Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)))
9888, 91, 973eqtr4rd 2789 . . . 4 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)) = ((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)))
9998sumeq2dv 15343 . . 3 (𝜑 → Σ𝑚 ∈ (0...(𝑆 · 𝑁))Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)))
10023, 64, 993eqtr3d 2786 . 2 (𝜑 → (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑𝑆) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)))
101 breprexpnat.p . . 3 𝑃 = Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)
102101oveq1i 7265 . 2 (𝑃𝑆) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑𝑆)
103 breprexpnat.r . . . . 5 𝑅 = (♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚))
104103oveq1i 7265 . . . 4 (𝑅 · (𝑍𝑚)) = ((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚))
105104a1i 11 . . 3 (𝑚 ∈ (0...(𝑆 · 𝑁)) → (𝑅 · (𝑍𝑚)) = ((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)))
106105sumeq2i 15339 . 2 Σ𝑚 ∈ (0...(𝑆 · 𝑁))(𝑅 · (𝑍𝑚)) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚))
107100, 102, 1063eqtr4g 2804 1 (𝜑 → (𝑃𝑆) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))(𝑅 · (𝑍𝑚)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  cin 3882  wss 3883  {csn 4558  {cpr 4560   × cxp 5578  wf 6414  cfv 6418  (class class class)co 7255  m cmap 8573  Fincfn 8691  cc 10800  0cc0 10802  1c1 10803   · cmul 10807  cn 11903  0cn0 12163  cz 12249  ...cfz 13168  ..^cfzo 13311  cexp 13710  chash 13972  Σcsu 15325  cprod 15543  𝟭cind 31878  reprcrepr 32488
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-disj 5036  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-map 8575  df-pm 8576  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-ico 13014  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  df-prod 15544  df-ind 31879  df-repr 32489
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator