mirror of
https://github.com/Z3Prover/z3
synced 2025-10-04 06:53:58 +00:00
support for legacy datatype test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
aac7773a52
commit
06087c17be
12 changed files with 100 additions and 98 deletions
|
@ -753,18 +753,14 @@ br_status poly_rewriter<Config>::cancel_monomials(expr * lhs, expr * rhs, bool m
|
|||
|
||||
normalize(c);
|
||||
|
||||
TRACE("mk_le_bug", tout << c << "\n";);
|
||||
|
||||
if (!has_multiple && num_coeffs <= 1) {
|
||||
if (move) {
|
||||
if (is_numeral(rhs)) {
|
||||
TRACE("mk_le_bug", tout << "rhs is numeral\n";);
|
||||
return BR_FAILED;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (num_coeffs == 0 || is_numeral(rhs)) {
|
||||
TRACE("mk_le_bug", tout << "rhs is numeral or no coeffs\n";);
|
||||
return BR_FAILED;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue