mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
fixes/debugging
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4c81f8676c
commit
3f3bd5948f
5 changed files with 41 additions and 30 deletions
|
@ -146,7 +146,7 @@ namespace polysat {
|
|||
if (!c2->has_bvar() || l_undef == c2.bvalue(s))
|
||||
core.keep(c2); // adds propagation of c to the search stack
|
||||
core.reset();
|
||||
LOG("reduced to " << c2);
|
||||
LOG_H3("Polynomial superposition " << eq << " " << c << " reduced to " << c2);
|
||||
if (c2.bvalue(s) == l_false) {
|
||||
core.insert(eq);
|
||||
core.insert(c);
|
||||
|
@ -161,12 +161,10 @@ namespace polysat {
|
|||
}
|
||||
|
||||
bool ex_polynomial_superposition::try_explain(pvar v, conflict& core) {
|
||||
LOG_H3("Trying polynomial superposition...");
|
||||
reduce_by(v, core);
|
||||
lbool result = l_undef;
|
||||
while (result == l_undef)
|
||||
result = try_explain1(v, core);
|
||||
LOG("success? " << result);
|
||||
return result == l_true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue