3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-09 23:00:30 +00:00

better equality solver for bit-vectors

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-07-29 21:02:57 -07:00
parent 16fb86b636
commit fd66d2f26c
7 changed files with 123 additions and 5 deletions

View file

@ -359,7 +359,9 @@ namespace polysat {
if (a.degree(v) < r.degree(v))
return;
verbose_stream() << "resolve: " << a << " = " << b << " => " << r << "\n";
add_clause("ax + b = 0 & cx + d = 0 ==> cb - da = 0", { i.dep(), j.dep(), C.eq(r) }, true);
exit(0);
}