mirror of
https://github.com/Z3Prover/z3
synced 2025-07-03 03:15:41 +00:00
log
This commit is contained in:
parent
dade8178e5
commit
3796a46b55
1 changed files with 13 additions and 5 deletions
|
@ -1130,12 +1130,12 @@ namespace polysat {
|
||||||
SASSERT(best_score < lemma_score::max());
|
SASSERT(best_score < lemma_score::max());
|
||||||
VERIFY(best_lemma);
|
VERIFY(best_lemma);
|
||||||
|
|
||||||
|
LOG("best_score: " << best_score);
|
||||||
|
LOG("best_lemma: " << clause_pp(*this, best_lemma));
|
||||||
|
|
||||||
unsigned const jump_level = std::max(best_score.jump_level(), base_level());
|
unsigned const jump_level = std::max(best_score.jump_level(), base_level());
|
||||||
VERIFY(jump_level <= max_jump_level);
|
VERIFY(jump_level <= max_jump_level);
|
||||||
|
|
||||||
LOG("best_score: " << best_score);
|
|
||||||
LOG("best_lemma: " << *best_lemma);
|
|
||||||
|
|
||||||
m_conflict.reset();
|
m_conflict.reset();
|
||||||
backjump(jump_level);
|
backjump(jump_level);
|
||||||
|
|
||||||
|
@ -1599,8 +1599,16 @@ namespace polysat {
|
||||||
if (j.is_propagation_by_viable())
|
if (j.is_propagation_by_viable())
|
||||||
for (auto const& c : m_viable.get_constraints(v))
|
for (auto const& c : m_viable.get_constraints(v))
|
||||||
out << c << " ";
|
out << c << " ";
|
||||||
if (j.is_propagation_by_slicing())
|
if (j.is_propagation_by_slicing()) {
|
||||||
out << "by slicing (detailed output is TODO)";
|
out << "by slicing: ";
|
||||||
|
const_cast<slicing&>(m_slicing).explain_value(v,
|
||||||
|
[&](sat::literal lit) {
|
||||||
|
out << lit2cnstr(lit) << " ";
|
||||||
|
},
|
||||||
|
[&](pvar w) {
|
||||||
|
out << "pvar(v" << w << ") ";
|
||||||
|
});
|
||||||
|
}
|
||||||
out << "\n";
|
out << "\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue