This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: The size of the set of closed walks (defined as words) with a fixed length which is a prime number is the product of the number of equivalence classes for .~ over the set of closed walks and the fixed length. (Contributed by Alexander van der Vekens, 17-Jun-2018) (Revised by AV, 1-May-2021)
| Ref | Expression | ||
|---|---|---|---|
| Hypotheses | erclwwlkn.w | ||
| erclwwlkn.r | |||
| Assertion | fusgrhashclwwlkn |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | erclwwlkn.w | ||
| 2 | erclwwlkn.r | ||
| 3 | eqid | ||
| 4 | 3 | fusgrvtxfi | |
| 5 | 4 | adantr | |
| 6 | 1 2 | hashclwwlkn0 | |
| 7 | 5 6 | syl | |
| 8 | fusgrusgr | ||
| 9 | usgrumgr | ||
| 10 | 8 9 | syl | |
| 11 | 1 2 | umgrhashecclwwlk | |
| 12 | 10 11 | sylan | |
| 13 | 12 | imp | |
| 14 | 13 | sumeq2dv | |
| 15 | 1 2 | qerclwwlknfi | |
| 16 | 5 15 | syl | |
| 17 | prmnn | ||
| 18 | 17 | nncnd | |
| 19 | 18 | adantl | |
| 20 | fsumconst | ||
| 21 | 16 19 20 | syl2anc | |
| 22 | 7 14 21 | 3eqtrd |