Step | Hyp | Ref
| Expression |
1 | | nnmulcl 11997 |
. . . . 5
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 · 𝑁) ∈ ℕ) |
2 | 1 | nnred 11988 |
. . . 4
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 · 𝑁) ∈ ℝ) |
3 | | nnz 12342 |
. . . . . . 7
⊢ (𝑀 ∈ ℕ → 𝑀 ∈
ℤ) |
4 | 3 | adantr 481 |
. . . . . 6
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑀 ∈
ℤ) |
5 | 4 | zred 12426 |
. . . . 5
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑀 ∈
ℝ) |
6 | | nnz 12342 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
ℤ) |
7 | 6 | adantl 482 |
. . . . . 6
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℤ) |
8 | 7 | zred 12426 |
. . . . 5
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℝ) |
9 | | 0red 10978 |
. . . . . . 7
⊢ (𝑀 ∈ ℕ → 0 ∈
ℝ) |
10 | | nnre 11980 |
. . . . . . 7
⊢ (𝑀 ∈ ℕ → 𝑀 ∈
ℝ) |
11 | | nngt0 12004 |
. . . . . . 7
⊢ (𝑀 ∈ ℕ → 0 <
𝑀) |
12 | 9, 10, 11 | ltled 11123 |
. . . . . 6
⊢ (𝑀 ∈ ℕ → 0 ≤
𝑀) |
13 | 12 | adantr 481 |
. . . . 5
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 0 ≤
𝑀) |
14 | | 0red 10978 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ → 0 ∈
ℝ) |
15 | | nnre 11980 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
ℝ) |
16 | | nngt0 12004 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ → 0 <
𝑁) |
17 | 14, 15, 16 | ltled 11123 |
. . . . . 6
⊢ (𝑁 ∈ ℕ → 0 ≤
𝑁) |
18 | 17 | adantl 482 |
. . . . 5
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 0 ≤
𝑁) |
19 | 5, 8, 13, 18 | mulge0d 11552 |
. . . 4
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 0 ≤
(𝑀 · 𝑁)) |
20 | 2, 19 | absidd 15134 |
. . 3
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) →
(abs‘(𝑀 ·
𝑁)) = (𝑀 · 𝑁)) |
21 | 3, 6 | anim12i 613 |
. . . . . 6
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 ∈ ℤ ∧ 𝑁 ∈
ℤ)) |
22 | | nnne0 12007 |
. . . . . . . . 9
⊢ (𝑀 ∈ ℕ → 𝑀 ≠ 0) |
23 | 22 | neneqd 2948 |
. . . . . . . 8
⊢ (𝑀 ∈ ℕ → ¬
𝑀 = 0) |
24 | | nnne0 12007 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ → 𝑁 ≠ 0) |
25 | 24 | neneqd 2948 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ → ¬
𝑁 = 0) |
26 | 23, 25 | anim12i 613 |
. . . . . . 7
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (¬
𝑀 = 0 ∧ ¬ 𝑁 = 0)) |
27 | | ioran 981 |
. . . . . . 7
⊢ (¬
(𝑀 = 0 ∨ 𝑁 = 0) ↔ (¬ 𝑀 = 0 ∧ ¬ 𝑁 = 0)) |
28 | 26, 27 | sylibr 233 |
. . . . . 6
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ¬
(𝑀 = 0 ∨ 𝑁 = 0)) |
29 | | lcmn0val 16300 |
. . . . . 6
⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ ¬
(𝑀 = 0 ∨ 𝑁 = 0)) → (𝑀 lcm 𝑁) = inf({𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)}, ℝ, < )) |
30 | 21, 28, 29 | syl2anc 584 |
. . . . 5
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 lcm 𝑁) = inf({𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)}, ℝ, < )) |
31 | | ltso 11055 |
. . . . . . 7
⊢ < Or
ℝ |
32 | 31 | a1i 11 |
. . . . . 6
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → < Or
ℝ) |
33 | | gcddvds 16210 |
. . . . . . . . . . 11
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀 gcd 𝑁) ∥ 𝑀 ∧ (𝑀 gcd 𝑁) ∥ 𝑁)) |
34 | 33 | simpld 495 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 gcd 𝑁) ∥ 𝑀) |
35 | | gcdcl 16213 |
. . . . . . . . . . . 12
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 gcd 𝑁) ∈
ℕ0) |
36 | 35 | nn0zd 12424 |
. . . . . . . . . . 11
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 gcd 𝑁) ∈ ℤ) |
37 | | dvdsmultr1 16005 |
. . . . . . . . . . . 12
⊢ (((𝑀 gcd 𝑁) ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀 gcd 𝑁) ∥ 𝑀 → (𝑀 gcd 𝑁) ∥ (𝑀 · 𝑁))) |
38 | 37 | 3expb 1119 |
. . . . . . . . . . 11
⊢ (((𝑀 gcd 𝑁) ∈ ℤ ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → ((𝑀 gcd 𝑁) ∥ 𝑀 → (𝑀 gcd 𝑁) ∥ (𝑀 · 𝑁))) |
39 | 36, 38 | mpancom 685 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀 gcd 𝑁) ∥ 𝑀 → (𝑀 gcd 𝑁) ∥ (𝑀 · 𝑁))) |
40 | 34, 39 | mpd 15 |
. . . . . . . . 9
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 gcd 𝑁) ∥ (𝑀 · 𝑁)) |
41 | 21, 40 | syl 17 |
. . . . . . . 8
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 gcd 𝑁) ∥ (𝑀 · 𝑁)) |
42 | | gcdnncl 16214 |
. . . . . . . . 9
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 gcd 𝑁) ∈ ℕ) |
43 | | nndivdvds 15972 |
. . . . . . . . 9
⊢ (((𝑀 · 𝑁) ∈ ℕ ∧ (𝑀 gcd 𝑁) ∈ ℕ) → ((𝑀 gcd 𝑁) ∥ (𝑀 · 𝑁) ↔ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℕ)) |
44 | 1, 42, 43 | syl2anc 584 |
. . . . . . . 8
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 gcd 𝑁) ∥ (𝑀 · 𝑁) ↔ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℕ)) |
45 | 41, 44 | mpbid 231 |
. . . . . . 7
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℕ) |
46 | 45 | nnred 11988 |
. . . . . 6
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℝ) |
47 | | breq2 5078 |
. . . . . . . 8
⊢ (𝑥 = ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) → (𝑀 ∥ 𝑥 ↔ 𝑀 ∥ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)))) |
48 | | breq2 5078 |
. . . . . . . 8
⊢ (𝑥 = ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) → (𝑁 ∥ 𝑥 ↔ 𝑁 ∥ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)))) |
49 | 47, 48 | anbi12d 631 |
. . . . . . 7
⊢ (𝑥 = ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) → ((𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥) ↔ (𝑀 ∥ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∧ 𝑁 ∥ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))))) |
50 | 33 | simprd 496 |
. . . . . . . . . . . 12
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 gcd 𝑁) ∥ 𝑁) |
51 | 21, 50 | syl 17 |
. . . . . . . . . . 11
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 gcd 𝑁) ∥ 𝑁) |
52 | 21, 36 | syl 17 |
. . . . . . . . . . . 12
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 gcd 𝑁) ∈ ℤ) |
53 | 42 | nnne0d 12023 |
. . . . . . . . . . . 12
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 gcd 𝑁) ≠ 0) |
54 | | dvdsval2 15966 |
. . . . . . . . . . . 12
⊢ (((𝑀 gcd 𝑁) ∈ ℤ ∧ (𝑀 gcd 𝑁) ≠ 0 ∧ 𝑁 ∈ ℤ) → ((𝑀 gcd 𝑁) ∥ 𝑁 ↔ (𝑁 / (𝑀 gcd 𝑁)) ∈ ℤ)) |
55 | 52, 53, 7, 54 | syl3anc 1370 |
. . . . . . . . . . 11
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 gcd 𝑁) ∥ 𝑁 ↔ (𝑁 / (𝑀 gcd 𝑁)) ∈ ℤ)) |
56 | 51, 55 | mpbid 231 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑁 / (𝑀 gcd 𝑁)) ∈ ℤ) |
57 | | dvdsmul1 15987 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℤ ∧ (𝑁 / (𝑀 gcd 𝑁)) ∈ ℤ) → 𝑀 ∥ (𝑀 · (𝑁 / (𝑀 gcd 𝑁)))) |
58 | 4, 56, 57 | syl2anc 584 |
. . . . . . . . 9
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑀 ∥ (𝑀 · (𝑁 / (𝑀 gcd 𝑁)))) |
59 | | nncn 11981 |
. . . . . . . . . . 11
⊢ (𝑀 ∈ ℕ → 𝑀 ∈
ℂ) |
60 | 59 | adantr 481 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑀 ∈
ℂ) |
61 | | nncn 11981 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
ℂ) |
62 | 61 | adantl 482 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℂ) |
63 | 42 | nncnd 11989 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 gcd 𝑁) ∈ ℂ) |
64 | 60, 62, 63, 53 | divassd 11786 |
. . . . . . . . 9
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) = (𝑀 · (𝑁 / (𝑀 gcd 𝑁)))) |
65 | 58, 64 | breqtrrd 5102 |
. . . . . . . 8
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑀 ∥ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) |
66 | 21, 34 | syl 17 |
. . . . . . . . . . 11
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 gcd 𝑁) ∥ 𝑀) |
67 | | dvdsval2 15966 |
. . . . . . . . . . . 12
⊢ (((𝑀 gcd 𝑁) ∈ ℤ ∧ (𝑀 gcd 𝑁) ≠ 0 ∧ 𝑀 ∈ ℤ) → ((𝑀 gcd 𝑁) ∥ 𝑀 ↔ (𝑀 / (𝑀 gcd 𝑁)) ∈ ℤ)) |
68 | 52, 53, 4, 67 | syl3anc 1370 |
. . . . . . . . . . 11
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 gcd 𝑁) ∥ 𝑀 ↔ (𝑀 / (𝑀 gcd 𝑁)) ∈ ℤ)) |
69 | 66, 68 | mpbid 231 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 / (𝑀 gcd 𝑁)) ∈ ℤ) |
70 | | dvdsmul1 15987 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℤ ∧ (𝑀 / (𝑀 gcd 𝑁)) ∈ ℤ) → 𝑁 ∥ (𝑁 · (𝑀 / (𝑀 gcd 𝑁)))) |
71 | 7, 69, 70 | syl2anc 584 |
. . . . . . . . 9
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑁 ∥ (𝑁 · (𝑀 / (𝑀 gcd 𝑁)))) |
72 | 60, 62 | mulcomd 10996 |
. . . . . . . . . . 11
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 · 𝑁) = (𝑁 · 𝑀)) |
73 | 72 | oveq1d 7290 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) = ((𝑁 · 𝑀) / (𝑀 gcd 𝑁))) |
74 | 62, 60, 63, 53 | divassd 11786 |
. . . . . . . . . 10
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑁 · 𝑀) / (𝑀 gcd 𝑁)) = (𝑁 · (𝑀 / (𝑀 gcd 𝑁)))) |
75 | 73, 74 | eqtrd 2778 |
. . . . . . . . 9
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) = (𝑁 · (𝑀 / (𝑀 gcd 𝑁)))) |
76 | 71, 75 | breqtrrd 5102 |
. . . . . . . 8
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑁 ∥ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) |
77 | 65, 76 | jca 512 |
. . . . . . 7
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 ∥ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∧ 𝑁 ∥ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)))) |
78 | 49, 45, 77 | elrabd 3626 |
. . . . . 6
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ {𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)}) |
79 | 46 | adantr 481 |
. . . . . . 7
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ {𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)}) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℝ) |
80 | | elrabi 3618 |
. . . . . . . . 9
⊢ (𝑛 ∈ {𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)} → 𝑛 ∈ ℕ) |
81 | 80 | nnred 11988 |
. . . . . . . 8
⊢ (𝑛 ∈ {𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)} → 𝑛 ∈ ℝ) |
82 | 81 | adantl 482 |
. . . . . . 7
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ {𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)}) → 𝑛 ∈ ℝ) |
83 | | breq2 5078 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑛 → (𝑀 ∥ 𝑥 ↔ 𝑀 ∥ 𝑛)) |
84 | | breq2 5078 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑛 → (𝑁 ∥ 𝑥 ↔ 𝑁 ∥ 𝑛)) |
85 | 83, 84 | anbi12d 631 |
. . . . . . . . 9
⊢ (𝑥 = 𝑛 → ((𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥) ↔ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) |
86 | 85 | elrab 3624 |
. . . . . . . 8
⊢ (𝑛 ∈ {𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)} ↔ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) |
87 | | bezout 16251 |
. . . . . . . . . . . . 13
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) →
∃𝑥 ∈ ℤ
∃𝑦 ∈ ℤ
(𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) |
88 | 21, 87 | syl 17 |
. . . . . . . . . . . 12
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) →
∃𝑥 ∈ ℤ
∃𝑦 ∈ ℤ
(𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) |
89 | 88 | adantr 481 |
. . . . . . . . . . 11
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ (𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) |
90 | | nncn 11981 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑛 ∈ ℕ → 𝑛 ∈
ℂ) |
91 | 90 | ad2antlr 724 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑛 ∈
ℂ) |
92 | 1 | nncnd 11989 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 · 𝑁) ∈ ℂ) |
93 | 92 | ad2antrr 723 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 · 𝑁) ∈ ℂ) |
94 | 63 | ad2antrr 723 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 gcd 𝑁) ∈ ℂ) |
95 | 60 | ad2antrr 723 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑀 ∈
ℂ) |
96 | 61 | ad3antlr 728 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑁 ∈
ℂ) |
97 | 22 | ad3antrrr 727 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑀 ≠ 0) |
98 | 24 | ad3antlr 728 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑁 ≠ 0) |
99 | 95, 96, 97, 98 | mulne0d 11627 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 · 𝑁) ≠ 0) |
100 | 53 | ad2antrr 723 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 gcd 𝑁) ≠ 0) |
101 | 91, 93, 94, 99, 100 | divdiv2d 11783 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) = ((𝑛 · (𝑀 gcd 𝑁)) / (𝑀 · 𝑁))) |
102 | 101 | adantr 481 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ 𝑛 ∈
ℕ) ∧ (𝑥 ∈
ℤ ∧ 𝑦 ∈
ℤ)) ∧ (𝑀 gcd
𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) = ((𝑛 · (𝑀 gcd 𝑁)) / (𝑀 · 𝑁))) |
103 | | oveq2 7283 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦)) → (𝑛 · (𝑀 gcd 𝑁)) = (𝑛 · ((𝑀 · 𝑥) + (𝑁 · 𝑦)))) |
104 | 103 | oveq1d 7290 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦)) → ((𝑛 · (𝑀 gcd 𝑁)) / (𝑀 · 𝑁)) = ((𝑛 · ((𝑀 · 𝑥) + (𝑁 · 𝑦))) / (𝑀 · 𝑁))) |
105 | | zcn 12324 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑥 ∈ ℤ → 𝑥 ∈
ℂ) |
106 | 105 | ad2antrl 725 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑥 ∈
ℂ) |
107 | 95, 106 | mulcld 10995 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 · 𝑥) ∈ ℂ) |
108 | | zcn 12324 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑦 ∈ ℤ → 𝑦 ∈
ℂ) |
109 | 108 | ad2antll 726 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑦 ∈
ℂ) |
110 | 96, 109 | mulcld 10995 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑁 · 𝑦) ∈ ℂ) |
111 | 91, 107, 110 | adddid 10999 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · ((𝑀 · 𝑥) + (𝑁 · 𝑦))) = ((𝑛 · (𝑀 · 𝑥)) + (𝑛 · (𝑁 · 𝑦)))) |
112 | 111 | oveq1d 7290 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑛 · ((𝑀 · 𝑥) + (𝑁 · 𝑦))) / (𝑀 · 𝑁)) = (((𝑛 · (𝑀 · 𝑥)) + (𝑛 · (𝑁 · 𝑦))) / (𝑀 · 𝑁))) |
113 | 91, 107 | mulcld 10995 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · (𝑀 · 𝑥)) ∈ ℂ) |
114 | 91, 110 | mulcld 10995 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · (𝑁 · 𝑦)) ∈ ℂ) |
115 | 113, 114,
93, 99 | divdird 11789 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) →
(((𝑛 · (𝑀 · 𝑥)) + (𝑛 · (𝑁 · 𝑦))) / (𝑀 · 𝑁)) = (((𝑛 · (𝑀 · 𝑥)) / (𝑀 · 𝑁)) + ((𝑛 · (𝑁 · 𝑦)) / (𝑀 · 𝑁)))) |
116 | 112, 115 | eqtrd 2778 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑛 · ((𝑀 · 𝑥) + (𝑁 · 𝑦))) / (𝑀 · 𝑁)) = (((𝑛 · (𝑀 · 𝑥)) / (𝑀 · 𝑁)) + ((𝑛 · (𝑁 · 𝑦)) / (𝑀 · 𝑁)))) |
117 | 104, 116 | sylan9eqr 2800 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ 𝑛 ∈
ℕ) ∧ (𝑥 ∈
ℤ ∧ 𝑦 ∈
ℤ)) ∧ (𝑀 gcd
𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → ((𝑛 · (𝑀 gcd 𝑁)) / (𝑀 · 𝑁)) = (((𝑛 · (𝑀 · 𝑥)) / (𝑀 · 𝑁)) + ((𝑛 · (𝑁 · 𝑦)) / (𝑀 · 𝑁)))) |
118 | 91, 95, 106 | mul12d 11184 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · (𝑀 · 𝑥)) = (𝑀 · (𝑛 · 𝑥))) |
119 | 118 | oveq1d 7290 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑛 · (𝑀 · 𝑥)) / (𝑀 · 𝑁)) = ((𝑀 · (𝑛 · 𝑥)) / (𝑀 · 𝑁))) |
120 | 91, 106 | mulcld 10995 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · 𝑥) ∈ ℂ) |
121 | 120, 96, 95, 98, 97 | divcan5d 11777 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 · (𝑛 · 𝑥)) / (𝑀 · 𝑁)) = ((𝑛 · 𝑥) / 𝑁)) |
122 | 119, 121 | eqtrd 2778 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑛 · (𝑀 · 𝑥)) / (𝑀 · 𝑁)) = ((𝑛 · 𝑥) / 𝑁)) |
123 | 91, 96, 109 | mul12d 11184 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · (𝑁 · 𝑦)) = (𝑁 · (𝑛 · 𝑦))) |
124 | 123 | oveq1d 7290 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑛 · (𝑁 · 𝑦)) / (𝑀 · 𝑁)) = ((𝑁 · (𝑛 · 𝑦)) / (𝑀 · 𝑁))) |
125 | 72 | ad2antrr 723 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 · 𝑁) = (𝑁 · 𝑀)) |
126 | 125 | oveq2d 7291 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑁 · (𝑛 · 𝑦)) / (𝑀 · 𝑁)) = ((𝑁 · (𝑛 · 𝑦)) / (𝑁 · 𝑀))) |
127 | 91, 109 | mulcld 10995 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · 𝑦) ∈ ℂ) |
128 | 127, 95, 96, 97, 98 | divcan5d 11777 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑁 · (𝑛 · 𝑦)) / (𝑁 · 𝑀)) = ((𝑛 · 𝑦) / 𝑀)) |
129 | 124, 126,
128 | 3eqtrd 2782 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑛 · (𝑁 · 𝑦)) / (𝑀 · 𝑁)) = ((𝑛 · 𝑦) / 𝑀)) |
130 | 122, 129 | oveq12d 7293 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) →
(((𝑛 · (𝑀 · 𝑥)) / (𝑀 · 𝑁)) + ((𝑛 · (𝑁 · 𝑦)) / (𝑀 · 𝑁))) = (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀))) |
131 | 130 | adantr 481 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ 𝑛 ∈
ℕ) ∧ (𝑥 ∈
ℤ ∧ 𝑦 ∈
ℤ)) ∧ (𝑀 gcd
𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → (((𝑛 · (𝑀 · 𝑥)) / (𝑀 · 𝑁)) + ((𝑛 · (𝑁 · 𝑦)) / (𝑀 · 𝑁))) = (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀))) |
132 | 102, 117,
131 | 3eqtrd 2782 |
. . . . . . . . . . . . . . . . . 18
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ 𝑛 ∈
ℕ) ∧ (𝑥 ∈
ℤ ∧ 𝑦 ∈
ℤ)) ∧ (𝑀 gcd
𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) = (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀))) |
133 | 132 | ex 413 |
. . . . . . . . . . . . . . . . 17
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦)) → (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) = (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀)))) |
134 | 133 | adantlrr 718 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦)) → (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) = (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀)))) |
135 | 134 | imp 407 |
. . . . . . . . . . . . . . 15
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ (𝑛 ∈
ℕ ∧ (𝑀 ∥
𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) ∧ (𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) = (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀))) |
136 | 6 | ad3antlr 728 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑁 ∈
ℤ) |
137 | | nnz 12342 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑛 ∈ ℕ → 𝑛 ∈
ℤ) |
138 | 137 | ad2antlr 724 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑛 ∈
ℤ) |
139 | | simprl 768 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑥 ∈
ℤ) |
140 | | dvdsmultr1 16005 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑁 ∈ ℤ ∧ 𝑛 ∈ ℤ ∧ 𝑥 ∈ ℤ) → (𝑁 ∥ 𝑛 → 𝑁 ∥ (𝑛 · 𝑥))) |
141 | 136, 138,
139, 140 | syl3anc 1370 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑁 ∥ 𝑛 → 𝑁 ∥ (𝑛 · 𝑥))) |
142 | 138, 139 | zmulcld 12432 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · 𝑥) ∈ ℤ) |
143 | | dvdsval2 15966 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑁 ∈ ℤ ∧ 𝑁 ≠ 0 ∧ (𝑛 · 𝑥) ∈ ℤ) → (𝑁 ∥ (𝑛 · 𝑥) ↔ ((𝑛 · 𝑥) / 𝑁) ∈ ℤ)) |
144 | 136, 98, 142, 143 | syl3anc 1370 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑁 ∥ (𝑛 · 𝑥) ↔ ((𝑛 · 𝑥) / 𝑁) ∈ ℤ)) |
145 | 141, 144 | sylibd 238 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑁 ∥ 𝑛 → ((𝑛 · 𝑥) / 𝑁) ∈ ℤ)) |
146 | 145 | adantld 491 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛) → ((𝑛 · 𝑥) / 𝑁) ∈ ℤ)) |
147 | 146 | 3impia 1116 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)) → ((𝑛 · 𝑥) / 𝑁) ∈ ℤ) |
148 | 3 | ad3antrrr 727 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑀 ∈
ℤ) |
149 | | simprr 770 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑦 ∈
ℤ) |
150 | | dvdsmultr1 16005 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑀 ∈ ℤ ∧ 𝑛 ∈ ℤ ∧ 𝑦 ∈ ℤ) → (𝑀 ∥ 𝑛 → 𝑀 ∥ (𝑛 · 𝑦))) |
151 | 148, 138,
149, 150 | syl3anc 1370 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 ∥ 𝑛 → 𝑀 ∥ (𝑛 · 𝑦))) |
152 | 138, 149 | zmulcld 12432 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑛 · 𝑦) ∈ ℤ) |
153 | | dvdsval2 15966 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑀 ∈ ℤ ∧ 𝑀 ≠ 0 ∧ (𝑛 · 𝑦) ∈ ℤ) → (𝑀 ∥ (𝑛 · 𝑦) ↔ ((𝑛 · 𝑦) / 𝑀) ∈ ℤ)) |
154 | 148, 97, 152, 153 | syl3anc 1370 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 ∥ (𝑛 · 𝑦) ↔ ((𝑛 · 𝑦) / 𝑀) ∈ ℤ)) |
155 | 151, 154 | sylibd 238 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑀 ∥ 𝑛 → ((𝑛 · 𝑦) / 𝑀) ∈ ℤ)) |
156 | 155 | adantrd 492 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛) → ((𝑛 · 𝑦) / 𝑀) ∈ ℤ)) |
157 | 156 | 3impia 1116 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)) → ((𝑛 · 𝑦) / 𝑀) ∈ ℤ) |
158 | 147, 157 | zaddcld 12430 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)) → (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀)) ∈ ℤ) |
159 | 158 | 3expia 1120 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛) → (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀)) ∈ ℤ)) |
160 | 159 | an32s 649 |
. . . . . . . . . . . . . . . . . 18
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) ∧ 𝑛 ∈ ℕ) → ((𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛) → (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀)) ∈ ℤ)) |
161 | 160 | impr 455 |
. . . . . . . . . . . . . . . . 17
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀)) ∈ ℤ) |
162 | 161 | an32s 649 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀)) ∈ ℤ) |
163 | 162 | adantr 481 |
. . . . . . . . . . . . . . 15
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ (𝑛 ∈
ℕ ∧ (𝑀 ∥
𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) ∧ (𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → (((𝑛 · 𝑥) / 𝑁) + ((𝑛 · 𝑦) / 𝑀)) ∈ ℤ) |
164 | 135, 163 | eqeltrd 2839 |
. . . . . . . . . . . . . 14
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ (𝑛 ∈
ℕ ∧ (𝑀 ∥
𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) ∧ (𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) ∈ ℤ) |
165 | 45 | nnzd 12425 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℤ) |
166 | 165 | ad2antrr 723 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℤ) |
167 | 1 | nnne0d 12023 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 · 𝑁) ≠ 0) |
168 | 92, 63, 167, 53 | divne0d 11767 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ≠ 0) |
169 | 168 | ad2antrr 723 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ≠ 0) |
170 | 138 | adantlrr 718 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑛 ∈ ℤ) |
171 | | dvdsval2 15966 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℤ ∧ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ≠ 0 ∧ 𝑛 ∈ ℤ) → (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) ∈ ℤ)) |
172 | 166, 169,
170, 171 | syl3anc 1370 |
. . . . . . . . . . . . . . 15
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) ∈ ℤ)) |
173 | 172 | adantr 481 |
. . . . . . . . . . . . . 14
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ (𝑛 ∈
ℕ ∧ (𝑀 ∥
𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) ∧ (𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ (𝑛 / ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) ∈ ℤ)) |
174 | 164, 173 | mpbird 256 |
. . . . . . . . . . . . 13
⊢
(((((𝑀 ∈
ℕ ∧ 𝑁 ∈
ℕ) ∧ (𝑛 ∈
ℕ ∧ (𝑀 ∥
𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) ∧ (𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦))) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛) |
175 | 174 | ex 413 |
. . . . . . . . . . . 12
⊢ ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦)) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛)) |
176 | 175 | reximdvva 3206 |
. . . . . . . . . . 11
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ (𝑀 gcd 𝑁) = ((𝑀 · 𝑥) + (𝑁 · 𝑦)) → ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛)) |
177 | 89, 176 | mpd 15 |
. . . . . . . . . 10
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛) |
178 | | 1z 12350 |
. . . . . . . . . . . 12
⊢ 1 ∈
ℤ |
179 | | ne0i 4268 |
. . . . . . . . . . . 12
⊢ (1 ∈
ℤ → ℤ ≠ ∅) |
180 | | r19.9rzv 4430 |
. . . . . . . . . . . 12
⊢ (ℤ
≠ ∅ → (((𝑀
· 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ ∃𝑦 ∈ ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛)) |
181 | 178, 179,
180 | mp2b 10 |
. . . . . . . . . . 11
⊢ (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ ∃𝑦 ∈ ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛) |
182 | | r19.9rzv 4430 |
. . . . . . . . . . . 12
⊢ (ℤ
≠ ∅ → (∃𝑦 ∈ ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛)) |
183 | 178, 179,
182 | mp2b 10 |
. . . . . . . . . . 11
⊢
(∃𝑦 ∈
ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛) |
184 | 181, 183 | bitri 274 |
. . . . . . . . . 10
⊢ (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛) |
185 | 177, 184 | sylibr 233 |
. . . . . . . . 9
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛) |
186 | 165 | adantr 481 |
. . . . . . . . . 10
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℤ) |
187 | | simprl 768 |
. . . . . . . . . 10
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → 𝑛 ∈ ℕ) |
188 | | dvdsle 16019 |
. . . . . . . . . 10
⊢ ((((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∈ ℤ ∧ 𝑛 ∈ ℕ) → (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ≤ 𝑛)) |
189 | 186, 187,
188 | syl2anc 584 |
. . . . . . . . 9
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ≤ 𝑛)) |
190 | 185, 189 | mpd 15 |
. . . . . . . 8
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ≤ 𝑛) |
191 | 86, 190 | sylan2b 594 |
. . . . . . 7
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ {𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)}) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ≤ 𝑛) |
192 | 79, 82, 191 | lensymd 11126 |
. . . . . 6
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ 𝑛 ∈ {𝑥 ∈ ℕ ∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)}) → ¬ 𝑛 < ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) |
193 | 32, 46, 78, 192 | infmin 9253 |
. . . . 5
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) →
inf({𝑥 ∈ ℕ
∣ (𝑀 ∥ 𝑥 ∧ 𝑁 ∥ 𝑥)}, ℝ, < ) = ((𝑀 · 𝑁) / (𝑀 gcd 𝑁))) |
194 | 30, 193 | eqtr2d 2779 |
. . . 4
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) = (𝑀 lcm 𝑁)) |
195 | 194, 45 | eqeltrrd 2840 |
. . . . . 6
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 lcm 𝑁) ∈ ℕ) |
196 | 195 | nncnd 11989 |
. . . . 5
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 lcm 𝑁) ∈ ℂ) |
197 | 92, 196, 63, 53 | divmul3d 11785 |
. . . 4
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) = (𝑀 lcm 𝑁) ↔ (𝑀 · 𝑁) = ((𝑀 lcm 𝑁) · (𝑀 gcd 𝑁)))) |
198 | 194, 197 | mpbid 231 |
. . 3
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 · 𝑁) = ((𝑀 lcm 𝑁) · (𝑀 gcd 𝑁))) |
199 | 20, 198 | eqtr2d 2779 |
. 2
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑀 lcm 𝑁) · (𝑀 gcd 𝑁)) = (abs‘(𝑀 · 𝑁))) |
200 | | simprl 768 |
. . . 4
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝐾 ∈ ℕ ∧ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾))) → 𝐾 ∈ ℕ) |
201 | | eleq1 2826 |
. . . . . . . 8
⊢ (𝑛 = 𝐾 → (𝑛 ∈ ℕ ↔ 𝐾 ∈ ℕ)) |
202 | | breq2 5078 |
. . . . . . . . 9
⊢ (𝑛 = 𝐾 → (𝑀 ∥ 𝑛 ↔ 𝑀 ∥ 𝐾)) |
203 | | breq2 5078 |
. . . . . . . . 9
⊢ (𝑛 = 𝐾 → (𝑁 ∥ 𝑛 ↔ 𝑁 ∥ 𝐾)) |
204 | 202, 203 | anbi12d 631 |
. . . . . . . 8
⊢ (𝑛 = 𝐾 → ((𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛) ↔ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾))) |
205 | 201, 204 | anbi12d 631 |
. . . . . . 7
⊢ (𝑛 = 𝐾 → ((𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)) ↔ (𝐾 ∈ ℕ ∧ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾)))) |
206 | 205 | anbi2d 629 |
. . . . . 6
⊢ (𝑛 = 𝐾 → (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) ↔ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝐾 ∈ ℕ ∧ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾))))) |
207 | | breq2 5078 |
. . . . . 6
⊢ (𝑛 = 𝐾 → ((𝑀 lcm 𝑁) ∥ 𝑛 ↔ (𝑀 lcm 𝑁) ∥ 𝐾)) |
208 | 206, 207 | imbi12d 345 |
. . . . 5
⊢ (𝑛 = 𝐾 → ((((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → (𝑀 lcm 𝑁) ∥ 𝑛) ↔ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝐾 ∈ ℕ ∧ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾))) → (𝑀 lcm 𝑁) ∥ 𝐾))) |
209 | 194 | breq1d 5084 |
. . . . . . 7
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ (𝑀 lcm 𝑁) ∥ 𝑛)) |
210 | 209 | adantr 481 |
. . . . . 6
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → (((𝑀 · 𝑁) / (𝑀 gcd 𝑁)) ∥ 𝑛 ↔ (𝑀 lcm 𝑁) ∥ 𝑛)) |
211 | 185, 210 | mpbid 231 |
. . . . 5
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝑛 ∈ ℕ ∧ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛))) → (𝑀 lcm 𝑁) ∥ 𝑛) |
212 | 208, 211 | vtoclg 3505 |
. . . 4
⊢ (𝐾 ∈ ℕ → (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝐾 ∈ ℕ ∧ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾))) → (𝑀 lcm 𝑁) ∥ 𝐾)) |
213 | 200, 212 | mpcom 38 |
. . 3
⊢ (((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) ∧ (𝐾 ∈ ℕ ∧ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾))) → (𝑀 lcm 𝑁) ∥ 𝐾) |
214 | 213 | ex 413 |
. 2
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝐾 ∈ ℕ ∧ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾)) → (𝑀 lcm 𝑁) ∥ 𝐾)) |
215 | 199, 214 | jca 512 |
1
⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (((𝑀 lcm 𝑁) · (𝑀 gcd 𝑁)) = (abs‘(𝑀 · 𝑁)) ∧ ((𝐾 ∈ ℕ ∧ (𝑀 ∥ 𝐾 ∧ 𝑁 ∥ 𝐾)) → (𝑀 lcm 𝑁) ∥ 𝐾))) |