test/regress/cli/regress1/strings/complement-test.smt2
raw| 1 | (set-logic SLIA) |
| 2 | |
| 3 | (set-info :status sat) |
| 4 | (declare-fun x () String) |
| 5 | (declare-fun y () String) |
| 6 | (declare-fun z () String) |
| 7 | (assert (= x (str.++ "AB" y))) |
| 8 | (assert (or (= y "C") (= y (str.++ "D" z)) (= (str.len y) 10))) |
| 9 | (assert (str.in_re x |
| 10 | (re.inter |
| 11 | (re.comp (str.to_re "AB")) |
| 12 | (re.comp (re.++ (str.to_re "AB") (re.range "A" "E") (re.* re.allchar)))))) |
| 13 | (check-sat) |