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

Model validation fails on NRA formula #2663

Closed
muchang opened this issue Oct 26, 2019 · 0 comments
Closed

Model validation fails on NRA formula #2663

muchang opened this issue Oct 26, 2019 · 0 comments

Comments

@muchang
Copy link

muchang commented Oct 26, 2019

Hi,
For this formula,

(declare-fun a () Real)
(declare-fun b () Real)
(assert (< (/ b (/ 0 (/ 1 a))) 0 a))
(check-sat)

z3 will throw out an error when model_validate is on:

(error "line 4 column 10: an invalid model was generated")

OS: Ubuntu 18.04
Revision: 376d2c1
Commandline: z3 model_validate=true small.smt2

NikolajBjorner added a commit that referenced this issue Nov 6, 2019
#2676 #2679

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
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

2 participants