Skip to content

(rewriter.hoist_mul=true rewriter.flat=false) refutation soundness bug in string formula #5127

@jiwonparc

Description

@jiwonparc

commit: b918f12

$ z3release small.smt2
sat
$ z3-4.8.10 rewriter.hoist_mul=true rewriter.flat=false small.smt2
sat
$ z3release rewriter.hoist_mul=true rewriter.flat=false small.smt2
unsat
$ cat small.smt2
(declare-fun a () String)
(declare-fun b () String)
(assert (str.in_re (str.++ a "z" b) (re.++ (re.* (str.to_re "z")) (str.to_re "a"))))
(assert (not (str.in_re (str.++ "a" a "z" a "z" b "b" b) (re.++ (re.* (str.to_re "aa")) (str.to_re "a")))))
(check-sat)

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