Step | Hyp | Ref
| Expression |
1 | | fzfi 13692 |
. . . . . 6
⊢
(1...𝑁) ∈
Fin |
2 | | prmrec.4 |
. . . . . . 7
⊢ 𝑀 = {𝑛 ∈ (1...𝑁) ∣ ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ 𝑛} |
3 | 2 | ssrab3 4015 |
. . . . . 6
⊢ 𝑀 ⊆ (1...𝑁) |
4 | | ssfi 8956 |
. . . . . 6
⊢
(((1...𝑁) ∈ Fin
∧ 𝑀 ⊆ (1...𝑁)) → 𝑀 ∈ Fin) |
5 | 1, 3, 4 | mp2an 689 |
. . . . 5
⊢ 𝑀 ∈ Fin |
6 | | hashcl 14071 |
. . . . 5
⊢ (𝑀 ∈ Fin →
(♯‘𝑀) ∈
ℕ0) |
7 | 5, 6 | ax-mp 5 |
. . . 4
⊢
(♯‘𝑀)
∈ ℕ0 |
8 | 7 | nn0rei 12244 |
. . 3
⊢
(♯‘𝑀)
∈ ℝ |
9 | 8 | a1i 11 |
. 2
⊢ (𝜑 → (♯‘𝑀) ∈
ℝ) |
10 | | 2nn 12046 |
. . . . . 6
⊢ 2 ∈
ℕ |
11 | | prmrec.2 |
. . . . . . 7
⊢ (𝜑 → 𝐾 ∈ ℕ) |
12 | 11 | nnnn0d 12293 |
. . . . . 6
⊢ (𝜑 → 𝐾 ∈
ℕ0) |
13 | | nnexpcl 13795 |
. . . . . 6
⊢ ((2
∈ ℕ ∧ 𝐾
∈ ℕ0) → (2↑𝐾) ∈ ℕ) |
14 | 10, 12, 13 | sylancr 587 |
. . . . 5
⊢ (𝜑 → (2↑𝐾) ∈ ℕ) |
15 | 14 | nnnn0d 12293 |
. . . 4
⊢ (𝜑 → (2↑𝐾) ∈
ℕ0) |
16 | | prmrec.3 |
. . . . . . . 8
⊢ (𝜑 → 𝑁 ∈ ℕ) |
17 | 16 | nnrpd 12770 |
. . . . . . 7
⊢ (𝜑 → 𝑁 ∈
ℝ+) |
18 | 17 | rpsqrtcld 15123 |
. . . . . 6
⊢ (𝜑 → (√‘𝑁) ∈
ℝ+) |
19 | 18 | rprege0d 12779 |
. . . . 5
⊢ (𝜑 → ((√‘𝑁) ∈ ℝ ∧ 0 ≤
(√‘𝑁))) |
20 | | flge0nn0 13540 |
. . . . 5
⊢
(((√‘𝑁)
∈ ℝ ∧ 0 ≤ (√‘𝑁)) →
(⌊‘(√‘𝑁)) ∈
ℕ0) |
21 | 19, 20 | syl 17 |
. . . 4
⊢ (𝜑 →
(⌊‘(√‘𝑁)) ∈
ℕ0) |
22 | 15, 21 | nn0mulcld 12298 |
. . 3
⊢ (𝜑 → ((2↑𝐾) ·
(⌊‘(√‘𝑁))) ∈
ℕ0) |
23 | 22 | nn0red 12294 |
. 2
⊢ (𝜑 → ((2↑𝐾) ·
(⌊‘(√‘𝑁))) ∈ ℝ) |
24 | 14 | nnred 11988 |
. . 3
⊢ (𝜑 → (2↑𝐾) ∈ ℝ) |
25 | 18 | rpred 12772 |
. . 3
⊢ (𝜑 → (√‘𝑁) ∈
ℝ) |
26 | 24, 25 | remulcld 11005 |
. 2
⊢ (𝜑 → ((2↑𝐾) · (√‘𝑁)) ∈ ℝ) |
27 | | ssrab2 4013 |
. . . . . . 7
⊢ {𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ⊆ 𝑀 |
28 | | ssfi 8956 |
. . . . . . 7
⊢ ((𝑀 ∈ Fin ∧ {𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ⊆ 𝑀) → {𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ∈ Fin) |
29 | 5, 27, 28 | mp2an 689 |
. . . . . 6
⊢ {𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ∈ Fin |
30 | | hashcl 14071 |
. . . . . 6
⊢ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ∈ Fin →
(♯‘{𝑥 ∈
𝑀 ∣ (𝑄‘𝑥) = 1}) ∈
ℕ0) |
31 | 29, 30 | ax-mp 5 |
. . . . 5
⊢
(♯‘{𝑥
∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ∈
ℕ0 |
32 | 31 | nn0rei 12244 |
. . . 4
⊢
(♯‘{𝑥
∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ∈ ℝ |
33 | 21 | nn0red 12294 |
. . . 4
⊢ (𝜑 →
(⌊‘(√‘𝑁)) ∈ ℝ) |
34 | | remulcl 10956 |
. . . 4
⊢
(((♯‘{𝑥
∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ∈ ℝ ∧
(⌊‘(√‘𝑁)) ∈ ℝ) →
((♯‘{𝑥 ∈
𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(⌊‘(√‘𝑁))) ∈ ℝ) |
35 | 32, 33, 34 | sylancr 587 |
. . 3
⊢ (𝜑 → ((♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(⌊‘(√‘𝑁))) ∈ ℝ) |
36 | | fzfi 13692 |
. . . . . . 7
⊢
(1...(⌊‘(√‘𝑁))) ∈ Fin |
37 | | xpfi 9085 |
. . . . . . 7
⊢ (({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ∈ Fin ∧
(1...(⌊‘(√‘𝑁))) ∈ Fin) → ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁)))) ∈ Fin) |
38 | 29, 36, 37 | mp2an 689 |
. . . . . 6
⊢ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁)))) ∈ Fin |
39 | | fveqeq2 6783 |
. . . . . . . . . 10
⊢ (𝑥 = (𝑦 / ((𝑄‘𝑦)↑2)) → ((𝑄‘𝑥) = 1 ↔ (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) = 1)) |
40 | | simpr 485 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑦 ∈ 𝑀) |
41 | 3, 40 | sselid 3919 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑦 ∈ (1...𝑁)) |
42 | | elfznn 13285 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑦 ∈ (1...𝑁) → 𝑦 ∈ ℕ) |
43 | 41, 42 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑦 ∈ ℕ) |
44 | | prmreclem2.5 |
. . . . . . . . . . . . . . . . . . 19
⊢ 𝑄 = (𝑛 ∈ ℕ ↦ sup({𝑟 ∈ ℕ ∣ (𝑟↑2) ∥ 𝑛}, ℝ, <
)) |
45 | 44 | prmreclem1 16617 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑦 ∈ ℕ → ((𝑄‘𝑦) ∈ ℕ ∧ ((𝑄‘𝑦)↑2) ∥ 𝑦 ∧ (𝑛 ∈ (ℤ≥‘2)
→ ¬ (𝑛↑2)
∥ (𝑦 / ((𝑄‘𝑦)↑2))))) |
46 | 45 | simp2d 1142 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑦 ∈ ℕ → ((𝑄‘𝑦)↑2) ∥ 𝑦) |
47 | 43, 46 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ∥ 𝑦) |
48 | 45 | simp1d 1141 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑦 ∈ ℕ → (𝑄‘𝑦) ∈ ℕ) |
49 | 43, 48 | syl 17 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘𝑦) ∈ ℕ) |
50 | 49 | nnsqcld 13959 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ∈ ℕ) |
51 | 50 | nnzd 12425 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ∈ ℤ) |
52 | 50 | nnne0d 12023 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ≠ 0) |
53 | 43 | nnzd 12425 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑦 ∈ ℤ) |
54 | | dvdsval2 15966 |
. . . . . . . . . . . . . . . . 17
⊢ ((((𝑄‘𝑦)↑2) ∈ ℤ ∧ ((𝑄‘𝑦)↑2) ≠ 0 ∧ 𝑦 ∈ ℤ) → (((𝑄‘𝑦)↑2) ∥ 𝑦 ↔ (𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℤ)) |
55 | 51, 52, 53, 54 | syl3anc 1370 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (((𝑄‘𝑦)↑2) ∥ 𝑦 ↔ (𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℤ)) |
56 | 47, 55 | mpbid 231 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℤ) |
57 | | nnre 11980 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑦 ∈ ℕ → 𝑦 ∈
ℝ) |
58 | | nngt0 12004 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑦 ∈ ℕ → 0 <
𝑦) |
59 | 57, 58 | jca 512 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑦 ∈ ℕ → (𝑦 ∈ ℝ ∧ 0 <
𝑦)) |
60 | | nnre 11980 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝑄‘𝑦)↑2) ∈ ℕ → ((𝑄‘𝑦)↑2) ∈ ℝ) |
61 | | nngt0 12004 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝑄‘𝑦)↑2) ∈ ℕ → 0 <
((𝑄‘𝑦)↑2)) |
62 | 60, 61 | jca 512 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑄‘𝑦)↑2) ∈ ℕ → (((𝑄‘𝑦)↑2) ∈ ℝ ∧ 0 < ((𝑄‘𝑦)↑2))) |
63 | | divgt0 11843 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑦 ∈ ℝ ∧ 0 <
𝑦) ∧ (((𝑄‘𝑦)↑2) ∈ ℝ ∧ 0 < ((𝑄‘𝑦)↑2))) → 0 < (𝑦 / ((𝑄‘𝑦)↑2))) |
64 | 59, 62, 63 | syl2an 596 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑦 ∈ ℕ ∧ ((𝑄‘𝑦)↑2) ∈ ℕ) → 0 <
(𝑦 / ((𝑄‘𝑦)↑2))) |
65 | 43, 50, 64 | syl2anc 584 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 0 < (𝑦 / ((𝑄‘𝑦)↑2))) |
66 | | elnnz 12329 |
. . . . . . . . . . . . . . 15
⊢ ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℕ ↔ ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℤ ∧ 0 < (𝑦 / ((𝑄‘𝑦)↑2)))) |
67 | 56, 65, 66 | sylanbrc 583 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℕ) |
68 | 67 | nnred 11988 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℝ) |
69 | 43 | nnred 11988 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑦 ∈ ℝ) |
70 | 16 | nnred 11988 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑁 ∈ ℝ) |
71 | 70 | adantr 481 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑁 ∈ ℝ) |
72 | | dvdsmul1 15987 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℤ ∧ ((𝑄‘𝑦)↑2) ∈ ℤ) → (𝑦 / ((𝑄‘𝑦)↑2)) ∥ ((𝑦 / ((𝑄‘𝑦)↑2)) · ((𝑄‘𝑦)↑2))) |
73 | 56, 51, 72 | syl2anc 584 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∥ ((𝑦 / ((𝑄‘𝑦)↑2)) · ((𝑄‘𝑦)↑2))) |
74 | 43 | nncnd 11989 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑦 ∈ ℂ) |
75 | 50 | nncnd 11989 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ∈ ℂ) |
76 | 74, 75, 52 | divcan1d 11752 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑦 / ((𝑄‘𝑦)↑2)) · ((𝑄‘𝑦)↑2)) = 𝑦) |
77 | 73, 76 | breqtrd 5100 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∥ 𝑦) |
78 | | dvdsle 16019 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℤ ∧ 𝑦 ∈ ℕ) → ((𝑦 / ((𝑄‘𝑦)↑2)) ∥ 𝑦 → (𝑦 / ((𝑄‘𝑦)↑2)) ≤ 𝑦)) |
79 | 56, 43, 78 | syl2anc 584 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑦 / ((𝑄‘𝑦)↑2)) ∥ 𝑦 → (𝑦 / ((𝑄‘𝑦)↑2)) ≤ 𝑦)) |
80 | 77, 79 | mpd 15 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ≤ 𝑦) |
81 | | elfzle2 13260 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ (1...𝑁) → 𝑦 ≤ 𝑁) |
82 | 41, 81 | syl 17 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑦 ≤ 𝑁) |
83 | 68, 69, 71, 80, 82 | letrd 11132 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ≤ 𝑁) |
84 | | nnuz 12621 |
. . . . . . . . . . . . . 14
⊢ ℕ =
(ℤ≥‘1) |
85 | 67, 84 | eleqtrdi 2849 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∈
(ℤ≥‘1)) |
86 | 16 | nnzd 12425 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑁 ∈ ℤ) |
87 | 86 | adantr 481 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑁 ∈ ℤ) |
88 | | elfz5 13248 |
. . . . . . . . . . . . 13
⊢ (((𝑦 / ((𝑄‘𝑦)↑2)) ∈
(ℤ≥‘1) ∧ 𝑁 ∈ ℤ) → ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ (1...𝑁) ↔ (𝑦 / ((𝑄‘𝑦)↑2)) ≤ 𝑁)) |
89 | 85, 87, 88 | syl2anc 584 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ (1...𝑁) ↔ (𝑦 / ((𝑄‘𝑦)↑2)) ≤ 𝑁)) |
90 | 83, 89 | mpbird 256 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∈ (1...𝑁)) |
91 | | breq2 5078 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑛 = 𝑦 → (𝑝 ∥ 𝑛 ↔ 𝑝 ∥ 𝑦)) |
92 | 91 | notbid 318 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 = 𝑦 → (¬ 𝑝 ∥ 𝑛 ↔ ¬ 𝑝 ∥ 𝑦)) |
93 | 92 | ralbidv 3112 |
. . . . . . . . . . . . . . 15
⊢ (𝑛 = 𝑦 → (∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ 𝑛 ↔ ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ 𝑦)) |
94 | 93, 2 | elrab2 3627 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ 𝑀 ↔ (𝑦 ∈ (1...𝑁) ∧ ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ 𝑦)) |
95 | 40, 94 | sylib 217 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 ∈ (1...𝑁) ∧ ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ 𝑦)) |
96 | 95 | simprd 496 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ 𝑦) |
97 | 77 | adantr 481 |
. . . . . . . . . . . . . . 15
⊢ (((𝜑 ∧ 𝑦 ∈ 𝑀) ∧ 𝑝 ∈ (ℙ ∖ (1...𝐾))) → (𝑦 / ((𝑄‘𝑦)↑2)) ∥ 𝑦) |
98 | | eldifi 4061 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑝 ∈ (ℙ ∖
(1...𝐾)) → 𝑝 ∈
ℙ) |
99 | | prmz 16380 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑝 ∈ ℙ → 𝑝 ∈
ℤ) |
100 | 98, 99 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑝 ∈ (ℙ ∖
(1...𝐾)) → 𝑝 ∈
ℤ) |
101 | 100 | adantl 482 |
. . . . . . . . . . . . . . . 16
⊢ (((𝜑 ∧ 𝑦 ∈ 𝑀) ∧ 𝑝 ∈ (ℙ ∖ (1...𝐾))) → 𝑝 ∈ ℤ) |
102 | 56 | adantr 481 |
. . . . . . . . . . . . . . . 16
⊢ (((𝜑 ∧ 𝑦 ∈ 𝑀) ∧ 𝑝 ∈ (ℙ ∖ (1...𝐾))) → (𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℤ) |
103 | 53 | adantr 481 |
. . . . . . . . . . . . . . . 16
⊢ (((𝜑 ∧ 𝑦 ∈ 𝑀) ∧ 𝑝 ∈ (ℙ ∖ (1...𝐾))) → 𝑦 ∈ ℤ) |
104 | | dvdstr 16003 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑝 ∈ ℤ ∧ (𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)) ∧ (𝑦 / ((𝑄‘𝑦)↑2)) ∥ 𝑦) → 𝑝 ∥ 𝑦)) |
105 | 101, 102,
103, 104 | syl3anc 1370 |
. . . . . . . . . . . . . . 15
⊢ (((𝜑 ∧ 𝑦 ∈ 𝑀) ∧ 𝑝 ∈ (ℙ ∖ (1...𝐾))) → ((𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)) ∧ (𝑦 / ((𝑄‘𝑦)↑2)) ∥ 𝑦) → 𝑝 ∥ 𝑦)) |
106 | 97, 105 | mpan2d 691 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧ 𝑦 ∈ 𝑀) ∧ 𝑝 ∈ (ℙ ∖ (1...𝐾))) → (𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)) → 𝑝 ∥ 𝑦)) |
107 | 106 | con3d 152 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ 𝑦 ∈ 𝑀) ∧ 𝑝 ∈ (ℙ ∖ (1...𝐾))) → (¬ 𝑝 ∥ 𝑦 → ¬ 𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)))) |
108 | 107 | ralimdva 3108 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ 𝑦 → ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)))) |
109 | 96, 108 | mpd 15 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2))) |
110 | | breq2 5078 |
. . . . . . . . . . . . . 14
⊢ (𝑛 = (𝑦 / ((𝑄‘𝑦)↑2)) → (𝑝 ∥ 𝑛 ↔ 𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)))) |
111 | 110 | notbid 318 |
. . . . . . . . . . . . 13
⊢ (𝑛 = (𝑦 / ((𝑄‘𝑦)↑2)) → (¬ 𝑝 ∥ 𝑛 ↔ ¬ 𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)))) |
112 | 111 | ralbidv 3112 |
. . . . . . . . . . . 12
⊢ (𝑛 = (𝑦 / ((𝑄‘𝑦)↑2)) → (∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ 𝑛 ↔ ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)))) |
113 | 112, 2 | elrab2 3627 |
. . . . . . . . . . 11
⊢ ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ 𝑀 ↔ ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ (1...𝑁) ∧ ∀𝑝 ∈ (ℙ ∖ (1...𝐾)) ¬ 𝑝 ∥ (𝑦 / ((𝑄‘𝑦)↑2)))) |
114 | 90, 109, 113 | sylanbrc 583 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∈ 𝑀) |
115 | 44 | prmreclem1 16617 |
. . . . . . . . . . . . 13
⊢ ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℕ → ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈ ℕ ∧ ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2)))↑2) ∥ (𝑦 / ((𝑄‘𝑦)↑2)) ∧ (𝐴 ∈ (ℤ≥‘2)
→ ¬ (𝐴↑2)
∥ ((𝑦 / ((𝑄‘𝑦)↑2)) / ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2)))↑2))))) |
116 | 115 | simp2d 1142 |
. . . . . . . . . . . 12
⊢ ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℕ → ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2)))↑2) ∥ (𝑦 / ((𝑄‘𝑦)↑2))) |
117 | 67, 116 | syl 17 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2)))↑2) ∥ (𝑦 / ((𝑄‘𝑦)↑2))) |
118 | 115 | simp1d 1141 |
. . . . . . . . . . . . . . 15
⊢ ((𝑦 / ((𝑄‘𝑦)↑2)) ∈ ℕ → (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈ ℕ) |
119 | 67, 118 | syl 17 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈ ℕ) |
120 | | elnn1uz2 12665 |
. . . . . . . . . . . . . 14
⊢ ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈ ℕ ↔ ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) = 1 ∨ (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈
(ℤ≥‘2))) |
121 | 119, 120 | sylib 217 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) = 1 ∨ (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈
(ℤ≥‘2))) |
122 | 121 | ord 861 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (¬ (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) = 1 → (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈
(ℤ≥‘2))) |
123 | 44 | prmreclem1 16617 |
. . . . . . . . . . . . 13
⊢ (𝑦 ∈ ℕ → ((𝑄‘𝑦) ∈ ℕ ∧ ((𝑄‘𝑦)↑2) ∥ 𝑦 ∧ ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈
(ℤ≥‘2) → ¬ ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2)))↑2) ∥ (𝑦 / ((𝑄‘𝑦)↑2))))) |
124 | 123 | simp3d 1143 |
. . . . . . . . . . . 12
⊢ (𝑦 ∈ ℕ → ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) ∈
(ℤ≥‘2) → ¬ ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2)))↑2) ∥ (𝑦 / ((𝑄‘𝑦)↑2)))) |
125 | 43, 122, 124 | sylsyld 61 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (¬ (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) = 1 → ¬ ((𝑄‘(𝑦 / ((𝑄‘𝑦)↑2)))↑2) ∥ (𝑦 / ((𝑄‘𝑦)↑2)))) |
126 | 117, 125 | mt4d 117 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘(𝑦 / ((𝑄‘𝑦)↑2))) = 1) |
127 | 39, 114, 126 | elrabd 3626 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑦 / ((𝑄‘𝑦)↑2)) ∈ {𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) |
128 | 50 | nnred 11988 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ∈ ℝ) |
129 | | dvdsle 16019 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝑄‘𝑦)↑2) ∈ ℤ ∧ 𝑦 ∈ ℕ) → (((𝑄‘𝑦)↑2) ∥ 𝑦 → ((𝑄‘𝑦)↑2) ≤ 𝑦)) |
130 | 51, 43, 129 | syl2anc 584 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (((𝑄‘𝑦)↑2) ∥ 𝑦 → ((𝑄‘𝑦)↑2) ≤ 𝑦)) |
131 | 47, 130 | mpd 15 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ≤ 𝑦) |
132 | 128, 69, 71, 131, 82 | letrd 11132 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ≤ 𝑁) |
133 | 71 | recnd 11003 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 𝑁 ∈ ℂ) |
134 | 133 | sqsqrtd 15151 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((√‘𝑁)↑2) = 𝑁) |
135 | 132, 134 | breqtrrd 5102 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦)↑2) ≤ ((√‘𝑁)↑2)) |
136 | 49 | nnrpd 12770 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘𝑦) ∈
ℝ+) |
137 | 18 | adantr 481 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (√‘𝑁) ∈
ℝ+) |
138 | | rprege0 12745 |
. . . . . . . . . . . . . 14
⊢ ((𝑄‘𝑦) ∈ ℝ+ → ((𝑄‘𝑦) ∈ ℝ ∧ 0 ≤ (𝑄‘𝑦))) |
139 | | rprege0 12745 |
. . . . . . . . . . . . . 14
⊢
((√‘𝑁)
∈ ℝ+ → ((√‘𝑁) ∈ ℝ ∧ 0 ≤
(√‘𝑁))) |
140 | | le2sq 13853 |
. . . . . . . . . . . . . 14
⊢ ((((𝑄‘𝑦) ∈ ℝ ∧ 0 ≤ (𝑄‘𝑦)) ∧ ((√‘𝑁) ∈ ℝ ∧ 0 ≤
(√‘𝑁))) →
((𝑄‘𝑦) ≤ (√‘𝑁) ↔ ((𝑄‘𝑦)↑2) ≤ ((√‘𝑁)↑2))) |
141 | 138, 139,
140 | syl2an 596 |
. . . . . . . . . . . . 13
⊢ (((𝑄‘𝑦) ∈ ℝ+ ∧
(√‘𝑁) ∈
ℝ+) → ((𝑄‘𝑦) ≤ (√‘𝑁) ↔ ((𝑄‘𝑦)↑2) ≤ ((√‘𝑁)↑2))) |
142 | 136, 137,
141 | syl2anc 584 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦) ≤ (√‘𝑁) ↔ ((𝑄‘𝑦)↑2) ≤ ((√‘𝑁)↑2))) |
143 | 135, 142 | mpbird 256 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘𝑦) ≤ (√‘𝑁)) |
144 | 25 | adantr 481 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (√‘𝑁) ∈ ℝ) |
145 | 49 | nnzd 12425 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘𝑦) ∈ ℤ) |
146 | | flge 13525 |
. . . . . . . . . . . 12
⊢
(((√‘𝑁)
∈ ℝ ∧ (𝑄‘𝑦) ∈ ℤ) → ((𝑄‘𝑦) ≤ (√‘𝑁) ↔ (𝑄‘𝑦) ≤ (⌊‘(√‘𝑁)))) |
147 | 144, 145,
146 | syl2anc 584 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦) ≤ (√‘𝑁) ↔ (𝑄‘𝑦) ≤ (⌊‘(√‘𝑁)))) |
148 | 143, 147 | mpbid 231 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘𝑦) ≤ (⌊‘(√‘𝑁))) |
149 | 49, 84 | eleqtrdi 2849 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘𝑦) ∈
(ℤ≥‘1)) |
150 | 21 | nn0zd 12424 |
. . . . . . . . . . . 12
⊢ (𝜑 →
(⌊‘(√‘𝑁)) ∈ ℤ) |
151 | 150 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (⌊‘(√‘𝑁)) ∈
ℤ) |
152 | | elfz5 13248 |
. . . . . . . . . . 11
⊢ (((𝑄‘𝑦) ∈ (ℤ≥‘1)
∧ (⌊‘(√‘𝑁)) ∈ ℤ) → ((𝑄‘𝑦) ∈
(1...(⌊‘(√‘𝑁))) ↔ (𝑄‘𝑦) ≤ (⌊‘(√‘𝑁)))) |
153 | 149, 151,
152 | syl2anc 584 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → ((𝑄‘𝑦) ∈
(1...(⌊‘(√‘𝑁))) ↔ (𝑄‘𝑦) ≤ (⌊‘(√‘𝑁)))) |
154 | 148, 153 | mpbird 256 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → (𝑄‘𝑦) ∈
(1...(⌊‘(√‘𝑁)))) |
155 | 127, 154 | opelxpd 5627 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ 𝑀) → 〈(𝑦 / ((𝑄‘𝑦)↑2)), (𝑄‘𝑦)〉 ∈ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁))))) |
156 | 155 | ex 413 |
. . . . . . 7
⊢ (𝜑 → (𝑦 ∈ 𝑀 → 〈(𝑦 / ((𝑄‘𝑦)↑2)), (𝑄‘𝑦)〉 ∈ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁)))))) |
157 | | ovex 7308 |
. . . . . . . . . . . 12
⊢ (𝑦 / ((𝑄‘𝑦)↑2)) ∈ V |
158 | | fvex 6787 |
. . . . . . . . . . . 12
⊢ (𝑄‘𝑦) ∈ V |
159 | 157, 158 | opth 5391 |
. . . . . . . . . . 11
⊢
(〈(𝑦 / ((𝑄‘𝑦)↑2)), (𝑄‘𝑦)〉 = 〈(𝑧 / ((𝑄‘𝑧)↑2)), (𝑄‘𝑧)〉 ↔ ((𝑦 / ((𝑄‘𝑦)↑2)) = (𝑧 / ((𝑄‘𝑧)↑2)) ∧ (𝑄‘𝑦) = (𝑄‘𝑧))) |
160 | | oveq1 7282 |
. . . . . . . . . . . 12
⊢ ((𝑄‘𝑦) = (𝑄‘𝑧) → ((𝑄‘𝑦)↑2) = ((𝑄‘𝑧)↑2)) |
161 | | oveq12 7284 |
. . . . . . . . . . . 12
⊢ (((𝑦 / ((𝑄‘𝑦)↑2)) = (𝑧 / ((𝑄‘𝑧)↑2)) ∧ ((𝑄‘𝑦)↑2) = ((𝑄‘𝑧)↑2)) → ((𝑦 / ((𝑄‘𝑦)↑2)) · ((𝑄‘𝑦)↑2)) = ((𝑧 / ((𝑄‘𝑧)↑2)) · ((𝑄‘𝑧)↑2))) |
162 | 160, 161 | sylan2 593 |
. . . . . . . . . . 11
⊢ (((𝑦 / ((𝑄‘𝑦)↑2)) = (𝑧 / ((𝑄‘𝑧)↑2)) ∧ (𝑄‘𝑦) = (𝑄‘𝑧)) → ((𝑦 / ((𝑄‘𝑦)↑2)) · ((𝑄‘𝑦)↑2)) = ((𝑧 / ((𝑄‘𝑧)↑2)) · ((𝑄‘𝑧)↑2))) |
163 | 159, 162 | sylbi 216 |
. . . . . . . . . 10
⊢
(〈(𝑦 / ((𝑄‘𝑦)↑2)), (𝑄‘𝑦)〉 = 〈(𝑧 / ((𝑄‘𝑧)↑2)), (𝑄‘𝑧)〉 → ((𝑦 / ((𝑄‘𝑦)↑2)) · ((𝑄‘𝑦)↑2)) = ((𝑧 / ((𝑄‘𝑧)↑2)) · ((𝑄‘𝑧)↑2))) |
164 | 76 | adantrr 714 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → ((𝑦 / ((𝑄‘𝑦)↑2)) · ((𝑄‘𝑦)↑2)) = 𝑦) |
165 | | fz1ssnn 13287 |
. . . . . . . . . . . . . . 15
⊢
(1...𝑁) ⊆
ℕ |
166 | 3, 165 | sstri 3930 |
. . . . . . . . . . . . . 14
⊢ 𝑀 ⊆
ℕ |
167 | | simprr 770 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → 𝑧 ∈ 𝑀) |
168 | 166, 167 | sselid 3919 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → 𝑧 ∈ ℕ) |
169 | 168 | nncnd 11989 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → 𝑧 ∈ ℂ) |
170 | 44 | prmreclem1 16617 |
. . . . . . . . . . . . . . . 16
⊢ (𝑧 ∈ ℕ → ((𝑄‘𝑧) ∈ ℕ ∧ ((𝑄‘𝑧)↑2) ∥ 𝑧 ∧ (2 ∈
(ℤ≥‘2) → ¬ (2↑2) ∥ (𝑧 / ((𝑄‘𝑧)↑2))))) |
171 | 170 | simp1d 1141 |
. . . . . . . . . . . . . . 15
⊢ (𝑧 ∈ ℕ → (𝑄‘𝑧) ∈ ℕ) |
172 | 168, 171 | syl 17 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → (𝑄‘𝑧) ∈ ℕ) |
173 | 172 | nnsqcld 13959 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → ((𝑄‘𝑧)↑2) ∈ ℕ) |
174 | 173 | nncnd 11989 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → ((𝑄‘𝑧)↑2) ∈ ℂ) |
175 | 173 | nnne0d 12023 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → ((𝑄‘𝑧)↑2) ≠ 0) |
176 | 169, 174,
175 | divcan1d 11752 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → ((𝑧 / ((𝑄‘𝑧)↑2)) · ((𝑄‘𝑧)↑2)) = 𝑧) |
177 | 164, 176 | eqeq12d 2754 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → (((𝑦 / ((𝑄‘𝑦)↑2)) · ((𝑄‘𝑦)↑2)) = ((𝑧 / ((𝑄‘𝑧)↑2)) · ((𝑄‘𝑧)↑2)) ↔ 𝑦 = 𝑧)) |
178 | 163, 177 | syl5ib 243 |
. . . . . . . . 9
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → (〈(𝑦 / ((𝑄‘𝑦)↑2)), (𝑄‘𝑦)〉 = 〈(𝑧 / ((𝑄‘𝑧)↑2)), (𝑄‘𝑧)〉 → 𝑦 = 𝑧)) |
179 | | id 22 |
. . . . . . . . . . 11
⊢ (𝑦 = 𝑧 → 𝑦 = 𝑧) |
180 | | fveq2 6774 |
. . . . . . . . . . . 12
⊢ (𝑦 = 𝑧 → (𝑄‘𝑦) = (𝑄‘𝑧)) |
181 | 180 | oveq1d 7290 |
. . . . . . . . . . 11
⊢ (𝑦 = 𝑧 → ((𝑄‘𝑦)↑2) = ((𝑄‘𝑧)↑2)) |
182 | 179, 181 | oveq12d 7293 |
. . . . . . . . . 10
⊢ (𝑦 = 𝑧 → (𝑦 / ((𝑄‘𝑦)↑2)) = (𝑧 / ((𝑄‘𝑧)↑2))) |
183 | 182, 180 | opeq12d 4812 |
. . . . . . . . 9
⊢ (𝑦 = 𝑧 → 〈(𝑦 / ((𝑄‘𝑦)↑2)), (𝑄‘𝑦)〉 = 〈(𝑧 / ((𝑄‘𝑧)↑2)), (𝑄‘𝑧)〉) |
184 | 178, 183 | impbid1 224 |
. . . . . . . 8
⊢ ((𝜑 ∧ (𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀)) → (〈(𝑦 / ((𝑄‘𝑦)↑2)), (𝑄‘𝑦)〉 = 〈(𝑧 / ((𝑄‘𝑧)↑2)), (𝑄‘𝑧)〉 ↔ 𝑦 = 𝑧)) |
185 | 184 | ex 413 |
. . . . . . 7
⊢ (𝜑 → ((𝑦 ∈ 𝑀 ∧ 𝑧 ∈ 𝑀) → (〈(𝑦 / ((𝑄‘𝑦)↑2)), (𝑄‘𝑦)〉 = 〈(𝑧 / ((𝑄‘𝑧)↑2)), (𝑄‘𝑧)〉 ↔ 𝑦 = 𝑧))) |
186 | 156, 185 | dom2d 8781 |
. . . . . 6
⊢ (𝜑 → (({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁)))) ∈ Fin → 𝑀 ≼ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁)))))) |
187 | 38, 186 | mpi 20 |
. . . . 5
⊢ (𝜑 → 𝑀 ≼ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁))))) |
188 | | hashdom 14094 |
. . . . . 6
⊢ ((𝑀 ∈ Fin ∧ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁)))) ∈ Fin) →
((♯‘𝑀) ≤
(♯‘({𝑥 ∈
𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁))))) ↔ 𝑀 ≼ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁)))))) |
189 | 5, 38, 188 | mp2an 689 |
. . . . 5
⊢
((♯‘𝑀)
≤ (♯‘({𝑥
∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁))))) ↔ 𝑀 ≼ ({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁))))) |
190 | 187, 189 | sylibr 233 |
. . . 4
⊢ (𝜑 → (♯‘𝑀) ≤ (♯‘({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁)))))) |
191 | | hashxp 14149 |
. . . . . 6
⊢ (({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ∈ Fin ∧
(1...(⌊‘(√‘𝑁))) ∈ Fin) →
(♯‘({𝑥 ∈
𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁))))) = ((♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(♯‘(1...(⌊‘(√‘𝑁)))))) |
192 | 29, 36, 191 | mp2an 689 |
. . . . 5
⊢
(♯‘({𝑥
∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁))))) = ((♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(♯‘(1...(⌊‘(√‘𝑁))))) |
193 | | hashfz1 14060 |
. . . . . . 7
⊢
((⌊‘(√‘𝑁)) ∈ ℕ0 →
(♯‘(1...(⌊‘(√‘𝑁)))) = (⌊‘(√‘𝑁))) |
194 | 21, 193 | syl 17 |
. . . . . 6
⊢ (𝜑 →
(♯‘(1...(⌊‘(√‘𝑁)))) = (⌊‘(√‘𝑁))) |
195 | 194 | oveq2d 7291 |
. . . . 5
⊢ (𝜑 → ((♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(♯‘(1...(⌊‘(√‘𝑁))))) = ((♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(⌊‘(√‘𝑁)))) |
196 | 192, 195 | eqtrid 2790 |
. . . 4
⊢ (𝜑 → (♯‘({𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1} ×
(1...(⌊‘(√‘𝑁))))) = ((♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(⌊‘(√‘𝑁)))) |
197 | 190, 196 | breqtrd 5100 |
. . 3
⊢ (𝜑 → (♯‘𝑀) ≤ ((♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(⌊‘(√‘𝑁)))) |
198 | 32 | a1i 11 |
. . . 4
⊢ (𝜑 → (♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ∈ ℝ) |
199 | 21 | nn0ge0d 12296 |
. . . 4
⊢ (𝜑 → 0 ≤
(⌊‘(√‘𝑁))) |
200 | | prmrec.1 |
. . . . 5
⊢ 𝐹 = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, (1 / 𝑛), 0)) |
201 | 200, 11, 16, 2, 44 | prmreclem2 16618 |
. . . 4
⊢ (𝜑 → (♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ≤ (2↑𝐾)) |
202 | 198, 24, 33, 199, 201 | lemul1ad 11914 |
. . 3
⊢ (𝜑 → ((♯‘{𝑥 ∈ 𝑀 ∣ (𝑄‘𝑥) = 1}) ·
(⌊‘(√‘𝑁))) ≤ ((2↑𝐾) ·
(⌊‘(√‘𝑁)))) |
203 | 9, 35, 23, 197, 202 | letrd 11132 |
. 2
⊢ (𝜑 → (♯‘𝑀) ≤ ((2↑𝐾) ·
(⌊‘(√‘𝑁)))) |
204 | 14 | nnrpd 12770 |
. . . 4
⊢ (𝜑 → (2↑𝐾) ∈
ℝ+) |
205 | 204 | rprege0d 12779 |
. . 3
⊢ (𝜑 → ((2↑𝐾) ∈ ℝ ∧ 0 ≤ (2↑𝐾))) |
206 | | fllelt 13517 |
. . . . 5
⊢
((√‘𝑁)
∈ ℝ → ((⌊‘(√‘𝑁)) ≤ (√‘𝑁) ∧ (√‘𝑁) < ((⌊‘(√‘𝑁)) + 1))) |
207 | 25, 206 | syl 17 |
. . . 4
⊢ (𝜑 →
((⌊‘(√‘𝑁)) ≤ (√‘𝑁) ∧ (√‘𝑁) < ((⌊‘(√‘𝑁)) + 1))) |
208 | 207 | simpld 495 |
. . 3
⊢ (𝜑 →
(⌊‘(√‘𝑁)) ≤ (√‘𝑁)) |
209 | | lemul2a 11830 |
. . 3
⊢
((((⌊‘(√‘𝑁)) ∈ ℝ ∧ (√‘𝑁) ∈ ℝ ∧
((2↑𝐾) ∈ ℝ
∧ 0 ≤ (2↑𝐾)))
∧ (⌊‘(√‘𝑁)) ≤ (√‘𝑁)) → ((2↑𝐾) ·
(⌊‘(√‘𝑁))) ≤ ((2↑𝐾) · (√‘𝑁))) |
210 | 33, 25, 205, 208, 209 | syl31anc 1372 |
. 2
⊢ (𝜑 → ((2↑𝐾) ·
(⌊‘(√‘𝑁))) ≤ ((2↑𝐾) · (√‘𝑁))) |
211 | 9, 23, 26, 203, 210 | letrd 11132 |
1
⊢ (𝜑 → (♯‘𝑀) ≤ ((2↑𝐾) · (√‘𝑁))) |