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

Debug branch: Wrong model on QF_NIA formula #3183

Closed
wintered opened this issue Mar 6, 2020 · 0 comments
Closed

Debug branch: Wrong model on QF_NIA formula #3183

wintered opened this issue Mar 6, 2020 · 0 comments
Assignees
Labels
Debug Debug branch issues

Comments

@wintered
Copy link

wintered commented Mar 6, 2020

Z3 returns a wrong model for this formula

(declare-fun a () Int)
(declare-fun b () Int)
(assert (= (div a (- 2 b)) 2))
(check-sat)
(get-model)
sat
(model 
  (define-fun b () Int
    0)
  (define-fun a () Int
    2)
  (define-fun div0 ((x!0 Int) (x!1 Int)) Int
    2)
)

OS: Ubuntu 18.04
Revision: e0411c1

@wintered wintered changed the title Wrong model Debug branch: Wrong model on QF_NIA formula Mar 6, 2020
@NikolajBjorner NikolajBjorner added the Debug Debug branch issues label Mar 6, 2020
@NikolajBjorner NikolajBjorner self-assigned this Mar 10, 2020
NikolajBjorner added a commit that referenced this issue Mar 11, 2020
…s are picked up

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
levnach pushed a commit that referenced this issue Mar 13, 2020
…s are picked up

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
levnach pushed a commit that referenced this issue Mar 14, 2020
…s are picked up

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
levnach pushed a commit that referenced this issue Mar 17, 2020
…s are picked up

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
levnach pushed a commit that referenced this issue Mar 24, 2020
…s are picked up

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
levnach pushed a commit that referenced this issue Mar 26, 2020
…s are picked up

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
levnach pushed a commit that referenced this issue Mar 26, 2020
…s are picked up

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
Debug Debug branch issues
Projects
None yet
Development

No branches or pull requests

2 participants