Proof of Theorem oddge22np1
Step | Hyp | Ref
| Expression |
1 | | eleq1 2229 |
. . . . . . . 8
⊢ (((2
· 𝑛) + 1) = 𝑁 → (((2 · 𝑛) + 1) ∈
(ℤ≥‘2) ↔ 𝑁 ∈
(ℤ≥‘2))) |
2 | | nn0z 9211 |
. . . . . . . . . . 11
⊢ (𝑛 ∈ ℕ0
→ 𝑛 ∈
ℤ) |
3 | 2 | adantl 275 |
. . . . . . . . . 10
⊢ ((((2
· 𝑛) + 1) ∈
(ℤ≥‘2) ∧ 𝑛 ∈ ℕ0) → 𝑛 ∈
ℤ) |
4 | | eluz2 9472 |
. . . . . . . . . . . 12
⊢ (((2
· 𝑛) + 1) ∈
(ℤ≥‘2) ↔ (2 ∈ ℤ ∧ ((2 ·
𝑛) + 1) ∈ ℤ
∧ 2 ≤ ((2 · 𝑛) + 1))) |
5 | | 2re 8927 |
. . . . . . . . . . . . . . . . 17
⊢ 2 ∈
ℝ |
6 | 5 | a1i 9 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 ∈ ℕ0
→ 2 ∈ ℝ) |
7 | | 1red 7914 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 ∈ ℕ0
→ 1 ∈ ℝ) |
8 | | 2nn0 9131 |
. . . . . . . . . . . . . . . . . . 19
⊢ 2 ∈
ℕ0 |
9 | 8 | a1i 9 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 ∈ ℕ0
→ 2 ∈ ℕ0) |
10 | | id 19 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 ∈ ℕ0
→ 𝑛 ∈
ℕ0) |
11 | 9, 10 | nn0mulcld 9172 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑛 ∈ ℕ0
→ (2 · 𝑛)
∈ ℕ0) |
12 | 11 | nn0red 9168 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 ∈ ℕ0
→ (2 · 𝑛)
∈ ℝ) |
13 | 6, 7, 12 | lesubaddd 8440 |
. . . . . . . . . . . . . . 15
⊢ (𝑛 ∈ ℕ0
→ ((2 − 1) ≤ (2 · 𝑛) ↔ 2 ≤ ((2 · 𝑛) + 1))) |
14 | | 2m1e1 8975 |
. . . . . . . . . . . . . . . . 17
⊢ (2
− 1) = 1 |
15 | 14 | breq1i 3989 |
. . . . . . . . . . . . . . . 16
⊢ ((2
− 1) ≤ (2 · 𝑛) ↔ 1 ≤ (2 · 𝑛)) |
16 | | nn0re 9123 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 ∈ ℕ0
→ 𝑛 ∈
ℝ) |
17 | | 2pos 8948 |
. . . . . . . . . . . . . . . . . . . 20
⊢ 0 <
2 |
18 | 5, 17 | pm3.2i 270 |
. . . . . . . . . . . . . . . . . . 19
⊢ (2 ∈
ℝ ∧ 0 < 2) |
19 | 18 | a1i 9 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 ∈ ℕ0
→ (2 ∈ ℝ ∧ 0 < 2)) |
20 | | ledivmul 8772 |
. . . . . . . . . . . . . . . . . 18
⊢ ((1
∈ ℝ ∧ 𝑛
∈ ℝ ∧ (2 ∈ ℝ ∧ 0 < 2)) → ((1 / 2) ≤
𝑛 ↔ 1 ≤ (2 ·
𝑛))) |
21 | 7, 16, 19, 20 | syl3anc 1228 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑛 ∈ ℕ0
→ ((1 / 2) ≤ 𝑛
↔ 1 ≤ (2 · 𝑛))) |
22 | | halfgt0 9072 |
. . . . . . . . . . . . . . . . . 18
⊢ 0 < (1
/ 2) |
23 | | 0red 7900 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑛 ∈ ℕ0
→ 0 ∈ ℝ) |
24 | | halfre 9070 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (1 / 2)
∈ ℝ |
25 | 24 | a1i 9 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑛 ∈ ℕ0
→ (1 / 2) ∈ ℝ) |
26 | | ltletr 7988 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((0
∈ ℝ ∧ (1 / 2) ∈ ℝ ∧ 𝑛 ∈ ℝ) → ((0 < (1 / 2)
∧ (1 / 2) ≤ 𝑛)
→ 0 < 𝑛)) |
27 | 23, 25, 16, 26 | syl3anc 1228 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 ∈ ℕ0
→ ((0 < (1 / 2) ∧ (1 / 2) ≤ 𝑛) → 0 < 𝑛)) |
28 | 22, 27 | mpani 427 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑛 ∈ ℕ0
→ ((1 / 2) ≤ 𝑛
→ 0 < 𝑛)) |
29 | 21, 28 | sylbird 169 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 ∈ ℕ0
→ (1 ≤ (2 · 𝑛) → 0 < 𝑛)) |
30 | 15, 29 | syl5bi 151 |
. . . . . . . . . . . . . . 15
⊢ (𝑛 ∈ ℕ0
→ ((2 − 1) ≤ (2 · 𝑛) → 0 < 𝑛)) |
31 | 13, 30 | sylbird 169 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈ ℕ0
→ (2 ≤ ((2 · 𝑛) + 1) → 0 < 𝑛)) |
32 | 31 | com12 30 |
. . . . . . . . . . . . 13
⊢ (2 ≤
((2 · 𝑛) + 1) →
(𝑛 ∈
ℕ0 → 0 < 𝑛)) |
33 | 32 | 3ad2ant3 1010 |
. . . . . . . . . . . 12
⊢ ((2
∈ ℤ ∧ ((2 · 𝑛) + 1) ∈ ℤ ∧ 2 ≤ ((2
· 𝑛) + 1)) →
(𝑛 ∈
ℕ0 → 0 < 𝑛)) |
34 | 4, 33 | sylbi 120 |
. . . . . . . . . . 11
⊢ (((2
· 𝑛) + 1) ∈
(ℤ≥‘2) → (𝑛 ∈ ℕ0 → 0 <
𝑛)) |
35 | 34 | imp 123 |
. . . . . . . . . 10
⊢ ((((2
· 𝑛) + 1) ∈
(ℤ≥‘2) ∧ 𝑛 ∈ ℕ0) → 0 <
𝑛) |
36 | | elnnz 9201 |
. . . . . . . . . 10
⊢ (𝑛 ∈ ℕ ↔ (𝑛 ∈ ℤ ∧ 0 <
𝑛)) |
37 | 3, 35, 36 | sylanbrc 414 |
. . . . . . . . 9
⊢ ((((2
· 𝑛) + 1) ∈
(ℤ≥‘2) ∧ 𝑛 ∈ ℕ0) → 𝑛 ∈
ℕ) |
38 | 37 | ex 114 |
. . . . . . . 8
⊢ (((2
· 𝑛) + 1) ∈
(ℤ≥‘2) → (𝑛 ∈ ℕ0 → 𝑛 ∈
ℕ)) |
39 | 1, 38 | syl6bir 163 |
. . . . . . 7
⊢ (((2
· 𝑛) + 1) = 𝑁 → (𝑁 ∈ (ℤ≥‘2)
→ (𝑛 ∈
ℕ0 → 𝑛 ∈ ℕ))) |
40 | 39 | com13 80 |
. . . . . 6
⊢ (𝑛 ∈ ℕ0
→ (𝑁 ∈
(ℤ≥‘2) → (((2 · 𝑛) + 1) = 𝑁 → 𝑛 ∈ ℕ))) |
41 | 40 | impcom 124 |
. . . . 5
⊢ ((𝑁 ∈
(ℤ≥‘2) ∧ 𝑛 ∈ ℕ0) → (((2
· 𝑛) + 1) = 𝑁 → 𝑛 ∈ ℕ)) |
42 | 41 | pm4.71rd 392 |
. . . 4
⊢ ((𝑁 ∈
(ℤ≥‘2) ∧ 𝑛 ∈ ℕ0) → (((2
· 𝑛) + 1) = 𝑁 ↔ (𝑛 ∈ ℕ ∧ ((2 · 𝑛) + 1) = 𝑁))) |
43 | 42 | bicomd 140 |
. . 3
⊢ ((𝑁 ∈
(ℤ≥‘2) ∧ 𝑛 ∈ ℕ0) → ((𝑛 ∈ ℕ ∧ ((2
· 𝑛) + 1) = 𝑁) ↔ ((2 · 𝑛) + 1) = 𝑁)) |
44 | 43 | rexbidva 2463 |
. 2
⊢ (𝑁 ∈
(ℤ≥‘2) → (∃𝑛 ∈ ℕ0 (𝑛 ∈ ℕ ∧ ((2
· 𝑛) + 1) = 𝑁) ↔ ∃𝑛 ∈ ℕ0 ((2
· 𝑛) + 1) = 𝑁)) |
45 | | nnssnn0 9117 |
. . 3
⊢ ℕ
⊆ ℕ0 |
46 | | rexss 3209 |
. . 3
⊢ (ℕ
⊆ ℕ0 → (∃𝑛 ∈ ℕ ((2 · 𝑛) + 1) = 𝑁 ↔ ∃𝑛 ∈ ℕ0 (𝑛 ∈ ℕ ∧ ((2
· 𝑛) + 1) = 𝑁))) |
47 | 45, 46 | mp1i 10 |
. 2
⊢ (𝑁 ∈
(ℤ≥‘2) → (∃𝑛 ∈ ℕ ((2 · 𝑛) + 1) = 𝑁 ↔ ∃𝑛 ∈ ℕ0 (𝑛 ∈ ℕ ∧ ((2
· 𝑛) + 1) = 𝑁))) |
48 | | eluzge2nn0 9507 |
. . 3
⊢ (𝑁 ∈
(ℤ≥‘2) → 𝑁 ∈
ℕ0) |
49 | | oddnn02np1 11817 |
. . 3
⊢ (𝑁 ∈ ℕ0
→ (¬ 2 ∥ 𝑁
↔ ∃𝑛 ∈
ℕ0 ((2 · 𝑛) + 1) = 𝑁)) |
50 | 48, 49 | syl 14 |
. 2
⊢ (𝑁 ∈
(ℤ≥‘2) → (¬ 2 ∥ 𝑁 ↔ ∃𝑛 ∈ ℕ0 ((2 ·
𝑛) + 1) = 𝑁)) |
51 | 44, 47, 50 | 3bitr4rd 220 |
1
⊢ (𝑁 ∈
(ℤ≥‘2) → (¬ 2 ∥ 𝑁 ↔ ∃𝑛 ∈ ℕ ((2 · 𝑛) + 1) = 𝑁)) |