test/regress/cli/regress1/strings/to_upper_over_concat.smt2
raw| 1 | ; COMMAND-LINE: --seq-array=lazy |
| 2 | ; EXPECT: sat |
| 3 | (set-logic QF_SLIA) |
| 4 | (declare-const x String) |
| 5 | (declare-const y String) |
| 6 | (declare-const z String) |
| 7 | (declare-const w String) |
| 8 | (assert (not (= (str.to_upper x) (str.to_lower x)))) |
| 9 | (assert (or (= x (str.++ y z)) (= x (str.++ y w)))) |
| 10 | (assert (not (= y ""))) |
| 11 | (assert (not (= z ""))) |
| 12 | (assert (= (str.to_upper y) (str.to_lower y))) |
| 13 | (assert (= (str.to_upper z) (str.to_lower z))) |
| 14 | (assert (> (str.len x) 2)) |
| 15 | (check-sat) |