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

Assertion failure on NIA formula #2580

Closed
wintered opened this issue Sep 24, 2019 · 0 comments
Closed

Assertion failure on NIA formula #2580

wintered opened this issue Sep 24, 2019 · 0 comments

Comments

@wintered
Copy link

Hi,

On the following formula z3 gives an assertion failure

(declare-fun a () Int)
(declare-fun b () Int)
(declare-fun c () Int)
(declare-fun d () Int)
(declare-fun f () Int)
(declare-fun e () Int)
(declare-fun g () Int)
(assert (or  (and (let ((?h (<= 0 e)) (?i (<= e f)) (?j (< f d))) (and ?h ?i ?j) ))    
        (forall ((?k Int))    (= 0   ?k ) ) ))
(assert (= g (div a c)))
(assert (= d (div b g)))
(assert (= g (div b d)))
(check-sat)
ASSERTION VIOLATION
File: ../src/smt/theory_arith_nl.h
Line: 1553
n != nm
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Revision: 74aa47f

@wintered wintered changed the title Assertion failure on NRA formula Assertion failure on NIA formula Oct 14, 2019
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