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

Issue with tactic qsat #7376

Closed
merlinsun opened this issue Sep 12, 2024 · 2 comments
Closed

Issue with tactic qsat #7376

merlinsun opened this issue Sep 12, 2024 · 2 comments
Assignees

Comments

@merlinsun
Copy link

Hi,
For this following instance, z3 8061765 incorrectly gives unsat with (check-sat-using qsat).
It is unclear if this is related to #7217.

$ cat small.smt2 
(declare-const x Real)
(declare-fun s () Real)
(declare-fun o () Real)
(assert (and (or (> 1 1) (< x (* s s (- x 1.0))) (= 1.0 (/ s (* s (- 1))))) (or true (and (= 1.0 (/ 0 s)) (or (= o 0) (= s 1.0)) (= 1.0 1.0) (< o (* s x))))))
(check-sat-using qsat)
(check-sat)
$ z3 small.smt2 
unsat
sat
@NikolajBjorner
Copy link
Contributor

C:\z3\build>z3 7376.smt2 smt.arith.validate=true
ASSERTION VIOLATION
File: C:\z3\src\smt\theory_lra.cpp
Line: 3461
Failed to verify: !m_core.empty() || !m_eqs.empty()

@levnach
Copy link
Contributor

levnach commented Sep 20, 2024

same issue as #7368

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

3 participants