mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c663d28201
commit
e49bfdb285
4 changed files with 30 additions and 8 deletions
|
@ -138,6 +138,10 @@ namespace polysat {
|
|||
for (auto lit : lits)
|
||||
level = std::max(level, s().lvl(lit));
|
||||
auto ex = euf::th_explain::conflict(*this, lits, eqs, nullptr);
|
||||
if (level == 0) {
|
||||
ctx.set_conflict(ex);
|
||||
return;
|
||||
}
|
||||
ctx.push(value_trail<bool>(m_has_lemma));
|
||||
m_has_lemma = true;
|
||||
m_lemma_level = level;
|
||||
|
@ -165,7 +169,8 @@ namespace polysat {
|
|||
if (!m_has_lemma)
|
||||
return l_undef;
|
||||
|
||||
unsigned num_scopes = s().scope_lvl() - m_lemma_level;
|
||||
SASSERT(m_lemma_level > 0);
|
||||
unsigned num_scopes = s().scope_lvl() - m_lemma_level - 1;
|
||||
|
||||
NOT_IMPLEMENTED_YET();
|
||||
// s().pop_reinit(num_scopes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue