lean4-htt/tests/lean/run/grind_refl_cmp.lean
Kim Morrison a35425b192
feat: support for ReflCmp in grind (#9073)
This PR copies #9069 to handle `ReflCmp` the same way; we need to call
this in propagateUp rather than propagateDown.
2025-06-29 11:36:39 +00:00

7 lines
207 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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