Skip to content
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

Measure and communicate Z3 rlimit value #1605

Closed
robin-aws opened this issue Nov 23, 2021 · 3 comments · Fixed by #1766
Closed

Measure and communicate Z3 rlimit value #1605

robin-aws opened this issue Nov 23, 2021 · 3 comments · Fixed by #1766
Assignees
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: verifier Translation from Dafny to Boogie (translator)

Comments

@robin-aws
Copy link
Member

This can be used as a more stable cost metric than wall clock time, which depends on the local CPU speed and can be artificially inflated when running multiple verification processes in parallel.

@robin-aws robin-aws self-assigned this Nov 23, 2021
@parno
Copy link
Collaborator

parno commented Nov 23, 2021

FWIW, if you run Z3 from the command line with the -st option, it will report the rlimit value it used. Unfortunately, if you try to pass this via Boogie, Boogie's low-level text channel to Z3 can't seem to handle the response and will drop the data Z3 supplies.

@robin-aws
Copy link
Member Author

Thanks for the suggestion @parno! I seem to have something working based on sending (get-info :rlimit) to Z3 through the channel instead.

@robin-aws robin-aws assigned atomb and unassigned robin-aws Jan 17, 2022
@robin-aws robin-aws added this to the Verification Stability milestone Jan 17, 2022
@robin-aws robin-aws added the part: verifier Translation from Dafny to Boogie (translator) label Jan 20, 2022
@atomb
Copy link
Member

atomb commented Jan 21, 2022

Part of this exists now that boogie-org/boogie#482 is merged.

@robin-aws robin-aws added the kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny label Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: verifier Translation from Dafny to Boogie (translator)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants