diff options
author | Tim King <taking@cs.nyu.edu> | 2014-06-06 11:45:16 -0400 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2014-06-06 16:26:40 -0400 |
commit | 6ec8f46e9a7315057ac8fb5c58a6b44cf5a5159e (patch) | |
tree | 9afae28a572c91b4c9f93ca137c84d1fa1808aef /src/theory/arith/arith_rewriter.cpp | |
parent | 0dce010bea47bc6a318eece2bd92ed2305b64c21 (diff) |
Patch for the subtype theoryof mode to make the equalities over disequal types get sent to the theory of the type.
Adding a new test case for bug 569.
Fixes to the normal form of arithmetic so that real terms are before integer terms.
Diffstat (limited to 'src/theory/arith/arith_rewriter.cpp')
-rw-r--r-- | src/theory/arith/arith_rewriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/arith/arith_rewriter.cpp b/src/theory/arith/arith_rewriter.cpp index 5aa904aed..1d9abc38b 100644 --- a/src/theory/arith/arith_rewriter.cpp +++ b/src/theory/arith/arith_rewriter.cpp @@ -355,6 +355,9 @@ RewriteResponse ArithRewriter::postRewriteAtom(TNode atom){ Polynomial pleft = Polynomial::parsePolynomial(left); Polynomial pright = Polynomial::parsePolynomial(right); + Debug("arith::rewriter") << "pleft " << pleft.getNode() << std::endl; + Debug("arith::rewriter") << "pright " << pright.getNode() << std::endl; + Comparison cmp = Comparison::mkComparison(atom.getKind(), pleft, pright); Assert(cmp.isNormalForm()); return RewriteResponse(REWRITE_DONE, cmp.getNode()); |