Step | Hyp | Ref
| Expression |
1 | | elfzelz 9960 |
. . 3
⊢ (𝑘 ∈ (𝑀...𝑁) → 𝑘 ∈ ℤ) |
2 | 1 | adantl 275 |
. 2
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ (𝑀...𝑁)) → 𝑘 ∈ ℤ) |
3 | | eldifi 3244 |
. . . 4
⊢ (𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)}) → 𝑘 ∈ (𝑀...(𝑁 + 1))) |
4 | | elfzelz 9960 |
. . . 4
⊢ (𝑘 ∈ (𝑀...(𝑁 + 1)) → 𝑘 ∈ ℤ) |
5 | 3, 4 | syl 14 |
. . 3
⊢ (𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)}) → 𝑘 ∈ ℤ) |
6 | 5 | adantl 275 |
. 2
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)})) → 𝑘 ∈ ℤ) |
7 | | simpr 109 |
. . . 4
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → 𝑘 ∈ ℤ) |
8 | | eluzel2 9471 |
. . . . 5
⊢ (𝑁 ∈
(ℤ≥‘𝑀) → 𝑀 ∈ ℤ) |
9 | 8 | adantr 274 |
. . . 4
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → 𝑀 ∈ ℤ) |
10 | | eluzelz 9475 |
. . . . 5
⊢ (𝑁 ∈
(ℤ≥‘𝑀) → 𝑁 ∈ ℤ) |
11 | 10 | adantr 274 |
. . . 4
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → 𝑁 ∈ ℤ) |
12 | | elfz 9950 |
. . . 4
⊢ ((𝑘 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑘 ∈ (𝑀...𝑁) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁))) |
13 | 7, 9, 11, 12 | syl3anc 1228 |
. . 3
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ (𝑀...𝑁) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁))) |
14 | | eldif 3125 |
. . . . . . 7
⊢ (𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)}) ↔ (𝑘 ∈ (𝑀...(𝑁 + 1)) ∧ ¬ 𝑘 ∈ {(𝑁 + 1)})) |
15 | 11 | peano2zd 9316 |
. . . . . . . . 9
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑁 + 1) ∈ ℤ) |
16 | | elfz 9950 |
. . . . . . . . 9
⊢ ((𝑘 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ (𝑁 + 1) ∈ ℤ) →
(𝑘 ∈ (𝑀...(𝑁 + 1)) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ (𝑁 + 1)))) |
17 | 7, 9, 15, 16 | syl3anc 1228 |
. . . . . . . 8
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ (𝑀...(𝑁 + 1)) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ (𝑁 + 1)))) |
18 | | velsn 3593 |
. . . . . . . . . . 11
⊢ (𝑘 ∈ {(𝑁 + 1)} ↔ 𝑘 = (𝑁 + 1)) |
19 | 18 | notbii 658 |
. . . . . . . . . 10
⊢ (¬
𝑘 ∈ {(𝑁 + 1)} ↔ ¬ 𝑘 = (𝑁 + 1)) |
20 | | nesym 2381 |
. . . . . . . . . 10
⊢ ((𝑁 + 1) ≠ 𝑘 ↔ ¬ 𝑘 = (𝑁 + 1)) |
21 | 19, 20 | bitr4i 186 |
. . . . . . . . 9
⊢ (¬
𝑘 ∈ {(𝑁 + 1)} ↔ (𝑁 + 1) ≠ 𝑘) |
22 | 21 | a1i 9 |
. . . . . . . 8
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (¬ 𝑘 ∈ {(𝑁 + 1)} ↔ (𝑁 + 1) ≠ 𝑘)) |
23 | 17, 22 | anbi12d 465 |
. . . . . . 7
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → ((𝑘 ∈ (𝑀...(𝑁 + 1)) ∧ ¬ 𝑘 ∈ {(𝑁 + 1)}) ↔ ((𝑀 ≤ 𝑘 ∧ 𝑘 ≤ (𝑁 + 1)) ∧ (𝑁 + 1) ≠ 𝑘))) |
24 | 14, 23 | syl5bb 191 |
. . . . . 6
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)}) ↔ ((𝑀 ≤ 𝑘 ∧ 𝑘 ≤ (𝑁 + 1)) ∧ (𝑁 + 1) ≠ 𝑘))) |
25 | | anass 399 |
. . . . . 6
⊢ (((𝑀 ≤ 𝑘 ∧ 𝑘 ≤ (𝑁 + 1)) ∧ (𝑁 + 1) ≠ 𝑘) ↔ (𝑀 ≤ 𝑘 ∧ (𝑘 ≤ (𝑁 + 1) ∧ (𝑁 + 1) ≠ 𝑘))) |
26 | 24, 25 | bitrdi 195 |
. . . . 5
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)}) ↔ (𝑀 ≤ 𝑘 ∧ (𝑘 ≤ (𝑁 + 1) ∧ (𝑁 + 1) ≠ 𝑘)))) |
27 | | zltlen 9269 |
. . . . . . 7
⊢ ((𝑘 ∈ ℤ ∧ (𝑁 + 1) ∈ ℤ) →
(𝑘 < (𝑁 + 1) ↔ (𝑘 ≤ (𝑁 + 1) ∧ (𝑁 + 1) ≠ 𝑘))) |
28 | 7, 15, 27 | syl2anc 409 |
. . . . . 6
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 < (𝑁 + 1) ↔ (𝑘 ≤ (𝑁 + 1) ∧ (𝑁 + 1) ≠ 𝑘))) |
29 | 28 | anbi2d 460 |
. . . . 5
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → ((𝑀 ≤ 𝑘 ∧ 𝑘 < (𝑁 + 1)) ↔ (𝑀 ≤ 𝑘 ∧ (𝑘 ≤ (𝑁 + 1) ∧ (𝑁 + 1) ≠ 𝑘)))) |
30 | 26, 29 | bitr4d 190 |
. . . 4
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)}) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 < (𝑁 + 1)))) |
31 | | zleltp1 9246 |
. . . . . 6
⊢ ((𝑘 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑘 ≤ 𝑁 ↔ 𝑘 < (𝑁 + 1))) |
32 | 7, 11, 31 | syl2anc 409 |
. . . . 5
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 ≤ 𝑁 ↔ 𝑘 < (𝑁 + 1))) |
33 | 32 | anbi2d 460 |
. . . 4
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → ((𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 < (𝑁 + 1)))) |
34 | 30, 33 | bitr4d 190 |
. . 3
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)}) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁))) |
35 | 13, 34 | bitr4d 190 |
. 2
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ (𝑀...𝑁) ↔ 𝑘 ∈ ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)}))) |
36 | 2, 6, 35 | eqrdav 2164 |
1
⊢ (𝑁 ∈
(ℤ≥‘𝑀) → (𝑀...𝑁) = ((𝑀...(𝑁 + 1)) ∖ {(𝑁 + 1)})) |