Open mskamp opened 7 years ago
check-sat-assuming
is not very well tested and still buggy. The fix is not trivial, since the interactions with the DPLL engine are very tricky. I will probably change it soon to execute the sequence push, assert, check-sat, pop internally.
Any news on this bug? It still appears in SMTInterpol 2.5-732-gd208e931
.
Using the following (already reduced) test file, SMTInterpol 2.1-335-g4c543a5 produces an AssertionError:
When executing
java -ea -jar smtinterpol-2.1-335-g4c543a5.jar < test.smt2
the solver outputs the following lines:As it seems to me,
check-sat-assuming
is the culprit here. Replacing(check-sat-assuming (g0))
with(assert g0) (check-sat)
produces the correct result.