Skip to content

Commit

Permalink
remove prints, remove ability to toggle eager_eq_axioms option
Browse files Browse the repository at this point in the history
NB. Spacer sets eager_eq_axioms option to false, but relevancy of this option is not clear at all as all other default paths don't use this option and theory_lra is incorrect when it is set to false.
  • Loading branch information
NikolajBjorner committed May 20, 2021
1 parent cc12e3e commit c959e28
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/smt/theory_lra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -976,8 +976,6 @@ class theory_lra::imp {
}

void internalize_eq_eh(app * atom, bool_var) {
if (!ctx().get_fparams().m_arith_eager_eq_axioms)
return;
expr* lhs = nullptr, *rhs = nullptr;
VERIFY(m.is_eq(atom, lhs, rhs));
enode * n1 = get_enode(lhs);
Expand Down Expand Up @@ -1023,7 +1021,7 @@ class theory_lra::imp {
}

bool use_diseqs() const {
return ctx().get_fparams().m_arith_eager_eq_axioms;
return true;
}

void new_diseq_eh(theory_var v1, theory_var v2) {
Expand Down Expand Up @@ -2301,8 +2299,6 @@ class theory_lra::imp {
ctx().mk_clause(m_core2.size(), m_core2.data(), js, CLS_TH_LEMMA, nullptr);
}
else {
std::cout << "assign " << lit << " " << core << " " << eqs.size() << "\n";
ctx().display_literal_verbose(std::cout << " => ", lit) << "\n";
ctx().assign(
lit, ctx().mk_justification(
ext_theory_propagation_justification(
Expand Down Expand Up @@ -2646,8 +2642,6 @@ class theory_lra::imp {
++m_stats.m_bound_propagations2;
reset_evidence();
m_core.push_back(lit1);
ctx().display_literals_verbose(std::cout, m_core);
ctx().display_literal_verbose(std::cout << " => ", lit2) << "\n";
TRACE("arith",
ctx().display_literals_verbose(tout, m_core);
ctx().display_literal_verbose(tout << " => ", lit2);
Expand Down

0 comments on commit c959e28

Please sign in to comment.