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 issue on default mode #6635

Closed
depted opened this issue Mar 20, 2023 · 0 comments
Closed

Invalid model issue on default mode #6635

depted opened this issue Mar 20, 2023 · 0 comments

Comments

@depted
Copy link
Contributor

depted commented Mar 20, 2023

Greetings, we found that an invalid bug occurred on this instance.
We tried to make this instance as small as possible. We sincerely hope that our report would be helpful for the z3 team.

$ ./z3 ./small.smt2 model_validate=true
sat
(error "line 5 column 10: an invalid model was generated")

$ cat ./small.smt2
(declare-fun p (Int) Int)
(declare-fun k () Int)
(assert (= 1 (mod (mod (- k) (+ 1 (- (- 3)))) (+ 2 1))))
(assert (< (p 3) (p k)))
(check-sat)

Commit: a0f3727

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