Miscellaneous List
lemmas, that require more Nat
lemmas than are available in Init.Data.List.Lemmas
. #
In particular, omega
is available here.
dropLast #
@[simp]
filter #
reverse #
leftpad #
The length of the List returned by List.leftpad n a l
is equal
to the larger of n
and l.length
eraseIdx #
min? #
max? #
@[reducible, inline, deprecated List.min?_cons' (since := "2024-09-29")]
Equations
Instances For
@[reducible, inline, deprecated List.min?_getD_le_of_mem (since := "2024-09-29")]
Instances For
@[reducible, inline, deprecated List.max?_cons' (since := "2024-09-29")]
Equations
Instances For
@[reducible, inline, deprecated List.le_max?_getD_of_mem (since := "2024-09-29")]