Description: Mapping of (nonempty) words commutes with the "last symbol" operation. This theorem would not hold if W = (/) , ( F(/) ) =/= (/) and (/) e. A , because then ( lastS( F o. W ) ) = ( lastS(/) ) = (/) =/= ( F(/) ) = ( F ( lastSW ) ) . (Contributed by AV, 11-Nov-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | lswco | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ffun | |
|
2 | 1 | anim1i | |
3 | 2 | ancoms | |
4 | 3 | 3adant2 | |
5 | cofunexg | |
|
6 | lsw | |
|
7 | 4 5 6 | 3syl | |
8 | lenco | |
|
9 | 8 | 3adant2 | |
10 | 9 | fvoveq1d | |
11 | wrdf | |
|
12 | 11 | adantr | |
13 | lennncl | |
|
14 | fzo0end | |
|
15 | 13 14 | syl | |
16 | 12 15 | jca | |
17 | 16 | 3adant3 | |
18 | fvco3 | |
|
19 | 17 18 | syl | |
20 | lsw | |
|
21 | 20 | 3ad2ant1 | |
22 | 21 | eqcomd | |
23 | 22 | fveq2d | |
24 | 19 23 | eqtrd | |
25 | 7 10 24 | 3eqtrd | |