diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2019-01-29 12:40:48 -0800 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2019-01-29 12:40:48 -0800 |
commit | 61b089fa83ee54e379abb3d85f0b5c934c47e2b5 (patch) | |
tree | 93f85fe23afc8ac6b238a5b4ca6d39c40ca0b943 | |
parent | 94b509bfc6e12848bdbb924bd53e6e11900b1989 (diff) |
Test
-rw-r--r-- | src/theory/strings/theory_strings_rewriter.cpp | 7 |
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; } |