mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
expose parameters to control behavior for #5660
This commit is contained in:
parent
1c7ff72ae2
commit
8970a54eaa
6 changed files with 40 additions and 42 deletions
|
@ -46,9 +46,9 @@ void init_preprocess(ast_manager& m, params_ref const& p, seq_simplifier& s, dep
|
|||
smt_params smtp(p);
|
||||
if (sp.euf() || sp.smt()) {
|
||||
s.add_simplifier(alloc(rewriter_simplifier, m, p, st));
|
||||
s.add_simplifier(alloc(propagate_values, m, p, st));
|
||||
s.add_simplifier(alloc(euf::solve_eqs, m, st));
|
||||
s.add_simplifier(alloc(elim_unconstrained, m, st));
|
||||
if (smtp.m_propagate_values) s.add_simplifier(alloc(propagate_values, m, p, st));
|
||||
if (smtp.m_solve_eqs) s.add_simplifier(alloc(euf::solve_eqs, m, st));
|
||||
if (smtp.m_elim_unconstrained) s.add_simplifier(alloc(elim_unconstrained, m, st));
|
||||
if (smtp.m_nnf_cnf) s.add_simplifier(alloc(cnf_nnf_simplifier, m, p, st));
|
||||
if (smtp.m_macro_finder || smtp.m_quasi_macros) s.add_simplifier(alloc(eliminate_predicates, m, st));
|
||||
if (smtp.m_qe_lite) s.add_simplifier(mk_qe_lite_simplifer(m, p, st));
|
||||
|
|
|
@ -540,6 +540,7 @@ namespace euf {
|
|||
sat::check_result solver::check() {
|
||||
++m_stats.m_final_checks;
|
||||
TRACE("euf", s().display(tout););
|
||||
TRACE("final_check", s().display(tout););
|
||||
bool give_up = false;
|
||||
bool cont = false;
|
||||
|
||||
|
|
|
@ -69,9 +69,12 @@ namespace q {
|
|||
[&](euf::enode* n) {
|
||||
m_mam->add_node(n, false);
|
||||
};
|
||||
ctx.get_egraph().set_on_merge(_on_merge);
|
||||
if (!ctx.relevancy_enabled())
|
||||
ctx.get_egraph().set_on_make(_on_make);
|
||||
|
||||
if (ctx.get_config().m_ematching) {
|
||||
ctx.get_egraph().set_on_merge(_on_merge);
|
||||
if (!ctx.relevancy_enabled())
|
||||
ctx.get_egraph().set_on_make(_on_make);
|
||||
}
|
||||
m_mam = mam::mk(ctx, *this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue