Description: Perform a cyclical shift for a word. (Contributed by Alexander van der Vekens, 20-May-2018) (Revised by AV, 12-Oct-2022)
Ref | Expression | ||
---|---|---|---|
Assertion | cshword | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | iswrd | |
|
2 | ffn | |
|
3 | 2 | reximi | |
4 | 1 3 | sylbi | |
5 | fneq1 | |
|
6 | 5 | rexbidv | |
7 | 6 | elabg | |
8 | 4 7 | mpbird | |
9 | cshfn | |
|
10 | 8 9 | sylan | |
11 | iftrue | |
|
12 | 11 | adantr | |
13 | oveq1 | |
|
14 | swrd0 | |
|
15 | 13 14 | eqtrdi | |
16 | oveq1 | |
|
17 | pfx0 | |
|
18 | 16 17 | eqtrdi | |
19 | 15 18 | oveq12d | |
20 | 19 | adantr | |
21 | ccatidid | |
|
22 | 20 21 | eqtr2di | |
23 | 12 22 | eqtrd | |
24 | iffalse | |
|
25 | 24 | adantr | |
26 | 23 25 | pm2.61ian | |
27 | 10 26 | eqtrd | |