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 for quantified LIRA in new core #6996

Closed
joe-hauns opened this issue Nov 15, 2023 · 0 comments
Closed

Assertion violation for quantified LIRA in new core #6996

joe-hauns opened this issue Nov 15, 2023 · 0 comments

Comments

@joe-hauns
Copy link
Contributor

joe-hauns commented Nov 15, 2023

z3 runs into "unexpected code" when running with the new core on the following problem:

(set-logic ALL)

(assert (not 
  (forall ((x Real) (d Real)) 
      (exists ((y Real))
        (= (+ (* 3 x) d) (+ y (to_int y) (to_int (- y))) )
      )
  )
))

(check-sat)
(get-model)

Output:

############################################
running z3 -T:1 sat.euf=true sat.smt=true problem.smt2
............................................

Asserting this expression twice in a row:
 (not p!6)
ASSERTION VIOLATION
File: ../src/qe/qsat.cpp
Line: 581
UNEXPECTED CODE WAS REACHED.
Z3 4.12.3.0
Please file an issue with this message and more detail about how you encountered it at https://github.com/Z3Prover/z3/issues/new
hgvk94 added a commit to hgvk94/z3 that referenced this issue May 13, 2024
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