Skip to content

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

Closed
@muchang

Description

@muchang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions