mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 13:40:52 +00:00
Moved farkas stats printing to before and after the hyp-reduction
This commit is contained in:
parent
de31b07008
commit
0f25e9e831
2 changed files with 22 additions and 16 deletions
|
@ -281,7 +281,23 @@ void itp_solver::get_itp_core (expr_ref_vector &core)
|
|||
// preprocess proof in order to get a proof which is better suited for unsat-core-extraction
|
||||
proof_ref pr(get_proof(), m);
|
||||
|
||||
if (m_print_farkas_stats)
|
||||
{
|
||||
iuc_proof iuc_before(m, pr.get(), B);
|
||||
verbose_stream() << "Stats before transformation:";
|
||||
iuc_before.print_farkas_stats();
|
||||
}
|
||||
|
||||
spacer::reduce_hypotheses(pr);
|
||||
spacer::reduce_hypotheses(pr);
|
||||
|
||||
if (m_print_farkas_stats)
|
||||
{
|
||||
iuc_proof iuc_after(m, pr.get(), B);
|
||||
verbose_stream() << "Stats after transformation:";
|
||||
iuc_after.print_farkas_stats();
|
||||
}
|
||||
|
||||
STRACE("spacer.unsat_core_learner",
|
||||
verbose_stream() << "Reduced proof:\n" << mk_ismt2_pp(pr, m) << "\n";
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue