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

refutation unsoundness on a QF_NIA formula #6690

Closed
zhendongsu opened this issue Apr 14, 2023 · 1 comment
Closed

refutation unsoundness on a QF_NIA formula #6690

zhendongsu opened this issue Apr 14, 2023 · 1 comment

Comments

@zhendongsu
Copy link

Commit: 6249078
OS: Ubuntu 18.04

[605] % z3release small.smt2
unsat
sat
[606] % cat small.smt2
(declare-fun a () Int)
(assert (distinct a 0 (div (rem (div a a) a) a)))
(check-sat)

(reset)

(define-fun a () Int (- 2))
(assert (distinct a 0 (div (rem (div a a) a) a)))
(check-sat)
@zhendongsu
Copy link
Author

Another related instance:

[520] % z3release small.smt2
unsat
sat
[521] % cat small.smt2
(declare-fun a () Int)
(assert (< (* (rem 1 a)) 0))
(assert (< a 0))
(check-sat)

(reset)

(define-fun a () Int (- 2))
(assert (< (* (rem 1 a)) 0))
(assert (< a 0))
(check-sat)

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