3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-06 23:35:46 +00:00

set, lemma, minor

This commit is contained in:
Jakob Rath 2022-09-21 16:29:36 +02:00
parent 2f65ce1026
commit 6abe0c9be8
16 changed files with 91 additions and 23 deletions

View file

@ -60,8 +60,9 @@ namespace polysat {
for (auto const& c : core) {
sat::literal const lit = c.blit();
out_indent() << lit << ": " << c << '\n';
// TODO: if justified by a side lemma, print it here
// out_indent() << " justified by: " << lemma << '\n';
clause* lemma = core.side_lemma(lit);
if (lemma)
out_indent() << " justified by: " << lemma << '\n';
m_used_constraints.insert(lit.index());
for (pvar v : c->vars())
m_used_vars.insert(v);