Description: If a word (not consisting of identical symbols) 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. (Contributed by AV, 19-May-2018) (Revised by AV, 10-Nov-2018)
Ref | Expression | ||
---|---|---|---|
Hypothesis | cshwrepswhash1.m | |
|
Assertion | cshwshashnsame | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | cshwrepswhash1.m | |
|
2 | 1 | cshwsiun | |
3 | 2 | ad2antrr | |
4 | 3 | fveq2d | |
5 | fzofi | |
|
6 | 5 | a1i | |
7 | snfi | |
|
8 | 7 | a1i | |
9 | id | |
|
10 | 9 | cshwsdisj | |
11 | 6 8 10 | hashiun | |
12 | ovex | |
|
13 | hashsng | |
|
14 | 12 13 | mp1i | |
15 | 14 | sumeq2sdv | |
16 | 1cnd | |
|
17 | fsumconst | |
|
18 | 5 16 17 | sylancr | |
19 | lencl | |
|
20 | 19 | adantr | |
21 | hashfzo0 | |
|
22 | 20 21 | syl | |
23 | 22 | oveq1d | |
24 | prmnn | |
|
25 | 24 | nnred | |
26 | 25 | adantl | |
27 | ax-1rid | |
|
28 | 26 27 | syl | |
29 | 18 23 28 | 3eqtrd | |
30 | 29 | adantr | |
31 | 15 30 | eqtrd | |
32 | 4 11 31 | 3eqtrd | |
33 | 32 | ex | |