Step |
Hyp |
Ref |
Expression |
1 |
|
ccatws1len |
|- ( W e. Word V -> ( # ` ( W ++ <" S "> ) ) = ( ( # ` W ) + 1 ) ) |
2 |
1
|
oveq1d |
|- ( W e. Word V -> ( ( # ` ( W ++ <" S "> ) ) - 1 ) = ( ( ( # ` W ) + 1 ) - 1 ) ) |
3 |
|
lencl |
|- ( W e. Word V -> ( # ` W ) e. NN0 ) |
4 |
3
|
nn0cnd |
|- ( W e. Word V -> ( # ` W ) e. CC ) |
5 |
|
pncan1 |
|- ( ( # ` W ) e. CC -> ( ( ( # ` W ) + 1 ) - 1 ) = ( # ` W ) ) |
6 |
4 5
|
syl |
|- ( W e. Word V -> ( ( ( # ` W ) + 1 ) - 1 ) = ( # ` W ) ) |
7 |
2 6
|
eqtrd |
|- ( W e. Word V -> ( ( # ` ( W ++ <" S "> ) ) - 1 ) = ( # ` W ) ) |