Description: A suffix of a concatenation is either a suffix of the second concatenated word or a concatenation of a suffix of the first word with the second word. (Contributed by Alexander van der Vekens, 31-Mar-2018) (Revised by Alexander van der Vekens, 30-May-2018) (Proof shortened by AV, 14-Oct-2022)
Ref | Expression | ||
---|---|---|---|
Hypothesis | swrdccatin2.l | |
|
Assertion | swrdccat3b | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | swrdccatin2.l | |
|
2 | simpl | |
|
3 | simpr | |
|
4 | elfzubelfz | |
|
5 | 4 | adantl | |
6 | 1 | pfxccat3 | |
7 | 6 | imp | |
8 | 2 3 5 7 | syl12anc | |
9 | 1 | swrdccat3blem | |
10 | iftrue | |
|
11 | 10 | 3ad2ant3 | |
12 | lencl | |
|
13 | 12 | nn0cnd | |
14 | lencl | |
|
15 | 14 | nn0cnd | |
16 | 1 | eqcomi | |
17 | 16 | eleq1i | |
18 | pncan2 | |
|
19 | 17 18 | sylanb | |
20 | 13 15 19 | syl2an | |
21 | 20 | eqcomd | |
22 | 21 | adantr | |
23 | 22 | 3ad2ant1 | |
24 | 23 | opeq2d | |
25 | 24 | oveq2d | |
26 | 11 25 | eqtrd | |
27 | iffalse | |
|
28 | 27 | 3ad2ant3 | |
29 | 20 | adantr | |
30 | 29 | 3ad2ant1 | |
31 | 30 | oveq2d | |
32 | pfxid | |
|
33 | 32 | adantl | |
34 | 33 | adantr | |
35 | 34 | 3ad2ant1 | |
36 | 31 35 | eqtr2d | |
37 | 36 | oveq2d | |
38 | 28 37 | eqtrd | |
39 | 9 26 38 | 2if2 | |
40 | 8 39 | eqtr4d | |
41 | 40 | ex | |