-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: replace the compare_self
simp lemma with a less generic one
#7222
Conversation
Is this an alternative to #7218? Do you want to comment there that that shouldn’t be merged if you want to do it differently? |
Yes, Markus already knows about this -- #7218 conflicts with some more recent changes, so we concluded it would be best if I made the necessary changes. I'll add such a comment (didn't notice that the PR is not from Markus himself!) |
…eanprover#7222) This PR removes the `simp` attribute from `ReflCmp.compare_self` because it matches arbitrary function applications. Instead, a new `simp` lemma `ReflOrd.compare_self` is introduced, which only matches applications of `compare`. --------- Co-authored-by: Paul Reichert <[email protected]>
This PR removes the
simp
attribute fromReflCmp.compare_self
because it matches arbitrary function applications. Instead, a newsimp
lemmaReflOrd.compare_self
is introduced, which only matches applications ofcompare
.