mirror of
https://github.com/Z3Prover/z3
synced 2025-05-10 17:25:47 +00:00
add a way to supress lambdas
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
97437bce4c
commit
5db133f875
8 changed files with 60 additions and 17 deletions
|
@ -3743,7 +3743,7 @@ namespace smt {
|
|||
if (status == l_false) {
|
||||
return false;
|
||||
}
|
||||
if (status == l_true && !m_qmanager->has_quantifiers() && !m_has_lambda) {
|
||||
if (status == l_true && !m_qmanager->has_quantifiers() && m_lambdas.empty()) {
|
||||
return false;
|
||||
}
|
||||
if (status == l_true && m_qmanager->has_quantifiers()) {
|
||||
|
@ -3766,7 +3766,7 @@ namespace smt {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (status == l_true && m_has_lambda) {
|
||||
if (status == l_true && !m_lambdas.empty()) {
|
||||
m_last_search_failure = LAMBDAS;
|
||||
status = l_undef;
|
||||
return false;
|
||||
|
@ -4010,7 +4010,7 @@ namespace smt {
|
|||
TRACE("final_check_step", tout << "RESULT final_check: " << result << "\n";);
|
||||
if (result == FC_GIVEUP && f != OK)
|
||||
m_last_search_failure = f;
|
||||
if (result == FC_DONE && m_has_lambda) {
|
||||
if (result == FC_DONE && !m_lambdas.empty()) {
|
||||
m_last_search_failure = LAMBDAS;
|
||||
result = FC_GIVEUP;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue