3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-05 21:53:23 +00:00

fix location of research

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-10-18 18:15:35 -07:00
parent 2d4a5e0a5e
commit 936312cfd2

View file

@ -3423,6 +3423,9 @@ namespace smt {
if (!check_preamble(reset_cancel)) return l_undef; if (!check_preamble(reset_cancel)) return l_undef;
SASSERT(at_base_level()); SASSERT(at_base_level());
setup_context(false); setup_context(false);
lbool r;
do {
pop_to_base_lvl();
expr_ref_vector asms(m_manager, num_assumptions, assumptions); expr_ref_vector asms(m_manager, num_assumptions, assumptions);
add_theory_assumptions(asms); add_theory_assumptions(asms);
// introducing proxies: if (!validate_assumptions(asms)) return l_undef; // introducing proxies: if (!validate_assumptions(asms)) return l_undef;
@ -3430,8 +3433,6 @@ namespace smt {
internalize_assertions(); internalize_assertions();
init_assumptions(asms); init_assumptions(asms);
TRACE("before_search", display(tout);); TRACE("before_search", display(tout););
lbool r;
do {
r = search(); r = search();
r = mk_unsat_core(r); r = mk_unsat_core(r);
} }
@ -3444,6 +3445,9 @@ namespace smt {
if (!check_preamble(true)) return l_undef; if (!check_preamble(true)) return l_undef;
TRACE("before_search", display(tout);); TRACE("before_search", display(tout););
setup_context(false); setup_context(false);
lbool r;
do {
pop_to_base_lvl();
expr_ref_vector asms(cube); expr_ref_vector asms(cube);
add_theory_assumptions(asms); add_theory_assumptions(asms);
// introducing proxies: if (!validate_assumptions(asms)) return l_undef; // introducing proxies: if (!validate_assumptions(asms)) return l_undef;
@ -3451,8 +3455,6 @@ namespace smt {
internalize_assertions(); internalize_assertions();
init_assumptions(asms); init_assumptions(asms);
for (auto const& clause : clauses) init_clause(clause); for (auto const& clause : clauses) init_clause(clause);
lbool r;
do {
r = search(); r = search();
r = mk_unsat_core(r); r = mk_unsat_core(r);
} }