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
rewrite_strat
stack overflows on trivial goals
#17501
Comments
Seems to have something to do with |
|
Perhaps, but Maybe a better definition would be |
A lot of strategies already imply progress IIUC so adding useless progress might not be very efficient. Also the parentheses aren't balanced so I'm not 100% sure what you intend. |
Parentheses fixed, sorry. As far as efficiency goes, this is easy fix by making iterated progress a no-op: have the return state of each tactic be But I guess I don't have global vision about whether or not it's better to bake in |
I do think the design should make it relatively hard to trigger infinite loops / stack overflows, if feasible. The user never wants to write code that does this, so if we can make more expressions mean something that is not "stack overflow" without needing special cases, that seems better |
Description of the problem
What's going on here? I could have sworn that
rewrite_strat
wasn't this dysfunctional....Coq Version
8.16
The text was updated successfully, but these errors were encountered: