3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-31 08:23:17 +00:00

Print less output in non-verbose mode

This commit is contained in:
Jakob Rath 2023-03-18 08:04:03 +01:00
parent ee64bf27d1
commit 707a5b78f7
4 changed files with 18 additions and 15 deletions

View file

@ -320,12 +320,14 @@ namespace polysat {
LOG_H3("Lemma: " << ": " << show_deref(lemma));
VERIFY(lemma);
for (auto lit : *lemma)
if (s.m_bvars.is_true(lit)) {
verbose_stream() << "REDUNDANT lemma " << lit << " : " << show_deref(lemma) << "\n";
// for (sat::literal lit : *lemma)
// verbose_stream() << " " << lit_pp(s, lit) << "\n";
}
IF_VERBOSE(1, {
for (auto lit : *lemma)
if (s.m_bvars.is_true(lit)) {
verbose_stream() << "REDUNDANT lemma " << lit << " : " << show_deref(lemma) << "\n";
for (sat::literal lit : *lemma)
verbose_stream() << " " << lit_pp(s, lit) << "\n";
}
});
s.m_simplify_clause.apply(*lemma);
lemma->set_redundant(true);