3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-25 21:33:33 +00:00

suppress witness subs optimization

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2026-02-23 09:59:08 -10:00
parent 2ea86d94dc
commit cf3552c029
4 changed files with 19 additions and 5 deletions

View file

@ -251,6 +251,8 @@ namespace nlsat {
bool m_apply_lws;
bool m_last_conflict_used_lws = false; // Track if last conflict explanation used levelwise
unsigned m_lws_spt_threshold = 3;
bool m_lws_no_sign_lc = false;
bool m_lws_no_sign_disc = false;
imp(solver& s, ctx& c):
m_ctx(c),
m_solver(s),
@ -312,6 +314,8 @@ namespace nlsat {
m_debug_known_solution_file_name = p.known_sat_assignment_file_name();
m_apply_lws = p.lws();
m_lws_spt_threshold = p.lws_spt_threshold(); // 0 disables spanning tree
m_lws_no_sign_lc = p.lws_no_sign_lc();
m_lws_no_sign_disc = p.lws_no_sign_disc();
m_check_lemmas |= !(m_debug_known_solution_file_name.empty());
m_ism.set_seed(m_random_seed);
@ -4718,4 +4722,6 @@ namespace nlsat {
}
bool solver::apply_levelwise() const { return m_imp->m_apply_lws; }
unsigned solver::lws_spt_threshold() const { return m_imp->m_lws_spt_threshold; }
bool solver::lws_no_sign_lc() const { return m_imp->m_lws_no_sign_lc; }
bool solver::lws_no_sign_disc() const { return m_imp->m_lws_no_sign_disc; }
};