mirror of
https://github.com/Z3Prover/z3
synced 2025-07-22 20:32:05 +00:00
disable sat solver when proofs are turned on. Fixes issue #768
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fa1a0aa7ba
commit
ba942af5a8
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,6 @@ Notes:
|
||||||
#include "ast_smt_pp.h"
|
#include "ast_smt_pp.h"
|
||||||
#include "filter_model_converter.h"
|
#include "filter_model_converter.h"
|
||||||
#include "ast_pp_util.h"
|
#include "ast_pp_util.h"
|
||||||
#include "inc_sat_solver.h"
|
|
||||||
#include "qsat.h"
|
#include "qsat.h"
|
||||||
|
|
||||||
namespace opt {
|
namespace opt {
|
||||||
|
@ -595,6 +594,9 @@ namespace opt {
|
||||||
if (opt_params(m_params).priority() == symbol("pareto")) {
|
if (opt_params(m_params).priority() == symbol("pareto")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (m.proofs_enabled()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
m_params.set_bool("minimize_core_partial", true);
|
m_params.set_bool("minimize_core_partial", true);
|
||||||
m_params.set_bool("minimize_core", true);
|
m_params.set_bool("minimize_core", true);
|
||||||
m_sat_solver = mk_inc_sat_solver(m, m_params);
|
m_sat_solver = mk_inc_sat_solver(m, m_params);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue