mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
log justifications during conflict resolution
This commit is contained in:
parent
0eb0306ae2
commit
67647433ba
3 changed files with 23 additions and 2 deletions
|
@ -122,4 +122,13 @@ namespace polysat {
|
|||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
std::ostream& bool_var_manager::display_justification(sat::literal lit, std::ostream& out) const {
|
||||
out << m_kind[lit.var()];
|
||||
if (is_assigned(lit))
|
||||
out << " @ " << level(lit);
|
||||
if (is_bool_propagation(lit))
|
||||
out << " by " << show_deref(reason(lit));
|
||||
return out;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue