summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2019-01-29 12:40:48 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2019-01-29 12:40:48 -0800
commit61b089fa83ee54e379abb3d85f0b5c934c47e2b5 (patch)
tree93f85fe23afc8ac6b238a5b4ca6d39c40ca0b943
parent94b509bfc6e12848bdbb924bd53e6e11900b1989 (diff)
Test
-rw-r--r--src/theory/strings/theory_strings_rewriter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/strings/theory_strings_rewriter.cpp b/src/theory/strings/theory_strings_rewriter.cpp
index 90bd91070..3ec38e306 100644
--- a/src/theory/strings/theory_strings_rewriter.cpp
+++ b/src/theory/strings/theory_strings_rewriter.cpp
@@ -624,6 +624,13 @@ Node TheoryStringsRewriter::rewriteArithEqualityExt(Node node)
}
}
+ if (checkEntailArith(node[0], node[1], true)
+ || checkEntailArith(node[1], node[0], true))
+ {
+ Node ret = nm->mkConst(false);
+ return returnRewrite(node, ret, "int-eq-false");
+ }
+
return node;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback