Description: Split a finite 1-based set of integers in the middle, allowing either end to be empty ( ( 1 ... 0 ) ). (Contributed by Stefan O'Rear, 8-Oct-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | fzsplit1nn0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elnn0 | |
|
2 | 1zzd | |
|
3 | nn0z | |
|
4 | 3 | ad2antrl | |
5 | nnz | |
|
6 | 5 | adantr | |
7 | nnge1 | |
|
8 | 7 | adantr | |
9 | simprr | |
|
10 | 2 4 6 8 9 | elfzd | |
11 | fzsplit | |
|
12 | 10 11 | syl | |
13 | uncom | |
|
14 | oveq1 | |
|
15 | 14 | adantr | |
16 | 0p1e1 | |
|
17 | 15 16 | eqtrdi | |
18 | 17 | oveq1d | |
19 | oveq2 | |
|
20 | 19 | adantr | |
21 | fz10 | |
|
22 | 20 21 | eqtrdi | |
23 | 18 22 | uneq12d | |
24 | un0 | |
|
25 | 23 24 | eqtrdi | |
26 | 13 25 | eqtr2id | |
27 | 12 26 | jaoian | |
28 | 27 | ex | |
29 | 1 28 | sylbi | |
30 | 29 | 3impib | |