Proof of Theorem proththdlem
Step | Hyp | Ref
| Expression |
1 | | proththd.p |
. 2
⊢ (𝜑 → 𝑃 = ((𝐾 · (2↑𝑁)) + 1)) |
2 | | proththd.k |
. . . . . 6
⊢ (𝜑 → 𝐾 ∈ ℕ) |
3 | | 2nn 12046 |
. . . . . . . 8
⊢ 2 ∈
ℕ |
4 | 3 | a1i 11 |
. . . . . . 7
⊢ (𝜑 → 2 ∈
ℕ) |
5 | | proththd.n |
. . . . . . . 8
⊢ (𝜑 → 𝑁 ∈ ℕ) |
6 | 5 | nnnn0d 12293 |
. . . . . . 7
⊢ (𝜑 → 𝑁 ∈
ℕ0) |
7 | 4, 6 | nnexpcld 13960 |
. . . . . 6
⊢ (𝜑 → (2↑𝑁) ∈ ℕ) |
8 | 2, 7 | nnmulcld 12026 |
. . . . 5
⊢ (𝜑 → (𝐾 · (2↑𝑁)) ∈ ℕ) |
9 | 8 | peano2nnd 11990 |
. . . 4
⊢ (𝜑 → ((𝐾 · (2↑𝑁)) + 1) ∈ ℕ) |
10 | | 1m1e0 12045 |
. . . . . 6
⊢ (1
− 1) = 0 |
11 | 8 | nngt0d 12022 |
. . . . . 6
⊢ (𝜑 → 0 < (𝐾 · (2↑𝑁))) |
12 | 10, 11 | eqbrtrid 5109 |
. . . . 5
⊢ (𝜑 → (1 − 1) < (𝐾 · (2↑𝑁))) |
13 | | 1red 10976 |
. . . . . 6
⊢ (𝜑 → 1 ∈
ℝ) |
14 | 8 | nnred 11988 |
. . . . . 6
⊢ (𝜑 → (𝐾 · (2↑𝑁)) ∈ ℝ) |
15 | 13, 13, 14 | ltsubaddd 11571 |
. . . . 5
⊢ (𝜑 → ((1 − 1) < (𝐾 · (2↑𝑁)) ↔ 1 < ((𝐾 · (2↑𝑁)) + 1))) |
16 | 12, 15 | mpbid 231 |
. . . 4
⊢ (𝜑 → 1 < ((𝐾 · (2↑𝑁)) + 1)) |
17 | 8 | nncnd 11989 |
. . . . . . 7
⊢ (𝜑 → (𝐾 · (2↑𝑁)) ∈ ℂ) |
18 | | pncan1 11399 |
. . . . . . 7
⊢ ((𝐾 · (2↑𝑁)) ∈ ℂ →
(((𝐾 · (2↑𝑁)) + 1) − 1) = (𝐾 · (2↑𝑁))) |
19 | 17, 18 | syl 17 |
. . . . . 6
⊢ (𝜑 → (((𝐾 · (2↑𝑁)) + 1) − 1) = (𝐾 · (2↑𝑁))) |
20 | 19 | oveq1d 7290 |
. . . . 5
⊢ (𝜑 → ((((𝐾 · (2↑𝑁)) + 1) − 1) / 2) = ((𝐾 · (2↑𝑁)) / 2)) |
21 | | 2z 12352 |
. . . . . . . . 9
⊢ 2 ∈
ℤ |
22 | 21 | a1i 11 |
. . . . . . . 8
⊢ (𝜑 → 2 ∈
ℤ) |
23 | 2 | nnzd 12425 |
. . . . . . . 8
⊢ (𝜑 → 𝐾 ∈ ℤ) |
24 | 7 | nnzd 12425 |
. . . . . . . 8
⊢ (𝜑 → (2↑𝑁) ∈ ℤ) |
25 | 22, 23, 24 | 3jca 1127 |
. . . . . . 7
⊢ (𝜑 → (2 ∈ ℤ ∧
𝐾 ∈ ℤ ∧
(2↑𝑁) ∈
ℤ)) |
26 | | iddvdsexp 15989 |
. . . . . . . 8
⊢ ((2
∈ ℤ ∧ 𝑁
∈ ℕ) → 2 ∥ (2↑𝑁)) |
27 | 22, 5, 26 | syl2anc 584 |
. . . . . . 7
⊢ (𝜑 → 2 ∥ (2↑𝑁)) |
28 | | dvdsmultr2 16007 |
. . . . . . 7
⊢ ((2
∈ ℤ ∧ 𝐾
∈ ℤ ∧ (2↑𝑁) ∈ ℤ) → (2 ∥
(2↑𝑁) → 2 ∥
(𝐾 · (2↑𝑁)))) |
29 | 25, 27, 28 | sylc 65 |
. . . . . 6
⊢ (𝜑 → 2 ∥ (𝐾 · (2↑𝑁))) |
30 | | nndivdvds 15972 |
. . . . . . 7
⊢ (((𝐾 · (2↑𝑁)) ∈ ℕ ∧ 2 ∈
ℕ) → (2 ∥ (𝐾 · (2↑𝑁)) ↔ ((𝐾 · (2↑𝑁)) / 2) ∈ ℕ)) |
31 | 8, 4, 30 | syl2anc 584 |
. . . . . 6
⊢ (𝜑 → (2 ∥ (𝐾 · (2↑𝑁)) ↔ ((𝐾 · (2↑𝑁)) / 2) ∈ ℕ)) |
32 | 29, 31 | mpbid 231 |
. . . . 5
⊢ (𝜑 → ((𝐾 · (2↑𝑁)) / 2) ∈ ℕ) |
33 | 20, 32 | eqeltrd 2839 |
. . . 4
⊢ (𝜑 → ((((𝐾 · (2↑𝑁)) + 1) − 1) / 2) ∈
ℕ) |
34 | 9, 16, 33 | 3jca 1127 |
. . 3
⊢ (𝜑 → (((𝐾 · (2↑𝑁)) + 1) ∈ ℕ ∧ 1 < ((𝐾 · (2↑𝑁)) + 1) ∧ ((((𝐾 · (2↑𝑁)) + 1) − 1) / 2) ∈
ℕ)) |
35 | | eleq1 2826 |
. . . 4
⊢ (𝑃 = ((𝐾 · (2↑𝑁)) + 1) → (𝑃 ∈ ℕ ↔ ((𝐾 · (2↑𝑁)) + 1) ∈ ℕ)) |
36 | | breq2 5078 |
. . . 4
⊢ (𝑃 = ((𝐾 · (2↑𝑁)) + 1) → (1 < 𝑃 ↔ 1 < ((𝐾 · (2↑𝑁)) + 1))) |
37 | | oveq1 7282 |
. . . . . 6
⊢ (𝑃 = ((𝐾 · (2↑𝑁)) + 1) → (𝑃 − 1) = (((𝐾 · (2↑𝑁)) + 1) − 1)) |
38 | 37 | oveq1d 7290 |
. . . . 5
⊢ (𝑃 = ((𝐾 · (2↑𝑁)) + 1) → ((𝑃 − 1) / 2) = ((((𝐾 · (2↑𝑁)) + 1) − 1) / 2)) |
39 | 38 | eleq1d 2823 |
. . . 4
⊢ (𝑃 = ((𝐾 · (2↑𝑁)) + 1) → (((𝑃 − 1) / 2) ∈ ℕ ↔
((((𝐾 ·
(2↑𝑁)) + 1) − 1)
/ 2) ∈ ℕ)) |
40 | 35, 36, 39 | 3anbi123d 1435 |
. . 3
⊢ (𝑃 = ((𝐾 · (2↑𝑁)) + 1) → ((𝑃 ∈ ℕ ∧ 1 < 𝑃 ∧ ((𝑃 − 1) / 2) ∈ ℕ) ↔
(((𝐾 · (2↑𝑁)) + 1) ∈ ℕ ∧ 1
< ((𝐾 ·
(2↑𝑁)) + 1) ∧
((((𝐾 ·
(2↑𝑁)) + 1) − 1)
/ 2) ∈ ℕ))) |
41 | 34, 40 | syl5ibrcom 246 |
. 2
⊢ (𝜑 → (𝑃 = ((𝐾 · (2↑𝑁)) + 1) → (𝑃 ∈ ℕ ∧ 1 < 𝑃 ∧ ((𝑃 − 1) / 2) ∈
ℕ))) |
42 | 1, 41 | mpd 15 |
1
⊢ (𝜑 → (𝑃 ∈ ℕ ∧ 1 < 𝑃 ∧ ((𝑃 − 1) / 2) ∈
ℕ)) |