Skip to content

Soundness issue in string logic #8023

@wintered

Description

@wintered

(1)
11fb5c7

$ cat bug.smt2
(declare-fun a () String)
(assert (str.<= (str.replace a (str.substr a (str.indexof (str.at a 0) a 1) (+ 1 1)) a) ""))
(check-sat)
$ cvc5 -q --check-models bug.smt2
sat
$ z3 model_validate=true bug.smt2
unsat

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions