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 #5932

Closed
merlinsun opened this issue Mar 29, 2022 · 2 comments
Closed

Issue with tactic #5932

merlinsun opened this issue Mar 29, 2022 · 2 comments

Comments

@merlinsun
Copy link

Hi,
For this instance, z3 b0605a9 gives unsat with (check-sat-using qe).

$ z3 small.smt2
unsat
sat
$ cat small.smt2
(declare-fun a () Bool)
(declare-fun v () String)
(assert (forall ((v Int)) (exists ((V Bool)) (or a (= a (= 0 v))))))
(assert (forall ((a Int)) (= 0 (str.indexof v v))))
(check-sat-using qe)
(check-sat)
@merlinsun
Copy link
Author

Another instance with smt.bv.eq_axioms:

$ cat small.smt2
(declare-const x Bool)
(set-option :smt.bv.eq_axioms false)
(declare-fun a () String)
(declare-fun va () Int)
(assert (forall ((V Int)) (= a (str.++ a))))
(assert (forall ((v Int)) (or x (= va v))))
(check-sat-using qe)
(check-sat)
$ z3 small.smt2
unsat
sat

@NikolajBjorner
Copy link
Contributor

This is a duplicate of an old bug on qe

NikolajBjorner added a commit that referenced this issue Apr 1, 2022
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

2 participants