mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
trigger also parity constraints in linear case
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ef811a3dd8
commit
fdba85e39f
2 changed files with 3 additions and 2 deletions
|
@ -643,8 +643,6 @@ namespace polysat {
|
|||
signed_constraint a_is_odd, x_is_odd, b_is_odd;
|
||||
if (!is_AxB_eq_0(x, axb_l_y, a, b, y))
|
||||
return false;
|
||||
if (a.is_val())
|
||||
return false;
|
||||
if (!is_forced_odd(b, b_is_odd)) {
|
||||
if (!is_forced_odd(a, a_is_odd))
|
||||
return false;
|
||||
|
|
|
@ -184,6 +184,9 @@ namespace polysat {
|
|||
|
||||
signed_constraint sc(this, is_positive);
|
||||
|
||||
if (sc.bvar() == 31) {
|
||||
IF_VERBOSE(0, verbose_stream() << "Narrow " << sc << " with " << p << " " << q << "\n");
|
||||
}
|
||||
LOG_H3("Narrowing " << sc);
|
||||
LOG_V("Assignment: " << assignments_pp(s));
|
||||
LOG_V("Substituted LHS: " << lhs() << " := " << p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue