no goals
α : Type u
l : List α
⊢ rotate' l (length l * 0) = l
simp
no goals
α : Type u
l : List α
n : ℕ
⊢ rotate' l (length l * (n + 1)) = rotate' (rotate' l (length l * n)) (length (rotate' l (length l * n)))
simp [-rotate'_length, Nat.mul_succ, rotate'_rotate']
no goals
α : Type u
l : List α
n : ℕ
⊢ rotate' (rotate' l (length l * n)) (length (rotate' l (length l * n))) = l
rw [rotate'_length, rotate'_length_mul l n]