test/regress/cli/regress1/strings/issue9988-3.smt2
raw| 1 | ; COMMAND-LINE: --no-strings-lazy-pp |
| 2 | ; EXPECT: sat |
| 3 | (set-logic ALL) |
| 4 | (set-info :status sat) |
| 5 | (declare-fun a () String) |
| 6 | (declare-fun b () String) |
| 7 | (assert (str.in_re (str.++ b "z" a) (re.++ (re.* (re.++ (str.to_re "z") (re.* (str.to_re "b")))) (str.to_re "b")))) |
| 8 | (assert (not (str.in_re (str.++ b "a") (re.* (re.++ (re.* (str.to_re "b")) (re.diff (str.to_re (str.from_int (str.len b))) (str.to_re (str.replace a b "")))))))) |
| 9 | (check-sat) |