3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-25 10:05:32 +00:00

fixes to mbqi in the new core based on #6575

This commit is contained in:
Nikolaj Bjorner 2023-02-10 16:55:55 -08:00
parent d52e893528
commit 1b0c76e3f0
9 changed files with 27 additions and 21 deletions

View file

@ -41,8 +41,10 @@ void check_sat_result::set_reason_unknown(event_handler& eh) {
proof* check_sat_result::get_proof() {
if (!m_log.empty() && !m_proof) {
app* last = m_log.back();
m_log.push_back(to_app(m.get_fact(last)));
SASSERT(is_app(m_log.back()));
app* last = to_app(m_log.back());
expr* fact = m.get_fact(last);
m_log.push_back(fact);
m_proof = m.mk_clause_trail(m_log.size(), m_log.data());
}
if (m_proof)

View file

@ -40,7 +40,7 @@ Notes:
class check_sat_result {
protected:
ast_manager& m;
proof_ref_vector m_log;
expr_ref_vector m_log;
proof_ref m_proof;
unsigned m_ref_count = 0;
lbool m_status = l_undef;