Proof of Theorem nn01to3
Step | Hyp | Ref
| Expression |
1 | | simp2 988 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → 1 ≤ 𝑁) |
2 | | simp1 987 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → 𝑁 ∈
ℕ0) |
3 | | 1z 9217 |
. . . . . . . . 9
⊢ 1 ∈
ℤ |
4 | | nn0z 9211 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℤ) |
5 | | zleloe 9238 |
. . . . . . . . 9
⊢ ((1
∈ ℤ ∧ 𝑁
∈ ℤ) → (1 ≤ 𝑁 ↔ (1 < 𝑁 ∨ 1 = 𝑁))) |
6 | 3, 4, 5 | sylancr 411 |
. . . . . . . 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 9130 |
. . . . . . . . . . 11
⊢ 1 ∈
ℕ0 |
10 | | nn0ltp1le 9253 |
. . . . . . . . . . 11
⊢ ((1
∈ ℕ0 ∧ 𝑁 ∈ ℕ0) → (1 <
𝑁 ↔ (1 + 1) ≤ 𝑁)) |
11 | 9, 10 | mpan 421 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ (1 < 𝑁 ↔ (1
+ 1) ≤ 𝑁)) |
12 | | df-2 8916 |
. . . . . . . . . . 11
⊢ 2 = (1 +
1) |
13 | 12 | breq1i 3989 |
. . . . . . . . . 10
⊢ (2 ≤
𝑁 ↔ (1 + 1) ≤ 𝑁) |
14 | 11, 13 | bitr4di 197 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (1 < 𝑁 ↔ 2
≤ 𝑁)) |
15 | | 2z 9219 |
. . . . . . . . . 10
⊢ 2 ∈
ℤ |
16 | | zleloe 9238 |
. . . . . . . . . 10
⊢ ((2
∈ ℤ ∧ 𝑁
∈ ℤ) → (2 ≤ 𝑁 ↔ (2 < 𝑁 ∨ 2 = 𝑁))) |
17 | 15, 4, 16 | sylancr 411 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (2 ≤ 𝑁 ↔ (2
< 𝑁 ∨ 2 = 𝑁))) |
18 | 14, 17 | bitrd 187 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ0
→ (1 < 𝑁 ↔ (2
< 𝑁 ∨ 2 = 𝑁))) |
19 | 18 | orbi1d 781 |
. . . . . . 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 719 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 = 𝑁 ∨ (2 < 𝑁 ∨ 2 = 𝑁))) |
23 | | orcom 718 |
. . . . 5
⊢ ((2 <
𝑁 ∨ 2 = 𝑁) ↔ (2 = 𝑁 ∨ 2 < 𝑁)) |
24 | 23 | orbi2i 752 |
. . . 4
⊢ ((1 =
𝑁 ∨ (2 < 𝑁 ∨ 2 = 𝑁)) ↔ (1 = 𝑁 ∨ (2 = 𝑁 ∨ 2 < 𝑁))) |
25 | 22, 24 | sylib 121 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 = 𝑁 ∨ (2 = 𝑁 ∨ 2 < 𝑁))) |
26 | | 3orass 971 |
. . 3
⊢ ((1 =
𝑁 ∨ 2 = 𝑁 ∨ 2 < 𝑁) ↔ (1 = 𝑁 ∨ (2 = 𝑁 ∨ 2 < 𝑁))) |
27 | 25, 26 | sylibr 133 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 = 𝑁 ∨ 2 = 𝑁 ∨ 2 < 𝑁)) |
28 | | 3mix1 1156 |
. . . . 5
⊢ (𝑁 = 1 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
29 | 28 | eqcoms 2168 |
. . . 4
⊢ (1 =
𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
30 | 29 | a1i 9 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (1 = 𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3))) |
31 | | 3mix2 1157 |
. . . . 5
⊢ (𝑁 = 2 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
32 | 31 | eqcoms 2168 |
. . . 4
⊢ (2 =
𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
33 | 32 | a1i 9 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (2 = 𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3))) |
34 | | simp3 989 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → 𝑁 ≤ 3) |
35 | 34 | biantrurd 303 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (3 ≤ 𝑁 ↔ (𝑁 ≤ 3 ∧ 3 ≤ 𝑁))) |
36 | | 2nn0 9131 |
. . . . . . . 8
⊢ 2 ∈
ℕ0 |
37 | | nn0ltp1le 9253 |
. . . . . . . 8
⊢ ((2
∈ ℕ0 ∧ 𝑁 ∈ ℕ0) → (2 <
𝑁 ↔ (2 + 1) ≤ 𝑁)) |
38 | 36, 37 | mpan 421 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ0
→ (2 < 𝑁 ↔ (2
+ 1) ≤ 𝑁)) |
39 | | df-3 8917 |
. . . . . . . 8
⊢ 3 = (2 +
1) |
40 | 39 | breq1i 3989 |
. . . . . . 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 9168 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → 𝑁 ∈
ℝ) |
44 | | 3re 8931 |
. . . . . 6
⊢ 3 ∈
ℝ |
45 | | letri3 7979 |
. . . . . 6
⊢ ((𝑁 ∈ ℝ ∧ 3 ∈
ℝ) → (𝑁 = 3
↔ (𝑁 ≤ 3 ∧ 3
≤ 𝑁))) |
46 | 43, 44, 45 | sylancl 410 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (𝑁 = 3 ↔ (𝑁 ≤ 3 ∧ 3 ≤ 𝑁))) |
47 | 35, 42, 46 | 3bitr4d 219 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (2 < 𝑁 ↔ 𝑁 = 3)) |
48 | | 3mix3 1158 |
. . . 4
⊢ (𝑁 = 3 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |
49 | 47, 48 | syl6bi 162 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (2 < 𝑁 → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3))) |
50 | 30, 33, 49 | 3jaod 1294 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → ((1 = 𝑁 ∨ 2 = 𝑁 ∨ 2 < 𝑁) → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3))) |
51 | 27, 50 | mpd 13 |
1
⊢ ((𝑁 ∈ ℕ0
∧ 1 ≤ 𝑁 ∧ 𝑁 ≤ 3) → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) |