Skip to content

Assertion violation on FP formula in /src/util/mpz.cpp Line: 1650 #2718

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 18, 2019 · 0 comments
Closed

Assertion violation on FP formula in /src/util/mpz.cpp Line: 1650 #2718

muchang opened this issue Nov 18, 2019 · 0 comments
Assignees

Comments

@muchang
Copy link

muchang commented Nov 18, 2019

Hi,
For this formula:

(declare-fun a () (_ FloatingPoint 65 2))
(assert (= (fp.abs (fp.neg a)) a))
(check-sat)

z3 will throw out an assertion violation:

ASSERTION VIOLATION
File: ../src/util/mpz.cpp
Line: 1650
is_int64(a)
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Revision: d95b549

@muchang muchang changed the title Assertion violation on FP formula Assertion violation on FP formula in /src/util/mpz.cpp Line: 1650 Nov 30, 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

2 participants