mirror of
https://github.com/Z3Prover/z3
synced 2026-02-11 03:14:30 +00:00
extend proof logging
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b96624727d
commit
4c67a7271e
3 changed files with 41 additions and 29 deletions
|
|
@ -891,8 +891,13 @@ namespace smt {
|
|||
// this misses conflicts at base level.
|
||||
proof_ref pr(m);
|
||||
expr_ref_vector args(m);
|
||||
for (auto const& p : ax->params)
|
||||
args.push_back(m.mk_const(p.get_symbol(), m.mk_proof_sort()));
|
||||
for (auto const &p : ax->params) {
|
||||
if (p.is_ast())
|
||||
args.push_back(to_expr(p.get_ast()));
|
||||
else
|
||||
args.push_back(m.mk_const(p.get_symbol(), m.mk_proof_sort()));
|
||||
}
|
||||
|
||||
pr = m.mk_app(m.get_family_name(get_family_id()), args.size(), args.data(), m.mk_proof_sort());
|
||||
justification_proof_wrapper jp(ctx, pr.get(), false);
|
||||
ctx.get_clause_proof().propagate(lit, &jp, antecedent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue