-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test harness for lemmas #60
Conversation
I think we can actually avoid using the
Produce this directly, or automatically wrap it in |
Co-authored-by: Everett Hildenbrandt <[email protected]>
Attempting to prove this directly with the
Is it something we should worry about? |
I think, given that we're using universal binding for the equality proof now (https://github.com/runtimeverification/k/blob/master/pyk/src/pyk/proof/implies.py#L173), we should be OK w.r.t. that warning. Can you test it by breaking one of the proofs manually, and make sure it fails appropriately? |
This PR adds a test harness for testing lemmas. Tests are written in
.k
or.md
files containing claims that target specific lemmas, with comments above the claims indicating which lemmas are being tested.Additionally, the spec file proving functionality is now exposed as a CLI command:
komet prove-raw
. This command enables proving of K claims from a file and includes options for generating bug reports and saving proofs to specified directories.