diff --git a/src/math/polysat/conflict.cpp b/src/math/polysat/conflict.cpp index 85084acf8..1c0b7ed45 100644 --- a/src/math/polysat/conflict.cpp +++ b/src/math/polysat/conflict.cpp @@ -303,15 +303,15 @@ namespace polysat { } void conflict::add_lemma(char const* name, clause_ref lemma) { + if (!name) + name = ""; + LOG_H3("Lemma " << name << ": " << 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"; - if (!name) - name = ""; - LOG_H3("Lemma " << name << ": " << show_deref(lemma)); - SASSERT(lemma); s.m_simplify_clause.apply(*lemma); lemma->set_redundant(true); lemma->set_name(name);