mirror of
https://github.com/Z3Prover/z3
synced 2025-06-29 09:28:45 +00:00
fix #6340 - again
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c30b884247
commit
fd5448d26b
4 changed files with 16 additions and 8 deletions
|
@ -615,11 +615,15 @@ namespace smt {
|
|||
|
||||
bool context::has_lambda() {
|
||||
for (auto const & [n, q] : m_lambdas) {
|
||||
if (n->get_class_size() != 1)
|
||||
if (n->get_class_size() != 1) {
|
||||
TRACE("context", tout << "class size " << n->get_class_size() << " " << enode_pp(n, *this) << "\n");
|
||||
return true;
|
||||
}
|
||||
for (enode* p : enode::parents(n))
|
||||
if (!is_beta_redex(p, n))
|
||||
if (!is_beta_redex(p, n)) {
|
||||
TRACE("context", tout << "not a beta redex " << enode_pp(p, *this) << "\n");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue