Description: The sum of the lengths of two reversed parts of a word is the length of the word. (Contributed by Alexander van der Vekens, 1-Apr-2018) (Revised by AV, 3-May-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | addlenrevpfx | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | swrdrlen | |
|
2 | pfxlen | |
|
3 | 1 2 | oveq12d | |
4 | lencl | |
|
5 | elfzelz | |
|
6 | nn0cn | |
|
7 | zcn | |
|
8 | npcan | |
|
9 | 6 7 8 | syl2an | |
10 | 4 5 9 | syl2an | |
11 | 3 10 | eqtrd | |