From 6ec8f46e9a7315057ac8fb5c58a6b44cf5a5159e Mon Sep 17 00:00:00 2001 From: Tim King Date: Fri, 6 Jun 2014 11:45:16 -0400 Subject: 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. --- src/theory/arith/arith_rewriter.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/theory/arith/arith_rewriter.cpp') 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()); -- cgit v1.2.3