Proof of Theorem zeo
Step | Hyp | Ref
| Expression |
1 | | elz 9193 |
. 2
⊢ (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))) |
2 | | oveq1 5849 |
. . . . . 6
⊢ (𝑁 = 0 → (𝑁 / 2) = (0 / 2)) |
3 | | 2cn 8928 |
. . . . . . . 8
⊢ 2 ∈
ℂ |
4 | | 2ap0 8950 |
. . . . . . . 8
⊢ 2 #
0 |
5 | 3, 4 | div0api 8642 |
. . . . . . 7
⊢ (0 / 2) =
0 |
6 | | 0z 9202 |
. . . . . . 7
⊢ 0 ∈
ℤ |
7 | 5, 6 | eqeltri 2239 |
. . . . . 6
⊢ (0 / 2)
∈ ℤ |
8 | 2, 7 | eqeltrdi 2257 |
. . . . 5
⊢ (𝑁 = 0 → (𝑁 / 2) ∈ ℤ) |
9 | 8 | orcd 723 |
. . . 4
⊢ (𝑁 = 0 → ((𝑁 / 2) ∈ ℤ ∨ ((𝑁 + 1) / 2) ∈
ℤ)) |
10 | 9 | adantl 275 |
. . 3
⊢ ((𝑁 ∈ ℝ ∧ 𝑁 = 0) → ((𝑁 / 2) ∈ ℤ ∨ ((𝑁 + 1) / 2) ∈
ℤ)) |
11 | | nneoor 9293 |
. . . . 5
⊢ (𝑁 ∈ ℕ → ((𝑁 / 2) ∈ ℕ ∨
((𝑁 + 1) / 2) ∈
ℕ)) |
12 | | nnz 9210 |
. . . . . 6
⊢ ((𝑁 / 2) ∈ ℕ →
(𝑁 / 2) ∈
ℤ) |
13 | | nnz 9210 |
. . . . . 6
⊢ (((𝑁 + 1) / 2) ∈ ℕ →
((𝑁 + 1) / 2) ∈
ℤ) |
14 | 12, 13 | orim12i 749 |
. . . . 5
⊢ (((𝑁 / 2) ∈ ℕ ∨
((𝑁 + 1) / 2) ∈
ℕ) → ((𝑁 / 2)
∈ ℤ ∨ ((𝑁 +
1) / 2) ∈ ℤ)) |
15 | 11, 14 | syl 14 |
. . . 4
⊢ (𝑁 ∈ ℕ → ((𝑁 / 2) ∈ ℤ ∨
((𝑁 + 1) / 2) ∈
ℤ)) |
16 | 15 | adantl 275 |
. . 3
⊢ ((𝑁 ∈ ℝ ∧ 𝑁 ∈ ℕ) → ((𝑁 / 2) ∈ ℤ ∨
((𝑁 + 1) / 2) ∈
ℤ)) |
17 | | nneoor 9293 |
. . . . 5
⊢ (-𝑁 ∈ ℕ → ((-𝑁 / 2) ∈ ℕ ∨
((-𝑁 + 1) / 2) ∈
ℕ)) |
18 | 17 | adantl 275 |
. . . 4
⊢ ((𝑁 ∈ ℝ ∧ -𝑁 ∈ ℕ) → ((-𝑁 / 2) ∈ ℕ ∨
((-𝑁 + 1) / 2) ∈
ℕ)) |
19 | | recn 7886 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℝ → 𝑁 ∈
ℂ) |
20 | | divnegap 8602 |
. . . . . . . . . . 11
⊢ ((𝑁 ∈ ℂ ∧ 2 ∈
ℂ ∧ 2 # 0) → -(𝑁 / 2) = (-𝑁 / 2)) |
21 | 3, 4, 20 | mp3an23 1319 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℂ → -(𝑁 / 2) = (-𝑁 / 2)) |
22 | 19, 21 | syl 14 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℝ → -(𝑁 / 2) = (-𝑁 / 2)) |
23 | 22 | eleq1d 2235 |
. . . . . . . 8
⊢ (𝑁 ∈ ℝ → (-(𝑁 / 2) ∈ ℕ ↔
(-𝑁 / 2) ∈
ℕ)) |
24 | | nnnegz 9194 |
. . . . . . . 8
⊢ (-(𝑁 / 2) ∈ ℕ →
--(𝑁 / 2) ∈
ℤ) |
25 | 23, 24 | syl6bir 163 |
. . . . . . 7
⊢ (𝑁 ∈ ℝ → ((-𝑁 / 2) ∈ ℕ →
--(𝑁 / 2) ∈
ℤ)) |
26 | 19 | halfcld 9101 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℝ → (𝑁 / 2) ∈
ℂ) |
27 | 26 | negnegd 8200 |
. . . . . . . 8
⊢ (𝑁 ∈ ℝ → --(𝑁 / 2) = (𝑁 / 2)) |
28 | 27 | eleq1d 2235 |
. . . . . . 7
⊢ (𝑁 ∈ ℝ → (--(𝑁 / 2) ∈ ℤ ↔
(𝑁 / 2) ∈
ℤ)) |
29 | 25, 28 | sylibd 148 |
. . . . . 6
⊢ (𝑁 ∈ ℝ → ((-𝑁 / 2) ∈ ℕ →
(𝑁 / 2) ∈
ℤ)) |
30 | | nnz 9210 |
. . . . . . 7
⊢ (((-𝑁 + 1) / 2) ∈ ℕ →
((-𝑁 + 1) / 2) ∈
ℤ) |
31 | | peano2zm 9229 |
. . . . . . . . . 10
⊢ (((-𝑁 + 1) / 2) ∈ ℤ →
(((-𝑁 + 1) / 2) − 1)
∈ ℤ) |
32 | | ax-1cn 7846 |
. . . . . . . . . . . . . . . . . . 19
⊢ 1 ∈
ℂ |
33 | 32, 3 | negsubdi2i 8184 |
. . . . . . . . . . . . . . . . . 18
⊢ -(1
− 2) = (2 − 1) |
34 | | 2m1e1 8975 |
. . . . . . . . . . . . . . . . . 18
⊢ (2
− 1) = 1 |
35 | 33, 34 | eqtr2i 2187 |
. . . . . . . . . . . . . . . . 17
⊢ 1 = -(1
− 2) |
36 | 32, 3 | subcli 8174 |
. . . . . . . . . . . . . . . . . 18
⊢ (1
− 2) ∈ ℂ |
37 | 32, 36 | negcon2i 8181 |
. . . . . . . . . . . . . . . . 17
⊢ (1 = -(1
− 2) ↔ (1 − 2) = -1) |
38 | 35, 37 | mpbi 144 |
. . . . . . . . . . . . . . . 16
⊢ (1
− 2) = -1 |
39 | 38 | oveq2i 5853 |
. . . . . . . . . . . . . . 15
⊢ (-𝑁 + (1 − 2)) = (-𝑁 + -1) |
40 | | negcl 8098 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈ ℂ → -𝑁 ∈
ℂ) |
41 | | addsubass 8108 |
. . . . . . . . . . . . . . . . 17
⊢ ((-𝑁 ∈ ℂ ∧ 1 ∈
ℂ ∧ 2 ∈ ℂ) → ((-𝑁 + 1) − 2) = (-𝑁 + (1 − 2))) |
42 | 32, 3, 41 | mp3an23 1319 |
. . . . . . . . . . . . . . . 16
⊢ (-𝑁 ∈ ℂ → ((-𝑁 + 1) − 2) = (-𝑁 + (1 −
2))) |
43 | 40, 42 | syl 14 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℂ → ((-𝑁 + 1) − 2) = (-𝑁 + (1 −
2))) |
44 | | negdi 8155 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑁 ∈ ℂ ∧ 1 ∈
ℂ) → -(𝑁 + 1) =
(-𝑁 + -1)) |
45 | 32, 44 | mpan2 422 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℂ → -(𝑁 + 1) = (-𝑁 + -1)) |
46 | 39, 43, 45 | 3eqtr4a 2225 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℂ → ((-𝑁 + 1) − 2) = -(𝑁 + 1)) |
47 | 46 | oveq1d 5857 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℂ → (((-𝑁 + 1) − 2) / 2) = (-(𝑁 + 1) / 2)) |
48 | | 2div2e1 8989 |
. . . . . . . . . . . . . . . 16
⊢ (2 / 2) =
1 |
49 | 48 | eqcomi 2169 |
. . . . . . . . . . . . . . 15
⊢ 1 = (2 /
2) |
50 | 49 | oveq2i 5853 |
. . . . . . . . . . . . . 14
⊢ (((-𝑁 + 1) / 2) − 1) =
(((-𝑁 + 1) / 2) − (2
/ 2)) |
51 | | peano2cn 8033 |
. . . . . . . . . . . . . . . 16
⊢ (-𝑁 ∈ ℂ → (-𝑁 + 1) ∈
ℂ) |
52 | 40, 51 | syl 14 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℂ → (-𝑁 + 1) ∈
ℂ) |
53 | 3, 4 | pm3.2i 270 |
. . . . . . . . . . . . . . . 16
⊢ (2 ∈
ℂ ∧ 2 # 0) |
54 | | divsubdirap 8604 |
. . . . . . . . . . . . . . . 16
⊢ (((-𝑁 + 1) ∈ ℂ ∧ 2
∈ ℂ ∧ (2 ∈ ℂ ∧ 2 # 0)) → (((-𝑁 + 1) − 2) / 2) =
(((-𝑁 + 1) / 2) − (2
/ 2))) |
55 | 3, 53, 54 | mp3an23 1319 |
. . . . . . . . . . . . . . 15
⊢ ((-𝑁 + 1) ∈ ℂ →
(((-𝑁 + 1) − 2) / 2)
= (((-𝑁 + 1) / 2) −
(2 / 2))) |
56 | 52, 55 | syl 14 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℂ → (((-𝑁 + 1) − 2) / 2) =
(((-𝑁 + 1) / 2) − (2
/ 2))) |
57 | 50, 56 | eqtr4id 2218 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℂ → (((-𝑁 + 1) / 2) − 1) =
(((-𝑁 + 1) − 2) /
2)) |
58 | | peano2cn 8033 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℂ → (𝑁 + 1) ∈
ℂ) |
59 | | divnegap 8602 |
. . . . . . . . . . . . . . 15
⊢ (((𝑁 + 1) ∈ ℂ ∧ 2
∈ ℂ ∧ 2 # 0) → -((𝑁 + 1) / 2) = (-(𝑁 + 1) / 2)) |
60 | 3, 4, 59 | mp3an23 1319 |
. . . . . . . . . . . . . 14
⊢ ((𝑁 + 1) ∈ ℂ →
-((𝑁 + 1) / 2) = (-(𝑁 + 1) / 2)) |
61 | 58, 60 | syl 14 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℂ → -((𝑁 + 1) / 2) = (-(𝑁 + 1) / 2)) |
62 | 47, 57, 61 | 3eqtr4d 2208 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℂ → (((-𝑁 + 1) / 2) − 1) = -((𝑁 + 1) / 2)) |
63 | 19, 62 | syl 14 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℝ → (((-𝑁 + 1) / 2) − 1) = -((𝑁 + 1) / 2)) |
64 | 63 | eleq1d 2235 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℝ →
((((-𝑁 + 1) / 2) − 1)
∈ ℤ ↔ -((𝑁
+ 1) / 2) ∈ ℤ)) |
65 | 31, 64 | syl5ib 153 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℝ → (((-𝑁 + 1) / 2) ∈ ℤ →
-((𝑁 + 1) / 2) ∈
ℤ)) |
66 | | znegcl 9222 |
. . . . . . . . 9
⊢ (-((𝑁 + 1) / 2) ∈ ℤ →
--((𝑁 + 1) / 2) ∈
ℤ) |
67 | 65, 66 | syl6 33 |
. . . . . . . 8
⊢ (𝑁 ∈ ℝ → (((-𝑁 + 1) / 2) ∈ ℤ →
--((𝑁 + 1) / 2) ∈
ℤ)) |
68 | | peano2re 8034 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℝ → (𝑁 + 1) ∈
ℝ) |
69 | 68 | recnd 7927 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℝ → (𝑁 + 1) ∈
ℂ) |
70 | 69 | halfcld 9101 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℝ → ((𝑁 + 1) / 2) ∈
ℂ) |
71 | 70 | negnegd 8200 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℝ → --((𝑁 + 1) / 2) = ((𝑁 + 1) / 2)) |
72 | 71 | eleq1d 2235 |
. . . . . . . 8
⊢ (𝑁 ∈ ℝ →
(--((𝑁 + 1) / 2) ∈
ℤ ↔ ((𝑁 + 1) /
2) ∈ ℤ)) |
73 | 67, 72 | sylibd 148 |
. . . . . . 7
⊢ (𝑁 ∈ ℝ → (((-𝑁 + 1) / 2) ∈ ℤ →
((𝑁 + 1) / 2) ∈
ℤ)) |
74 | 30, 73 | syl5 32 |
. . . . . 6
⊢ (𝑁 ∈ ℝ → (((-𝑁 + 1) / 2) ∈ ℕ →
((𝑁 + 1) / 2) ∈
ℤ)) |
75 | 29, 74 | orim12d 776 |
. . . . 5
⊢ (𝑁 ∈ ℝ → (((-𝑁 / 2) ∈ ℕ ∨
((-𝑁 + 1) / 2) ∈
ℕ) → ((𝑁 / 2)
∈ ℤ ∨ ((𝑁 +
1) / 2) ∈ ℤ))) |
76 | 75 | adantr 274 |
. . . 4
⊢ ((𝑁 ∈ ℝ ∧ -𝑁 ∈ ℕ) →
(((-𝑁 / 2) ∈ ℕ
∨ ((-𝑁 + 1) / 2) ∈
ℕ) → ((𝑁 / 2)
∈ ℤ ∨ ((𝑁 +
1) / 2) ∈ ℤ))) |
77 | 18, 76 | mpd 13 |
. . 3
⊢ ((𝑁 ∈ ℝ ∧ -𝑁 ∈ ℕ) → ((𝑁 / 2) ∈ ℤ ∨
((𝑁 + 1) / 2) ∈
ℤ)) |
78 | 10, 16, 77 | 3jaodan 1296 |
. 2
⊢ ((𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) → ((𝑁 / 2) ∈ ℤ ∨ ((𝑁 + 1) / 2) ∈
ℤ)) |
79 | 1, 78 | sylbi 120 |
1
⊢ (𝑁 ∈ ℤ → ((𝑁 / 2) ∈ ℤ ∨
((𝑁 + 1) / 2) ∈
ℤ)) |