Skip to content

Z3 assertion violation on NRA formula #2706

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
muchang opened this issue Nov 16, 2019 · 0 comments
Closed

Z3 assertion violation on NRA formula #2706

muchang opened this issue Nov 16, 2019 · 0 comments

Comments

@muchang
Copy link

muchang commented Nov 16, 2019

Hi,
For this formula,

(declare-fun a() Real)
(declare-fun b() Real)
(declare-fun c() Real)
(declare-fun d() Real)
(declare-fun e() Real)
(declare-fun f() Real)
(declare-fun g() Real)
(declare-fun h() Real)
(assert (forall ((i Real)) (> (/ 5 (- (+ b 1) i) (+ d e)) (+ c a i))))
(assert (< g (+ d h)))
(assert (< 0 g))
(assert (= d (+ 2 h e)))
(assert (= a (+ 2 f)))
(check-sat)

Z3 throws out an assertion violation:

ASSERTION VIOLATION
File: ../src/smt/theory_arith_core.h
Line: 376
!val.is_one()
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Revision: cb600a9

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