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

Assertion violation at smtrat-solver/Manager.cpp:163 #42

Open
rainoftime opened this issue May 1, 2020 · 1 comment
Open

Assertion violation at smtrat-solver/Manager.cpp:163 #42

rainoftime opened this issue May 1, 2020 · 1 comment

Comments

@rainoftime
Copy link

Hi, for the following formula,

(set-logic QF_LRA)
(declare-fun v5 () Bool)
(push 1)
(declare-fun v6 () Bool)
(assert (and v6 v5))
(pop 1)

smtrat (commit 3f50332) throws an assertion violation

smtrat-static: /home/peisen/test/tofuzz/smtrat/src/smtrat-solver/Manager.cpp:163: smtrat::ModuleInput::iterator smtrat::Manager::remove(smtrat::ModuleInput::iterator): Assertion `_subformula != mpPassedFormula->end()' failed.
@rainoftime rainoftime changed the title Assertion violation at Assertion violation at smtrat-solver/Manager.cpp:163 May 1, 2020
@nafur
Copy link
Contributor

nafur commented May 2, 2020

I had a quick look here. It seems that the ModuleInput splits the (and ...) into the two subformulae and remove() simply searches for the formula, but does not do the splitting.

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

2 participants