diff options
Diffstat (limited to 'src/theory/arith/arith_rewriter.cpp')
-rw-r--r-- | src/theory/arith/arith_rewriter.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/theory/arith/arith_rewriter.cpp b/src/theory/arith/arith_rewriter.cpp index 19980cd20..5c2a1e996 100644 --- a/src/theory/arith/arith_rewriter.cpp +++ b/src/theory/arith/arith_rewriter.cpp @@ -20,7 +20,6 @@ #include "theory/arith/arith_rewriter.h" #include "theory/arith/arith_utilities.h" -#include "theory/arith/normal.h" #include <vector> #include <set> @@ -542,10 +541,6 @@ Kind multKind(Kind k, int sgn){ Node ArithRewriter::rewrite(TNode n){ Debug("arithrewriter") << "Trace rewrite:" << n << std::endl; - if(n.getAttribute(IsNormal())){ - return n; - } - Node res; if(isRelationOperator(n.getKind())){ @@ -554,11 +549,6 @@ Node ArithRewriter::rewrite(TNode n){ res = rewriteTerm(n); } - if(n == res){ - n.setAttribute(NormalForm(), Node::null()); - }else{ - n.setAttribute(NormalForm(), res); - } Debug("arithrewriter") << "Trace rewrite:" << n << "|->"<< res << std::endl; return res; |