-
Notifications
You must be signed in to change notification settings - Fork 63
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
prove
command returns Valid
even when there are unsolved subgoals
#316
Comments
I think that fixing this will require us to change the return type of
where |
I'm going to mark the commands that work with multiple subgoals as experimental until we fix this. |
@atomb: That seems reasonable. I don't think we want to change the type of a basic saw-script operator like |
I think this may be fixed now, following some reworking of the proof infrastructure. We should write a test case. |
Using the new
goal_apply
tactic, we can create proof states that contain multiple subgoals. A proof is supposed to be complete when all of its goals have been discharged; however,prove
seems to succeed even if there are still more unproved goals. (It does print a little warning message though.)On the other hand,
prove_print
correctly checks for unsolved subgoals and fails if there are any left:The text was updated successfully, but these errors were encountered: