Skip to content

Commit

Permalink
fix #4389 fix #4859
Browse files Browse the repository at this point in the history
The bugs are duplicates
  • Loading branch information
NikolajBjorner committed Dec 7, 2020
1 parent 409414c commit 9f6a0a8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/opt/opt_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,14 @@ namespace opt {
mk_simplify_tactic(m));
opt_params optp(m_params);
tactic_ref tac1, tac2, tac3, tac4;
if (optp.elim_01() && m_logic.is_null()) {
bool has_dep = false;
for (unsigned i = 0; !has_dep && i < g->size(); ++i) {
ptr_vector<expr> deps;
expr_dependency_ref core(g->dep(i), m);
m.linearize(core, deps);
has_dep |= !deps.empty();
}
if (optp.elim_01() && m_logic.is_null() && !has_dep) {
tac1 = mk_dt2bv_tactic(m);
tac2 = mk_lia2card_tactic(m);
tac3 = mk_eq2bv_tactic(m);
Expand Down

0 comments on commit 9f6a0a8

Please sign in to comment.