mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
fix bug in difference logic recognizer, assert in proof_util
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
299c5eb947
commit
639f902ad1
2 changed files with 8 additions and 3 deletions
|
@ -1129,7 +1129,11 @@ namespace pdr {
|
|||
if (a.is_numeral(lhs) || a.is_numeral(rhs)) {
|
||||
return test_ineq(e);
|
||||
}
|
||||
return test_term(lhs) && test_term(rhs);
|
||||
return
|
||||
test_term(lhs) &&
|
||||
test_term(rhs) &&
|
||||
!a.is_mul(lhs) &&
|
||||
!a.is_mul(rhs);
|
||||
}
|
||||
|
||||
bool test_term(expr* e) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue