@@ -988,11 +988,11 @@ theorem get?_min! [TransCmp cmp] [Inhabited α] (he : t.isEmpty = false) :
988988 t.get? t.min! = some t.min! :=
989989 DTreeMap.getKey?_minKey! he
990990
991- theorem get_min! [TransCmp cmp] [Inhabited α] {hc} :
991+ @[grind =] theorem get_min! [TransCmp cmp] [Inhabited α] {hc} :
992992 t.get t.min! hc = t.min! :=
993993 DTreeMap.getKey_minKey!
994994
995- @[simp]
995+ @[simp, grind = ]
996996theorem get_min!_eq_min [TransCmp cmp] [Inhabited α] {hc} :
997997 t.get t.min! hc = t.min (isEmpty_eq_false_of_contains hc) :=
998998 DTreeMap.getKey_minKey!_eq_minKey
@@ -1079,7 +1079,7 @@ theorem get?_minD [TransCmp cmp] (he : t.isEmpty = false) {fallback} :
10791079 t.get? (t.minD fallback) = some (t.minD fallback) :=
10801080 TreeMap.getKey?_minKeyD he
10811081
1082- theorem get_minD [TransCmp cmp] {fallback hc} :
1082+ @[grind =] theorem get_minD [TransCmp cmp] {fallback hc} :
10831083 t.get (t.minD fallback) hc = t.minD fallback :=
10841084 TreeMap.getKey_minKeyD
10851085
@@ -1289,22 +1289,22 @@ theorem max_le [TransCmp cmp] {k he} :
12891289 (cmp (t.max he) k).isLE ↔ (∀ k', k' ∈ t → (cmp k' k).isLE) :=
12901290 TreeMap.maxKey_le
12911291
1292- @[simp]
1292+ @[simp, grind = ]
12931293theorem get?_max [TransCmp cmp] {he} :
12941294 t.get? (t.max he) = some (t.max he) :=
12951295 TreeMap.getKey?_maxKey
12961296
1297- @[simp]
1297+ @[simp, grind = ]
12981298theorem get_max [TransCmp cmp] {he hc} :
12991299 t.get (t.max he) hc = t.max he :=
13001300 TreeMap.getKey_maxKey
13011301
1302- @[simp]
1302+ @[simp, grind = ]
13031303theorem get!_max [TransCmp cmp] [Inhabited α] {he} :
13041304 t.get! (t.max he) = t.max he :=
13051305 TreeMap.getKey!_maxKey
13061306
1307- @[simp]
1307+ @[simp, grind = ]
13081308theorem getD_max [TransCmp cmp] {he fallback} :
13091309 t.getD (t.max he) fallback = t.max he :=
13101310 TreeMap.getKeyD_maxKey
@@ -1391,11 +1391,11 @@ theorem get?_max! [TransCmp cmp] [Inhabited α] (he : t.isEmpty = false) :
13911391 t.get? t.max! = some t.max! :=
13921392 DTreeMap.getKey?_maxKey! he
13931393
1394- theorem get_max! [TransCmp cmp] [Inhabited α] {hc} :
1394+ @[grind =] theorem get_max! [TransCmp cmp] [Inhabited α] {hc} :
13951395 t.get t.max! hc = t.max! :=
13961396 DTreeMap.getKey_maxKey!
13971397
1398- @[simp]
1398+ @[simp, grind = ]
13991399theorem get_max!_eq_max [TransCmp cmp] [Inhabited α] {hc} :
14001400 t.get t.max! hc = t.max (isEmpty_eq_false_of_contains hc) :=
14011401 DTreeMap.getKey_maxKey!_eq_maxKey
@@ -1483,7 +1483,7 @@ theorem get?_maxD [TransCmp cmp] (he : t.isEmpty = false) {fallback} :
14831483 t.get? (t.maxD fallback) = some (t.maxD fallback) :=
14841484 TreeMap.getKey?_maxKeyD he
14851485
1486- theorem get_maxD [TransCmp cmp] {fallback hc} :
1486+ @[grind =] theorem get_maxD [TransCmp cmp] {fallback hc} :
14871487 t.get (t.maxD fallback) hc = t.maxD fallback :=
14881488 TreeMap.getKey_maxKeyD
14891489
0 commit comments