mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
remove dead code
This commit is contained in:
parent
d3a6521185
commit
c58171478f
|
@ -81,18 +81,6 @@ namespace sls {
|
|||
}
|
||||
}
|
||||
|
||||
void bv_plugin::init_bool_var_assignment(sat::bool_var v) {
|
||||
auto a = ctx.atom(v);
|
||||
if (!a || !is_app(a))
|
||||
return;
|
||||
if (to_app(a)->get_family_id() != bv.get_family_id())
|
||||
return;
|
||||
bool is_true = m_eval.bval1(to_app(a));
|
||||
|
||||
if (is_true != ctx.is_true(v))
|
||||
ctx.flip(v);
|
||||
}
|
||||
|
||||
bool bv_plugin::is_sat() {
|
||||
bool is_sat = true;
|
||||
for (auto t : ctx.subterms())
|
||||
|
|
|
@ -30,10 +30,8 @@ namespace sls {
|
|||
bv::sls_stats m_stats;
|
||||
bool m_initialized = false;
|
||||
|
||||
void init_bool_var_assignment(sat::bool_var v);
|
||||
std::ostream& trace_repair(bool down, expr* e);
|
||||
void trace();
|
||||
bool can_propagate();
|
||||
bool is_bv_predicate(expr* e);
|
||||
|
||||
void log(expr* e, bool up_down, bool success);
|
||||
|
|
Loading…
Reference in a new issue