mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
throttle ackerman on arrays
This commit is contained in:
parent
a20b577b2f
commit
84f514a4f4
8 changed files with 54 additions and 6 deletions
|
@ -751,6 +751,18 @@ namespace euf {
|
|||
}
|
||||
}
|
||||
|
||||
bool solver::enable_ackerman_axioms(expr* e) const {
|
||||
euf::enode* n = get_enode(e);
|
||||
if (!n)
|
||||
return false;
|
||||
for (auto const& thv : enode_th_vars(n)) {
|
||||
auto* th = m_id2solver.get(thv.get_id(), nullptr);
|
||||
if (th && !th->enable_ackerman_axioms(n))
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void solver::pre_simplify() {
|
||||
for (auto* e : m_solvers)
|
||||
e->pre_simplify();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue