3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-27 16:38:45 +00:00

set relevancy = 0 in auto-config mode when there are bit-vectors and no quantifiers, #7484

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-12-20 18:10:46 +01:00
parent 114cae50a5
commit db9f45dfec
5 changed files with 23 additions and 9 deletions

View file

@ -826,6 +826,16 @@ namespace smt {
setup_fpa();
setup_special_relations();
setup_polymorphism();
setup_relevancy(st);
}
//
// quantifier free problems with bit-vectors should always use relevancy = 0
// there are some other cases where relevancy propagation is harmful.
//
void setup::setup_relevancy(static_features& st) {
if (st.m_has_bv && st.m_num_quantifiers == 0)
m_params.m_relevancy_lvl = 0;
}
void setup::setup_unknown(static_features & st) {