mirror of
https://github.com/Z3Prover/z3
synced 2025-06-23 22:33:40 +00:00
Blast only one bit per conflict
This commit is contained in:
parent
a6fbd71c6b
commit
ae70a8e9f0
1 changed files with 3 additions and 3 deletions
|
@ -545,11 +545,11 @@ namespace polysat {
|
||||||
if (rb == (pb && qb))
|
if (rb == (pb && qb))
|
||||||
continue;
|
continue;
|
||||||
if (pb && qb && !rb)
|
if (pb && qb && !rb)
|
||||||
s.add_clause(s.mk_clause(~andc, ~s.bit(p(), i), ~s.bit(q(), i), s.bit(r(), i), true));
|
return s.mk_clause(~andc, ~s.bit(p(), i), ~s.bit(q(), i), s.bit(r(), i), true);
|
||||||
else if (!pb && rb)
|
else if (!pb && rb)
|
||||||
s.add_clause(s.mk_clause(~andc, s.bit(p(), i), ~s.bit(r(), i), true));
|
return s.mk_clause(~andc, s.bit(p(), i), ~s.bit(r(), i), true);
|
||||||
else if (!qb && rb)
|
else if (!qb && rb)
|
||||||
s.add_clause(s.mk_clause(~andc, s.bit(q(), i), ~s.bit(r(), i), true));
|
return s.mk_clause(~andc, s.bit(q(), i), ~s.bit(r(), i), true);
|
||||||
else
|
else
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue