Description: A word cyclically shifted by its length is the word itself. (Contributed by AV, 16-May-2018) (Revised by AV, 20-May-2018) (Revised by AV, 26-Oct-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | cshwn | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 0csh0 | |
|
2 | oveq1 | |
|
3 | id | |
|
4 | 1 2 3 | 3eqtr3a | |
5 | 4 | a1d | |
6 | lencl | |
|
7 | 6 | nn0zd | |
8 | cshwmodn | |
|
9 | 7 8 | mpdan | |
10 | 9 | adantl | |
11 | necom | |
|
12 | lennncl | |
|
13 | 11 12 | sylan2b | |
14 | 13 | nnrpd | |
15 | 14 | ancoms | |
16 | modid0 | |
|
17 | 15 16 | syl | |
18 | 17 | oveq2d | |
19 | cshw0 | |
|
20 | 19 | adantl | |
21 | 10 18 20 | 3eqtrd | |
22 | 21 | ex | |
23 | 5 22 | pm2.61ine | |