File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,6 @@ theorem min_le_of_mem [Min α] [LE α] [Std.IsLinearOrder α] [Std.LawfulOrderMi
204204 l.min (ne_nil_of_mem ha) ≤ a :=
205205 (min?_eq_some_iff.mp (min?_eq_some_min (List.ne_nil_of_mem ha))).right a ha
206206
207- @ [grind =]
208207protected theorem le_min_iff [Min α] [LE α] [LawfulOrderInf α]
209208 {l : List α} (hl : l ≠ []) : ∀ {x}, x ≤ l.min hl ↔ ∀ b, b ∈ l → x ≤ b :=
210209 le_min?_iff (min?_eq_some_min hl)
@@ -407,7 +406,6 @@ theorem max_eq_head {α : Type u} [Max α] {l : List α} (hl : l ≠ [])
407406theorem max_mem [Max α] [MaxEqOr α] {l : List α} (hl : l ≠ []) : l.max hl ∈ l :=
408407 max?_mem (max?_eq_some_max hl)
409408
410- @ [grind =]
411409protected theorem max_le_iff [Max α] [LE α] [LawfulOrderSup α]
412410 {l : List α} (hl : l ≠ []) : ∀ {x}, l.max hl ≤ x ↔ ∀ b, b ∈ l → b ≤ x :=
413411 max?_le_iff (max?_eq_some_max hl)
You can’t perform that action at this time.
0 commit comments