Strongest Postcondition#142
Merged
mira-alford merged 28 commits intomainfrom May 6, 2026
Merged
Conversation
b-paul
reviewed
Apr 30, 2026
Collaborator
|
it's probably important that some bound on the size of predicates is put in so that they don't explode in size |
Collaborator
Author
This was worrying me greatly, given how large such a small example got. I think Bounding it is probably the best idea for now. |
Collaborator
Author
|
@b-paul would love a quick re review whenever your able. Should hopefully be good to merge now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Strong post-condition ensures clause generation/propagation. Yay!
Integrates into the procedure summaries transform nicely. Seems to work out on the simple test case I've written, and also some memory encoding tests ill probably have in a PR next week.
Some things are just sent to top like loads, not sure how I would write a transfer function for them, but this is enough to get plenty of interesting examples passing.