mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
log also quantifier generation (besides binding)
We add also logging for quantifier generation. It is auxiliary information that is of use for diagnostics (axiom profiler).
This commit is contained in:
parent
c1b355f342
commit
842e8057bc
7 changed files with 27 additions and 16 deletions
|
@ -71,7 +71,7 @@ namespace q {
|
|||
for (auto const& [qlit, fml, inst, generation] : m_instantiations) {
|
||||
euf::solver::scoped_generation sg(ctx, generation + 1);
|
||||
sat::literal lit = ~ctx.mk_literal(fml);
|
||||
auto* ph = ctx.use_drat()? q_proof_hint::mk(ctx, ~qlit, lit, inst.size(), inst.data()) : nullptr;
|
||||
auto* ph = ctx.use_drat()? q_proof_hint::mk(ctx, generation, ~qlit, lit, inst.size(), inst.data()) : nullptr;
|
||||
m_qs.add_clause(~qlit, lit, ph);
|
||||
m_qs.log_instantiation(~qlit, lit);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue