Step | Hyp | Ref
| Expression |
1 | | 1z 12348 |
. . . . . . . . . . . 12
⊢ 1 ∈
ℤ |
2 | | nn0z 12341 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℤ) |
3 | | elfz1 13241 |
. . . . . . . . . . . 12
⊢ ((1
∈ ℤ ∧ 𝑁
∈ ℤ) → (𝑗
∈ (1...𝑁) ↔
(𝑗 ∈ ℤ ∧ 1
≤ 𝑗 ∧ 𝑗 ≤ 𝑁))) |
4 | 1, 2, 3 | sylancr 587 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ (𝑗 ∈ (1...𝑁) ↔ (𝑗 ∈ ℤ ∧ 1 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁))) |
5 | | 3anass 1094 |
. . . . . . . . . . 11
⊢ ((𝑗 ∈ ℤ ∧ 1 ≤
𝑗 ∧ 𝑗 ≤ 𝑁) ↔ (𝑗 ∈ ℤ ∧ (1 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁))) |
6 | 4, 5 | bitrdi 287 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ (𝑗 ∈ (1...𝑁) ↔ (𝑗 ∈ ℤ ∧ (1 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)))) |
7 | 6 | baibd 540 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
→ (𝑗 ∈ (1...𝑁) ↔ (1 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁))) |
8 | 7 | baibd 540 |
. . . . . . . 8
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ 1 ≤ 𝑗) →
(𝑗 ∈ (1...𝑁) ↔ 𝑗 ≤ 𝑁)) |
9 | 8 | notbid 318 |
. . . . . . 7
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ 1 ≤ 𝑗) →
(¬ 𝑗 ∈ (1...𝑁) ↔ ¬ 𝑗 ≤ 𝑁)) |
10 | | simpl 483 |
. . . . . . . . . . . 12
⊢ ((𝑁 ∈ ℤ ∧ 𝑗 ∈ ℤ) → 𝑁 ∈
ℤ) |
11 | 10 | zred 12423 |
. . . . . . . . . . 11
⊢ ((𝑁 ∈ ℤ ∧ 𝑗 ∈ ℤ) → 𝑁 ∈
ℝ) |
12 | | simpr 485 |
. . . . . . . . . . . 12
⊢ ((𝑁 ∈ ℤ ∧ 𝑗 ∈ ℤ) → 𝑗 ∈
ℤ) |
13 | 12 | zred 12423 |
. . . . . . . . . . 11
⊢ ((𝑁 ∈ ℤ ∧ 𝑗 ∈ ℤ) → 𝑗 ∈
ℝ) |
14 | 11, 13 | ltnled 11120 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℤ ∧ 𝑗 ∈ ℤ) → (𝑁 < 𝑗 ↔ ¬ 𝑗 ≤ 𝑁)) |
15 | | zltp1le 12368 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℤ ∧ 𝑗 ∈ ℤ) → (𝑁 < 𝑗 ↔ (𝑁 + 1) ≤ 𝑗)) |
16 | 14, 15 | bitr3d 280 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℤ ∧ 𝑗 ∈ ℤ) → (¬
𝑗 ≤ 𝑁 ↔ (𝑁 + 1) ≤ 𝑗)) |
17 | 2, 16 | sylan 580 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
→ (¬ 𝑗 ≤ 𝑁 ↔ (𝑁 + 1) ≤ 𝑗)) |
18 | 17 | adantr 481 |
. . . . . . 7
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ 1 ≤ 𝑗) →
(¬ 𝑗 ≤ 𝑁 ↔ (𝑁 + 1) ≤ 𝑗)) |
19 | 9, 18 | bitrd 278 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ 1 ≤ 𝑗) →
(¬ 𝑗 ∈ (1...𝑁) ↔ (𝑁 + 1) ≤ 𝑗)) |
20 | 19 | pm5.32da 579 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
→ ((1 ≤ 𝑗 ∧
¬ 𝑗 ∈ (1...𝑁)) ↔ (1 ≤ 𝑗 ∧ (𝑁 + 1) ≤ 𝑗))) |
21 | | 1red 10975 |
. . . . . . . 8
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 1 ∈
ℝ) |
22 | | simpll 764 |
. . . . . . . . . 10
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 𝑁 ∈
ℕ0) |
23 | 22 | nn0red 12292 |
. . . . . . . . 9
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 𝑁 ∈ ℝ) |
24 | 23, 21 | readdcld 11003 |
. . . . . . . 8
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → (𝑁 + 1) ∈ ℝ) |
25 | | simplr 766 |
. . . . . . . . 9
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 𝑗 ∈ ℤ) |
26 | 25 | zred 12423 |
. . . . . . . 8
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 𝑗 ∈ ℝ) |
27 | | 0p1e1 12093 |
. . . . . . . . 9
⊢ (0 + 1) =
1 |
28 | | 0red 10977 |
. . . . . . . . . 10
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 0 ∈
ℝ) |
29 | 22 | nn0ge0d 12294 |
. . . . . . . . . 10
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 0 ≤ 𝑁) |
30 | 28, 23, 21, 29 | leadd1dd 11587 |
. . . . . . . . 9
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → (0 + 1) ≤ (𝑁 + 1)) |
31 | 27, 30 | eqbrtrrid 5115 |
. . . . . . . 8
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 1 ≤ (𝑁 + 1)) |
32 | | simpr 485 |
. . . . . . . 8
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → (𝑁 + 1) ≤ 𝑗) |
33 | 21, 24, 26, 31, 32 | letrd 11130 |
. . . . . . 7
⊢ (((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
∧ (𝑁 + 1) ≤ 𝑗) → 1 ≤ 𝑗) |
34 | 33 | ex 413 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
→ ((𝑁 + 1) ≤ 𝑗 → 1 ≤ 𝑗)) |
35 | 34 | pm4.71rd 563 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
→ ((𝑁 + 1) ≤ 𝑗 ↔ (1 ≤ 𝑗 ∧ (𝑁 + 1) ≤ 𝑗))) |
36 | 20, 35 | bitr4d 281 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 𝑗 ∈ ℤ)
→ ((1 ≤ 𝑗 ∧
¬ 𝑗 ∈ (1...𝑁)) ↔ (𝑁 + 1) ≤ 𝑗)) |
37 | 36 | pm5.32da 579 |
. . 3
⊢ (𝑁 ∈ ℕ0
→ ((𝑗 ∈ ℤ
∧ (1 ≤ 𝑗 ∧ ¬
𝑗 ∈ (1...𝑁))) ↔ (𝑗 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑗))) |
38 | | eldif 3902 |
. . . . 5
⊢ (𝑗 ∈ (ℕ ∖
(1...𝑁)) ↔ (𝑗 ∈ ℕ ∧ ¬
𝑗 ∈ (1...𝑁))) |
39 | | elnnz1 12344 |
. . . . . 6
⊢ (𝑗 ∈ ℕ ↔ (𝑗 ∈ ℤ ∧ 1 ≤
𝑗)) |
40 | 39 | anbi1i 624 |
. . . . 5
⊢ ((𝑗 ∈ ℕ ∧ ¬
𝑗 ∈ (1...𝑁)) ↔ ((𝑗 ∈ ℤ ∧ 1 ≤ 𝑗) ∧ ¬ 𝑗 ∈ (1...𝑁))) |
41 | | anass 469 |
. . . . 5
⊢ (((𝑗 ∈ ℤ ∧ 1 ≤
𝑗) ∧ ¬ 𝑗 ∈ (1...𝑁)) ↔ (𝑗 ∈ ℤ ∧ (1 ≤ 𝑗 ∧ ¬ 𝑗 ∈ (1...𝑁)))) |
42 | 38, 40, 41 | 3bitri 297 |
. . . 4
⊢ (𝑗 ∈ (ℕ ∖
(1...𝑁)) ↔ (𝑗 ∈ ℤ ∧ (1 ≤
𝑗 ∧ ¬ 𝑗 ∈ (1...𝑁)))) |
43 | 42 | a1i 11 |
. . 3
⊢ (𝑁 ∈ ℕ0
→ (𝑗 ∈ (ℕ
∖ (1...𝑁)) ↔
(𝑗 ∈ ℤ ∧ (1
≤ 𝑗 ∧ ¬ 𝑗 ∈ (1...𝑁))))) |
44 | | peano2nn0 12271 |
. . . . 5
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℕ0) |
45 | 44 | nn0zd 12421 |
. . . 4
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℤ) |
46 | | eluz1 12583 |
. . . 4
⊢ ((𝑁 + 1) ∈ ℤ →
(𝑗 ∈
(ℤ≥‘(𝑁 + 1)) ↔ (𝑗 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑗))) |
47 | 45, 46 | syl 17 |
. . 3
⊢ (𝑁 ∈ ℕ0
→ (𝑗 ∈
(ℤ≥‘(𝑁 + 1)) ↔ (𝑗 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑗))) |
48 | 37, 43, 47 | 3bitr4d 311 |
. 2
⊢ (𝑁 ∈ ℕ0
→ (𝑗 ∈ (ℕ
∖ (1...𝑁)) ↔
𝑗 ∈
(ℤ≥‘(𝑁 + 1)))) |
49 | 48 | eqrdv 2738 |
1
⊢ (𝑁 ∈ ℕ0
→ (ℕ ∖ (1...𝑁)) = (ℤ≥‘(𝑁 + 1))) |