Skip to content

Commit 56f6a0f

Browse files
committed
cleanup
1 parent 9e0564e commit 56f6a0f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Std/Data/DTreeMap/Internal/Lemmas.lean

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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

61476145
theorem isSome_minKey?_of_contains [TransOrd α] (h : t.WF) {k} :

0 commit comments

Comments
 (0)