-
Notifications
You must be signed in to change notification settings - Fork 8
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
Performence issue #21
Comments
IIUC, the source of this issue is that
|
And this case analysis is performed here. I see the current implementation is too bad to handle the use of boolean predicates and relations in MathComp. |
but what are these 10 booleans in my goal the tactic is finding? |
For example, |
but they don't contain arithmetic, so lia makes no use of it. |
Then, could you put the following lines at the beginning of your proof script? (NB: it makes Ltac Zify.zify_post_hook ::=
zify_ssreflect.SsreflectZifyInstances.divZ_modZ_to_equations. |
Or if you don't use the Euclidean division at all, its RHS can be |
Bingo!
|
could we have a tactic |
I think it is doable, but doing that without changing the Coq side properly seems another source of potential incompatibility issue. I will rather try to obtain better |
I think, ultimately, we need an SMT solver (or a rather ad-hoc combination of a SAT solver and a theory solver, at least) to address this kind of exponential blowup. The itauto tactic is probably useful on this point, but I didn't give it a look yet. |
Very good! Thanks to your new |
I have some performance issue with goals with large context.
The following file takes 25s (only the last two assumptions are needed
to solve it) (My real example takes more than 4m)
ex.txt
The text was updated successfully, but these errors were encountered: