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

Incorrect answer on String formula #2717

Closed
muchang opened this issue Nov 18, 2019 · 0 comments
Closed

Incorrect answer on String formula #2717

muchang opened this issue Nov 18, 2019 · 0 comments

Comments

@muchang
Copy link

muchang commented Nov 18, 2019

Hi,
For this formula,

(declare-fun a () String)
(assert (str.in.re a (re.loop (str.to.re "b") 1 0)))
(assert (> (str.len a) 0))
(check-sat)

z3 trunk reports unsat, while z3-4.8.6 and CVC4 reports sat.

OS: Ubuntu 18.04
Revision: d95b549

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