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
Hint Constants Opaque : rewrite #15588
Conversation
Fix coq#8080 Probably not all that compatible but let's see
The job library:ci-fiat_crypto_legacy has failed in allow failure mode |
bench (enough stuff is passing to make me curious) https://gitlab.com/coq/coq/-/jobs/2044617565 |
@SkySkimmer is the bench using 4.07.1 ? IMHO it could use and update if so. |
🔴 CI failures at commit 44c51dc without any failure in the test-suite ✔️ Corresponding jobs for the base commit 7d14801 succeeded ❔ Ask me to try to extract minimal test cases that can be added to the test-suite 🏃
|
|
I had a look at some failures: Require Import PeanoNat.
Class SgOp A := sgop : A -> A -> A.
Instance plus_op : SgOp nat := plus.
Goal sgop 1 0 = 2.
Fail setoid_rewrite Nat.add_comm.
Hint Transparent sgop plus_op : rewrite.
setoid_rewrite Nat.add_comm. metacoq has
see compat patch at SkySkimmer/metacoq@1d196ca |
In conclusion unfolding constants is needed for these aliases and for when type inference generates syntactically different terms in the lemma vs in the goal. Not sure how we could deal with the later issue. |
Fix #8080
Probably not all that compatible but let's see