mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
log_lemma
This commit is contained in:
parent
1d04d08a0c
commit
61ec3b9e87
1 changed files with 7 additions and 9 deletions
|
@ -33,15 +33,13 @@ namespace polysat {
|
|||
saturation::saturation(solver& s) : s(s), m_lemma(s), m_parity_tracker(s) {}
|
||||
|
||||
void saturation::log_lemma(pvar v, conflict& core) {
|
||||
verbose_stream() << "Logging lemma:\n";
|
||||
auto const& cl = core.lemmas().back();
|
||||
verbose_stream() << m_rule << " v" << v << " ";
|
||||
for (auto lit : *cl) verbose_stream() << s.lit2cnstr(lit) << " ";
|
||||
verbose_stream() << " " << *cl << "\n";
|
||||
IF_VERBOSE(1, auto const& cl = core.lemmas().back();
|
||||
verbose_stream() << m_rule << " v" << v << " ";
|
||||
for (auto lit : *cl) verbose_stream() << s.lit2cnstr(lit) << " ";
|
||||
verbose_stream() << " " << *cl << "\n");
|
||||
IF_VERBOSE(1, {
|
||||
auto const& cl = core.lemmas().back();
|
||||
verbose_stream() << m_rule << " v" << v << " ";
|
||||
for (auto lit : *cl)
|
||||
verbose_stream() << s.lit2cnstr(lit) << " ";
|
||||
verbose_stream() << " " << *cl << "\n";
|
||||
});
|
||||
}
|
||||
|
||||
void saturation::perform(pvar v, conflict& core) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue