test/regress/cli/regress1/strings/type002.smt2
raw| 1 | (set-info :smt-lib-version 2.6) |
| 2 | (set-logic QF_SLIA) |
| 3 | (set-info :status sat) |
| 4 | |
| 5 | |
| 6 | (declare-fun x () String) |
| 7 | (declare-fun y () String) |
| 8 | (declare-fun z () String) |
| 9 | (declare-fun i () Int) |
| 10 | |
| 11 | (assert (>= i 420)) |
| 12 | (assert (= x (str.from_int i))) |
| 13 | (assert (= x (str.++ y "0" z))) |
| 14 | (assert (not (= y ""))) |
| 15 | (assert (not (= z ""))) |
| 16 | |
| 17 | |
| 18 | |
| 19 | (check-sat) |