Fix priority of `Permutation_app'`.
This is a workaround for https://github.com/coq/coq/issues/14571
This fixes #114 (closed).
This fixes a regression caused by !270 (merged).
Merge request reports
Activity
LGTM.
There's no way we can test for this, is there? Like, do
eauto
with the typeclasses DB with a small amount of fuel that would not suffice for the 85k trace that arises in #114 (closed)?- Resolved by Robbert Krebbers
No idea, but if it's possible, such tests also seem very fragile.
- Resolved by Robbert Krebbers
@jung Do you still want a CHANGELOG entry? Note that the bug did not exist in the latest released std++ (which did not contain !270 (merged)), so the CHANGELOG entry will be rather weird :).
It turns out a bunch of other
Proper
instances forPermutation
also have priority 10 (which means they are used afterproper_relation
). Maybe we should fix those too in std++? For example:NoDup
andcons
.See https://github.com/coq/coq/issues/14571#issuecomment-870463360
I also fixed
cons
since we also replaced std++'s custom instance with the stdlib instance in !270 (merged).We have our own
NoDup
, so the priority of Coq stdlib'sNoDup
is irrelevant.Edited by Robbert Krebbers- Resolved by Robbert Krebbers
Let's wait with merging to see if the Coq bench https://github.com/coq/coq/pull/14574 gives any regressions.
mentioned in commit 40a943ea