-
Notifications
You must be signed in to change notification settings - Fork 265
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
Are verify and measure-complexity different? #5424
Comments
Well, actually I see that dafny 4.6 seems to neuter the --boogie options, so using them to create my own faux-measure-complexity on top of verify as I did on 4.4 is no longer possible. So maybe that's (part of?) the answer: until recently measure-complexity and verify were very similar but the plan is to diverge? |
There's different ways of preventing proof complexity. A simple one is to limit the maximum resources used by a proof. This option is available in A more complicated way of preventing proof complexity is to run multiple iterations and to compare the resources used by each iteration. I did not want to increase the scope of Also I think the default behavior of |
Thank you for the explanation. I mentioned --filter-symbol being available in verify but not in measure-complexity. It would be very useful in there too, to accelerate iterating. Will it be made available there too? |
In nightly, these options are already available for |
Thank you! |
What change in documentation do you suggest?
Is there any fundamental difference between measure-complexity and verify?
Verify doesn't allow to set a random seed, which I guess means forces seed 0. Is there a reason?
Verify also doesn't have an --iterations argument. Both options can be brought to the verify command with --boogie options. Is that equivalent to measure-complexity?
I could just use measure-complexity with 1 iteration instead of verify, but then I can't use verify's new filter-symbol argument. But why is it not there to begin with?
It would be great to understand why the separation exists, to ensure I'm not doing something silly/risky by using them interchangeably.
The text was updated successfully, but these errors were encountered: