Proof of Theorem 0nodd
Step | Hyp | Ref
| Expression |
1 | | halfnz 12398 |
. . . . . . . . . . 11
⊢ ¬ (1
/ 2) ∈ ℤ |
2 | | eleq1 2826 |
. . . . . . . . . . 11
⊢ ((1 / 2)
= -𝑥 → ((1 / 2) ∈
ℤ ↔ -𝑥 ∈
ℤ)) |
3 | 1, 2 | mtbii 326 |
. . . . . . . . . 10
⊢ ((1 / 2)
= -𝑥 → ¬ -𝑥 ∈
ℤ) |
4 | | znegcl 12355 |
. . . . . . . . . 10
⊢ (𝑥 ∈ ℤ → -𝑥 ∈
ℤ) |
5 | 3, 4 | nsyl3 138 |
. . . . . . . . 9
⊢ (𝑥 ∈ ℤ → ¬ (1
/ 2) = -𝑥) |
6 | | eqcom 2745 |
. . . . . . . . 9
⊢ (-𝑥 = (1 / 2) ↔ (1 / 2) =
-𝑥) |
7 | 5, 6 | sylnibr 329 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → ¬
-𝑥 = (1 /
2)) |
8 | | ax-1cn 10929 |
. . . . . . . . . . . 12
⊢ 1 ∈
ℂ |
9 | | 2cn 12048 |
. . . . . . . . . . . 12
⊢ 2 ∈
ℂ |
10 | | 2ne0 12077 |
. . . . . . . . . . . 12
⊢ 2 ≠
0 |
11 | | divneg 11667 |
. . . . . . . . . . . . 13
⊢ ((1
∈ ℂ ∧ 2 ∈ ℂ ∧ 2 ≠ 0) → -(1 / 2) = (-1 /
2)) |
12 | 11 | eqcomd 2744 |
. . . . . . . . . . . 12
⊢ ((1
∈ ℂ ∧ 2 ∈ ℂ ∧ 2 ≠ 0) → (-1 / 2) = -(1 /
2)) |
13 | 8, 9, 10, 12 | mp3an 1460 |
. . . . . . . . . . 11
⊢ (-1 / 2)
= -(1 / 2) |
14 | 13 | a1i 11 |
. . . . . . . . . 10
⊢ (𝑥 ∈ ℤ → (-1 / 2)
= -(1 / 2)) |
15 | 14 | eqeq1d 2740 |
. . . . . . . . 9
⊢ (𝑥 ∈ ℤ → ((-1 / 2)
= 𝑥 ↔ -(1 / 2) = 𝑥)) |
16 | | halfcn 12188 |
. . . . . . . . . . 11
⊢ (1 / 2)
∈ ℂ |
17 | 16 | a1i 11 |
. . . . . . . . . 10
⊢ (𝑥 ∈ ℤ → (1 / 2)
∈ ℂ) |
18 | | zcn 12324 |
. . . . . . . . . 10
⊢ (𝑥 ∈ ℤ → 𝑥 ∈
ℂ) |
19 | 17, 18 | negcon1d 11326 |
. . . . . . . . 9
⊢ (𝑥 ∈ ℤ → (-(1 / 2)
= 𝑥 ↔ -𝑥 = (1 / 2))) |
20 | 15, 19 | bitrd 278 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → ((-1 / 2)
= 𝑥 ↔ -𝑥 = (1 / 2))) |
21 | 7, 20 | mtbird 325 |
. . . . . . 7
⊢ (𝑥 ∈ ℤ → ¬ (-1
/ 2) = 𝑥) |
22 | | neg1cn 12087 |
. . . . . . . . 9
⊢ -1 ∈
ℂ |
23 | 22 | a1i 11 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → -1 ∈
ℂ) |
24 | | 2cnd 12051 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → 2 ∈
ℂ) |
25 | 10 | a1i 11 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → 2 ≠
0) |
26 | 23, 18, 24, 25 | divmul2d 11784 |
. . . . . . 7
⊢ (𝑥 ∈ ℤ → ((-1 / 2)
= 𝑥 ↔ -1 = (2 ·
𝑥))) |
27 | 21, 26 | mtbid 324 |
. . . . . 6
⊢ (𝑥 ∈ ℤ → ¬ -1
= (2 · 𝑥)) |
28 | | eqcom 2745 |
. . . . . . . 8
⊢ (0 = ((2
· 𝑥) + 1) ↔ ((2
· 𝑥) + 1) =
0) |
29 | 28 | a1i 11 |
. . . . . . 7
⊢ (𝑥 ∈ ℤ → (0 = ((2
· 𝑥) + 1) ↔ ((2
· 𝑥) + 1) =
0)) |
30 | | 0cnd 10968 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → 0 ∈
ℂ) |
31 | | 1cnd 10970 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → 1 ∈
ℂ) |
32 | 24, 18 | mulcld 10995 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → (2
· 𝑥) ∈
ℂ) |
33 | | subadd2 11225 |
. . . . . . . . 9
⊢ ((0
∈ ℂ ∧ 1 ∈ ℂ ∧ (2 · 𝑥) ∈ ℂ) → ((0 − 1) = (2
· 𝑥) ↔ ((2
· 𝑥) + 1) =
0)) |
34 | 33 | bicomd 222 |
. . . . . . . 8
⊢ ((0
∈ ℂ ∧ 1 ∈ ℂ ∧ (2 · 𝑥) ∈ ℂ) → (((2 · 𝑥) + 1) = 0 ↔ (0 − 1)
= (2 · 𝑥))) |
35 | 30, 31, 32, 34 | syl3anc 1370 |
. . . . . . 7
⊢ (𝑥 ∈ ℤ → (((2
· 𝑥) + 1) = 0 ↔
(0 − 1) = (2 · 𝑥))) |
36 | | df-neg 11208 |
. . . . . . . . . 10
⊢ -1 = (0
− 1) |
37 | 36 | eqcomi 2747 |
. . . . . . . . 9
⊢ (0
− 1) = -1 |
38 | 37 | a1i 11 |
. . . . . . . 8
⊢ (𝑥 ∈ ℤ → (0
− 1) = -1) |
39 | 38 | eqeq1d 2740 |
. . . . . . 7
⊢ (𝑥 ∈ ℤ → ((0
− 1) = (2 · 𝑥)
↔ -1 = (2 · 𝑥))) |
40 | 29, 35, 39 | 3bitrd 305 |
. . . . . 6
⊢ (𝑥 ∈ ℤ → (0 = ((2
· 𝑥) + 1) ↔ -1
= (2 · 𝑥))) |
41 | 27, 40 | mtbird 325 |
. . . . 5
⊢ (𝑥 ∈ ℤ → ¬ 0 =
((2 · 𝑥) +
1)) |
42 | 41 | nrex 3197 |
. . . 4
⊢ ¬
∃𝑥 ∈ ℤ 0 =
((2 · 𝑥) +
1) |
43 | 42 | intnan 487 |
. . 3
⊢ ¬ (0
∈ ℤ ∧ ∃𝑥 ∈ ℤ 0 = ((2 · 𝑥) + 1)) |
44 | | eqeq1 2742 |
. . . . 5
⊢ (𝑧 = 0 → (𝑧 = ((2 · 𝑥) + 1) ↔ 0 = ((2 · 𝑥) + 1))) |
45 | 44 | rexbidv 3226 |
. . . 4
⊢ (𝑧 = 0 → (∃𝑥 ∈ ℤ 𝑧 = ((2 · 𝑥) + 1) ↔ ∃𝑥 ∈ ℤ 0 = ((2 ·
𝑥) + 1))) |
46 | | oddinmgm.e |
. . . 4
⊢ 𝑂 = {𝑧 ∈ ℤ ∣ ∃𝑥 ∈ ℤ 𝑧 = ((2 · 𝑥) + 1)} |
47 | 45, 46 | elrab2 3627 |
. . 3
⊢ (0 ∈
𝑂 ↔ (0 ∈ ℤ
∧ ∃𝑥 ∈
ℤ 0 = ((2 · 𝑥)
+ 1))) |
48 | 43, 47 | mtbir 323 |
. 2
⊢ ¬ 0
∈ 𝑂 |
49 | 48 | nelir 3052 |
1
⊢ 0 ∉
𝑂 |