mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
add stubs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
32055a31db
commit
be1a1dd7c2
4 changed files with 54 additions and 48 deletions
|
@ -1441,8 +1441,7 @@ void core::patch_monomial_with_real_var(lpvar j) {
|
|||
erase_from_to_refine(j);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void core::patch_monomials_with_real_vars() {
|
||||
|
@ -1465,7 +1464,8 @@ lbool core::check(vector<lemma>& l_vec) {
|
|||
TRACE("nla_solver", tout << "calls = " << lp_settings().stats().m_nla_calls << "\n";);
|
||||
m_lar_solver.get_rid_of_inf_eps();
|
||||
m_lemma_vec = &l_vec;
|
||||
if (!(m_lar_solver.get_status() == lp::lp_status::OPTIMAL || m_lar_solver.get_status() == lp::lp_status::FEASIBLE )) {
|
||||
if (!(m_lar_solver.get_status() == lp::lp_status::OPTIMAL ||
|
||||
m_lar_solver.get_status() == lp::lp_status::FEASIBLE)) {
|
||||
TRACE("nla_solver", tout << "unknown because of the m_lar_solver.m_status = " << m_lar_solver.get_status() << "\n";);
|
||||
return l_undef;
|
||||
}
|
||||
|
@ -1478,13 +1478,10 @@ lbool core::check(vector<lemma>& l_vec) {
|
|||
|
||||
init_search();
|
||||
|
||||
bool enable_grobner = false;
|
||||
if (need_to_call_algebraic_methods() && m_horner.horner_lemmas())
|
||||
goto finish_up;
|
||||
|
||||
if (need_to_call_algebraic_methods()) {
|
||||
enable_grobner = !m_horner.horner_lemmas();
|
||||
}
|
||||
|
||||
if (enable_grobner && !done()) {
|
||||
if (!done()) {
|
||||
clear_and_resize_active_var_set(); // NSB code review: why is this independent of whether Grobner is run?
|
||||
if (m_nla_settings.run_grobner()) {
|
||||
find_nl_cluster();
|
||||
|
@ -1512,6 +1509,8 @@ lbool core::check(vector<lemma>& l_vec) {
|
|||
m_tangents.tangent_lemma();
|
||||
}
|
||||
|
||||
finish_up:
|
||||
|
||||
lbool ret = !l_vec.empty() && !lp_settings().get_cancel_flag() ? l_false : l_undef;
|
||||
TRACE("nla_solver", tout << "ret = " << ret << ", lemmas count = " << l_vec.size() << "\n";);
|
||||
IF_VERBOSE(2, if(ret == l_undef) {verbose_stream() << "Monomials\n"; print_monics(verbose_stream());});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue