Description: The symbol at index ((n-N)-1) of a word of length n (not 0) cyclically shifted by N positions is the symbol at index (n-1) of the original word. (Contributed by AV, 23-Mar-2018) (Revised by AV, 21-May-2018) (Revised by AV, 30-Oct-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | cshwidxm1 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simpl | |
|
2 | elfzoelz | |
|
3 | 2 | adantl | |
4 | ubmelm1fzo | |
|
5 | 4 | adantl | |
6 | cshwidxmod | |
|
7 | 1 3 5 6 | syl3anc | |
8 | elfzoel2 | |
|
9 | 8 | zcnd | |
10 | 2 | zcnd | |
11 | 1cnd | |
|
12 | nnpcan | |
|
13 | 9 10 11 12 | syl3anc | |
14 | 13 | oveq1d | |
15 | 14 | adantl | |
16 | elfzo0 | |
|
17 | nnre | |
|
18 | peano2rem | |
|
19 | 17 18 | syl | |
20 | nnrp | |
|
21 | 19 20 | jca | |
22 | 21 | 3ad2ant2 | |
23 | 16 22 | sylbi | |
24 | nnm1ge0 | |
|
25 | 24 | 3ad2ant2 | |
26 | 16 25 | sylbi | |
27 | zre | |
|
28 | 27 | ltm1d | |
29 | 8 28 | syl | |
30 | 23 26 29 | jca32 | |
31 | 30 | adantl | |
32 | modid | |
|
33 | 31 32 | syl | |
34 | 15 33 | eqtrd | |
35 | 34 | fveq2d | |
36 | 7 35 | eqtrd | |