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

Pull assumptions out of quantifiers if they don't refer to quantified variable #760

Merged
merged 7 commits into from
Oct 13, 2023

Conversation

marcoeilers
Copy link
Contributor

@marcoeilers marcoeilers commented Oct 12, 2023

When computing the non-global assumptions of a path condition layer, sometimes we will put assumptions in the body of the quantifier that don't actually depend on the quantified variables in any way.
Since there is a general issue in Silicon (especially with MCE) where sometimes some information is required to trigger a quantifier, but this information is only assumed inside that same quantifier, it is generally desirable to pull information out of quantifiers if possible. So here, we check if there are assumptions that don´t depend on the quantified variables, and if so, we pull them out of the quantifier and add them to the non-quantified global assumptions instead. This fixes one example in isssue #387 (but not all of them).

Logically, the resulting assumptions are completely equivalent, so it should not be possible to introduce any soundness issues this way.

@marcoeilers marcoeilers merged commit 088f303 into master Oct 13, 2023
4 checks passed
@marcoeilers marcoeilers deleted the meilers_pull_put_assumptions branch October 13, 2023 13:27
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.

1 participant