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

Invalid mode on QF_S formula (assert (= (str.substr (str.++ a "abc" b) 20 1) "a")) #4082

Closed
muchang opened this issue Apr 24, 2020 · 0 comments

Comments

@muchang
Copy link

muchang commented Apr 24, 2020

Hi,
For this case, Z3 gives an invalid model:

[579] % z3release model_validate=true small.smt2
sat
(error "line 4 column 10: an invalid model was generated")
[580] % cat small.smt2
(declare-fun a () String)
(declare-fun b () String)
(assert (= (str.substr (str.++ a "abc" b) 20 1) "a"))
(check-sat)
[581] %

OS: Ubuntu 18.04
Commit: 7597396

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