mirror of
https://github.com/Z3Prover/z3
synced 2026-07-05 14:56:11 +00:00
parent
3d29d81607
commit
70df91bc4e
2 changed files with 6 additions and 4 deletions
|
|
@ -847,14 +847,14 @@ namespace smt {
|
|||
bool theory_array_full::has_non_beta_as_array() {
|
||||
for (enode* n : m_as_array) {
|
||||
for (enode* p : n->get_parents())
|
||||
if (ctx.is_relevant(p) && !ctx.is_beta_redex(p, n)) {
|
||||
if (ctx.is_relevant(p) && !m.is_eq(p->get_expr()) && !ctx.is_beta_redex(p, n)) {
|
||||
TRACE(array, tout << "not a beta redex " << enode_pp(p, ctx) << "\n");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
for (enode* n : m_lambdas)
|
||||
for (enode* p : n->get_parents())
|
||||
if (ctx.is_relevant(p) && !is_default(p) && !ctx.is_beta_redex(p, n)) {
|
||||
if (ctx.is_relevant(p) && !is_default(p) && !m.is_eq(p->get_expr()) && !ctx.is_beta_redex(p, n)) {
|
||||
TRACE(array, tout << "lambda is not a beta redex " << enode_pp(p, ctx) << "\n");
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue