Proof of Theorem dvdsabseq
Step | Hyp | Ref
| Expression |
1 | | dvdszrcl 15896 |
. . 3
⊢ (𝑀 ∥ 𝑁 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) |
2 | | simpr 484 |
. . . . . 6
⊢ ((𝑀 ∥ 𝑁 ∧ 𝑁 ∥ 𝑀) → 𝑁 ∥ 𝑀) |
3 | | breq1 5073 |
. . . . . . . 8
⊢ (𝑁 = 0 → (𝑁 ∥ 𝑀 ↔ 0 ∥ 𝑀)) |
4 | | 0dvds 15914 |
. . . . . . . . . 10
⊢ (𝑀 ∈ ℤ → (0
∥ 𝑀 ↔ 𝑀 = 0)) |
5 | 4 | adantr 480 |
. . . . . . . . 9
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (0
∥ 𝑀 ↔ 𝑀 = 0)) |
6 | | zcn 12254 |
. . . . . . . . . . . 12
⊢ (𝑀 ∈ ℤ → 𝑀 ∈
ℂ) |
7 | 6 | abs00ad 14930 |
. . . . . . . . . . 11
⊢ (𝑀 ∈ ℤ →
((abs‘𝑀) = 0 ↔
𝑀 = 0)) |
8 | 7 | bicomd 222 |
. . . . . . . . . 10
⊢ (𝑀 ∈ ℤ → (𝑀 = 0 ↔ (abs‘𝑀) = 0)) |
9 | 8 | adantr 480 |
. . . . . . . . 9
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 = 0 ↔ (abs‘𝑀) = 0)) |
10 | 5, 9 | bitrd 278 |
. . . . . . . 8
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (0
∥ 𝑀 ↔
(abs‘𝑀) =
0)) |
11 | 3, 10 | sylan9bb 509 |
. . . . . . 7
⊢ ((𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑁 ∥ 𝑀 ↔ (abs‘𝑀) = 0)) |
12 | | fveq2 6756 |
. . . . . . . . . 10
⊢ (𝑁 = 0 → (abs‘𝑁) =
(abs‘0)) |
13 | | abs0 14925 |
. . . . . . . . . 10
⊢
(abs‘0) = 0 |
14 | 12, 13 | eqtrdi 2795 |
. . . . . . . . 9
⊢ (𝑁 = 0 → (abs‘𝑁) = 0) |
15 | 14 | adantr 480 |
. . . . . . . 8
⊢ ((𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (abs‘𝑁) = 0) |
16 | 15 | eqeq2d 2749 |
. . . . . . 7
⊢ ((𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → ((abs‘𝑀) = (abs‘𝑁) ↔ (abs‘𝑀) = 0)) |
17 | 11, 16 | bitr4d 281 |
. . . . . 6
⊢ ((𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑁 ∥ 𝑀 ↔ (abs‘𝑀) = (abs‘𝑁))) |
18 | 2, 17 | syl5ib 243 |
. . . . 5
⊢ ((𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → ((𝑀 ∥ 𝑁 ∧ 𝑁 ∥ 𝑀) → (abs‘𝑀) = (abs‘𝑁))) |
19 | 18 | expd 415 |
. . . 4
⊢ ((𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑀 ∥ 𝑁 → (𝑁 ∥ 𝑀 → (abs‘𝑀) = (abs‘𝑁)))) |
20 | | simprl 767 |
. . . . . 6
⊢ ((¬
𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → 𝑀 ∈
ℤ) |
21 | | simpr 484 |
. . . . . . 7
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑁 ∈
ℤ) |
22 | 21 | adantl 481 |
. . . . . 6
⊢ ((¬
𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → 𝑁 ∈
ℤ) |
23 | | neqne 2950 |
. . . . . . 7
⊢ (¬
𝑁 = 0 → 𝑁 ≠ 0) |
24 | 23 | adantr 480 |
. . . . . 6
⊢ ((¬
𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → 𝑁 ≠ 0) |
25 | | dvdsleabs2 15949 |
. . . . . 6
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (𝑀 ∥ 𝑁 → (abs‘𝑀) ≤ (abs‘𝑁))) |
26 | 20, 22, 24, 25 | syl3anc 1369 |
. . . . 5
⊢ ((¬
𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑀 ∥ 𝑁 → (abs‘𝑀) ≤ (abs‘𝑁))) |
27 | | simpr 484 |
. . . . . . . . . . 11
⊢ ((𝑁 ∥ 𝑀 ∧ 𝑀 ∥ 𝑁) → 𝑀 ∥ 𝑁) |
28 | | breq1 5073 |
. . . . . . . . . . . . 13
⊢ (𝑀 = 0 → (𝑀 ∥ 𝑁 ↔ 0 ∥ 𝑁)) |
29 | | 0dvds 15914 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℤ → (0
∥ 𝑁 ↔ 𝑁 = 0)) |
30 | | zcn 12254 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈ ℤ → 𝑁 ∈
ℂ) |
31 | 30 | abs00ad 14930 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈ ℤ →
((abs‘𝑁) = 0 ↔
𝑁 = 0)) |
32 | | eqcom 2745 |
. . . . . . . . . . . . . . . 16
⊢
((abs‘𝑁) = 0
↔ 0 = (abs‘𝑁)) |
33 | 31, 32 | bitr3di 285 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℤ → (𝑁 = 0 ↔ 0 = (abs‘𝑁))) |
34 | 29, 33 | bitrd 278 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℤ → (0
∥ 𝑁 ↔ 0 =
(abs‘𝑁))) |
35 | 34 | adantl 481 |
. . . . . . . . . . . . 13
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (0
∥ 𝑁 ↔ 0 =
(abs‘𝑁))) |
36 | 28, 35 | sylan9bb 509 |
. . . . . . . . . . . 12
⊢ ((𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑀 ∥ 𝑁 ↔ 0 = (abs‘𝑁))) |
37 | | fveq2 6756 |
. . . . . . . . . . . . . . 15
⊢ (𝑀 = 0 → (abs‘𝑀) =
(abs‘0)) |
38 | 37, 13 | eqtrdi 2795 |
. . . . . . . . . . . . . 14
⊢ (𝑀 = 0 → (abs‘𝑀) = 0) |
39 | 38 | adantr 480 |
. . . . . . . . . . . . 13
⊢ ((𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (abs‘𝑀) = 0) |
40 | 39 | eqeq1d 2740 |
. . . . . . . . . . . 12
⊢ ((𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → ((abs‘𝑀) = (abs‘𝑁) ↔ 0 = (abs‘𝑁))) |
41 | 36, 40 | bitr4d 281 |
. . . . . . . . . . 11
⊢ ((𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑀 ∥ 𝑁 ↔ (abs‘𝑀) = (abs‘𝑁))) |
42 | 27, 41 | syl5ib 243 |
. . . . . . . . . 10
⊢ ((𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → ((𝑁 ∥ 𝑀 ∧ 𝑀 ∥ 𝑁) → (abs‘𝑀) = (abs‘𝑁))) |
43 | 42 | a1dd 50 |
. . . . . . . . 9
⊢ ((𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → ((𝑁 ∥ 𝑀 ∧ 𝑀 ∥ 𝑁) → ((abs‘𝑀) ≤ (abs‘𝑁) → (abs‘𝑀) = (abs‘𝑁)))) |
44 | 43 | expcomd 416 |
. . . . . . . 8
⊢ ((𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑀 ∥ 𝑁 → (𝑁 ∥ 𝑀 → ((abs‘𝑀) ≤ (abs‘𝑁) → (abs‘𝑀) = (abs‘𝑁))))) |
45 | 21 | adantl 481 |
. . . . . . . . . . 11
⊢ ((¬
𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → 𝑁 ∈
ℤ) |
46 | | simprl 767 |
. . . . . . . . . . 11
⊢ ((¬
𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → 𝑀 ∈
ℤ) |
47 | | neqne 2950 |
. . . . . . . . . . . 12
⊢ (¬
𝑀 = 0 → 𝑀 ≠ 0) |
48 | 47 | adantr 480 |
. . . . . . . . . . 11
⊢ ((¬
𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → 𝑀 ≠ 0) |
49 | | dvdsleabs2 15949 |
. . . . . . . . . . 11
⊢ ((𝑁 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑀 ≠ 0) → (𝑁 ∥ 𝑀 → (abs‘𝑁) ≤ (abs‘𝑀))) |
50 | 45, 46, 48, 49 | syl3anc 1369 |
. . . . . . . . . 10
⊢ ((¬
𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑁 ∥ 𝑀 → (abs‘𝑁) ≤ (abs‘𝑀))) |
51 | | eqcom 2745 |
. . . . . . . . . . . . . 14
⊢
((abs‘𝑀) =
(abs‘𝑁) ↔
(abs‘𝑁) =
(abs‘𝑀)) |
52 | 30 | abscld 15076 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℤ →
(abs‘𝑁) ∈
ℝ) |
53 | 6 | abscld 15076 |
. . . . . . . . . . . . . . 15
⊢ (𝑀 ∈ ℤ →
(abs‘𝑀) ∈
ℝ) |
54 | | letri3 10991 |
. . . . . . . . . . . . . . 15
⊢
(((abs‘𝑁)
∈ ℝ ∧ (abs‘𝑀) ∈ ℝ) → ((abs‘𝑁) = (abs‘𝑀) ↔ ((abs‘𝑁) ≤ (abs‘𝑀) ∧ (abs‘𝑀) ≤ (abs‘𝑁)))) |
55 | 52, 53, 54 | syl2anr 596 |
. . . . . . . . . . . . . 14
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) →
((abs‘𝑁) =
(abs‘𝑀) ↔
((abs‘𝑁) ≤
(abs‘𝑀) ∧
(abs‘𝑀) ≤
(abs‘𝑁)))) |
56 | 51, 55 | syl5bb 282 |
. . . . . . . . . . . . 13
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) →
((abs‘𝑀) =
(abs‘𝑁) ↔
((abs‘𝑁) ≤
(abs‘𝑀) ∧
(abs‘𝑀) ≤
(abs‘𝑁)))) |
57 | 56 | biimprd 247 |
. . . . . . . . . . . 12
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) →
(((abs‘𝑁) ≤
(abs‘𝑀) ∧
(abs‘𝑀) ≤
(abs‘𝑁)) →
(abs‘𝑀) =
(abs‘𝑁))) |
58 | 57 | expd 415 |
. . . . . . . . . . 11
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) →
((abs‘𝑁) ≤
(abs‘𝑀) →
((abs‘𝑀) ≤
(abs‘𝑁) →
(abs‘𝑀) =
(abs‘𝑁)))) |
59 | 58 | adantl 481 |
. . . . . . . . . 10
⊢ ((¬
𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) →
((abs‘𝑁) ≤
(abs‘𝑀) →
((abs‘𝑀) ≤
(abs‘𝑁) →
(abs‘𝑀) =
(abs‘𝑁)))) |
60 | 50, 59 | syld 47 |
. . . . . . . . 9
⊢ ((¬
𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑁 ∥ 𝑀 → ((abs‘𝑀) ≤ (abs‘𝑁) → (abs‘𝑀) = (abs‘𝑁)))) |
61 | 60 | a1d 25 |
. . . . . . . 8
⊢ ((¬
𝑀 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑀 ∥ 𝑁 → (𝑁 ∥ 𝑀 → ((abs‘𝑀) ≤ (abs‘𝑁) → (abs‘𝑀) = (abs‘𝑁))))) |
62 | 44, 61 | pm2.61ian 808 |
. . . . . . 7
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 → (𝑁 ∥ 𝑀 → ((abs‘𝑀) ≤ (abs‘𝑁) → (abs‘𝑀) = (abs‘𝑁))))) |
63 | 62 | com34 91 |
. . . . . 6
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 → ((abs‘𝑀) ≤ (abs‘𝑁) → (𝑁 ∥ 𝑀 → (abs‘𝑀) = (abs‘𝑁))))) |
64 | 63 | adantl 481 |
. . . . 5
⊢ ((¬
𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑀 ∥ 𝑁 → ((abs‘𝑀) ≤ (abs‘𝑁) → (𝑁 ∥ 𝑀 → (abs‘𝑀) = (abs‘𝑁))))) |
65 | 26, 64 | mpdd 43 |
. . . 4
⊢ ((¬
𝑁 = 0 ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → (𝑀 ∥ 𝑁 → (𝑁 ∥ 𝑀 → (abs‘𝑀) = (abs‘𝑁)))) |
66 | 19, 65 | pm2.61ian 808 |
. . 3
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 → (𝑁 ∥ 𝑀 → (abs‘𝑀) = (abs‘𝑁)))) |
67 | 1, 66 | mpcom 38 |
. 2
⊢ (𝑀 ∥ 𝑁 → (𝑁 ∥ 𝑀 → (abs‘𝑀) = (abs‘𝑁))) |
68 | 67 | imp 406 |
1
⊢ ((𝑀 ∥ 𝑁 ∧ 𝑁 ∥ 𝑀) → (abs‘𝑀) = (abs‘𝑁)) |