3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

DRAT debugging updates

This commit is contained in:
Nikolaj Bjorner 2020-11-22 15:38:57 -08:00
parent 6d0b89a989
commit 797f50e699
6 changed files with 19 additions and 6 deletions

View file

@ -112,6 +112,11 @@ namespace sat {
}
}
if (n == 3 && c[0] == literal(9357, true) && c[1] == literal(25, true) && c[2] == literal(8691, false)) {
SASSERT(false);
UNREACHABLE();
}
if (!st.is_sat()) {
for (char ch : m_theory[st.get_th()])
buffer[len++] = ch;

View file

@ -745,8 +745,7 @@ namespace dt {
else if (is_recognizer(term)) {
enode* arg = n->get_arg(0);
theory_var v = mk_var(arg);
add_recognizer(v, n);
mk_var(n);
add_recognizer(v, n);
}
else {
SASSERT(is_accessor(term));