-
Notifications
You must be signed in to change notification settings - Fork 6
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
Require Import Coq.Sorting.Permutation.
slows down rewrite_strat
> 10x
#21
Comments
Can you add |
The above example is completely standalone, so anyone can consider it as a compressed version (with coq being the uncompress tool) of the logs you're asking for 😉 |
It's not surprising that declaring those two instances are not enough. The Permutation file also defines many other instances that might interact with the proof search. |
It seems fast if you |
It breaks everything because the implementation of this flag is crazy. It doesn't perform matching up-to-evars. Please deprecate that option and replace it with something sensible. |
Do we have some bugs or issues about that somewhere? |
To minimize the slowdown, you might need to start adding e.g.
|
This is a followup on coq/coq#15596, but this time focusing on
Require Import
, because the fix for coq/coq#15596 only addressedRequire
.Uncommenting the
Require Import Coq.Sorting.Permutation.
slows downrewrite_strat
by > 10x, to ca 3 seconds.A workaround is
However, if I try to minimize the slowness by replacing
Require Import Coq.Sorting.Permutation.
with just the signatures of the two trouble-making instances, there's no slowdown:There seems to be some interesting performance issue in the interaction between
rewrite_strat
and typeclass search looking for morphisms.The text was updated successfully, but these errors were encountered: