Skip to content

Strongest Postcondition#142

Merged
mira-alford merged 28 commits intomainfrom
sp_domain
May 6, 2026
Merged

Strongest Postcondition#142
mira-alford merged 28 commits intomainfrom
sp_domain

Conversation

@mira-alford
Copy link
Copy Markdown
Collaborator

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.

@mira-alford mira-alford requested a review from b-paul April 29, 2026 05:56
Comment thread lib/analysis/dune Outdated
Comment thread lib/analysis/intra_analysis.ml Outdated
Comment thread lib/analysis/sp.ml Outdated
Comment thread lib/analysis/sp.ml Outdated
Comment thread lib/analysis/sp.ml Outdated
Comment thread lib/analysis/wp_dual.ml Outdated
Comment thread lib/lang/expr.ml
Comment thread lib/transforms/function_summaries.ml Outdated
Comment thread lib/transforms/function_summaries.ml
Comment thread lib/transforms/livevars.ml Outdated
@b-paul
Copy link
Copy Markdown
Collaborator

b-paul commented Apr 30, 2026

it's probably important that some bound on the size of predicates is put in so that they don't explode in size

@mira-alford
Copy link
Copy Markdown
Collaborator Author

it's probably important that some bound on the size of predicates is put in so that they don't explode in size

This was worrying me greatly, given how large such a small example got. I think Bounding it is probably the best idea for now.

@mira-alford
Copy link
Copy Markdown
Collaborator Author

@b-paul would love a quick re review whenever your able. Should hopefully be good to merge now.

Copy link
Copy Markdown
Collaborator

@b-paul b-paul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good yay

@mira-alford mira-alford merged commit 619c10b into main May 6, 2026
9 checks passed
@mira-alford mira-alford deleted the sp_domain branch May 6, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants