Step | Hyp | Ref
| Expression |
1 | | odd2np1 15978 |
. . 3
⊢ (𝑁 ∈ ℤ → (¬ 2
∥ 𝑁 ↔
∃𝑛 ∈ ℤ ((2
· 𝑛) + 1) = 𝑁)) |
2 | | 0xr 10953 |
. . . . . . . . . . . 12
⊢ 0 ∈
ℝ* |
3 | | 1xr 10965 |
. . . . . . . . . . . 12
⊢ 1 ∈
ℝ* |
4 | | halfre 12117 |
. . . . . . . . . . . . 13
⊢ (1 / 2)
∈ ℝ |
5 | 4 | rexri 10964 |
. . . . . . . . . . . 12
⊢ (1 / 2)
∈ ℝ* |
6 | 2, 3, 5 | 3pm3.2i 1337 |
. . . . . . . . . . 11
⊢ (0 ∈
ℝ* ∧ 1 ∈ ℝ* ∧ (1 / 2) ∈
ℝ*) |
7 | | halfgt0 12119 |
. . . . . . . . . . . 12
⊢ 0 < (1
/ 2) |
8 | | halflt1 12121 |
. . . . . . . . . . . 12
⊢ (1 / 2)
< 1 |
9 | 7, 8 | pm3.2i 470 |
. . . . . . . . . . 11
⊢ (0 <
(1 / 2) ∧ (1 / 2) < 1) |
10 | | elioo3g 13037 |
. . . . . . . . . . 11
⊢ ((1 / 2)
∈ (0(,)1) ↔ ((0 ∈ ℝ* ∧ 1 ∈
ℝ* ∧ (1 / 2) ∈ ℝ*) ∧ (0 < (1
/ 2) ∧ (1 / 2) < 1))) |
11 | 6, 9, 10 | mpbir2an 707 |
. . . . . . . . . 10
⊢ (1 / 2)
∈ (0(,)1) |
12 | | zltaddlt1le 13166 |
. . . . . . . . . 10
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ (1 / 2)
∈ (0(,)1)) → ((𝑛
+ (1 / 2)) < 𝑀 ↔
(𝑛 + (1 / 2)) ≤ 𝑀)) |
13 | 11, 12 | mp3an3 1448 |
. . . . . . . . 9
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((𝑛 + (1 / 2)) < 𝑀 ↔ (𝑛 + (1 / 2)) ≤ 𝑀)) |
14 | | zcn 12254 |
. . . . . . . . . . . 12
⊢ (𝑛 ∈ ℤ → 𝑛 ∈
ℂ) |
15 | 14 | adantr 480 |
. . . . . . . . . . 11
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → 𝑛 ∈
ℂ) |
16 | | 1cnd 10901 |
. . . . . . . . . . 11
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → 1 ∈
ℂ) |
17 | | 2cnne0 12113 |
. . . . . . . . . . . 12
⊢ (2 ∈
ℂ ∧ 2 ≠ 0) |
18 | 17 | a1i 11 |
. . . . . . . . . . 11
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → (2
∈ ℂ ∧ 2 ≠ 0)) |
19 | | muldivdir 11598 |
. . . . . . . . . . 11
⊢ ((𝑛 ∈ ℂ ∧ 1 ∈
ℂ ∧ (2 ∈ ℂ ∧ 2 ≠ 0)) → (((2 · 𝑛) + 1) / 2) = (𝑛 + (1 / 2))) |
20 | 15, 16, 18, 19 | syl3anc 1369 |
. . . . . . . . . 10
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → (((2
· 𝑛) + 1) / 2) =
(𝑛 + (1 /
2))) |
21 | 20 | breq1d 5080 |
. . . . . . . . 9
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((((2
· 𝑛) + 1) / 2) <
𝑀 ↔ (𝑛 + (1 / 2)) < 𝑀)) |
22 | 20 | breq1d 5080 |
. . . . . . . . 9
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((((2
· 𝑛) + 1) / 2) ≤
𝑀 ↔ (𝑛 + (1 / 2)) ≤ 𝑀)) |
23 | 13, 21, 22 | 3bitr4rd 311 |
. . . . . . . 8
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((((2
· 𝑛) + 1) / 2) ≤
𝑀 ↔ (((2 ·
𝑛) + 1) / 2) < 𝑀)) |
24 | | oveq1 7262 |
. . . . . . . . . 10
⊢ (((2
· 𝑛) + 1) = 𝑁 → (((2 · 𝑛) + 1) / 2) = (𝑁 / 2)) |
25 | 24 | breq1d 5080 |
. . . . . . . . 9
⊢ (((2
· 𝑛) + 1) = 𝑁 → ((((2 · 𝑛) + 1) / 2) ≤ 𝑀 ↔ (𝑁 / 2) ≤ 𝑀)) |
26 | 24 | breq1d 5080 |
. . . . . . . . 9
⊢ (((2
· 𝑛) + 1) = 𝑁 → ((((2 · 𝑛) + 1) / 2) < 𝑀 ↔ (𝑁 / 2) < 𝑀)) |
27 | 25, 26 | bibi12d 345 |
. . . . . . . 8
⊢ (((2
· 𝑛) + 1) = 𝑁 → (((((2 · 𝑛) + 1) / 2) ≤ 𝑀 ↔ (((2 · 𝑛) + 1) / 2) < 𝑀) ↔ ((𝑁 / 2) ≤ 𝑀 ↔ (𝑁 / 2) < 𝑀))) |
28 | 23, 27 | syl5ibcom 244 |
. . . . . . 7
⊢ ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ) → (((2
· 𝑛) + 1) = 𝑁 → ((𝑁 / 2) ≤ 𝑀 ↔ (𝑁 / 2) < 𝑀))) |
29 | 28 | ex 412 |
. . . . . 6
⊢ (𝑛 ∈ ℤ → (𝑀 ∈ ℤ → (((2
· 𝑛) + 1) = 𝑁 → ((𝑁 / 2) ≤ 𝑀 ↔ (𝑁 / 2) < 𝑀)))) |
30 | 29 | adantl 481 |
. . . . 5
⊢ ((𝑁 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (𝑀 ∈ ℤ → (((2
· 𝑛) + 1) = 𝑁 → ((𝑁 / 2) ≤ 𝑀 ↔ (𝑁 / 2) < 𝑀)))) |
31 | 30 | com23 86 |
. . . 4
⊢ ((𝑁 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (((2
· 𝑛) + 1) = 𝑁 → (𝑀 ∈ ℤ → ((𝑁 / 2) ≤ 𝑀 ↔ (𝑁 / 2) < 𝑀)))) |
32 | 31 | rexlimdva 3212 |
. . 3
⊢ (𝑁 ∈ ℤ →
(∃𝑛 ∈ ℤ
((2 · 𝑛) + 1) =
𝑁 → (𝑀 ∈ ℤ → ((𝑁 / 2) ≤ 𝑀 ↔ (𝑁 / 2) < 𝑀)))) |
33 | 1, 32 | sylbid 239 |
. 2
⊢ (𝑁 ∈ ℤ → (¬ 2
∥ 𝑁 → (𝑀 ∈ ℤ → ((𝑁 / 2) ≤ 𝑀 ↔ (𝑁 / 2) < 𝑀)))) |
34 | 33 | 3imp 1109 |
1
⊢ ((𝑁 ∈ ℤ ∧ ¬ 2
∥ 𝑁 ∧ 𝑀 ∈ ℤ) → ((𝑁 / 2) ≤ 𝑀 ↔ (𝑁 / 2) < 𝑀)) |