3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-30 15:02:55 -07:00
parent 0ca5f59e35
commit 8a961a5ce9
5 changed files with 8 additions and 9 deletions

View file

@ -208,7 +208,7 @@ public:
}
SASSERT(m_ctx);
m_ctx->collect_statistics(m_stats);
proof * pr = m_ctx->get_proof();
proof_ref pr(m_ctx->get_proof(), m);
TRACE("smt_tactic", tout << r << " " << pr << "\n";);
switch (r) {
case l_true: {
@ -267,7 +267,7 @@ public:
result.push_back(in.get());
if (pr) {
in->reset();
in->assert_expr(m.mk_const(symbol("trail"), m.mk_bool_sort()), pr, nullptr);
in->assert_expr(m.get_fact(pr), pr, nullptr);
}
if (m_candidate_models) {
switch (m_ctx->last_failure()) {