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 for UFNIA formula #3715

Closed
rainoftime opened this issue Apr 3, 2020 · 1 comment
Closed

Invalid model for UFNIA formula #3715

rainoftime opened this issue Apr 3, 2020 · 1 comment

Comments

@rainoftime
Copy link
Contributor

Hi, for the following formula,

(set-option :model_validate true)
(declare-const i5 Int)
(declare-const i12 Int)
(declare-sort S1 0)
(assert (exists ((q9 Int) (q10 S1)) (>= q9 0)))
(assert (>= 83 i12))
(assert (distinct 7 i5))
(assert (<= i12 91))
(assert-soft (or (>= 83 i12)))
(check-sat)

z3 c431a10 gives an invalid model.

@rainoftime rainoftime changed the title Invalid model for NIA formula Invalid model for UFNIA formula Apr 3, 2020
@rainoftime
Copy link
Contributor Author

rainoftime commented Apr 3, 2020

@NikolajBjorner I am aware that opt cannot support quantified formulas well. But I am not sure about the maxsmt feature (although it may use a similar algorithm with opt). If the feature is not stable, I will close the issue.

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