mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 04:43:39 +00:00
add is_considered_uninterpreted checks into acker_helper
This commit is contained in:
parent
0597b579b1
commit
bd0bd08ecf
1 changed files with 2 additions and 13 deletions
|
@ -33,19 +33,8 @@ class ackr_helper {
|
||||||
which are not marked as uninterpreted but effectively are.
|
which are not marked as uninterpreted but effectively are.
|
||||||
*/
|
*/
|
||||||
inline bool should_ackermannize(app const * a) const {
|
inline bool should_ackermannize(app const * a) const {
|
||||||
if (a->get_family_id() == m_bvutil.get_family_id()) {
|
decl_plugin * p = m_bvutil.get_manager().get_plugin(a->get_family_id());
|
||||||
switch (a->get_decl_kind()) {
|
return p->is_considered_uninterpreted(a->get_decl());
|
||||||
case OP_BSDIV0:
|
|
||||||
case OP_BUDIV0:
|
|
||||||
case OP_BSREM0:
|
|
||||||
case OP_BUREM0:
|
|
||||||
case OP_BSMOD0:
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
return is_uninterp(a);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return (is_uninterp(a));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bv_util& bvutil() { return m_bvutil; }
|
inline bv_util& bvutil() { return m_bvutil; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue