From: Alex Ozdemir Date: Mon, 16 Mar 2020 19:34:41 +0000 (-0700) Subject: Fix simplicity check in prop X-Git-Tag: cvc5-1.0.0~3484 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3dc80e17818632e1dd4fd65e64c302d944b23db9;p=cvc5.git Fix simplicity check in prop --- diff --git a/src/theory/arith/theory_arith_private.cpp b/src/theory/arith/theory_arith_private.cpp index fb71bb1b1..54bac3e26 100644 --- a/src/theory/arith/theory_arith_private.cpp +++ b/src/theory/arith/theory_arith_private.cpp @@ -4954,7 +4954,7 @@ bool TheoryArithPrivate::rowImplicationCanBeApplied(RowIndex ridx, bool rowUp, C Assert(coeffs != RationalVectorPSentinel); Assert(conflictInFarkasCoefficientOrder.getNumChildren() == coeffs->size()); - if (implied->hasSimpleFarkasProof()) + if (std::all_of(explain.begin(), explain.end(), [](ConstraintCP c) { return c->isAssumption() || c->hasIntTightenProof(); })) { d_containing.d_proofRecorder->saveFarkasCoefficients( conflictInFarkasCoefficientOrder, coeffs);