mirror of
https://github.com/Z3Prover/z3
synced 2025-06-29 17:38:45 +00:00
track empty clause during pop
If a theory solver creates the empty clause it gets dropped during pop. By maintaining a variable m_empty_clause, the solver ensures that it retains the information that the search state is inconsistent.
This commit is contained in:
parent
ebb7d60c75
commit
5cecd986e2
3 changed files with 8 additions and 2 deletions
|
@ -1351,6 +1351,7 @@ namespace smt {
|
|||
m_justifications.push_back(j);
|
||||
TRACE("mk_clause", tout << "empty clause... setting conflict\n";);
|
||||
set_conflict(j == nullptr ? b_justification::mk_axiom() : b_justification(j));
|
||||
m_empty_clause = true;
|
||||
SASSERT(inconsistent());
|
||||
return nullptr;
|
||||
case 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue