-
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
get-assignment
is wrong with CDCL solver
#937
Comments
Before someone beats me to the punch: PR incoming for that. |
bclement-ocp
added a commit
to bclement-ocp/alt-ergo
that referenced
this issue
Nov 16, 2023
Prior to c1e4387 (OCamlPro#829) we did not have model generation in the default solver, and model generation required to use the Tableaux solver, so we used the Tableaux solver when testing models. Since the default solver now supports model generation, we should use it to test model generation instead, since the models generated by both solvers can be different and most users will use the default solver rather than the Tableaux solver. Unfortunately, this causes some tests using `get-assignment` to fail (see OCamlPro#937).
bclement-ocp
added a commit
to bclement-ocp/alt-ergo
that referenced
this issue
Nov 16, 2023
Prior to c1e4387 (OCamlPro#829) we did not have model generation in the default solver, and model generation required to use the Tableaux solver, so we used the Tableaux solver when testing models. Since the default solver now supports model generation, we should use it to test model generation instead, since the models generated by both solvers can be different and most users will use the default solver rather than the Tableaux solver. Unfortunately, this causes some tests using `get-assignment` to fail (see OCamlPro#937).
bclement-ocp
added a commit
that referenced
this issue
Nov 16, 2023
Prior to c1e4387 (#829) we did not have model generation in the default solver, and model generation required to use the Tableaux solver, so we used the Tableaux solver when testing models. Since the default solver now supports model generation, we should use it to test model generation instead, since the models generated by both solvers can be different and most users will use the default solver rather than the Tableaux solver. Unfortunately, this causes some tests using `get-assignment` to fail (see #937).
Merged
Can we close this issue? |
Looks like this is fixed in #961 and we forgot to link it, yes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the test
tests/models/bool/bool3.models.smt2
which we only test using the Tableaux solver (this is an issue, we should be testing model generation on the default solver now that this is supported).Alt-Ergo with the (default -- using
alt-ergo tests/models/bool/bool3.models.smt2
) CDCL solver finds the following model and assignment:This is wrong:
bar
should betrue
, notfalse
((and (not false) (not false))
is clearlytrue
).I believe this should be fixed by switching to the new Dolmen implementation of
:named
terms, since that will automatically declarefoo
andbar
as actual constants.The text was updated successfully, but these errors were encountered: