test/regress/cli/regress1/strings/str002.smt2
raw| 1 | (set-logic QF_S) |
| 2 | (set-info :status unsat) |
| 3 | |
| 4 | (declare-fun xx () String) |
| 5 | (declare-fun yy () String) |
| 6 | (declare-fun zz () String) |
| 7 | (declare-fun ww () String) |
| 8 | (declare-fun pp () String) |
| 9 | (declare-fun qq () String) |
| 10 | |
| 11 | ; assoc |
| 12 | (assert (or (= xx (str.++ yy "aa")) (= zz (str.++ yy "aa")) |
| 13 | )) |
| 14 | (assert (and (not (= (str.++ xx "bb") (str.++ yy "aa" "bb"))) |
| 15 | (not (= (str.++ zz "bb") (str.++ yy "aa" "bb"))) |
| 16 | )) |
| 17 | |
| 18 | (check-sat) |