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 model on string formula #6105

Closed
merlinsun opened this issue Jun 24, 2022 · 0 comments
Closed

Invalid model on string formula #6105

merlinsun opened this issue Jun 24, 2022 · 0 comments

Comments

@merlinsun
Copy link

Hi,
For this instance, z3 56aa426 gives an invalid model.

$ z3 model_validate=true delta.smt2
sat
(error "line 5 column 10: an invalid model was generated")
$ cat delta.smt2
(declare-fun v () Int)
(declare-fun r () String)
(assert (distinct r (str.substr r 0 (div 0 (* v v v v v))) "fu" ""))
(assert (exists ((e Bool)) e))
(check-sat)
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