Debian Codegraph @

test/regress/cli/regress1/strings/issue6654-indexof_re_red.smt2

raw
1 ; COMMAND-LINE:
2 ; EXPECT: sat
3 (set-logic ALL)
4 (declare-fun a () String)
5 (declare-fun b () String)
6 (assert (= b (str.replace_re a (str.to_re "A") "A")))
7 (assert (not (str.prefixof (str.++ b b) a)))
8 (check-sat)