3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-18 01:02:15 +00:00

remove unsound use of sat_big reduction

This commit is contained in:
Nikolaj Bjorner 2019-12-20 22:01:18 -08:00
parent 8a75e9090b
commit 90ca594835
4 changed files with 67 additions and 16 deletions

View file

@ -191,7 +191,7 @@ namespace sat {
watched& w = *it;
if (learned() ? w.is_binary_learned_clause() : w.is_binary_clause()) {
literal v = w.get_literal();
if (u != get_parent(v) && safe_reach(u, v)) {
if (u != get_parent(v) && ~u != get_parent(v) && safe_reach(u, v)) {
++elim;
add_del(~u, v);
if (s.get_config().m_drat) s.m_drat.del(~u, v);
@ -267,7 +267,7 @@ namespace sat {
for (auto& next : m_dag) {
if (!next.empty()) {
out << to_literal(idx) << " : " << m_left[idx] << ":" << m_right[idx] << " -> " << next << "\n";
#if 0
#if 1
for (literal n : next) {
out << n << "[" << m_left[n.index()] << ":" << m_right[n.index()] << "] ";
}