From: Tim King Date: Tue, 24 Jun 2014 23:19:58 +0000 (-0400) Subject: Alternative lazier heuristic for assertion rewriting. X-Git-Tag: cvc5-1.0.0~6731 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e5245639848594e5ff72a5104c340defe4aac7c;p=cvc5.git Alternative lazier heuristic for assertion rewriting. --- diff --git a/src/theory/arith/arith_ite_utils.cpp b/src/theory/arith/arith_ite_utils.cpp index d3702ccd8..fa631a527 100644 --- a/src/theory/arith/arith_ite_utils.cpp +++ b/src/theory/arith/arith_ite_utils.cpp @@ -308,9 +308,6 @@ void ArithIteUtils::addImplications(Node x, Node y){ // (=> (not x) y) // (=> (not y) x) - x = Rewriter::rewrite(x); - y = Rewriter::rewrite(y); - Node xneg = x.negate(); Node yneg = y.negate(); d_implies[xneg].insert(y); @@ -431,7 +428,7 @@ bool ArithIteUtils::solveBinOr(TNode binor){ NodeManager* nm = NodeManager::currentNM(); - Node cnd = findIteCnd(l, r); + Node cnd = findIteCnd(binor[0], binor[1]); Node sk = nm->mkSkolem("deor", nm->booleanType()); Node ite = sk.iteNode(otherL, otherR);