Skip to content

(smt.threads=3) Soundness bug on QF_S formula with regex #4067

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

Closed
muchang opened this issue Apr 23, 2020 · 1 comment
Closed

(smt.threads=3) Soundness bug on QF_S formula with regex #4067

muchang opened this issue Apr 23, 2020 · 1 comment

Comments

@muchang
Copy link

muchang commented Apr 23, 2020

Hi,
For this case, Z3 smt.threads=3 gives an incorrect answer:

[93] % ./z3release small.smt2 
sat
[94] % ./z3release smt.threads=3 small.smt2 
unsat
[95] % cat small.smt2 
(declare-fun a () String)
(assert (str.in.re (str.++ "z" a)(re.* (re.+ (re.++ (re.* (str.to.re "b"))(str.to.re "z"))))))
(assert (not (str.in.re a (re.inter (str.to.re "") (re.* (str.to.re "a"  )))))) 
(check-sat)                                                                                                                                   
[96] % 

OS: Ubuntu 18.04
Commit: 8fe3caa

@NikolajBjorner
Copy link
Contributor

#4049

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