3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-09 23:52:02 +00:00
This commit is contained in:
Jakob Rath 2023-02-03 16:25:07 +01:00
parent 4b1ec583ec
commit 579275a17d
6 changed files with 16 additions and 39 deletions

View file

@ -216,8 +216,8 @@ namespace polysat {
SASSERT(all_of(m_lemma, [this](sat::literal lit) { return is_forced_false(s.lit2cnstr(lit)); }));
m_lemma.insert(c);
core.add_lemma(m_rule, m_lemma.build());
verbose_stream() << "Lemma\n";
m_lemma.set_name(m_rule);
core.add_lemma(m_lemma.build());
log_lemma(v, core);
return true;
}
@ -247,7 +247,8 @@ namespace polysat {
return false;
m_lemma.insert_eval(c);
core.add_lemma(m_rule, m_lemma.build());
m_lemma.set_name(m_rule);
core.add_lemma(m_lemma.build());
log_lemma(v, core);
return true;
}