Minima and maxima #
min? #
theorem
List.foldl_min
{α : Type u_1}
[Min α]
[Std.IdempotentOp min]
[Std.Associative min]
{l : List α}
{a : α}
:
max? #
theorem
List.foldl_max
{α : Type u_1}
[Max α]
[Std.IdempotentOp max]
[Std.Associative max]
{l : List α}
{a : α}
:
@[reducible, inline, deprecated List.min?_nil (since := "2024-09-29")]
Equations
@[reducible, inline, deprecated List.min?_cons (since := "2024-09-29")]
Equations
@[reducible, inline, deprecated List.min?_eq_none_iff (since := "2024-09-29")]
@[reducible, inline, deprecated List.min?_eq_some_iff (since := "2024-09-29")]
@[reducible, inline, deprecated List.max?_nil (since := "2024-09-29")]
Equations
@[reducible, inline, deprecated List.max?_cons (since := "2024-09-29")]
Equations
@[reducible, inline, deprecated List.max?_eq_none_iff (since := "2024-09-29")]
@[reducible, inline, deprecated List.max?_eq_some_iff (since := "2024-09-29")]