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

debugging bv

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-09-15 15:37:31 -07:00
parent 2328a6e839
commit 6a4261d1af
19 changed files with 271 additions and 133 deletions

View file

@ -86,6 +86,9 @@ namespace sat {
return;
if (m_activity && ((m_stats.m_num_add % 1000) == 0))
dump_activity();
SASSERT(!(n == 2 && c[0] == literal(3802, true) && c[1] == literal(3808, false)));
VERIFY(!(n == 2 && c[0] == literal(3802, true) && c[1] == literal(3808, false)));
char buffer[10000];
char digits[20]; // enough for storing unsigned
@ -262,9 +265,9 @@ namespace sat {
(*m_out) << "b " << v << " " << n << " 0\n";
}
void drat::def_begin(unsigned n, std::string const& name) {
void drat::def_begin(char id, unsigned n, std::string const& name) {
if (m_out)
(*m_out) << "e " << n << " " << name;
(*m_out) << id << " " << n << " " << name;
}
void drat::def_add_arg(unsigned arg) {