Skip to content

Invalid model for UFNRA formula #4103

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

Closed
rainoftime opened this issue Apr 26, 2020 · 0 comments
Closed

Invalid model for UFNRA formula #4103

rainoftime opened this issue Apr 26, 2020 · 0 comments

Comments

@rainoftime
Copy link
Contributor

Hi, for the following formula, z3 (commit 7f1b147) gives an invalid model

(set-logic UFNRA)
(declare-fun _substvar_29_ () Real)
(declare-fun _substvar_31_ () Real)
(set-option :model_validate true)
(set-option :smt.arith.solver 1)
(declare-const r0 Real)
(push 1)
(assert (<= r0 _substvar_31_ 1.0 r0))
(check-sat)
(declare-sort S0 0)
(assert (exists ((q14 Real) (q15 S0) (q16 S0) (q17 Real)) (distinct q17 0.1919438545 0.0)))
(push 1)
(pop 1)
(pop 1)
(assert (<= r0 _substvar_29_ 1.0 r0))
(check-sat)
hgvk94 pushed a commit to hgvk94/z3 that referenced this issue May 7, 2020
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