return to top
source
finRotate arithmetic lemmas isolated for eventual Mathlib extraction.
finRotate
Powers of finRotate act by addition modulo m.
m
This is the arithmetic core behind the rotation normalization arguments.
Rotating m times is the identity on Fin m.
Fin m
Rotating i by m - i.val lands on 0.
i
m - i.val
0
Rotating finRotate m i by m - i.val lands on 1, provided m ≥ 2.
finRotate m i
1
m ≥ 2