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 32611
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 6789 . . . . . 6 ((𝟭‘ℕ)‘𝐴) ∈ V
54fconst 6662 . . . . 5 ((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)}):(0..^𝑆)⟶{((𝟭‘ℕ)‘𝐴)}
6 nnex 11977 . . . . . . . . 9 ℕ ∈ V
7 breprexpnat.a . . . . . . . . 9 (𝜑𝐴 ⊆ ℕ)
8 indf 31980 . . . . . . . . 9 ((ℕ ∈ V ∧ 𝐴 ⊆ ℕ) → ((𝟭‘ℕ)‘𝐴):ℕ⟶{0, 1})
96, 7, 8sylancr 587 . . . . . . . 8 (𝜑 → ((𝟭‘ℕ)‘𝐴):ℕ⟶{0, 1})
10 0cn 10965 . . . . . . . . 9 0 ∈ ℂ
11 ax-1cn 10927 . . . . . . . . 9 1 ∈ ℂ
12 prssi 4756 . . . . . . . . 9 ((0 ∈ ℂ ∧ 1 ∈ ℂ) → {0, 1} ⊆ ℂ)
1310, 11, 12mp2an 689 . . . . . . . 8 {0, 1} ⊆ ℂ
14 fss 6619 . . . . . . . 8 ((((𝟭‘ℕ)‘𝐴):ℕ⟶{0, 1} ∧ {0, 1} ⊆ ℂ) → ((𝟭‘ℕ)‘𝐴):ℕ⟶ℂ)
159, 13, 14sylancl 586 . . . . . . 7 (𝜑 → ((𝟭‘ℕ)‘𝐴):ℕ⟶ℂ)
16 cnex 10950 . . . . . . . 8 ℂ ∈ V
1716, 6elmap 8657 . . . . . . 7 (((𝟭‘ℕ)‘𝐴) ∈ (ℂ ↑m ℕ) ↔ ((𝟭‘ℕ)‘𝐴):ℕ⟶ℂ)
1815, 17sylibr 233 . . . . . 6 (𝜑 → ((𝟭‘ℕ)‘𝐴) ∈ (ℂ ↑m ℕ))
194snss 4721 . . . . . 6 (((𝟭‘ℕ)‘𝐴) ∈ (ℂ ↑m ℕ) ↔ {((𝟭‘ℕ)‘𝐴)} ⊆ (ℂ ↑m ℕ))
2018, 19sylib 217 . . . . 5 (𝜑 → {((𝟭‘ℕ)‘𝐴)} ⊆ (ℂ ↑m ℕ))
21 fss 6619 . . . . 5 ((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)}):(0..^𝑆)⟶{((𝟭‘ℕ)‘𝐴)} ∧ {((𝟭‘ℕ)‘𝐴)} ⊆ (ℂ ↑m ℕ)) → ((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)}):(0..^𝑆)⟶(ℂ ↑m ℕ))
225, 20, 21sylancr 587 . . . 4 (𝜑 → ((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)}):(0..^𝑆)⟶(ℂ ↑m ℕ))
231, 2, 3, 22breprexp 32610 . . 3 (𝜑 → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)))
244fvconst2 7081 . . . . . . . . . 10 (𝑎 ∈ (0..^𝑆) → (((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎) = ((𝟭‘ℕ)‘𝐴))
2524ad2antlr 724 . . . . . . . . 9 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → (((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎) = ((𝟭‘ℕ)‘𝐴))
2625fveq1d 6778 . . . . . . . 8 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → ((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) = (((𝟭‘ℕ)‘𝐴)‘𝑏))
2726oveq1d 7292 . . . . . . 7 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → (((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = ((((𝟭‘ℕ)‘𝐴)‘𝑏) · (𝑍𝑏)))
2827sumeq2dv 15413 . . . . . 6 ((𝜑𝑎 ∈ (0..^𝑆)) → Σ𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = Σ𝑏 ∈ (1...𝑁)((((𝟭‘ℕ)‘𝐴)‘𝑏) · (𝑍𝑏)))
296a1i 11 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → ℕ ∈ V)
30 fzfi 13690 . . . . . . . 8 (1...𝑁) ∈ Fin
3130a1i 11 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → (1...𝑁) ∈ Fin)
32 fz1ssnn 13285 . . . . . . . 8 (1...𝑁) ⊆ ℕ
3332a1i 11 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → (1...𝑁) ⊆ ℕ)
347adantr 481 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → 𝐴 ⊆ ℕ)
353ad2antrr 723 . . . . . . . 8 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → 𝑍 ∈ ℂ)
36 nnssnn0 12234 . . . . . . . . . 10 ℕ ⊆ ℕ0
3732, 36sstri 3931 . . . . . . . . 9 (1...𝑁) ⊆ ℕ0
38 simpr 485 . . . . . . . . 9 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → 𝑏 ∈ (1...𝑁))
3937, 38sselid 3920 . . . . . . . 8 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → 𝑏 ∈ ℕ0)
4035, 39expcld 13862 . . . . . . 7 (((𝜑𝑎 ∈ (0..^𝑆)) ∧ 𝑏 ∈ (1...𝑁)) → (𝑍𝑏) ∈ ℂ)
4129, 31, 33, 34, 40indsumin 31987 . . . . . 6 ((𝜑𝑎 ∈ (0..^𝑆)) → Σ𝑏 ∈ (1...𝑁)((((𝟭‘ℕ)‘𝐴)‘𝑏) · (𝑍𝑏)) = Σ𝑏 ∈ ((1...𝑁) ∩ 𝐴)(𝑍𝑏))
42 incom 4136 . . . . . . . 8 ((1...𝑁) ∩ 𝐴) = (𝐴 ∩ (1...𝑁))
4342a1i 11 . . . . . . 7 ((𝜑𝑎 ∈ (0..^𝑆)) → ((1...𝑁) ∩ 𝐴) = (𝐴 ∩ (1...𝑁)))
4443sumeq1d 15411 . . . . . 6 ((𝜑𝑎 ∈ (0..^𝑆)) → Σ𝑏 ∈ ((1...𝑁) ∩ 𝐴)(𝑍𝑏) = Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏))
4528, 41, 443eqtrd 2782 . . . . 5 ((𝜑𝑎 ∈ (0..^𝑆)) → Σ𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏))
4645prodeq2dv 15631 . . . 4 (𝜑 → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏))
47 fzofi 13692 . . . . . 6 (0..^𝑆) ∈ Fin
4847a1i 11 . . . . 5 (𝜑 → (0..^𝑆) ∈ Fin)
49 inss2 4165 . . . . . . . 8 (𝐴 ∩ (1...𝑁)) ⊆ (1...𝑁)
50 ssfi 8954 . . . . . . . 8 (((1...𝑁) ∈ Fin ∧ (𝐴 ∩ (1...𝑁)) ⊆ (1...𝑁)) → (𝐴 ∩ (1...𝑁)) ∈ Fin)
5130, 49, 50mp2an 689 . . . . . . 7 (𝐴 ∩ (1...𝑁)) ∈ Fin
5251a1i 11 . . . . . 6 (𝜑 → (𝐴 ∩ (1...𝑁)) ∈ Fin)
533adantr 481 . . . . . . 7 ((𝜑𝑏 ∈ (𝐴 ∩ (1...𝑁))) → 𝑍 ∈ ℂ)
5449, 37sstri 3931 . . . . . . . 8 (𝐴 ∩ (1...𝑁)) ⊆ ℕ0
55 simpr 485 . . . . . . . 8 ((𝜑𝑏 ∈ (𝐴 ∩ (1...𝑁))) → 𝑏 ∈ (𝐴 ∩ (1...𝑁)))
5654, 55sselid 3920 . . . . . . 7 ((𝜑𝑏 ∈ (𝐴 ∩ (1...𝑁))) → 𝑏 ∈ ℕ0)
5753, 56expcld 13862 . . . . . 6 ((𝜑𝑏 ∈ (𝐴 ∩ (1...𝑁))) → (𝑍𝑏) ∈ ℂ)
5852, 57fsumcl 15443 . . . . 5 (𝜑 → Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏) ∈ ℂ)
59 fprodconst 15686 . . . . 5 (((0..^𝑆) ∈ Fin ∧ Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏) ∈ ℂ) → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑(♯‘(0..^𝑆))))
6048, 58, 59syl2anc 584 . . . 4 (𝜑 → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑(♯‘(0..^𝑆))))
61 hashfzo0 14143 . . . . . 6 (𝑆 ∈ ℕ0 → (♯‘(0..^𝑆)) = 𝑆)
622, 61syl 17 . . . . 5 (𝜑 → (♯‘(0..^𝑆)) = 𝑆)
6362oveq2d 7293 . . . 4 (𝜑 → (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑(♯‘(0..^𝑆))) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑𝑆))
6446, 60, 633eqtrd 2782 . . 3 (𝜑 → ∏𝑎 ∈ (0..^𝑆𝑏 ∈ (1...𝑁)(((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘𝑏) · (𝑍𝑏)) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑𝑆))
6532a1i 11 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (1...𝑁) ⊆ ℕ)
66 fzssz 13256 . . . . . . . 8 (0...(𝑆 · 𝑁)) ⊆ ℤ
67 simpr 485 . . . . . . . 8 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑚 ∈ (0...(𝑆 · 𝑁)))
6866, 67sselid 3920 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑚 ∈ ℤ)
692adantr 481 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑆 ∈ ℕ0)
7030a1i 11 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (1...𝑁) ∈ Fin)
7165, 68, 69, 70reprfi 32593 . . . . . 6 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → ((1...𝑁)(repr‘𝑆)𝑚) ∈ Fin)
723adantr 481 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑍 ∈ ℂ)
73 fz0ssnn0 13349 . . . . . . . 8 (0...(𝑆 · 𝑁)) ⊆ ℕ0
7473, 67sselid 3920 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝑚 ∈ ℕ0)
7572, 74expcld 13862 . . . . . 6 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (𝑍𝑚) ∈ ℂ)
7647a1i 11 . . . . . . 7 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → (0..^𝑆) ∈ Fin)
779ad3antrrr 727 . . . . . . . . 9 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → ((𝟭‘ℕ)‘𝐴):ℕ⟶{0, 1})
7832a1i 11 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → (1...𝑁) ⊆ ℕ)
7968adantr 481 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → 𝑚 ∈ ℤ)
8069adantr 481 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → 𝑆 ∈ ℕ0)
81 simpr 485 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚))
8278, 79, 80, 81reprf 32589 . . . . . . . . . . 11 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → 𝑐:(0..^𝑆)⟶(1...𝑁))
8382ffvelrnda 6963 . . . . . . . . . 10 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → (𝑐𝑎) ∈ (1...𝑁))
8432, 83sselid 3920 . . . . . . . . 9 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → (𝑐𝑎) ∈ ℕ)
8577, 84ffvelrnd 6964 . . . . . . . 8 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → (((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) ∈ {0, 1})
8613, 85sselid 3920 . . . . . . 7 ((((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) ∧ 𝑎 ∈ (0..^𝑆)) → (((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) ∈ ℂ)
8776, 86fprodcl 15660 . . . . . 6 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → ∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) ∈ ℂ)
8871, 75, 87fsummulc1 15495 . . . . 5 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)) = Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)))
897adantr 481 . . . . . . 7 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → 𝐴 ⊆ ℕ)
9089, 68, 69, 70, 65hashreprin 32597 . . . . . 6 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → (♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) = Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9190oveq1d 7292 . . . . 5 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → ((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)) = (Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)))
9224fveq1d 6778 . . . . . . . . . 10 (𝑎 ∈ (0..^𝑆) → ((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) = (((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9392adantl 482 . . . . . . . . 9 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑎 ∈ (0..^𝑆)) → ((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) = (((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9493prodeq2dv 15631 . . . . . . . 8 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → ∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) = ∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9594adantr 481 . . . . . . 7 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → ∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) = ∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)))
9695oveq1d 7292 . . . . . 6 (((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) ∧ 𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)) → (∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)) = (∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)))
9796sumeq2dv 15413 . . . . 5 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)) = Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)(((𝟭‘ℕ)‘𝐴)‘(𝑐𝑎)) · (𝑍𝑚)))
9888, 91, 973eqtr4rd 2789 . . . 4 ((𝜑𝑚 ∈ (0...(𝑆 · 𝑁))) → Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)) = ((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)))
9998sumeq2dv 15413 . . 3 (𝜑 → Σ𝑚 ∈ (0...(𝑆 · 𝑁))Σ𝑐 ∈ ((1...𝑁)(repr‘𝑆)𝑚)(∏𝑎 ∈ (0..^𝑆)((((0..^𝑆) × {((𝟭‘ℕ)‘𝐴)})‘𝑎)‘(𝑐𝑎)) · (𝑍𝑚)) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)))
10023, 64, 993eqtr3d 2786 . 2 (𝜑 → (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑𝑆) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)))
101 breprexpnat.p . . 3 𝑃 = Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)
102101oveq1i 7287 . 2 (𝑃𝑆) = (Σ𝑏 ∈ (𝐴 ∩ (1...𝑁))(𝑍𝑏)↑𝑆)
103 breprexpnat.r . . . . 5 𝑅 = (♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚))
104103oveq1i 7287 . . . 4 (𝑅 · (𝑍𝑚)) = ((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚))
105104a1i 11 . . 3 (𝑚 ∈ (0...(𝑆 · 𝑁)) → (𝑅 · (𝑍𝑚)) = ((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚)))
106105sumeq2i 15409 . 2 Σ𝑚 ∈ (0...(𝑆 · 𝑁))(𝑅 · (𝑍𝑚)) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))((♯‘((𝐴 ∩ (1...𝑁))(repr‘𝑆)𝑚)) · (𝑍𝑚))
107100, 102, 1063eqtr4g 2803 1 (𝜑 → (𝑃𝑆) = Σ𝑚 ∈ (0...(𝑆 · 𝑁))(𝑅 · (𝑍𝑚)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  Vcvv 3431  cin 3887  wss 3888  {csn 4563  {cpr 4565   × cxp 5589  wf 6431  cfv 6435  (class class class)co 7277  m cmap 8613  Fincfn 8731  cc 10867  0cc0 10869  1c1 10870   · cmul 10874  cn 11971  0cn0 12231  cz 12317  ...cfz 13237  ..^cfzo 13380  cexp 13780  chash 14042  Σcsu 15395  cprod 15613  𝟭cind 31975  reprcrepr 32585
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 5211  ax-sep 5225  ax-nul 5232  ax-pow 5290  ax-pr 5354  ax-un 7588  ax-inf2 9397  ax-cnex 10925  ax-resscn 10926  ax-1cn 10927  ax-icn 10928  ax-addcl 10929  ax-addrcl 10930  ax-mulcl 10931  ax-mulrcl 10932  ax-mulcom 10933  ax-addass 10934  ax-mulass 10935  ax-distr 10936  ax-i2m1 10937  ax-1ne0 10938  ax-1rid 10939  ax-rnegex 10940  ax-rrecex 10941  ax-cnre 10942  ax-pre-lttri 10943  ax-pre-lttrn 10944  ax-pre-ltadd 10945  ax-pre-mulgt0 10946  ax-pre-sup 10947
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 3433  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4259  df-if 4462  df-pw 4537  df-sn 4564  df-pr 4566  df-op 4570  df-uni 4842  df-int 4882  df-iun 4928  df-disj 5042  df-br 5077  df-opab 5139  df-mpt 5160  df-tr 5194  df-id 5491  df-eprel 5497  df-po 5505  df-so 5506  df-fr 5546  df-se 5547  df-we 5548  df-xp 5597  df-rel 5598  df-cnv 5599  df-co 5600  df-dm 5601  df-rn 5602  df-res 5603  df-ima 5604  df-pred 6204  df-ord 6271  df-on 6272  df-lim 6273  df-suc 6274  df-iota 6393  df-fun 6437  df-fn 6438  df-f 6439  df-f1 6440  df-fo 6441  df-f1o 6442  df-fv 6443  df-isom 6444  df-riota 7234  df-ov 7280  df-oprab 7281  df-mpo 7282  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8095  df-wrecs 8126  df-recs 8200  df-rdg 8239  df-1o 8295  df-er 8496  df-map 8615  df-pm 8616  df-en 8732  df-dom 8733  df-sdom 8734  df-fin 8735  df-sup 9199  df-oi 9267  df-card 9695  df-pnf 11009  df-mnf 11010  df-xr 11011  df-ltxr 11012  df-le 11013  df-sub 11205  df-neg 11206  df-div 11631  df-nn 11972  df-2 12034  df-3 12035  df-n0 12232  df-z 12318  df-uz 12581  df-rp 12729  df-ico 13083  df-fz 13238  df-fzo 13381  df-seq 13720  df-exp 13781  df-hash 14043  df-cj 14808  df-re 14809  df-im 14810  df-sqrt 14944  df-abs 14945  df-clim 15195  df-sum 15396  df-prod 15614  df-ind 31976  df-repr 32586
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator