-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Unexpected reference to k!0
and k!1
in model.
#2517
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
Comments
Signed-off-by: Nikolaj Bjorner <[email protected]>
this is now addressed in current master. |
Thanks! Works just fine indeed. |
I have a larger program where the issue remains. So it is not completely fixed. (I cannot re-open this issue.) I have tried to make a smaller test-case, but it's very hard because each change has a big impact on the models. SMT code:
Unexpected output:
You see that the definition of Sorry that I was not able to make a smaller test-case. This is tested on HEAD (git commit 35fa24a). |
In this case, the definition of k!33 and k!34 are accessible in the model. |
I see; that makes sense. However, in the case of Thanks for the reply! |
I understand the need for avoiding expensive inlining, but that makes upstream tooling rather difficult. I'm curious if there might be a compromise. You already have these two settings:
They control how much inlining the pretty-printer does. Perhaps you can provide a similar setting with a low default value to avoid costs but allow end-users to avoid these issues? In fact, why not just use these settings directly for the inlining as well? (I just tried, makes no difference on this example.) |
Signed-off-by: Nikolaj Bjorner <[email protected]>
Just tried |
I can confirm, the patch works. Thanks a lot! |
For this benchmark:
z3 reports:
which has references to
k!0
andk!1
that seems to be left stray from substitution. (Originally reported by Joshua Moerman on SBV.)The text was updated successfully, but these errors were encountered: