Step | Hyp | Ref
| Expression |
1 | | simpr 485 |
. . . 4
⊢ (((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) ∧ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) → 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) |
2 | | aks4d1p5.1 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑁 ∈
(ℤ≥‘3)) |
3 | | aks4d1p5.2 |
. . . . . . . . . . . . . 14
⊢ 𝐴 = ((𝑁↑(⌊‘(2 logb
𝐵))) · ∏𝑘 ∈ (1...(⌊‘((2
logb 𝑁)↑2)))((𝑁↑𝑘) − 1)) |
4 | | aks4d1p5.3 |
. . . . . . . . . . . . . 14
⊢ 𝐵 = (⌈‘((2
logb 𝑁)↑5)) |
5 | | aks4d1p5.4 |
. . . . . . . . . . . . . 14
⊢ 𝑅 = inf({𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}, ℝ, < ) |
6 | 2, 3, 4, 5 | aks4d1p4 40095 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (𝑅 ∈ (1...𝐵) ∧ ¬ 𝑅 ∥ 𝐴)) |
7 | 6 | simpld 495 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝑅 ∈ (1...𝐵)) |
8 | | elfznn 13295 |
. . . . . . . . . . . 12
⊢ (𝑅 ∈ (1...𝐵) → 𝑅 ∈ ℕ) |
9 | 7, 8 | syl 17 |
. . . . . . . . . . 11
⊢ (𝜑 → 𝑅 ∈ ℕ) |
10 | 9 | nnred 11998 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑅 ∈ ℝ) |
11 | | eluzelz 12602 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈
(ℤ≥‘3) → 𝑁 ∈ ℤ) |
12 | 2, 11 | syl 17 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑁 ∈ ℤ) |
13 | | 0red 10988 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 0 ∈
ℝ) |
14 | | 3re 12063 |
. . . . . . . . . . . . . . . 16
⊢ 3 ∈
ℝ |
15 | 14 | a1i 11 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 3 ∈
ℝ) |
16 | 12 | zred 12436 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑁 ∈ ℝ) |
17 | | 3pos 12088 |
. . . . . . . . . . . . . . . 16
⊢ 0 <
3 |
18 | 17 | a1i 11 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 0 < 3) |
19 | | eluzle 12605 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈
(ℤ≥‘3) → 3 ≤ 𝑁) |
20 | 2, 19 | syl 17 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 3 ≤ 𝑁) |
21 | 13, 15, 16, 18, 20 | ltletrd 11145 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 0 < 𝑁) |
22 | 12, 21 | jca 512 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (𝑁 ∈ ℤ ∧ 0 < 𝑁)) |
23 | | elnnz 12339 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ ↔ (𝑁 ∈ ℤ ∧ 0 <
𝑁)) |
24 | 22, 23 | sylibr 233 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝑁 ∈ ℕ) |
25 | | gcdnncl 16224 |
. . . . . . . . . . . 12
⊢ ((𝑁 ∈ ℕ ∧ 𝑅 ∈ ℕ) → (𝑁 gcd 𝑅) ∈ ℕ) |
26 | 24, 9, 25 | syl2anc 584 |
. . . . . . . . . . 11
⊢ (𝜑 → (𝑁 gcd 𝑅) ∈ ℕ) |
27 | 26 | nnred 11998 |
. . . . . . . . . 10
⊢ (𝜑 → (𝑁 gcd 𝑅) ∈ ℝ) |
28 | 26 | nnne0d 12033 |
. . . . . . . . . 10
⊢ (𝜑 → (𝑁 gcd 𝑅) ≠ 0) |
29 | 10, 27, 28 | redivcld 11813 |
. . . . . . . . 9
⊢ (𝜑 → (𝑅 / (𝑁 gcd 𝑅)) ∈ ℝ) |
30 | 29 | adantr 481 |
. . . . . . . 8
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) ∈ ℝ) |
31 | 10 | adantr 481 |
. . . . . . . 8
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ∈ ℝ) |
32 | 30, 31 | ltnled 11132 |
. . . . . . 7
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → ((𝑅 / (𝑁 gcd 𝑅)) < 𝑅 ↔ ¬ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅)))) |
33 | 32 | biimprd 247 |
. . . . . 6
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (¬ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) < 𝑅)) |
34 | 33 | imp 407 |
. . . . 5
⊢ (((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) ∧ ¬ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) → (𝑅 / (𝑁 gcd 𝑅)) < 𝑅) |
35 | 5 | a1i 11 |
. . . . . . . 8
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 = inf({𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}, ℝ, < )) |
36 | | ssrab2 4012 |
. . . . . . . . . . . 12
⊢ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ⊆ (1...𝐵) |
37 | 36 | a1i 11 |
. . . . . . . . . . 11
⊢ (𝜑 → {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ⊆ (1...𝐵)) |
38 | | elfznn 13295 |
. . . . . . . . . . . . . . 15
⊢ (𝑜 ∈ (1...𝐵) → 𝑜 ∈ ℕ) |
39 | 38 | adantl 482 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑜 ∈ (1...𝐵)) → 𝑜 ∈ ℕ) |
40 | 39 | nnred 11998 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑜 ∈ (1...𝐵)) → 𝑜 ∈ ℝ) |
41 | 40 | ex 413 |
. . . . . . . . . . . 12
⊢ (𝜑 → (𝑜 ∈ (1...𝐵) → 𝑜 ∈ ℝ)) |
42 | 41 | ssrdv 3926 |
. . . . . . . . . . 11
⊢ (𝜑 → (1...𝐵) ⊆ ℝ) |
43 | 37, 42 | sstrd 3930 |
. . . . . . . . . 10
⊢ (𝜑 → {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ⊆ ℝ) |
44 | 43 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ⊆ ℝ) |
45 | | fzfid 13703 |
. . . . . . . . . . . 12
⊢ (𝜑 → (1...𝐵) ∈ Fin) |
46 | 45, 37 | ssfid 9029 |
. . . . . . . . . . 11
⊢ (𝜑 → {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ∈ Fin) |
47 | 46 | adantr 481 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ∈ Fin) |
48 | 2, 3, 4 | aks4d1p3 40094 |
. . . . . . . . . . . 12
⊢ (𝜑 → ∃𝑟 ∈ (1...𝐵) ¬ 𝑟 ∥ 𝐴) |
49 | | rabn0 4319 |
. . . . . . . . . . . 12
⊢ ({𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ≠ ∅ ↔ ∃𝑟 ∈ (1...𝐵) ¬ 𝑟 ∥ 𝐴) |
50 | 48, 49 | sylibr 233 |
. . . . . . . . . . 11
⊢ (𝜑 → {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ≠ ∅) |
51 | 50 | adantr 481 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ≠ ∅) |
52 | | fiminre 11932 |
. . . . . . . . . 10
⊢ (({𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ⊆ ℝ ∧ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ∈ Fin ∧ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ≠ ∅) → ∃𝑥 ∈ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}∀𝑦 ∈ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}𝑥 ≤ 𝑦) |
53 | 44, 47, 51, 52 | syl3anc 1370 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → ∃𝑥 ∈ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}∀𝑦 ∈ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}𝑥 ≤ 𝑦) |
54 | | breq1 5076 |
. . . . . . . . . . 11
⊢ (𝑟 = (𝑅 / (𝑁 gcd 𝑅)) → (𝑟 ∥ 𝐴 ↔ (𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴)) |
55 | 54 | notbid 318 |
. . . . . . . . . 10
⊢ (𝑟 = (𝑅 / (𝑁 gcd 𝑅)) → (¬ 𝑟 ∥ 𝐴 ↔ ¬ (𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴)) |
56 | | 1zzd 12361 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 1 ∈ ℤ) |
57 | 4 | a1i 11 |
. . . . . . . . . . . . 13
⊢ (𝜑 → 𝐵 = (⌈‘((2 logb 𝑁)↑5))) |
58 | | 2re 12057 |
. . . . . . . . . . . . . . . . 17
⊢ 2 ∈
ℝ |
59 | 58 | a1i 11 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 2 ∈
ℝ) |
60 | | 2pos 12086 |
. . . . . . . . . . . . . . . . 17
⊢ 0 <
2 |
61 | 60 | a1i 11 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 0 < 2) |
62 | | 1red 10986 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 1 ∈
ℝ) |
63 | | 1lt2 12154 |
. . . . . . . . . . . . . . . . . . 19
⊢ 1 <
2 |
64 | 63 | a1i 11 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 1 < 2) |
65 | 62, 64 | ltned 11121 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 1 ≠ 2) |
66 | 65 | necomd 2999 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 2 ≠ 1) |
67 | 59, 61, 16, 21, 66 | relogbcld 39989 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (2 logb 𝑁) ∈
ℝ) |
68 | | 5nn0 12263 |
. . . . . . . . . . . . . . . 16
⊢ 5 ∈
ℕ0 |
69 | 68 | a1i 11 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 5 ∈
ℕ0) |
70 | 67, 69 | reexpcld 13891 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2 logb 𝑁)↑5) ∈
ℝ) |
71 | | ceilcl 13572 |
. . . . . . . . . . . . . 14
⊢ (((2
logb 𝑁)↑5)
∈ ℝ → (⌈‘((2 logb 𝑁)↑5)) ∈ ℤ) |
72 | 70, 71 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (⌈‘((2
logb 𝑁)↑5))
∈ ℤ) |
73 | 57, 72 | eqeltrd 2839 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝐵 ∈ ℤ) |
74 | 73 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝐵 ∈ ℤ) |
75 | 24 | nnzd 12435 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑁 ∈ ℤ) |
76 | | divgcdnnr 16233 |
. . . . . . . . . . . . . 14
⊢ ((𝑅 ∈ ℕ ∧ 𝑁 ∈ ℤ) → (𝑅 / (𝑁 gcd 𝑅)) ∈ ℕ) |
77 | 9, 75, 76 | syl2anc 584 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (𝑅 / (𝑁 gcd 𝑅)) ∈ ℕ) |
78 | 77 | adantr 481 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) ∈ ℕ) |
79 | 78 | nnzd 12435 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) ∈ ℤ) |
80 | 78 | nnge1d 12031 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 1 ≤ (𝑅 / (𝑁 gcd 𝑅))) |
81 | 74 | zred 12436 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝐵 ∈ ℝ) |
82 | 9 | nnrpd 12780 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑅 ∈
ℝ+) |
83 | 82 | adantr 481 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ∈
ℝ+) |
84 | 26 | nnrpd 12780 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (𝑁 gcd 𝑅) ∈
ℝ+) |
85 | 84 | adantr 481 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑁 gcd 𝑅) ∈
ℝ+) |
86 | 31 | recnd 11013 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ∈ ℂ) |
87 | 83 | rpne0d 12787 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ≠ 0) |
88 | 86, 87 | dividd 11759 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / 𝑅) = 1) |
89 | | simpr 485 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 1 < (𝑁 gcd 𝑅)) |
90 | 88, 89 | eqbrtrd 5095 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / 𝑅) < (𝑁 gcd 𝑅)) |
91 | 31, 83, 85, 90 | ltdiv23d 12849 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) < 𝑅) |
92 | 30, 31, 91 | ltled 11133 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) ≤ 𝑅) |
93 | | elfzle2 13270 |
. . . . . . . . . . . . . 14
⊢ (𝑅 ∈ (1...𝐵) → 𝑅 ≤ 𝐵) |
94 | 7, 93 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝜑 → 𝑅 ≤ 𝐵) |
95 | 94 | adantr 481 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ≤ 𝐵) |
96 | 30, 31, 81, 92, 95 | letrd 11142 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) ≤ 𝐵) |
97 | 56, 74, 79, 80, 96 | elfzd 13257 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) ∈ (1...𝐵)) |
98 | | aks4d1p5.5 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) ∧ (𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴) → ¬ (𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴) |
99 | | simpr 485 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) ∧ ¬ (𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴) → ¬ (𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴) |
100 | | exmidd 893 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → ((𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴 ∨ ¬ (𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴)) |
101 | 98, 99, 100 | mpjaodan 956 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → ¬ (𝑅 / (𝑁 gcd 𝑅)) ∥ 𝐴) |
102 | 55, 97, 101 | elrabd 3625 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) ∈ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}) |
103 | | lbinfle 11940 |
. . . . . . . . 9
⊢ (({𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴} ⊆ ℝ ∧ ∃𝑥 ∈ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}∀𝑦 ∈ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}𝑥 ≤ 𝑦 ∧ (𝑅 / (𝑁 gcd 𝑅)) ∈ {𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}) → inf({𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}, ℝ, < ) ≤ (𝑅 / (𝑁 gcd 𝑅))) |
104 | 44, 53, 102, 103 | syl3anc 1370 |
. . . . . . . 8
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → inf({𝑟 ∈ (1...𝐵) ∣ ¬ 𝑟 ∥ 𝐴}, ℝ, < ) ≤ (𝑅 / (𝑁 gcd 𝑅))) |
105 | 35, 104 | eqbrtrd 5095 |
. . . . . . 7
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) |
106 | 31, 30 | lenltd 11131 |
. . . . . . 7
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅)) ↔ ¬ (𝑅 / (𝑁 gcd 𝑅)) < 𝑅)) |
107 | 105, 106 | mpbid 231 |
. . . . . 6
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → ¬ (𝑅 / (𝑁 gcd 𝑅)) < 𝑅) |
108 | 107 | adantr 481 |
. . . . 5
⊢ (((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) ∧ ¬ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) → ¬ (𝑅 / (𝑁 gcd 𝑅)) < 𝑅) |
109 | 34, 108 | pm2.21dd 194 |
. . . 4
⊢ (((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) ∧ ¬ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) → 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) |
110 | 1, 109 | pm2.61dan 810 |
. . 3
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) |
111 | 82 | rpred 12782 |
. . . . . 6
⊢ (𝜑 → 𝑅 ∈ ℝ) |
112 | 111 | adantr 481 |
. . . . 5
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ∈ ℝ) |
113 | 91, 107 | pm2.21dd 194 |
. . . . . 6
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑁 gcd 𝑅) ∈ ℕ) |
114 | 113 | nnrpd 12780 |
. . . . 5
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑁 gcd 𝑅) ∈
ℝ+) |
115 | 112 | recnd 11013 |
. . . . . . 7
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → 𝑅 ∈ ℂ) |
116 | 115, 87 | dividd 11759 |
. . . . . 6
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / 𝑅) = 1) |
117 | 116, 89 | eqbrtrd 5095 |
. . . . 5
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / 𝑅) < (𝑁 gcd 𝑅)) |
118 | 112, 83, 114, 117 | ltdiv23d 12849 |
. . . 4
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑅 / (𝑁 gcd 𝑅)) < 𝑅) |
119 | 77 | nnred 11998 |
. . . . . 6
⊢ (𝜑 → (𝑅 / (𝑁 gcd 𝑅)) ∈ ℝ) |
120 | 119, 111 | ltnled 11132 |
. . . . 5
⊢ (𝜑 → ((𝑅 / (𝑁 gcd 𝑅)) < 𝑅 ↔ ¬ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅)))) |
121 | 120 | adantr 481 |
. . . 4
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → ((𝑅 / (𝑁 gcd 𝑅)) < 𝑅 ↔ ¬ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅)))) |
122 | 118, 121 | mpbid 231 |
. . 3
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → ¬ 𝑅 ≤ (𝑅 / (𝑁 gcd 𝑅))) |
123 | 110, 122 | pm2.21dd 194 |
. 2
⊢ ((𝜑 ∧ 1 < (𝑁 gcd 𝑅)) → (𝑁 gcd 𝑅) = 1) |
124 | | simpr 485 |
. . 3
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) = 1) → (𝑁 gcd 𝑅) = 1) |
125 | 26 | adantr 481 |
. . . . . . 7
⊢ ((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) → (𝑁 gcd 𝑅) ∈ ℕ) |
126 | 125 | nnred 11998 |
. . . . . 6
⊢ ((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) → (𝑁 gcd 𝑅) ∈ ℝ) |
127 | 126 | adantr 481 |
. . . . 5
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ (𝑁 gcd 𝑅) ∈
ℝ) |
128 | 58 | a1i 11 |
. . . . 5
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ 2 ∈ ℝ) |
129 | | 1red 10986 |
. . . . . 6
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ 1 ∈ ℝ) |
130 | 27, 62 | lenltd 11131 |
. . . . . . . . 9
⊢ (𝜑 → ((𝑁 gcd 𝑅) ≤ 1 ↔ ¬ 1 < (𝑁 gcd 𝑅))) |
131 | 130 | biimprd 247 |
. . . . . . . 8
⊢ (𝜑 → (¬ 1 < (𝑁 gcd 𝑅) → (𝑁 gcd 𝑅) ≤ 1)) |
132 | 131 | imp 407 |
. . . . . . 7
⊢ ((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) → (𝑁 gcd 𝑅) ≤ 1) |
133 | 132 | adantr 481 |
. . . . . 6
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ (𝑁 gcd 𝑅) ≤ 1) |
134 | 63 | a1i 11 |
. . . . . 6
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ 1 < 2) |
135 | 127, 129,
128, 133, 134 | lelttrd 11143 |
. . . . 5
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ (𝑁 gcd 𝑅) < 2) |
136 | | eluzle 12605 |
. . . . . 6
⊢ ((𝑁 gcd 𝑅) ∈ (ℤ≥‘2)
→ 2 ≤ (𝑁 gcd 𝑅)) |
137 | 136 | adantl 482 |
. . . . 5
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ 2 ≤ (𝑁 gcd 𝑅)) |
138 | 127, 128,
127, 135, 137 | ltletrd 11145 |
. . . 4
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ (𝑁 gcd 𝑅) < (𝑁 gcd 𝑅)) |
139 | 127 | ltnrd 11119 |
. . . 4
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ ¬ (𝑁 gcd 𝑅) < (𝑁 gcd 𝑅)) |
140 | 138, 139 | pm2.21dd 194 |
. . 3
⊢ (((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) ∧ (𝑁 gcd 𝑅) ∈ (ℤ≥‘2))
→ (𝑁 gcd 𝑅) = 1) |
141 | | elnn1uz2 12675 |
. . . 4
⊢ ((𝑁 gcd 𝑅) ∈ ℕ ↔ ((𝑁 gcd 𝑅) = 1 ∨ (𝑁 gcd 𝑅) ∈
(ℤ≥‘2))) |
142 | 125, 141 | sylib 217 |
. . 3
⊢ ((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) → ((𝑁 gcd 𝑅) = 1 ∨ (𝑁 gcd 𝑅) ∈
(ℤ≥‘2))) |
143 | 124, 140,
142 | mpjaodan 956 |
. 2
⊢ ((𝜑 ∧ ¬ 1 < (𝑁 gcd 𝑅)) → (𝑁 gcd 𝑅) = 1) |
144 | 123, 143 | pm2.61dan 810 |
1
⊢ (𝜑 → (𝑁 gcd 𝑅) = 1) |