test/regress/cli/regress1/strings/str006.smt2
raw| 1 | (set-logic QF_S) |
| 2 | (set-info :status sat) |
| 3 | |
| 4 | (declare-fun x () String) |
| 5 | (declare-fun y () String) |
| 6 | (declare-fun z () String) |
| 7 | |
| 8 | ;plandowski p469 1 |
| 9 | (assert (= (str.++ x "ab" y) (str.++ y "ba" z))) |
| 10 | (assert (= z (str.++ x y))) |
| 11 | (assert (not (= (str.++ x "a") (str.++ "a" x)))) |
| 12 | |
| 13 | (check-sat) |
| 14 |