Description: Decompose a nonempty word by separating off the first symbol. (Contributed by Stefan O'Rear, 25-Aug-2015) (Revised by Mario Carneiro, 1-Oct-2015) (Proof shortened by AV, 12-Oct-2022)
Ref | Expression | ||
---|---|---|---|
Assertion | wrdeqs1cat | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simpl | |
|
2 | wrdfin | |
|
3 | 1elfz0hash | |
|
4 | 2 3 | sylan | |
5 | lennncl | |
|
6 | 5 | nnnn0d | |
7 | eluzfz2 | |
|
8 | nn0uz | |
|
9 | 7 8 | eleq2s | |
10 | 6 9 | syl | |
11 | ccatpfx | |
|
12 | 1 4 10 11 | syl3anc | |
13 | pfx1 | |
|
14 | 13 | oveq1d | |
15 | pfxid | |
|
16 | 15 | adantr | |
17 | 12 14 16 | 3eqtr3rd | |