Description: The symbol at index 0 of a cyclically shifted nonempty word is the symbol at index N of the original word. (Contributed by AV, 15-May-2018) (Revised by AV, 21-May-2018) (Revised by AV, 30-Oct-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | cshwidx0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | hasheq0 | |
|
2 | elfzo0 | |
|
3 | elnnne0 | |
|
4 | eqneqall | |
|
5 | 4 | com12 | |
6 | 5 | adantl | |
7 | 3 6 | sylbi | |
8 | 7 | 3ad2ant2 | |
9 | 2 8 | sylbi | |
10 | 9 | com13 | |
11 | 1 10 | sylbird | |
12 | 11 | com23 | |
13 | 12 | imp | |
14 | 13 | com12 | |
15 | simpl | |
|
16 | 15 | adantl | |
17 | simpl | |
|
18 | elfzoelz | |
|
19 | 18 | ad2antll | |
20 | cshwidx0mod | |
|
21 | 16 17 19 20 | syl3anc | |
22 | zmodidfzoimp | |
|
23 | 22 | ad2antll | |
24 | 23 | fveq2d | |
25 | 21 24 | eqtrd | |
26 | 25 | ex | |
27 | 14 26 | pm2.61ine | |