Skip to content
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

Try to fix sv-benchmarks termination-restricted-15/IntPath Apron normalization #1585

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Sep 30, 2024

As identified in #1576 (comment), this SV-COMP task causes a weird both branches dead situation which actually is sound. With both octagon and polyhedra, there are constraints like 2x=1 where x is an integer. Neither domain seems to immediately reduce this to bottom to make it dead.
Only later when re-asserting some (even the same) constraint, it's somehow checked again and does become dead, but in both branches.

Here are a few attempts to try to make this come out early, but I don't think none are particularly nice. It's hard to tell where Apron actually applies some integer reduction. It seems to be a separate thing from other kinds of normalization/closure/canonicalization that Apron has and does.

@sim642 sim642 added precision relational Relational analyses (Apron, affeq, lin2var) labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
precision relational Relational analyses (Apron, affeq, lin2var)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant