mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 16:38:45 +00:00
Fix setup_relevancy for relevancy-dependent case split strategies (#7662)
This commit is contained in:
parent
80c553d24a
commit
b44c897a59
1 changed files with 7 additions and 0 deletions
|
@ -834,6 +834,13 @@ namespace smt {
|
|||
// there are some other cases where relevancy propagation is harmful.
|
||||
//
|
||||
void setup::setup_relevancy(static_features& st) {
|
||||
// the case split queue has been constructed by now.
|
||||
// it is not safe to disable relevancy if the case split stragegy is relevancy-dependent.
|
||||
if (m_params.m_case_split_strategy == CS_RELEVANCY ||
|
||||
m_params.m_case_split_strategy == CS_RELEVANCY_ACTIVITY ||
|
||||
m_params.m_case_split_strategy == CS_RELEVANCY_GOAL)
|
||||
return;
|
||||
|
||||
if (st.m_has_bv && !st.m_has_fpa && st.m_num_quantifiers == 0)
|
||||
m_params.m_relevancy_lvl = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue