-
Notifications
You must be signed in to change notification settings - Fork 33
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
No value printed in models for declared constants without constraint #767
Comments
I think that this is because we never call Ideally we would have access to the actual list of declared symbols somewhere, but I don't think we have that currently, and from my understanding we would have to dig a bit into the guts of how model generation works to fix this. We are trying to avoid doing that until #553 is merged so I don't know if it's worth fixing for 2.5.0 ? |
This was my insight of the root of the problem. I agree we cannot change this quickly. I postponed it for the next release. |
Another thing we need to be careful about: currently we create the |
Exactly! We have to clean up the way we use ID in the UF before fixing this issue. |
I think maintaining a separate list of declared symbols (as |
The code in the issue now prints the following (with
|
Consider the input file
Calling AE with the command
$ alt-ergo --produce-models input.smt2
outputsAccording to the SMT-LIB, models have to contain definitions for all declared constants.
The text was updated successfully, but these errors were encountered: