mirror of
https://github.com/Z3Prover/z3
synced 2025-07-31 08:23:17 +00:00
review
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
5c54ea87f1
commit
a8d401864b
5 changed files with 76 additions and 3 deletions
|
@ -303,6 +303,11 @@ namespace polysat {
|
|||
}
|
||||
|
||||
void conflict::add_lemma(char const* name, clause_ref lemma) {
|
||||
|
||||
for (auto lit : *lemma)
|
||||
if (s.m_bvars.is_true(lit))
|
||||
verbose_stream() << "REDUNDANT lemma " << lit << " : " << show_deref(lemma) << "\n";
|
||||
|
||||
LOG_H3("Lemma " << (name ? name : "<unknown>") << ": " << show_deref(lemma));
|
||||
SASSERT(lemma);
|
||||
lemma->set_redundant(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue