mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +00:00
add case for abs (normally simplified, but not with default_tactic=smt).
This commit is contained in:
parent
671d071e54
commit
f1bf660adc
4 changed files with 15 additions and 3 deletions
|
@ -237,9 +237,10 @@ namespace arith {
|
|||
if (!is_first) {
|
||||
// skip recursive internalization
|
||||
}
|
||||
else if (a.is_to_int(n, n1)) {
|
||||
mk_to_int_axiom(t);
|
||||
}
|
||||
else if (a.is_to_int(n, n1))
|
||||
mk_to_int_axiom(t);
|
||||
else if (a.is_abs(n))
|
||||
mk_abs_axiom(t);
|
||||
else if (a.is_idiv(n, n1, n2)) {
|
||||
if (!a.is_numeral(n2, r) || r.is_zero()) found_underspecified(n);
|
||||
m_idiv_terms.push_back(n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue