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

Solution soundness issue on QF_ALIA #5798

Closed
merlinsun opened this issue Jan 28, 2022 · 0 comments
Closed

Solution soundness issue on QF_ALIA #5798

merlinsun opened this issue Jan 28, 2022 · 0 comments

Comments

@merlinsun
Copy link

merlinsun commented Jan 28, 2022

Hi, for this formula, Z3 5e81c12 gives sat while cvc5 gives unsat.
If r6 is assigned the given model, Z3 returns unsat.

$ z3 delta.smt2
sat
(
  (define-fun r6 () Int
    1)
  (define-fun r () (Array Bool Bool)
    ((as const (Array Bool Bool)) true))
)
$ cat delta.smt2
(declare-fun r () (Array Bool Bool))
(declare-fun r6 () Int)
(assert (and (select r true) (not (select r (= (abs r6) (abs (abs r6)))))))
(check-sat)
(get-model)
$ z3 d.smt2
unsat
$ cat d.smt2
(declare-fun r () (Array Bool Bool))
(declare-fun r6 () Int)
(assert (and (select r true) (not (select r (= (abs 1) (abs (abs 1)))))))
(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