Step | Hyp | Ref
| Expression |
1 | | oveq1 7262 |
. . . . . . . 8
⊢ (𝑥 = 𝐵 → (𝑥 /L 𝑁) = (𝐵 /L 𝑁)) |
2 | 1 | oveq1d 7270 |
. . . . . . 7
⊢ (𝑥 = 𝐵 → ((𝑥 /L 𝑁) · (0 /L 𝑁)) = ((𝐵 /L 𝑁) · (0 /L 𝑁))) |
3 | 2 | eqeq2d 2749 |
. . . . . 6
⊢ (𝑥 = 𝐵 → ((0 /L 𝑁) = ((𝑥 /L 𝑁) · (0 /L 𝑁)) ↔ (0
/L 𝑁) =
((𝐵 /L
𝑁) · (0
/L 𝑁)))) |
4 | | id 22 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ ℤ → 𝑥 ∈
ℤ) |
5 | | nn0z 12273 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℤ) |
6 | | lgscl 26364 |
. . . . . . . . . . . . . 14
⊢ ((𝑥 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 /L 𝑁) ∈
ℤ) |
7 | 4, 5, 6 | syl2anr 596 |
. . . . . . . . . . . . 13
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ (𝑥
/L 𝑁)
∈ ℤ) |
8 | 7 | zcnd 12356 |
. . . . . . . . . . . 12
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ (𝑥
/L 𝑁)
∈ ℂ) |
9 | 8 | adantr 480 |
. . . . . . . . . . 11
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) = 0) → (𝑥 /L 𝑁) ∈ ℂ) |
10 | 9 | mul01d 11104 |
. . . . . . . . . 10
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) = 0) → ((𝑥 /L 𝑁) · 0) = 0) |
11 | | simpr 484 |
. . . . . . . . . . 11
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) = 0) → (0 /L 𝑁) = 0) |
12 | 11 | oveq2d 7271 |
. . . . . . . . . 10
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) = 0) → ((𝑥 /L 𝑁) · (0 /L 𝑁)) = ((𝑥 /L 𝑁) · 0)) |
13 | 10, 12, 11 | 3eqtr4rd 2789 |
. . . . . . . . 9
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) = 0) → (0 /L 𝑁) = ((𝑥 /L 𝑁) · (0 /L 𝑁))) |
14 | | 0z 12260 |
. . . . . . . . . . . . . 14
⊢ 0 ∈
ℤ |
15 | 5 | adantr 480 |
. . . . . . . . . . . . . 14
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ 𝑁 ∈
ℤ) |
16 | | lgsne0 26388 |
. . . . . . . . . . . . . 14
⊢ ((0
∈ ℤ ∧ 𝑁
∈ ℤ) → ((0 /L 𝑁) ≠ 0 ↔ (0 gcd 𝑁) = 1)) |
17 | 14, 15, 16 | sylancr 586 |
. . . . . . . . . . . . 13
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ ((0 /L 𝑁) ≠ 0 ↔ (0 gcd 𝑁) = 1)) |
18 | | gcdcom 16148 |
. . . . . . . . . . . . . . . . 17
⊢ ((0
∈ ℤ ∧ 𝑁
∈ ℤ) → (0 gcd 𝑁) = (𝑁 gcd 0)) |
19 | 14, 15, 18 | sylancr 586 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ (0 gcd 𝑁) = (𝑁 gcd 0)) |
20 | | nn0gcdid0 16156 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈ ℕ0
→ (𝑁 gcd 0) = 𝑁) |
21 | 20 | adantr 480 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ (𝑁 gcd 0) = 𝑁) |
22 | 19, 21 | eqtrd 2778 |
. . . . . . . . . . . . . . 15
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ (0 gcd 𝑁) = 𝑁) |
23 | 22 | eqeq1d 2740 |
. . . . . . . . . . . . . 14
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ ((0 gcd 𝑁) = 1
↔ 𝑁 =
1)) |
24 | | lgs1 26394 |
. . . . . . . . . . . . . . . 16
⊢ (𝑥 ∈ ℤ → (𝑥 /L 1) =
1) |
25 | 24 | adantl 481 |
. . . . . . . . . . . . . . 15
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ (𝑥
/L 1) = 1) |
26 | | oveq2 7263 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 = 1 → (𝑥 /L 𝑁) = (𝑥 /L 1)) |
27 | 26 | eqeq1d 2740 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 = 1 → ((𝑥 /L 𝑁) = 1 ↔ (𝑥 /L 1) =
1)) |
28 | 25, 27 | syl5ibrcom 246 |
. . . . . . . . . . . . . 14
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ (𝑁 = 1 → (𝑥 /L 𝑁) = 1)) |
29 | 23, 28 | sylbid 239 |
. . . . . . . . . . . . 13
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ ((0 gcd 𝑁) = 1
→ (𝑥
/L 𝑁) =
1)) |
30 | 17, 29 | sylbid 239 |
. . . . . . . . . . . 12
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ ((0 /L 𝑁) ≠ 0 → (𝑥 /L 𝑁) = 1)) |
31 | 30 | imp 406 |
. . . . . . . . . . 11
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) ≠ 0) → (𝑥 /L 𝑁) = 1) |
32 | 31 | oveq1d 7270 |
. . . . . . . . . 10
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) ≠ 0) → ((𝑥 /L 𝑁) · (0 /L 𝑁)) = (1 · (0
/L 𝑁))) |
33 | 5 | ad2antrr 722 |
. . . . . . . . . . . . 13
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) ≠ 0) → 𝑁 ∈ ℤ) |
34 | | lgscl 26364 |
. . . . . . . . . . . . 13
⊢ ((0
∈ ℤ ∧ 𝑁
∈ ℤ) → (0 /L 𝑁) ∈ ℤ) |
35 | 14, 33, 34 | sylancr 586 |
. . . . . . . . . . . 12
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) ≠ 0) → (0 /L
𝑁) ∈
ℤ) |
36 | 35 | zcnd 12356 |
. . . . . . . . . . 11
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) ≠ 0) → (0 /L
𝑁) ∈
ℂ) |
37 | 36 | mulid2d 10924 |
. . . . . . . . . 10
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) ≠ 0) → (1 · (0
/L 𝑁)) =
(0 /L 𝑁)) |
38 | 32, 37 | eqtr2d 2779 |
. . . . . . . . 9
⊢ (((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
∧ (0 /L 𝑁) ≠ 0) → (0 /L
𝑁) = ((𝑥 /L 𝑁) · (0 /L 𝑁))) |
39 | 13, 38 | pm2.61dane 3031 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ ℤ)
→ (0 /L 𝑁) = ((𝑥 /L 𝑁) · (0 /L 𝑁))) |
40 | 39 | ralrimiva 3107 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ0
→ ∀𝑥 ∈
ℤ (0 /L 𝑁) = ((𝑥 /L 𝑁) · (0 /L 𝑁))) |
41 | 40 | 3ad2ant3 1133 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ ∀𝑥 ∈
ℤ (0 /L 𝑁) = ((𝑥 /L 𝑁) · (0 /L 𝑁))) |
42 | | simp2 1135 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ 𝐵 ∈
ℤ) |
43 | 3, 41, 42 | rspcdva 3554 |
. . . . 5
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ (0 /L 𝑁) = ((𝐵 /L 𝑁) · (0 /L 𝑁))) |
44 | 43 | adantr 480 |
. . . 4
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → (0
/L 𝑁) =
((𝐵 /L
𝑁) · (0
/L 𝑁))) |
45 | 5 | 3ad2ant3 1133 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ 𝑁 ∈
ℤ) |
46 | 14, 45, 34 | sylancr 586 |
. . . . . . 7
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ (0 /L 𝑁) ∈ ℤ) |
47 | 46 | zcnd 12356 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ (0 /L 𝑁) ∈ ℂ) |
48 | 47 | adantr 480 |
. . . . 5
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → (0
/L 𝑁)
∈ ℂ) |
49 | | lgscl 26364 |
. . . . . . . 8
⊢ ((𝐵 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐵 /L 𝑁) ∈
ℤ) |
50 | 42, 45, 49 | syl2anc 583 |
. . . . . . 7
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ (𝐵
/L 𝑁)
∈ ℤ) |
51 | 50 | zcnd 12356 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ (𝐵
/L 𝑁)
∈ ℂ) |
52 | 51 | adantr 480 |
. . . . 5
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → (𝐵 /L 𝑁) ∈
ℂ) |
53 | 48, 52 | mulcomd 10927 |
. . . 4
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → ((0
/L 𝑁)
· (𝐵
/L 𝑁)) =
((𝐵 /L
𝑁) · (0
/L 𝑁))) |
54 | 44, 53 | eqtr4d 2781 |
. . 3
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → (0
/L 𝑁) =
((0 /L 𝑁)
· (𝐵
/L 𝑁))) |
55 | | oveq1 7262 |
. . . . 5
⊢ (𝐴 = 0 → (𝐴 · 𝐵) = (0 · 𝐵)) |
56 | | zcn 12254 |
. . . . . . 7
⊢ (𝐵 ∈ ℤ → 𝐵 ∈
ℂ) |
57 | 56 | 3ad2ant2 1132 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ 𝐵 ∈
ℂ) |
58 | 57 | mul02d 11103 |
. . . . 5
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ (0 · 𝐵) =
0) |
59 | 55, 58 | sylan9eqr 2801 |
. . . 4
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → (𝐴 · 𝐵) = 0) |
60 | 59 | oveq1d 7270 |
. . 3
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → ((𝐴 · 𝐵) /L 𝑁) = (0 /L 𝑁)) |
61 | | simpr 484 |
. . . . 5
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → 𝐴 = 0) |
62 | 61 | oveq1d 7270 |
. . . 4
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → (𝐴 /L 𝑁) = (0 /L
𝑁)) |
63 | 62 | oveq1d 7270 |
. . 3
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → ((𝐴 /L 𝑁) · (𝐵 /L 𝑁)) = ((0 /L 𝑁) · (𝐵 /L 𝑁))) |
64 | 54, 60, 63 | 3eqtr4d 2788 |
. 2
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐴 = 0) → ((𝐴 · 𝐵) /L 𝑁) = ((𝐴 /L 𝑁) · (𝐵 /L 𝑁))) |
65 | | oveq1 7262 |
. . . . . . 7
⊢ (𝑥 = 𝐴 → (𝑥 /L 𝑁) = (𝐴 /L 𝑁)) |
66 | 65 | oveq1d 7270 |
. . . . . 6
⊢ (𝑥 = 𝐴 → ((𝑥 /L 𝑁) · (0 /L 𝑁)) = ((𝐴 /L 𝑁) · (0 /L 𝑁))) |
67 | 66 | eqeq2d 2749 |
. . . . 5
⊢ (𝑥 = 𝐴 → ((0 /L 𝑁) = ((𝑥 /L 𝑁) · (0 /L 𝑁)) ↔ (0
/L 𝑁) =
((𝐴 /L
𝑁) · (0
/L 𝑁)))) |
68 | | simp1 1134 |
. . . . 5
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ 𝐴 ∈
ℤ) |
69 | 67, 41, 68 | rspcdva 3554 |
. . . 4
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ (0 /L 𝑁) = ((𝐴 /L 𝑁) · (0 /L 𝑁))) |
70 | 69 | adantr 480 |
. . 3
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐵 = 0) → (0
/L 𝑁) =
((𝐴 /L
𝑁) · (0
/L 𝑁))) |
71 | | oveq2 7263 |
. . . . 5
⊢ (𝐵 = 0 → (𝐴 · 𝐵) = (𝐴 · 0)) |
72 | 68 | zcnd 12356 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ 𝐴 ∈
ℂ) |
73 | 72 | mul01d 11104 |
. . . . 5
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ (𝐴 · 0) =
0) |
74 | 71, 73 | sylan9eqr 2801 |
. . . 4
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐵 = 0) → (𝐴 · 𝐵) = 0) |
75 | 74 | oveq1d 7270 |
. . 3
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐵 = 0) → ((𝐴 · 𝐵) /L 𝑁) = (0 /L 𝑁)) |
76 | | simpr 484 |
. . . . 5
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐵 = 0) → 𝐵 = 0) |
77 | 76 | oveq1d 7270 |
. . . 4
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐵 = 0) → (𝐵 /L 𝑁) = (0 /L
𝑁)) |
78 | 77 | oveq2d 7271 |
. . 3
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐵 = 0) → ((𝐴 /L 𝑁) · (𝐵 /L 𝑁)) = ((𝐴 /L 𝑁) · (0 /L 𝑁))) |
79 | 70, 75, 78 | 3eqtr4d 2788 |
. 2
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ 𝐵 = 0) → ((𝐴 · 𝐵) /L 𝑁) = ((𝐴 /L 𝑁) · (𝐵 /L 𝑁))) |
80 | | lgsdir 26385 |
. . 3
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ (𝐴 ≠ 0 ∧ 𝐵 ≠ 0)) → ((𝐴 · 𝐵) /L 𝑁) = ((𝐴 /L 𝑁) · (𝐵 /L 𝑁))) |
81 | 5, 80 | syl3anl3 1412 |
. 2
⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
∧ (𝐴 ≠ 0 ∧ 𝐵 ≠ 0)) → ((𝐴 · 𝐵) /L 𝑁) = ((𝐴 /L 𝑁) · (𝐵 /L 𝑁))) |
82 | 64, 79, 81 | pm2.61da2ne 3032 |
1
⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ0)
→ ((𝐴 · 𝐵) /L 𝑁) = ((𝐴 /L 𝑁) · (𝐵 /L 𝑁))) |