Step | Hyp | Ref
| Expression |
1 | | fzfid 13621 |
. . . 4
⊢ (𝜑 → (1...𝑀) ∈ Fin) |
2 | | dvdsmulf1o.x |
. . . . 5
⊢ 𝑋 = {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑀} |
3 | | dvdsmulf1o.1 |
. . . . . 6
⊢ (𝜑 → 𝑀 ∈ ℕ) |
4 | | dvdsssfz1 15955 |
. . . . . 6
⊢ (𝑀 ∈ ℕ → {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑀} ⊆ (1...𝑀)) |
5 | 3, 4 | syl 17 |
. . . . 5
⊢ (𝜑 → {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑀} ⊆ (1...𝑀)) |
6 | 2, 5 | eqsstrid 3965 |
. . . 4
⊢ (𝜑 → 𝑋 ⊆ (1...𝑀)) |
7 | 1, 6 | ssfid 8971 |
. . 3
⊢ (𝜑 → 𝑋 ∈ Fin) |
8 | | fzfid 13621 |
. . . . 5
⊢ (𝜑 → (1...𝑁) ∈ Fin) |
9 | | dvdsmulf1o.y |
. . . . . 6
⊢ 𝑌 = {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁} |
10 | | dvdsmulf1o.2 |
. . . . . . 7
⊢ (𝜑 → 𝑁 ∈ ℕ) |
11 | | dvdsssfz1 15955 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ → {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁} ⊆ (1...𝑁)) |
12 | 10, 11 | syl 17 |
. . . . . 6
⊢ (𝜑 → {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁} ⊆ (1...𝑁)) |
13 | 9, 12 | eqsstrid 3965 |
. . . . 5
⊢ (𝜑 → 𝑌 ⊆ (1...𝑁)) |
14 | 8, 13 | ssfid 8971 |
. . . 4
⊢ (𝜑 → 𝑌 ∈ Fin) |
15 | | fsumdvdsmul.5 |
. . . 4
⊢ ((𝜑 ∧ 𝑘 ∈ 𝑌) → 𝐵 ∈ ℂ) |
16 | 14, 15 | fsumcl 15373 |
. . 3
⊢ (𝜑 → Σ𝑘 ∈ 𝑌 𝐵 ∈ ℂ) |
17 | | fsumdvdsmul.4 |
. . 3
⊢ ((𝜑 ∧ 𝑗 ∈ 𝑋) → 𝐴 ∈ ℂ) |
18 | 7, 16, 17 | fsummulc1 15425 |
. 2
⊢ (𝜑 → (Σ𝑗 ∈ 𝑋 𝐴 · Σ𝑘 ∈ 𝑌 𝐵) = Σ𝑗 ∈ 𝑋 (𝐴 · Σ𝑘 ∈ 𝑌 𝐵)) |
19 | 14 | adantr 480 |
. . . . 5
⊢ ((𝜑 ∧ 𝑗 ∈ 𝑋) → 𝑌 ∈ Fin) |
20 | 15 | adantlr 711 |
. . . . 5
⊢ (((𝜑 ∧ 𝑗 ∈ 𝑋) ∧ 𝑘 ∈ 𝑌) → 𝐵 ∈ ℂ) |
21 | 19, 17, 20 | fsummulc2 15424 |
. . . 4
⊢ ((𝜑 ∧ 𝑗 ∈ 𝑋) → (𝐴 · Σ𝑘 ∈ 𝑌 𝐵) = Σ𝑘 ∈ 𝑌 (𝐴 · 𝐵)) |
22 | | fsumdvdsmul.6 |
. . . . . 6
⊢ ((𝜑 ∧ (𝑗 ∈ 𝑋 ∧ 𝑘 ∈ 𝑌)) → (𝐴 · 𝐵) = 𝐷) |
23 | 22 | anassrs 467 |
. . . . 5
⊢ (((𝜑 ∧ 𝑗 ∈ 𝑋) ∧ 𝑘 ∈ 𝑌) → (𝐴 · 𝐵) = 𝐷) |
24 | 23 | sumeq2dv 15343 |
. . . 4
⊢ ((𝜑 ∧ 𝑗 ∈ 𝑋) → Σ𝑘 ∈ 𝑌 (𝐴 · 𝐵) = Σ𝑘 ∈ 𝑌 𝐷) |
25 | 21, 24 | eqtrd 2778 |
. . 3
⊢ ((𝜑 ∧ 𝑗 ∈ 𝑋) → (𝐴 · Σ𝑘 ∈ 𝑌 𝐵) = Σ𝑘 ∈ 𝑌 𝐷) |
26 | 25 | sumeq2dv 15343 |
. 2
⊢ (𝜑 → Σ𝑗 ∈ 𝑋 (𝐴 · Σ𝑘 ∈ 𝑌 𝐵) = Σ𝑗 ∈ 𝑋 Σ𝑘 ∈ 𝑌 𝐷) |
27 | | fveq2 6756 |
. . . . . . 7
⊢ (𝑧 = 〈𝑗, 𝑘〉 → ( · ‘𝑧) = ( ·
‘〈𝑗, 𝑘〉)) |
28 | | df-ov 7258 |
. . . . . . 7
⊢ (𝑗 · 𝑘) = ( · ‘〈𝑗, 𝑘〉) |
29 | 27, 28 | eqtr4di 2797 |
. . . . . 6
⊢ (𝑧 = 〈𝑗, 𝑘〉 → ( · ‘𝑧) = (𝑗 · 𝑘)) |
30 | 29 | csbeq1d 3832 |
. . . . 5
⊢ (𝑧 = 〈𝑗, 𝑘〉 → ⦋( ·
‘𝑧) / 𝑖⦌𝐶 = ⦋(𝑗 · 𝑘) / 𝑖⦌𝐶) |
31 | | ovex 7288 |
. . . . . 6
⊢ (𝑗 · 𝑘) ∈ V |
32 | | fsumdvdsmul.7 |
. . . . . 6
⊢ (𝑖 = (𝑗 · 𝑘) → 𝐶 = 𝐷) |
33 | 31, 32 | csbie 3864 |
. . . . 5
⊢
⦋(𝑗
· 𝑘) / 𝑖⦌𝐶 = 𝐷 |
34 | 30, 33 | eqtrdi 2795 |
. . . 4
⊢ (𝑧 = 〈𝑗, 𝑘〉 → ⦋( ·
‘𝑧) / 𝑖⦌𝐶 = 𝐷) |
35 | 17 | adantrr 713 |
. . . . . 6
⊢ ((𝜑 ∧ (𝑗 ∈ 𝑋 ∧ 𝑘 ∈ 𝑌)) → 𝐴 ∈ ℂ) |
36 | 15 | adantrl 712 |
. . . . . 6
⊢ ((𝜑 ∧ (𝑗 ∈ 𝑋 ∧ 𝑘 ∈ 𝑌)) → 𝐵 ∈ ℂ) |
37 | 35, 36 | mulcld 10926 |
. . . . 5
⊢ ((𝜑 ∧ (𝑗 ∈ 𝑋 ∧ 𝑘 ∈ 𝑌)) → (𝐴 · 𝐵) ∈ ℂ) |
38 | 22, 37 | eqeltrrd 2840 |
. . . 4
⊢ ((𝜑 ∧ (𝑗 ∈ 𝑋 ∧ 𝑘 ∈ 𝑌)) → 𝐷 ∈ ℂ) |
39 | 34, 7, 14, 38 | fsumxp 15412 |
. . 3
⊢ (𝜑 → Σ𝑗 ∈ 𝑋 Σ𝑘 ∈ 𝑌 𝐷 = Σ𝑧 ∈ (𝑋 × 𝑌)⦋( · ‘𝑧) / 𝑖⦌𝐶) |
40 | | nfcv 2906 |
. . . . 5
⊢
Ⅎ𝑤𝐶 |
41 | | nfcsb1v 3853 |
. . . . 5
⊢
Ⅎ𝑖⦋𝑤 / 𝑖⦌𝐶 |
42 | | csbeq1a 3842 |
. . . . 5
⊢ (𝑖 = 𝑤 → 𝐶 = ⦋𝑤 / 𝑖⦌𝐶) |
43 | 40, 41, 42 | cbvsumi 15337 |
. . . 4
⊢
Σ𝑖 ∈
𝑍 𝐶 = Σ𝑤 ∈ 𝑍 ⦋𝑤 / 𝑖⦌𝐶 |
44 | | csbeq1 3831 |
. . . . 5
⊢ (𝑤 = ( · ‘𝑧) → ⦋𝑤 / 𝑖⦌𝐶 = ⦋( · ‘𝑧) / 𝑖⦌𝐶) |
45 | | xpfi 9015 |
. . . . . 6
⊢ ((𝑋 ∈ Fin ∧ 𝑌 ∈ Fin) → (𝑋 × 𝑌) ∈ Fin) |
46 | 7, 14, 45 | syl2anc 583 |
. . . . 5
⊢ (𝜑 → (𝑋 × 𝑌) ∈ Fin) |
47 | | dvdsmulf1o.3 |
. . . . . 6
⊢ (𝜑 → (𝑀 gcd 𝑁) = 1) |
48 | | dvdsmulf1o.z |
. . . . . 6
⊢ 𝑍 = {𝑥 ∈ ℕ ∣ 𝑥 ∥ (𝑀 · 𝑁)} |
49 | 3, 10, 47, 2, 9, 48 | dvdsmulf1o 26248 |
. . . . 5
⊢ (𝜑 → ( · ↾ (𝑋 × 𝑌)):(𝑋 × 𝑌)–1-1-onto→𝑍) |
50 | | fvres 6775 |
. . . . . 6
⊢ (𝑧 ∈ (𝑋 × 𝑌) → (( · ↾ (𝑋 × 𝑌))‘𝑧) = ( · ‘𝑧)) |
51 | 50 | adantl 481 |
. . . . 5
⊢ ((𝜑 ∧ 𝑧 ∈ (𝑋 × 𝑌)) → (( · ↾ (𝑋 × 𝑌))‘𝑧) = ( · ‘𝑧)) |
52 | 38 | ralrimivva 3114 |
. . . . . . . 8
⊢ (𝜑 → ∀𝑗 ∈ 𝑋 ∀𝑘 ∈ 𝑌 𝐷 ∈ ℂ) |
53 | 34 | eleq1d 2823 |
. . . . . . . . 9
⊢ (𝑧 = 〈𝑗, 𝑘〉 → (⦋( ·
‘𝑧) / 𝑖⦌𝐶 ∈ ℂ ↔ 𝐷 ∈ ℂ)) |
54 | 53 | ralxp 5739 |
. . . . . . . 8
⊢
(∀𝑧 ∈
(𝑋 × 𝑌)⦋( ·
‘𝑧) / 𝑖⦌𝐶 ∈ ℂ ↔ ∀𝑗 ∈ 𝑋 ∀𝑘 ∈ 𝑌 𝐷 ∈ ℂ) |
55 | 52, 54 | sylibr 233 |
. . . . . . 7
⊢ (𝜑 → ∀𝑧 ∈ (𝑋 × 𝑌)⦋( · ‘𝑧) / 𝑖⦌𝐶 ∈ ℂ) |
56 | | ax-mulf 10882 |
. . . . . . . . . 10
⊢ ·
:(ℂ × ℂ)⟶ℂ |
57 | | ffn 6584 |
. . . . . . . . . 10
⊢ (
· :(ℂ × ℂ)⟶ℂ → · Fn (ℂ
× ℂ)) |
58 | 56, 57 | ax-mp 5 |
. . . . . . . . 9
⊢ ·
Fn (ℂ × ℂ) |
59 | 2 | ssrab3 4011 |
. . . . . . . . . . 11
⊢ 𝑋 ⊆
ℕ |
60 | | nnsscn 11908 |
. . . . . . . . . . 11
⊢ ℕ
⊆ ℂ |
61 | 59, 60 | sstri 3926 |
. . . . . . . . . 10
⊢ 𝑋 ⊆
ℂ |
62 | 9 | ssrab3 4011 |
. . . . . . . . . . 11
⊢ 𝑌 ⊆
ℕ |
63 | 62, 60 | sstri 3926 |
. . . . . . . . . 10
⊢ 𝑌 ⊆
ℂ |
64 | | xpss12 5595 |
. . . . . . . . . 10
⊢ ((𝑋 ⊆ ℂ ∧ 𝑌 ⊆ ℂ) → (𝑋 × 𝑌) ⊆ (ℂ ×
ℂ)) |
65 | 61, 63, 64 | mp2an 688 |
. . . . . . . . 9
⊢ (𝑋 × 𝑌) ⊆ (ℂ ×
ℂ) |
66 | 44 | eleq1d 2823 |
. . . . . . . . . 10
⊢ (𝑤 = ( · ‘𝑧) → (⦋𝑤 / 𝑖⦌𝐶 ∈ ℂ ↔ ⦋(
· ‘𝑧) / 𝑖⦌𝐶 ∈ ℂ)) |
67 | 66 | ralima 7096 |
. . . . . . . . 9
⊢ ((
· Fn (ℂ × ℂ) ∧ (𝑋 × 𝑌) ⊆ (ℂ × ℂ)) →
(∀𝑤 ∈ (
· “ (𝑋 ×
𝑌))⦋𝑤 / 𝑖⦌𝐶 ∈ ℂ ↔ ∀𝑧 ∈ (𝑋 × 𝑌)⦋( · ‘𝑧) / 𝑖⦌𝐶 ∈ ℂ)) |
68 | 58, 65, 67 | mp2an 688 |
. . . . . . . 8
⊢
(∀𝑤 ∈ (
· “ (𝑋 ×
𝑌))⦋𝑤 / 𝑖⦌𝐶 ∈ ℂ ↔ ∀𝑧 ∈ (𝑋 × 𝑌)⦋( · ‘𝑧) / 𝑖⦌𝐶 ∈ ℂ) |
69 | | df-ima 5593 |
. . . . . . . . . 10
⊢ (
· “ (𝑋 ×
𝑌)) = ran ( ·
↾ (𝑋 × 𝑌)) |
70 | | f1ofo 6707 |
. . . . . . . . . . 11
⊢ ((
· ↾ (𝑋 ×
𝑌)):(𝑋 × 𝑌)–1-1-onto→𝑍 → ( · ↾
(𝑋 × 𝑌)):(𝑋 × 𝑌)–onto→𝑍) |
71 | | forn 6675 |
. . . . . . . . . . 11
⊢ ((
· ↾ (𝑋 ×
𝑌)):(𝑋 × 𝑌)–onto→𝑍 → ran ( · ↾ (𝑋 × 𝑌)) = 𝑍) |
72 | 49, 70, 71 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → ran ( · ↾
(𝑋 × 𝑌)) = 𝑍) |
73 | 69, 72 | syl5eq 2791 |
. . . . . . . . 9
⊢ (𝜑 → ( · “ (𝑋 × 𝑌)) = 𝑍) |
74 | 73 | raleqdv 3339 |
. . . . . . . 8
⊢ (𝜑 → (∀𝑤 ∈ ( · “
(𝑋 × 𝑌))⦋𝑤 / 𝑖⦌𝐶 ∈ ℂ ↔ ∀𝑤 ∈ 𝑍 ⦋𝑤 / 𝑖⦌𝐶 ∈ ℂ)) |
75 | 68, 74 | bitr3id 284 |
. . . . . . 7
⊢ (𝜑 → (∀𝑧 ∈ (𝑋 × 𝑌)⦋( · ‘𝑧) / 𝑖⦌𝐶 ∈ ℂ ↔ ∀𝑤 ∈ 𝑍 ⦋𝑤 / 𝑖⦌𝐶 ∈ ℂ)) |
76 | 55, 75 | mpbid 231 |
. . . . . 6
⊢ (𝜑 → ∀𝑤 ∈ 𝑍 ⦋𝑤 / 𝑖⦌𝐶 ∈ ℂ) |
77 | 76 | r19.21bi 3132 |
. . . . 5
⊢ ((𝜑 ∧ 𝑤 ∈ 𝑍) → ⦋𝑤 / 𝑖⦌𝐶 ∈ ℂ) |
78 | 44, 46, 49, 51, 77 | fsumf1o 15363 |
. . . 4
⊢ (𝜑 → Σ𝑤 ∈ 𝑍 ⦋𝑤 / 𝑖⦌𝐶 = Σ𝑧 ∈ (𝑋 × 𝑌)⦋( · ‘𝑧) / 𝑖⦌𝐶) |
79 | 43, 78 | syl5eq 2791 |
. . 3
⊢ (𝜑 → Σ𝑖 ∈ 𝑍 𝐶 = Σ𝑧 ∈ (𝑋 × 𝑌)⦋( · ‘𝑧) / 𝑖⦌𝐶) |
80 | 39, 79 | eqtr4d 2781 |
. 2
⊢ (𝜑 → Σ𝑗 ∈ 𝑋 Σ𝑘 ∈ 𝑌 𝐷 = Σ𝑖 ∈ 𝑍 𝐶) |
81 | 18, 26, 80 | 3eqtrd 2782 |
1
⊢ (𝜑 → (Σ𝑗 ∈ 𝑋 𝐴 · Σ𝑘 ∈ 𝑌 𝐵) = Σ𝑖 ∈ 𝑍 𝐶) |