Metamath Proof Explorer


Theorem repswlen

Description: The length of a "repeated symbol word". (Contributed by AV, 4-Nov-2018)

Ref Expression
Assertion repswlen SVN0SrepeatSN=N

Proof

Step Hyp Ref Expression
1 repsf SVN0SrepeatSN:0..^NV
2 ffn SrepeatSN:0..^NVSrepeatSNFn0..^N
3 hashfn SrepeatSNFn0..^NSrepeatSN=0..^N
4 1 2 3 3syl SVN0SrepeatSN=0..^N
5 hashfzo0 N00..^N=N
6 5 adantl SVN00..^N=N
7 4 6 eqtrd SVN0SrepeatSN=N