Step | Hyp | Ref
| Expression |
1 | | 2re 11977 |
. . . . . . . . . 10
⊢ 2 ∈
ℝ |
2 | 1 | a1i 11 |
. . . . . . . . 9
⊢ (𝜑 → 2 ∈
ℝ) |
3 | | 2pos 12006 |
. . . . . . . . . 10
⊢ 0 <
2 |
4 | 3 | a1i 11 |
. . . . . . . . 9
⊢ (𝜑 → 0 < 2) |
5 | | aks4d1p9.1 |
. . . . . . . . . . 11
⊢ (𝜑 → 𝑁 ∈
(ℤ≥‘3)) |
6 | | eluzelz 12521 |
. . . . . . . . . . 11
⊢ (𝑁 ∈
(ℤ≥‘3) → 𝑁 ∈ ℤ) |
7 | 5, 6 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑁 ∈ ℤ) |
8 | 7 | zred 12355 |
. . . . . . . . 9
⊢ (𝜑 → 𝑁 ∈ ℝ) |
9 | | 0red 10909 |
. . . . . . . . . 10
⊢ (𝜑 → 0 ∈
ℝ) |
10 | | 3re 11983 |
. . . . . . . . . . 11
⊢ 3 ∈
ℝ |
11 | 10 | a1i 11 |
. . . . . . . . . 10
⊢ (𝜑 → 3 ∈
ℝ) |
12 | | 3pos 12008 |
. . . . . . . . . . 11
⊢ 0 <
3 |
13 | 12 | a1i 11 |
. . . . . . . . . 10
⊢ (𝜑 → 0 < 3) |
14 | | eluzle 12524 |
. . . . . . . . . . 11
⊢ (𝑁 ∈
(ℤ≥‘3) → 3 ≤ 𝑁) |
15 | 5, 14 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → 3 ≤ 𝑁) |
16 | 9, 11, 8, 13, 15 | ltletrd 11065 |
. . . . . . . . 9
⊢ (𝜑 → 0 < 𝑁) |
17 | | 1red 10907 |
. . . . . . . . . . 11
⊢ (𝜑 → 1 ∈
ℝ) |
18 | | 1lt2 12074 |
. . . . . . . . . . . 12
⊢ 1 <
2 |
19 | 18 | a1i 11 |
. . . . . . . . . . 11
⊢ (𝜑 → 1 < 2) |
20 | 17, 19 | ltned 11041 |
. . . . . . . . . 10
⊢ (𝜑 → 1 ≠ 2) |
21 | 20 | necomd 2998 |
. . . . . . . . 9
⊢ (𝜑 → 2 ≠ 1) |
22 | 2, 4, 8, 16, 21 | relogbcld 39908 |
. . . . . . . 8
⊢ (𝜑 → (2 logb 𝑁) ∈
ℝ) |
23 | 22 | resqcld 13893 |
. . . . . . 7
⊢ (𝜑 → ((2 logb 𝑁)↑2) ∈
ℝ) |
24 | | aks4d1p9.2 |
. . . . . . . . . . . . 13
⊢ 𝐴 = ((𝑁↑(⌊‘(2 logb
𝐵))) · ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1)) |
25 | | aks4d1p9.3 |
. . . . . . . . . . . . 13
⊢ 𝐵 = (⌈‘((2
logb 𝑁)↑5)) |
26 | | aks4d1p9.4 |
. . . . . . . . . . . . 13
⊢ 𝑅 = inf({𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}, ℝ, < ) |
27 | 5, 24, 25, 26 | aks4d1p4 40015 |
. . . . . . . . . . . 12
⊢ (𝜑 → (𝑅 ∈ (1...𝐵) ∧ ¬ 𝑅 ∥ 𝐴)) |
28 | 27 | simpld 494 |
. . . . . . . . . . 11
⊢ (𝜑 → 𝑅 ∈ (1...𝐵)) |
29 | | elfznn 13214 |
. . . . . . . . . . 11
⊢ (𝑅 ∈ (1...𝐵) → 𝑅 ∈ ℕ) |
30 | 28, 29 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑅 ∈ ℕ) |
31 | 5, 24, 25, 26 | aks4d1p8 40023 |
. . . . . . . . . 10
⊢ (𝜑 → (𝑁 gcd 𝑅) = 1) |
32 | 30, 7, 31 | 3jca 1126 |
. . . . . . . . 9
⊢ (𝜑 → (𝑅 ∈ ℕ ∧ 𝑁 ∈ ℤ ∧ (𝑁 gcd 𝑅) = 1)) |
33 | | odzcl 16422 |
. . . . . . . . 9
⊢ ((𝑅 ∈ ℕ ∧ 𝑁 ∈ ℤ ∧ (𝑁 gcd 𝑅) = 1) →
((odℤ‘𝑅)‘𝑁) ∈ ℕ) |
34 | 32, 33 | syl 17 |
. . . . . . . 8
⊢ (𝜑 →
((odℤ‘𝑅)‘𝑁) ∈ ℕ) |
35 | 34 | nnzd 12354 |
. . . . . . 7
⊢ (𝜑 →
((odℤ‘𝑅)‘𝑁) ∈ ℤ) |
36 | | flge 13453 |
. . . . . . 7
⊢ ((((2
logb 𝑁)↑2)
∈ ℝ ∧ ((odℤ‘𝑅)‘𝑁) ∈ ℤ) →
(((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2) ↔
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2)))) |
37 | 23, 35, 36 | syl2anc 583 |
. . . . . 6
⊢ (𝜑 →
(((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2) ↔
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2)))) |
38 | 37 | biimpd 228 |
. . . . 5
⊢ (𝜑 →
(((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2) →
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2)))) |
39 | 38 | imp 406 |
. . . 4
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2)) →
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) |
40 | 30 | nnzd 12354 |
. . . . . . . . 9
⊢ (𝜑 → 𝑅 ∈ ℤ) |
41 | 40 | adantr 480 |
. . . . . . . 8
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 𝑅 ∈
ℤ) |
42 | 7 | adantr 480 |
. . . . . . . . . 10
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 𝑁 ∈
ℤ) |
43 | 34 | nnnn0d 12223 |
. . . . . . . . . . 11
⊢ (𝜑 →
((odℤ‘𝑅)‘𝑁) ∈
ℕ0) |
44 | 43 | adantr 480 |
. . . . . . . . . 10
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
((odℤ‘𝑅)‘𝑁) ∈
ℕ0) |
45 | 42, 44 | zexpcld 13736 |
. . . . . . . . 9
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → (𝑁↑((odℤ‘𝑅)‘𝑁)) ∈ ℤ) |
46 | | 1zzd 12281 |
. . . . . . . . 9
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 1
∈ ℤ) |
47 | 45, 46 | zsubcld 12360 |
. . . . . . . 8
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1) ∈
ℤ) |
48 | 5, 25 | aks4d1lem1 39998 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → (𝐵 ∈ ℕ ∧ 9 < 𝐵)) |
49 | 48 | simpld 494 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝐵 ∈ ℕ) |
50 | 49 | nnred 11918 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 𝐵 ∈ ℝ) |
51 | 49 | nngt0d 11952 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 0 < 𝐵) |
52 | 2, 4, 50, 51, 21 | relogbcld 39908 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (2 logb 𝐵) ∈
ℝ) |
53 | 52 | flcld 13446 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (⌊‘(2
logb 𝐵)) ∈
ℤ) |
54 | | 2cnd 11981 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 2 ∈
ℂ) |
55 | 9, 4 | gtned 11040 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 2 ≠ 0) |
56 | 54, 55, 21 | 3jca 1126 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → (2 ∈ ℂ ∧ 2
≠ 0 ∧ 2 ≠ 1)) |
57 | | logb1 25824 |
. . . . . . . . . . . . . . . . 17
⊢ ((2
∈ ℂ ∧ 2 ≠ 0 ∧ 2 ≠ 1) → (2 logb 1) =
0) |
58 | 56, 57 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (2 logb 1) =
0) |
59 | | 2z 12282 |
. . . . . . . . . . . . . . . . . 18
⊢ 2 ∈
ℤ |
60 | 59 | a1i 11 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 2 ∈
ℤ) |
61 | 2 | leidd 11471 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 2 ≤ 2) |
62 | | 0lt1 11427 |
. . . . . . . . . . . . . . . . . 18
⊢ 0 <
1 |
63 | 62 | a1i 11 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 0 < 1) |
64 | 49 | nnge1d 11951 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 1 ≤ 𝐵) |
65 | 60, 61, 17, 63, 50, 51, 64 | logblebd 39911 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (2 logb 1) ≤
(2 logb 𝐵)) |
66 | 58, 65 | eqbrtrrd 5094 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 0 ≤ (2 logb
𝐵)) |
67 | | 0zd 12261 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 0 ∈
ℤ) |
68 | | flge 13453 |
. . . . . . . . . . . . . . . 16
⊢ (((2
logb 𝐵) ∈
ℝ ∧ 0 ∈ ℤ) → (0 ≤ (2 logb 𝐵) ↔ 0 ≤
(⌊‘(2 logb 𝐵)))) |
69 | 52, 67, 68 | syl2anc 583 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (0 ≤ (2 logb
𝐵) ↔ 0 ≤
(⌊‘(2 logb 𝐵)))) |
70 | 66, 69 | mpbid 231 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 0 ≤ (⌊‘(2
logb 𝐵))) |
71 | 53, 70 | jca 511 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((⌊‘(2
logb 𝐵)) ∈
ℤ ∧ 0 ≤ (⌊‘(2 logb 𝐵)))) |
72 | | elnn0z 12262 |
. . . . . . . . . . . . 13
⊢
((⌊‘(2 logb 𝐵)) ∈ ℕ0 ↔
((⌊‘(2 logb 𝐵)) ∈ ℤ ∧ 0 ≤
(⌊‘(2 logb 𝐵)))) |
73 | 71, 72 | sylibr 233 |
. . . . . . . . . . . 12
⊢ (𝜑 → (⌊‘(2
logb 𝐵)) ∈
ℕ0) |
74 | 7, 73 | zexpcld 13736 |
. . . . . . . . . . 11
⊢ (𝜑 → (𝑁↑(⌊‘(2 logb
𝐵))) ∈
ℤ) |
75 | | fzfid 13621 |
. . . . . . . . . . . 12
⊢ (𝜑 → (1...(⌊‘((2
logb 𝑁)↑2))) ∈ Fin) |
76 | 7 | adantr 480 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑁 ∈ ℤ) |
77 | | elfznn 13214 |
. . . . . . . . . . . . . . . 16
⊢ (𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) → 𝑘 ∈ ℕ) |
78 | 77 | nnnn0d 12223 |
. . . . . . . . . . . . . . 15
⊢ (𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) → 𝑘 ∈ ℕ0) |
79 | 78 | adantl 481 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑘 ∈ ℕ0) |
80 | 76, 79 | zexpcld 13736 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → (𝑁↑𝑘) ∈ ℤ) |
81 | | 1zzd 12281 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 1 ∈
ℤ) |
82 | 80, 81 | zsubcld 12360 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → ((𝑁↑𝑘) − 1) ∈ ℤ) |
83 | 75, 82 | fprodzcl 15592 |
. . . . . . . . . . 11
⊢ (𝜑 → ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1) ∈ ℤ) |
84 | 74, 83 | zmulcld 12361 |
. . . . . . . . . 10
⊢ (𝜑 → ((𝑁↑(⌊‘(2 logb
𝐵))) · ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1)) ∈
ℤ) |
85 | 24 | a1i 11 |
. . . . . . . . . . 11
⊢ (𝜑 → 𝐴 = ((𝑁↑(⌊‘(2 logb
𝐵))) · ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1))) |
86 | 85 | eleq1d 2823 |
. . . . . . . . . 10
⊢ (𝜑 → (𝐴 ∈ ℤ ↔ ((𝑁↑(⌊‘(2 logb
𝐵))) · ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1)) ∈
ℤ)) |
87 | 84, 86 | mpbird 256 |
. . . . . . . . 9
⊢ (𝜑 → 𝐴 ∈ ℤ) |
88 | 87 | adantr 480 |
. . . . . . . 8
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 𝐴 ∈
ℤ) |
89 | | iddvds 15907 |
. . . . . . . . . . 11
⊢
(((odℤ‘𝑅)‘𝑁) ∈ ℤ →
((odℤ‘𝑅)‘𝑁) ∥ ((odℤ‘𝑅)‘𝑁)) |
90 | 35, 89 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 →
((odℤ‘𝑅)‘𝑁) ∥ ((odℤ‘𝑅)‘𝑁)) |
91 | | odzdvds 16424 |
. . . . . . . . . . 11
⊢ (((𝑅 ∈ ℕ ∧ 𝑁 ∈ ℤ ∧ (𝑁 gcd 𝑅) = 1) ∧
((odℤ‘𝑅)‘𝑁) ∈ ℕ0) → (𝑅 ∥ ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1) ↔
((odℤ‘𝑅)‘𝑁) ∥ ((odℤ‘𝑅)‘𝑁))) |
92 | 32, 43, 91 | syl2anc 583 |
. . . . . . . . . 10
⊢ (𝜑 → (𝑅 ∥ ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1) ↔
((odℤ‘𝑅)‘𝑁) ∥ ((odℤ‘𝑅)‘𝑁))) |
93 | 90, 92 | mpbird 256 |
. . . . . . . . 9
⊢ (𝜑 → 𝑅 ∥ ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1)) |
94 | 93 | adantr 480 |
. . . . . . . 8
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 𝑅 ∥ ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1)) |
95 | 73 | adantr 480 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
(⌊‘(2 logb 𝐵)) ∈
ℕ0) |
96 | 42, 95 | zexpcld 13736 |
. . . . . . . . . 10
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → (𝑁↑(⌊‘(2
logb 𝐵))) ∈
ℤ) |
97 | | fzfid 13621 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
(1...(⌊‘((2 logb 𝑁)↑2))) ∈ Fin) |
98 | 42 | adantr 480 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑁 ∈ ℤ) |
99 | 77 | adantl 481 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑘 ∈ ℕ) |
100 | 99 | nnnn0d 12223 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑘 ∈ ℕ0) |
101 | 98, 100 | zexpcld 13736 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → (𝑁↑𝑘) ∈ ℤ) |
102 | | 1zzd 12281 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 1 ∈
ℤ) |
103 | 101, 102 | zsubcld 12360 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → ((𝑁↑𝑘) − 1) ∈ ℤ) |
104 | 97, 103 | fprodzcl 15592 |
. . . . . . . . . 10
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
∏𝑘 ∈
(1...(⌊‘((2 logb 𝑁)↑2)))((𝑁↑𝑘) − 1) ∈ ℤ) |
105 | | fveq2 6756 |
. . . . . . . . . . . . 13
⊢ (𝑧 =
((odℤ‘𝑅)‘𝑁) → ((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑧) = ((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) −
1))‘((odℤ‘𝑅)‘𝑁))) |
106 | 105 | breq1d 5080 |
. . . . . . . . . . . 12
⊢ (𝑧 =
((odℤ‘𝑅)‘𝑁) → (((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑧) ∥ ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑘) ↔ ((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) −
1))‘((odℤ‘𝑅)‘𝑁)) ∥ ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑘))) |
107 | | ssidd 3940 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (1...(⌊‘((2
logb 𝑁)↑2))) ⊆ (1...(⌊‘((2
logb 𝑁)↑2)))) |
108 | 7 | adantr 480 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ 𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑁 ∈ ℤ) |
109 | | elfznn 13214 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) → 𝑥 ∈ ℕ) |
110 | 109 | adantl 481 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ 𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑥 ∈ ℕ) |
111 | 110 | nnnn0d 12223 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ 𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑥 ∈ ℕ0) |
112 | 108, 111 | zexpcld 13736 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → (𝑁↑𝑥) ∈ ℤ) |
113 | | 1zzd 12281 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 1 ∈
ℤ) |
114 | 112, 113 | zsubcld 12360 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → ((𝑁↑𝑥) − 1) ∈ ℤ) |
115 | 114 | fmpttd 6971 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1)):(1...(⌊‘((2
logb 𝑁)↑2)))⟶ℤ) |
116 | 75, 107, 115 | fprodfvdvdsd 15971 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ∀𝑧 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑧) ∥ ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑘)) |
117 | 116 | adantr 480 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
∀𝑧 ∈
(1...(⌊‘((2 logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑧) ∥ ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑘)) |
118 | 22 | adantr 480 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → (2
logb 𝑁) ∈
ℝ) |
119 | 118 | resqcld 13893 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → ((2
logb 𝑁)↑2)
∈ ℝ) |
120 | 119 | flcld 13446 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
(⌊‘((2 logb 𝑁)↑2)) ∈ ℤ) |
121 | 35 | adantr 480 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
((odℤ‘𝑅)‘𝑁) ∈ ℤ) |
122 | 34 | nnge1d 11951 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 1 ≤
((odℤ‘𝑅)‘𝑁)) |
123 | 122 | adantr 480 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 1 ≤
((odℤ‘𝑅)‘𝑁)) |
124 | | simpr 484 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) |
125 | 46, 120, 121, 123, 124 | elfzd 13176 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
((odℤ‘𝑅)‘𝑁) ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) |
126 | 106, 117,
125 | rspcdva 3554 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → ((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) −
1))‘((odℤ‘𝑅)‘𝑁)) ∥ ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑘)) |
127 | | eqidd 2739 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → (𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1)) = (𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))) |
128 | | simpr 484 |
. . . . . . . . . . . . . . 15
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑥 =
((odℤ‘𝑅)‘𝑁)) → 𝑥 = ((odℤ‘𝑅)‘𝑁)) |
129 | 128 | oveq2d 7271 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑥 =
((odℤ‘𝑅)‘𝑁)) → (𝑁↑𝑥) = (𝑁↑((odℤ‘𝑅)‘𝑁))) |
130 | 129 | oveq1d 7270 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑥 =
((odℤ‘𝑅)‘𝑁)) → ((𝑁↑𝑥) − 1) = ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1)) |
131 | 127, 130,
125, 47 | fvmptd 6864 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → ((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) −
1))‘((odℤ‘𝑅)‘𝑁)) = ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1)) |
132 | | eqidd 2739 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → (𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1)) = (𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))) |
133 | | simpr 484 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) ∧ 𝑥 = 𝑘) → 𝑥 = 𝑘) |
134 | 133 | oveq2d 7271 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) ∧ 𝑥 = 𝑘) → (𝑁↑𝑥) = (𝑁↑𝑘)) |
135 | 134 | oveq1d 7270 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) ∧ 𝑥 = 𝑘) → ((𝑁↑𝑥) − 1) = ((𝑁↑𝑘) − 1)) |
136 | | simpr 484 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) |
137 | 132, 135,
136, 103 | fvmptd 6864 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) ∧ 𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))) → ((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑘) = ((𝑁↑𝑘) − 1)) |
138 | 137 | prodeq2dv 15561 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
∏𝑘 ∈
(1...(⌊‘((2 logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑘) = ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1)) |
139 | 131, 138 | breq12d 5083 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) →
(((𝑥 ∈
(1...(⌊‘((2 logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) −
1))‘((odℤ‘𝑅)‘𝑁)) ∥ ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑥 ∈ (1...(⌊‘((2
logb 𝑁)↑2))) ↦ ((𝑁↑𝑥) − 1))‘𝑘) ↔ ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1) ∥ ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1))) |
140 | 126, 139 | mpbid 231 |
. . . . . . . . . 10
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1) ∥ ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1)) |
141 | 47, 96, 104, 140 | dvdsmultr2d 15936 |
. . . . . . . . 9
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1) ∥ ((𝑁↑(⌊‘(2 logb
𝐵))) · ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1))) |
142 | 24 | a1i 11 |
. . . . . . . . 9
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 𝐴 = ((𝑁↑(⌊‘(2 logb
𝐵))) · ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1))) |
143 | 141, 142 | breqtrrd 5098 |
. . . . . . . 8
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → ((𝑁↑((odℤ‘𝑅)‘𝑁)) − 1) ∥ 𝐴) |
144 | 41, 47, 88, 94, 143 | dvdstrd 15932 |
. . . . . . 7
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 𝑅 ∥ 𝐴) |
145 | 144 | ex 412 |
. . . . . 6
⊢ (𝜑 →
(((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2)) → 𝑅 ∥ 𝐴)) |
146 | 145 | adantr 480 |
. . . . 5
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2)) →
(((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2)) → 𝑅 ∥ 𝐴)) |
147 | 146 | imp 406 |
. . . 4
⊢ (((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2)) ∧
((odℤ‘𝑅)‘𝑁) ≤ (⌊‘((2 logb
𝑁)↑2))) → 𝑅 ∥ 𝐴) |
148 | 39, 147 | mpdan 683 |
. . 3
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2)) → 𝑅 ∥ 𝐴) |
149 | 27 | simprd 495 |
. . . 4
⊢ (𝜑 → ¬ 𝑅 ∥ 𝐴) |
150 | 149 | adantr 480 |
. . 3
⊢ ((𝜑 ∧
((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2)) → ¬ 𝑅 ∥ 𝐴) |
151 | 148, 150 | pm2.65da 813 |
. 2
⊢ (𝜑 → ¬
((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2)) |
152 | 34 | nnred 11918 |
. . 3
⊢ (𝜑 →
((odℤ‘𝑅)‘𝑁) ∈ ℝ) |
153 | 23, 152 | ltnled 11052 |
. 2
⊢ (𝜑 → (((2 logb 𝑁)↑2) <
((odℤ‘𝑅)‘𝑁) ↔ ¬
((odℤ‘𝑅)‘𝑁) ≤ ((2 logb 𝑁)↑2))) |
154 | 151, 153 | mpbird 256 |
1
⊢ (𝜑 → ((2 logb 𝑁)↑2) <
((odℤ‘𝑅)‘𝑁)) |