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 violation on NRA formula 2 #2610

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

Assertion violation on NRA formula 2 #2610

muchang opened this issue Oct 2, 2019 · 0 comments

Comments

@muchang
Copy link

muchang commented Oct 2, 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
  (exists
    ((i Real))
    (or
      (= (/ d g) 1)
      (<
        (+
          (* (/ b c) (/ 1 h h))
          (* (+ (/ 2 b c) h f) (+ (/ 3 b) h f))
        )
        (/ a e)
      )
    )
  )
)
(check-sat)

z3 will throw out the assertion violation:

ASSERTION VIOLATION
File: ../src/math/polynomial/polynomial.cpp
Line: 800
m_monomials.empty()
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Revision: a635049 (./configure -d)

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