mirror of
https://github.com/Z3Prover/z3
synced 2026-08-07 06:28:18 +00:00
Fix 10388 (#10418)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a8f87ede-b718-4fe9-9839-cc9eaaf9c3a7
This commit is contained in:
parent
ce9d276294
commit
9167020d83
2 changed files with 4 additions and 2 deletions
|
|
@ -1044,6 +1044,8 @@ namespace smt {
|
|||
tout << l.index() << " " << true_literal.index() << " " << false_literal.index() << " ";
|
||||
m_ctx.display_literal(tout, l); tout << " --->\n";
|
||||
tout << mk_ll_pp(l_exr, m););
|
||||
if (prs.size() > 2 && !m.is_or(m.get_fact(prs[0])))
|
||||
throw default_exception("malformed clause proof in conflict resolution");
|
||||
pr = m.mk_unit_resolution(prs.size(), prs.data(), l_exr);
|
||||
m_new_proofs.push_back(pr);
|
||||
return pr;
|
||||
|
|
@ -1486,4 +1488,3 @@ namespace smt {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3849,7 +3849,8 @@ namespace smt {
|
|||
}
|
||||
for (auto const& clause : clauses) init_clause(clause);
|
||||
r = search();
|
||||
r = mk_unsat_core(r);
|
||||
r = mk_unsat_core(r);
|
||||
reset_tmp_clauses();
|
||||
}
|
||||
while (should_research(r));
|
||||
r = check_finalize(r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue