3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

improve diagnostics

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-01-04 11:07:09 -08:00
parent 7b0c04a3e8
commit 5fc208cefc
4 changed files with 22 additions and 4 deletions

View file

@ -114,4 +114,11 @@ namespace polysat {
auto r = m_intblast.check_axiom(clause);
VERIFY (r != l_true);
}
std::ostream& solver::display_clause(char const* name, std::ostream& out, sat::literal_vector const& lits) const {
out << name << ":\n";
for (auto lit : lits)
out << ctx.literal2expr(lit) << "\n";
return out;
}
}