Skip to content
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

Another AssertionError with check-sat-assuming #40

Open
kfriedberger opened this issue Jan 29, 2019 · 1 comment
Open

Another AssertionError with check-sat-assuming #40

kfriedberger opened this issue Jan 29, 2019 · 1 comment

Comments

@kfriedberger
Copy link
Contributor

kfriedberger commented Jan 29, 2019

The following snipped causes SMTInterpol (453d36e) to fail with an AssertionError:

SMTInterpol env = new SMTInterpol(new DefaultLogger(), () -> false);
env.setLogic(Logics.QF_AUFLIRA);
env.declareFun("A", new Sort[] {}, env.getTheory().getBooleanSort());
Term[] terms = new Term[] {env.term("A")};
env.checkSatAssuming(terms);
env.checkSat();
env.checkSatAssuming(terms);

Stacktrace:

Exception in thread "main" java.lang.AssertionError
at de.uni_freiburg.informatik.ultimate.smtinterpol.dpll.DPLLEngine.assume(DPLLEngine.java:1877)
at de.uni_freiburg.informatik.ultimate.smtinterpol.smtlib2.SMTInterpol.checkSatAssuming(SMTInterpol.java:492)

Strangely, the corresponding SMTlib-input does not trigger the problem:

(set-logic QF_AUFLIRA)
(declare-fun A () Bool)
(check-sat-assuming (A))
(check-sat)
(check-sat-assuming (A))

This issue might be related to #29.

@kfriedberger
Copy link
Contributor Author

This issue seems to not be fixed until today. Is there any progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant