Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Dec 1, 2022
1 parent 529f116 commit 847aec1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion scripts/mk_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ def init_project_def():
add_lib('hilbert', ['util'], 'math/hilbert')
add_lib('automata', ['util'], 'math/automata')
add_lib('params', ['util'])
add_lib('smt_params', ['params'], 'smt/params')
add_lib('realclosure', ['interval'], 'math/realclosure')
add_lib('subpaving', ['interval'], 'math/subpaving')
add_lib('ast', ['util', 'polynomial'])
add_lib('smt_params', ['ast', 'params'], 'smt/params')
add_lib('parser_util', ['ast'], 'parsers/util')
add_lib('euf', ['ast'], 'ast/euf')
add_lib('grobner', ['ast', 'dd', 'simplex'], 'math/grobner')
Expand Down
1 change: 1 addition & 0 deletions src/smt/params/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ z3_add_component(smt_params
theory_str_params.cpp
COMPONENT_DEPENDENCIES
params
ast
PYG_FILES
smt_params_helper.pyg
)
12 changes: 12 additions & 0 deletions src/smt/params/smt_params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ void smt_params::setup_QF_LIA(static_features const& st) {
}
}

void smt_params::setup_QF_UFIDL() {
m_relevancy_lvl = 0;
m_arith_reflect = false;
m_nnf_cnf = false;
m_arith_eq_bounds = true;
m_arith_eq2ineq = true;
// m_params.m_phase_selection = PS_THEORY;
m_restart_strategy = RS_GEOMETRIC;
m_restart_factor = 1.5;
m_restart_adaptive = false;
}

void smt_params::setup_QF_UFLIA() {
m_relevancy_lvl = 0;
m_arith_reflect = false;
Expand Down
2 changes: 2 additions & 0 deletions src/smt/params/smt_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ struct smt_params : public preprocessor_params,

void setup_QF_LIA(static_features const& st);

void setup_QF_UFIDL();

void setup_QF_UFLIA();

void setup_QF_UFLRA();
Expand Down
12 changes: 1 addition & 11 deletions src/smt/smt_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,15 +377,7 @@ namespace smt {

void setup::setup_QF_UFIDL() {
TRACE("setup", tout << "setup_QF_UFIDL()\n";);
m_params.m_relevancy_lvl = 0;
m_params.m_arith_reflect = false;
m_params.m_nnf_cnf = false;
m_params.m_arith_eq_bounds = true;
m_params.m_arith_eq2ineq = true;
// m_params.m_phase_selection = PS_THEORY;
m_params.m_restart_strategy = RS_GEOMETRIC;
m_params.m_restart_factor = 1.5;
m_params.m_restart_adaptive = false;
m_params.setup_QF_UFIDL();
setup_lra_arith();
}

Expand Down Expand Up @@ -624,8 +616,6 @@ namespace smt {
}
}



void setup::setup_arith() {
static_features st(m_manager);
IF_VERBOSE(100, verbose_stream() << "(smt.collecting-features)\n";);
Expand Down

0 comments on commit 847aec1

Please sign in to comment.