3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-05 10:50:24 +00:00

remove deprecated theory aware drat functionality

it is handled by the on-clause callback that is owned by the smt solver.
This commit is contained in:
Nikolaj Bjorner 2022-10-24 08:32:03 -07:00
parent cb3c86736c
commit 280887cc5a
4 changed files with 1 additions and 54 deletions

View file

@ -57,17 +57,8 @@ namespace sat {
}
std::ostream& drat::pp(std::ostream& out, status st) const {
if (st.is_redundant())
out << "l";
else if (st.is_deleted())
if (st.is_deleted())
out << "d";
else if (st.is_asserted())
out << "a";
else if (st.is_input())
out << "i";
if (!st.is_sat())
out << " " << m_theory[st.get_th()];
return out;
}
@ -102,11 +93,6 @@ namespace sat {
}
}
if (!st.is_sat()) {
for (char ch : m_theory[st.get_th()])
buffer[len++] = ch;
buffer[len++] = ' ';
}
for (unsigned i = 0; i < n; ++i) {
literal lit = c[i];
unsigned v = lit.var();