-
Notifications
You must be signed in to change notification settings - Fork 62
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
Remove uses of mkTypedTerm
#728
Conversation
This is a step toward fixing #718. The use of mkTypedTerm is redundant in these cases in the SAWScript.Prover modules, as the computed schema in all cases is only used to check that the return type is Bool, and the prior calls to `propToPredicate` already ensure that.
This makes saw-script compile successfully again, after being broken by the most recent merge.
Some uses of |
This lets us remove another use of `mkTypedTerm` from `readAIGPrim`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like an improvement to me. One question: in several of the proof backends, you removed the call to checkBooleanSchema
and didn't replace it with anything else. How do these functions behave now if you give them non-boolean terms? Do they yield reasonable error messages?
This was explained in the commit message for f7bb948:
|
Ah, right. I should have read the commit messages. :) 👍 |
See #718.