3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 04:15:51 +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

@ -37,8 +37,6 @@ namespace euf {
!s().get_config().m_smt_proof.is_non_empty_string())
return;
get_drat().add_theory(get_id(), symbol("euf"));
get_drat().add_theory(m.get_basic_family_id(), symbol("bool"));
if (s().get_config().m_smt_proof.is_non_empty_string())
m_proof_out = alloc(std::ofstream, s().get_config().m_smt_proof.str(), std::ios_base::out);
get_drat().set_clause_eh(*this);

View file

@ -149,8 +149,6 @@ namespace euf {
void solver::add_solver(th_solver* th) {
family_id fid = th->get_id();
if (use_drat())
s().get_drat().add_theory(fid, th->name());
th->set_solver(m_solver);
th->push_scopes(s().num_scopes() + s().num_user_scopes());
m_solvers.push_back(th);