-
Notifications
You must be signed in to change notification settings - Fork 268
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
Timeout in verification of lemmaCal invovling real numbers #5768
Comments
I tried the code in Dafny of versions 4.6.0, 4.7.0 and 4.8.0. None of them work as well. |
Thanks for the report. (I was unable to reproduce getting a proof when the WorkaroundTurn off automatic induction for lemma {:induction false} lemmaCal(s: set<real>) DiagnosisTo prove the rather trivial postcondition of However, during this round of quantifier instantiations, it seems that the (automatic) induction hypothesis is invoked. Somehow, this is causing the verifier to time out. (The only way I see this happen is if the quantifier instantiations I mentioned in the previous paragraph never happen. That is, it seems that something in the handling of non-linear arithmetic causes the verifier never to return to the other quantifier instantiations.) Four mitigations come to mind:
Remark
|
Dafny version
4.6.0
Code to produce this issue
Command to run and resulting output
What happened?
I am working on a simple example involving the following functions:
I have two lemmas:
Problem
Ultimately, I am looking for a way to ensure that lemmaCal() can be verified without timing out. Any insights or suggestions would be greatly appreciated!
What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: