Rotations #
Rotate a WList n vertices to the left.
This behaves badly (forgets the first vertex) if the list isn't closed.
Equations
Instances For
@[simp]
theorem WList.Nontrivial.rotate {α : Type u_1} {β : Type u_2} {w : WList α β} (hw : w.Nontrivial) (n : ℕ) :
(w.rotate n).Nontrivial
theorem WList.firstEdge_rotate_one {α : Type u_1} {β : Type u_2} {w : WList α β} (hw : w.Nontrivial) :
Relationships with take and drop #
theorem WList.WellFormed.rotate {α : Type u_1} {β : Type u_2} {w : WList α β} (hw : w.WellFormed) (h_closed : w.IsClosed) (n : ℕ) :
(w.rotate n).WellFormed