Miscellaneous List lemmas, that require more Nat lemmas than are available in Init.Data.List.Lemmas. #
In particular, omega is available here.
filter #
leftpad #
@[simp]
theorem
List.leftpad_length
{α : Type u_1}
(n : Nat)
(a : α)
(l : List α)
 :
(List.leftpad n a l).length = max n l.length
The length of the List returned by List.leftpad n a l is equal
to the larger of n and l.length