This PR copies #9069 to handle `ReflCmp` the same way; we need to call this in propagateUp rather than propagateDown.
7 lines
207 B
Text
7 lines
207 B
Text
import Std
|
||
|
||
example (f : α → α → Ordering) [Std.ReflCmp f] (a : α) : f a a = .eq := by
|
||
grind
|
||
|
||
example (f : α → α → Ordering) [Std.ReflCmp f] (a b : α) (h : a = b) : f a b = .eq := by
|
||
grind
|