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

Potential refutational soundness issue on integer formula #5861

Closed
rainoftime opened this issue Feb 22, 2022 · 0 comments
Closed

Potential refutational soundness issue on integer formula #5861

rainoftime opened this issue Feb 22, 2022 · 0 comments

Comments

@rainoftime
Copy link
Contributor

rainoftime commented Feb 22, 2022

Hi, for the following formula,

(declare-const x (Array Bool Int))
(declare-fun v () Bool)
(declare-fun v6 () Bool)
(check-sat)
(assert (= (store (store x false 0) v 3) (store (store x v6 1) true 0)))
(check-sat)

z3 11030fc yields

sat
unsat

But cvc5 returns

sat
sat

The following is a model produced by cvc5 and passes the checking of z3

(define-fun x () (Array Bool Int) (store ((as const (Array Bool Int)) 0) false 3))
(define-fun v () Bool false)
(define-fun v6 () Bool true)
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