Proof of Theorem nn01to3
Step | Hyp | Ref
| Expression |
1 | | simp2 993 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → 1 ≤ 𝑁) |
2 | | simp1 992 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → 𝑁 ∈
ℕ0) |
3 | | 1z 9238 |
. . . . . . . . 9
⊢ 1 ∈
ℤ |
4 | | nn0z 9232 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℤ) |
5 | | zleloe 9259 |
. . . . . . . . 9
⊢ ((1
∈ ℤ ∧ 𝑁
∈ ℤ) → (1 ≤ 𝑁 ↔ (1 < 𝑁 ∨ 1 = 𝑁))) |
6 | 3, 4, 5 | sylancr 412 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ0
→ (1 ≤ 𝑁 ↔ (1
< 𝑁 ∨ 1 = 𝑁))) |
7 | 2, 6 | syl 14 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 ≤ 𝑁 ↔ (1 < 𝑁 ∨ 1 = 𝑁))) |
8 | 1, 7 | mpbid 146 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 < 𝑁 ∨ 1 = 𝑁)) |
9 | | 1nn0 9151 |
. . . . . . . . . . 11
⊢ 1 ∈
ℕ0 |
10 | | nn0ltp1le 9274 |
. . . . . . . . . . 11
⊢ ((1
∈ ℕ0 ∧ 𝑁 ∈ ℕ0) → (1 <
𝑁 ↔ (1 + 1) ≤ 𝑁)) |
11 | 9, 10 | mpan 422 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ (1 < 𝑁 ↔ (1
+ 1) ≤ 𝑁)) |
12 | | df-2 8937 |
. . . . . . . . . . 11
⊢ 2 = (1 +
1) |
13 | 12 | breq1i 3996 |
. . . . . . . . . 10
⊢ (2 ≤
𝑁 ↔ (1 + 1) ≤ 𝑁) |
14 | 11, 13 | bitr4di 197 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (1 < 𝑁 ↔ 2
≤ 𝑁)) |
15 | | 2z 9240 |
. . . . . . . . . 10
⊢ 2 ∈
ℤ |
16 | | zleloe 9259 |
. . . . . . . . . 10
⊢ ((2
∈ ℤ ∧ 𝑁
∈ ℤ) → (2 ≤ 𝑁 ↔ (2 < 𝑁 ∨ 2 = 𝑁))) |
17 | 15, 4, 16 | sylancr 412 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (2 ≤ 𝑁 ↔ (2
< 𝑁 ∨ 2 = 𝑁))) |
18 | 14, 17 | bitrd 187 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ0
→ (1 < 𝑁 ↔ (2
< 𝑁 ∨ 2 = 𝑁))) |
19 | 18 | orbi1d 786 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ0
→ ((1 < 𝑁 ∨ 1 =
𝑁) ↔ ((2 < 𝑁 ∨ 2 = 𝑁) ∨ 1 = 𝑁))) |
20 | 2, 19 | syl 14 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → ((1 < 𝑁 ∨ 1 = 𝑁) ↔ ((2 < 𝑁 ∨ 2 = 𝑁) ∨ 1 = 𝑁))) |
21 | 8, 20 | mpbid 146 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → ((2 < 𝑁 ∨ 2 = 𝑁) ∨ 1 = 𝑁)) |
22 | 21 | orcomd 724 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 = 𝑁 ∨ (2 < 𝑁 ∨ 2 = 𝑁))) |
23 | | orcom 723 |
. . . . 5
⊢ ((2 <
𝑁 ∨ 2 = 𝑁) ↔ (2 = 𝑁 ∨ 2 < 𝑁)) |
24 | 23 | orbi2i 757 |
. . . 4
⊢ ((1 =
𝑁 ∨ (2 < 𝑁 ∨ 2 = 𝑁)) ↔ (1 = 𝑁 ∨ (2 = 𝑁 ∨ 2 < 𝑁))) |
25 | 22, 24 | sylib 121 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 = 𝑁 ∨ (2 = 𝑁 ∨ 2 < 𝑁))) |
26 | | 3orass 976 |
. . 3
⊢ ((1 =
𝑁 ∨ 2 = 𝑁 ∨ 2 < 𝑁) ↔ (1 = 𝑁 ∨ (2 = 𝑁 ∨ 2 < 𝑁))) |
27 | 25, 26 | sylibr 133 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 = 𝑁 ∨ 2 = 𝑁 ∨ 2 < 𝑁)) |
28 | | 3mix1 1161 |
. . . . 5
⊢ (𝑁 = 1 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
29 | 28 | eqcoms 2173 |
. . . 4
⊢ (1 =
𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
30 | 29 | a1i 9 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 = 𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3))) |
31 | | 3mix2 1162 |
. . . . 5
⊢ (𝑁 = 2 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
32 | 31 | eqcoms 2173 |
. . . 4
⊢ (2 =
𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
33 | 32 | a1i 9 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (2 = 𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3))) |
34 | | simp3 994 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → 𝑁 ≤ 3) |
35 | 34 | biantrurd 303 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (3 ≤ 𝑁 ↔ (𝑁 ≤ 3 ∧ 3 ≤ 𝑁))) |
36 | | 2nn0 9152 |
. . . . . . . 8
⊢ 2 ∈
ℕ0 |
37 | | nn0ltp1le 9274 |
. . . . . . . 8
⊢ ((2
∈ ℕ0 ∧ 𝑁 ∈ ℕ0) → (2 <
𝑁 ↔ (2 + 1) ≤ 𝑁)) |
38 | 36, 37 | mpan 422 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ0
→ (2 < 𝑁 ↔ (2
+ 1) ≤ 𝑁)) |
39 | | df-3 8938 |
. . . . . . . 8
⊢ 3 = (2 +
1) |
40 | 39 | breq1i 3996 |
. . . . . . 7
⊢ (3 ≤
𝑁 ↔ (2 + 1) ≤ 𝑁) |
41 | 38, 40 | bitr4di 197 |
. . . . . 6
⊢ (𝑁 ∈ ℕ0
→ (2 < 𝑁 ↔ 3
≤ 𝑁)) |
42 | 2, 41 | syl 14 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (2 < 𝑁 ↔ 3 ≤ 𝑁)) |
43 | 2 | nn0red 9189 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → 𝑁 ∈
ℝ) |
44 | | 3re 8952 |
. . . . . 6
⊢ 3 ∈
ℝ |
45 | | letri3 8000 |
. . . . . 6
⊢ ((𝑁 ∈ ℝ ∧ 3 ∈
ℝ) → (𝑁 = 3
↔ (𝑁 ≤ 3 ∧ 3
≤ 𝑁))) |
46 | 43, 44, 45 | sylancl 411 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (𝑁 = 3 ↔ (𝑁 ≤ 3 ∧ 3 ≤ 𝑁))) |
47 | 35, 42, 46 | 3bitr4d 219 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (2 < 𝑁 ↔ 𝑁 = 3)) |
48 | | 3mix3 1163 |
. . . 4
⊢ (𝑁 = 3 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
49 | 47, 48 | syl6bi 162 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (2 < 𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3))) |
50 | 30, 33, 49 | 3jaod 1299 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → ((1 = 𝑁 ∨ 2 = 𝑁 ∨ 2 < 𝑁) → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3))) |
51 | 27, 50 | mpd 13 |
1
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |