We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
str.replace_all
Hi, For the following instance, z3 (fa7fc8e, debug build) gives unknown.
unknown
$ cat unknown.smt2 (declare-fun a () String) (assert (= a (str.replace_all "" a ""))) (check-sat) $ z3 unknown.smt2 unknown
If (str.replace_all "" a "") can be simplified to "", z3 returns sat.
(str.replace_all "" a "")
""
sat
$ cat pass.smt2 (declare-fun a () String) (assert (= a "")) (check-sat) $ z3 pass.smt2 sat
The text was updated successfully, but these errors were encountered:
#7391
96c1375
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
No branches or pull requests
Hi,
For the following instance, z3 (fa7fc8e, debug build) gives
unknown
.If
(str.replace_all "" a "")
can be simplified to""
, z3 returnssat
.The text was updated successfully, but these errors were encountered: