Skip to content
New issue

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

Completeness issue on simple string formula #7446

Closed
merlinsun opened this issue Nov 7, 2024 · 0 comments
Closed

Completeness issue on simple string formula #7446

merlinsun opened this issue Nov 7, 2024 · 0 comments

Comments

@merlinsun
Copy link

merlinsun commented Nov 7, 2024

Hello,

Z3 abd1674 returns unknown for the following formula. However, the term like (str.<= "" s) within it could be directly simplified to true.

Here’s a minimal example:

$ z3 small.smt2 
unknown
$ cat small.smt2 
(declare-fun v () String)
(assert (str.<= "" (str.replace_all v "i" v)))
(check-sat)

Thank you for your attention!

NikolajBjorner added a commit that referenced this issue Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant