test/regress/cli/regress1/strings/fmf001.smt2
raw| 1 | (set-info :smt-lib-version 2.6) |
| 2 | (set-logic QF_S) |
| 3 | |
| 4 | (set-option :strings-fmf true) |
| 5 | (set-info :status sat) |
| 6 | |
| 7 | (declare-fun x () String) |
| 8 | (declare-fun y () String) |
| 9 | |
| 10 | (assert (str.in_re x |
| 11 | (re.* (re.++ (re.* (str.to_re "a") ) (str.to_re "b") )) |
| 12 | )) |
| 13 | |
| 14 | (assert (str.in_re y |
| 15 | (re.* (re.++ (re.* (str.to_re "a") ) (str.to_re "b") )) |
| 16 | )) |
| 17 | |
| 18 | (assert (not (= x y))) |
| 19 | (assert (= (str.len x) (str.len y))) |
| 20 | |
| 21 | (check-sat) |