Description: If a word has a length being a prime number, the size of the set of (different!) words resulting by cyclically shifting the original word equals the length of the original word or 1. (Contributed by AV, 19-May-2018) (Revised by AV, 10-Nov-2018)
Ref | Expression | ||
---|---|---|---|
Hypothesis | cshwrepswhash1.m | |
|
Assertion | cshwshash | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | cshwrepswhash1.m | |
|
2 | repswsymballbi | |
|
3 | 2 | adantr | |
4 | prmnn | |
|
5 | 4 | nnge1d | |
6 | wrdsymb1 | |
|
7 | 5 6 | sylan2 | |
8 | 7 | adantr | |
9 | 4 | ad2antlr | |
10 | simpr | |
|
11 | 1 | cshwrepswhash1 | |
12 | 8 9 10 11 | syl3anc | |
13 | 12 | ex | |
14 | 3 13 | sylbird | |
15 | olc | |
|
16 | 14 15 | syl6com | |
17 | rexnal | |
|
18 | df-ne | |
|
19 | 18 | bicomi | |
20 | 19 | rexbii | |
21 | 17 20 | bitr3i | |
22 | 1 | cshwshashnsame | |
23 | orc | |
|
24 | 22 23 | syl6com | |
25 | 21 24 | sylbi | |
26 | 16 25 | pm2.61i | |