mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 02:40:24 +00:00
move drat functionality into euf
This commit is contained in:
parent
1ffbe23ee3
commit
458f417f44
4 changed files with 16 additions and 39 deletions
|
@ -255,31 +255,6 @@ namespace sat {
|
|||
}
|
||||
}
|
||||
|
||||
void drat::bool_def(bool_var v, unsigned n) {
|
||||
if (m_out)
|
||||
(*m_out) << "b " << v << " " << n << " 0\n";
|
||||
}
|
||||
|
||||
void drat::def_begin(char id, unsigned n, std::string const& name) {
|
||||
if (m_out)
|
||||
(*m_out) << id << " " << n << " " << name;
|
||||
}
|
||||
|
||||
void drat::def_add_arg(unsigned arg) {
|
||||
if (m_out)
|
||||
(*m_out) << " " << arg;
|
||||
}
|
||||
|
||||
void drat::def_end() {
|
||||
if (m_out)
|
||||
(*m_out) << " 0\n";
|
||||
}
|
||||
|
||||
void drat::log_adhoc(std::function<void(std::ostream&)>& fn) {
|
||||
if (m_out)
|
||||
fn(*m_out);
|
||||
}
|
||||
|
||||
void drat::append(clause& c, status st) {
|
||||
TRACE("sat_drat", pp(tout, st) << " " << c << "\n";);
|
||||
for (literal lit : c) declare(lit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue