mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
add consequence finding to inc-sat-solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
aec59e4ff7
commit
58198d7cb6
|
@ -278,21 +278,6 @@ br_status pb_rewriter::mk_app_core(func_decl * f, unsigned num_args, expr * cons
|
|||
tout << result << "\n";
|
||||
);
|
||||
|
||||
#if 0
|
||||
static unsigned num_changes = 0;
|
||||
static unsigned num_calls = 0;
|
||||
static unsigned inc = 1;
|
||||
{
|
||||
expr_ref tmp(m);
|
||||
tmp = m.mk_app(f, num_args, args);
|
||||
num_calls++;
|
||||
if (tmp != result) ++num_changes;
|
||||
if (num_calls > inc) {
|
||||
std::cout << num_calls << " " << num_changes << "\n";
|
||||
inc *= 2;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
TRACE("pb_validate",
|
||||
validate_rewrite(f, num_args, args, result););
|
||||
|
||||
|
|
|
@ -519,7 +519,7 @@ namespace smt {
|
|||
c->m_compilation_threshold = th;
|
||||
IF_VERBOSE(2, verbose_stream() << "(smt.pb setting compilation threhshold to " << th << ")\n";);
|
||||
TRACE("pb", tout << "compilation threshold: " << th << "\n";);
|
||||
compile_ineq(*c);
|
||||
//compile_ineq(*c);
|
||||
}
|
||||
else {
|
||||
c->m_compilation_threshold = UINT_MAX;
|
||||
|
|
Loading…
Reference in a new issue