Description: Perform a cyclical shift for a function over a half-open range of nonnegative integers. (Contributed by AV, 20-May-2018) (Revised by AV, 17-Nov-2018) (Revised by AV, 4-Nov-2022)
Ref | Expression | ||
---|---|---|---|
Assertion | cshfn | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eqeq1 | |
|
2 | 1 | adantr | |
3 | simpl | |
|
4 | simpr | |
|
5 | fveq2 | |
|
6 | 5 | adantr | |
7 | 4 6 | oveq12d | |
8 | 7 6 | opeq12d | |
9 | 3 8 | oveq12d | |
10 | 3 7 | oveq12d | |
11 | 9 10 | oveq12d | |
12 | 2 11 | ifbieq2d | |
13 | df-csh | |
|
14 | 0ex | |
|
15 | ovex | |
|
16 | 14 15 | ifex | |
17 | 12 13 16 | ovmpoa | |