Skip to content

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

Merged
marcoeilers merged 7 commits into
masterfrom
meilers_pull_put_assumptions
Oct 13, 2023
Merged

Pull assumptions out of quantifiers if they don't refer to quantified variable#760
marcoeilers merged 7 commits into
masterfrom
meilers_pull_put_assumptions

Conversation

@marcoeilers

@marcoeilers marcoeilers commented Oct 12, 2023

Copy link
Copy Markdown
Contributor

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
@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