-
Notifications
You must be signed in to change notification settings - Fork 26
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
[CN] Simplified Constraints in state file are not fully simplified #389
Comments
Potentially related: #351 though in this case it's not specific to Tl;dr yes that output is atrocious and the term simplifier needs work. Perhaps even just with pretty printing. Do you have some sort of recursive constraint of some sort like |
I have recursive predicates, which is the |
I have a nice small example from #533
This should simplify that each condition into 1 <= j && j < 2 I think |
We probably want to keep going and just simplify this to |
Is there a situation where the problem is a missing |
I struggled to find a minimal model to show this, so I'll just show a picture of the output I'm getting.
It's not important to understand, but the point is that there are extremely long terms in this constraint which do not have to be so long. Under
terms
it shows what some sub terms simplify to, so I manually have to go in and substitute those simplifications in myself. This work is very tedious and seems like it can be automated.To try to make things a bit clearer with this example, you can note that the unproven constraint includes the term
unpack_Own_Forwards0.n.data
. Under terms, it can be seen thatunpack_Own_Forwards0.n.data
has the value0i32
. I can't see a good reason why the unsimplified constraint needs this long term that could just be simplified to0i32
.Sorry that this is a bit confusing to understand, I'm happy to try to clarify anything.
The text was updated successfully, but these errors were encountered: