-
Notifications
You must be signed in to change notification settings - Fork 43
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
Reasoning about remainders #3948
Comments
With the georgy/booster-remainders branch, Booster can now apply the rules from the bug report, but it still produces a 9-way (instead of 8-way) branch. I.e. the behaviour is on-par with Kore. I have some thoughts on why this happens and also some wants about the rules. I start with the wants and then describe a possible transformation to the rule format that may help us to prune the remainder. Format of CSE rules
|
CSE rules are specifically designed to have only symbolic variables on the LHS, with the exception of
In addition, my experience tells me that we should never be introducing additional constraints into the path condition unless absolutely necessary, and this is not necessary for |
The remainder condition that we are dealing with is over-approximating because in the path constraints, some symbolic variables are initialised in some of the branches, causing the parameters of function symbols to be computed partially or even the function to be fully evaluated. This issue, I believe, is not related to what's in the structural part. |
As part of exploring CSE in Kontrol, a few issues have come up. Specifically:
rule_predicate
, which leads to a mischaracterisation of the branching bypyk
, and causes an infinite loop in combination with 1).From what I understand, the remainders are initially of the form
#Not ( ... #Or ... )
, which is then transformed into#Not (...) #And #Not (...)
. I believe that there is room for further simplification or minimisation at the#Or
stage, perhaps even Z3 could be asked to minimise this before the transformation to#And
.nine-way-branch.tar.gz
The text was updated successfully, but these errors were encountered: