File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/Std/Data/DTreeMap/Internal Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6137,11 +6137,9 @@ theorem minKey?_mem [TransOrd α] (h : t.WF) {km} :
61376137 simp_to_model [minKey?, contains] using List.containsKey_minKey?
61386138
61396139
6140- theorem minKey?_ofList [Ord α] [TransOrd α] [Min α] [LE α] [Std.LawfulOrderOrd α] [Std.LawfulOrderMin α] (h : t.WF):
6140+ theorem minKey?_ofList [Ord α] [TransOrd α] [Min α] [LE α] [Std.LawfulOrderOrd α] [Std.LawfulOrderMin α] [Std.LawfulOrderLeftLeaningMin α] [LawfulEqOrd α] (h : t.WF):
61416141 t.minKey? = (t.toList.map Sigma.fst).min? := by
6142- simp_to_model
6143- sorry
6144-
6142+ simp_to_model using List.minKey?_compare_eq_min?_map_fst
61456143
61466144
61476145theorem isSome_minKey?_of_contains [TransOrd α] (h : t.WF) {k} :
You can’t perform that action at this time.
0 commit comments