Description: Removing a singleton from a half-open integer range at the end. (Contributed by Alexander van der Vekens, 23-Mar-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | fzosplitsnm1 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eluzelz | |
|
2 | 1 | zcnd | |
3 | 2 | adantl | |
4 | ax-1cn | |
|
5 | npcan | |
|
6 | 5 | eqcomd | |
7 | 3 4 6 | sylancl | |
8 | 7 | oveq2d | |
9 | eluzp1m1 | |
|
10 | 1 | adantl | |
11 | peano2zm | |
|
12 | uzid | |
|
13 | peano2uz | |
|
14 | 10 11 12 13 | 4syl | |
15 | elfzuzb | |
|
16 | 9 14 15 | sylanbrc | |
17 | fzosplit | |
|
18 | 16 17 | syl | |
19 | 1 11 | syl | |
20 | 19 | adantl | |
21 | fzosn | |
|
22 | 20 21 | syl | |
23 | 22 | uneq2d | |
24 | 8 18 23 | 3eqtrd | |