Description: A word is a prefix of a word with length greater by 1 than the first word iff the second word is the first word concatenated with the last symbol of the second word. (Contributed by AV, 24-Oct-2018) (Revised by AV, 10-May-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | ccats1pfxeqbi | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ccats1pfxeq | |
|
2 | simp1 | |
|
3 | lencl | |
|
4 | nn0p1nn | |
|
5 | 3 4 | syl | |
6 | 5 | 3ad2ant1 | |
7 | 3simpc | |
|
8 | lswlgt0cl | |
|
9 | 6 7 8 | syl2anc | |
10 | 9 | s1cld | |
11 | eqidd | |
|
12 | pfxccatid | |
|
13 | 12 | eqcomd | |
14 | 2 10 11 13 | syl3anc | |
15 | oveq1 | |
|
16 | 15 | eqcomd | |
17 | 14 16 | sylan9eq | |
18 | 17 | ex | |
19 | 1 18 | impbid | |