You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the lemmas:
```lean
lemma min'_pair (a b : α) : min' {a, b} (insert_nonempty _ _) = min a b := by
```
```lean
lemma max'_pair (a b : α) : max' {a, b} (insert_nonempty _ _) = max a b := by
```
and corresponding `min_pair` and `max_pair`. So that the primed lemmas can be proved by `simp`, like the unprimed ones, make `min'_insert` and `max'_insert` into `simp` lemmas, and swap the arguments to `min` and `max` on their RHS, also corresponding more closely to the unprimed lemmas `min_insert` and `max_insert`.
0 commit comments