mirror of
https://github.com/Z3Prover/z3
synced 2025-08-04 02:10:23 +00:00
beta redex check is used in array theory to filter out safe as-arrays
This commit is contained in:
parent
3900c03b72
commit
7a55bd5687
2 changed files with 5 additions and 3 deletions
|
@ -825,8 +825,10 @@ namespace smt {
|
|||
bool theory_array_full::has_non_beta_as_array() {
|
||||
for (enode* n : m_as_array) {
|
||||
for (enode* p : n->get_parents())
|
||||
if (!is_beta_redex(p, n))
|
||||
if (!ctx.is_beta_redex(p, n)) {
|
||||
TRACE("array", tout << "not a beta redex " << enode_pp(p, ctx) << "\n");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue