3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 23:05:46 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-12-11 13:01:08 -08:00
parent 91c95aab16
commit 59acd77981
5 changed files with 17 additions and 8 deletions

View file

@ -157,11 +157,13 @@ namespace polysat {
auto rhs = c->to_ule().rhs();
auto a = lhs.reduce(v, p);
auto b = rhs.reduce(v, p);
LOG("try-reduce: " << c << " " << a << " " << b << " vs " << lhs << " " << rhs);
if (a == lhs && b == rhs)
continue;
auto c2 = s.ule(a, b);
if (!c.is_positive())
c2 = ~c2;
LOG("try-reduce is false " << c2.is_currently_false(s));
if (!c2.is_currently_false(s))
continue;
SASSERT(c2.is_currently_false(s));