Debian Codegraph @

test/regress/cli/regress1/strings/issue6653-rre.smt2

raw
1 ; COMMAND-LINE: --re-elim=agg
2 ; EXPECT: sat
3 (set-logic ALL)
4 (declare-fun a () String)
5 (declare-fun b () String)
6 (assert (str.in_re (str.replace_re b (str.to_re (str.replace_all a (str.++ b "a") b)) (str.++ b "a")) (re.+ (str.to_re "b"))))
7 (assert (str.in_re a (re.* (re.range "a" "b"))))
8 (check-sat)