| 1 |
; COMMAND-LINE: |
| 2 |
(set-logic QF_SLIA) |
| 3 |
(declare-const x String) |
| 4 |
(assert (or |
| 5 |
(not (= (str.indexof_re "abc" re.allchar (- 1)) (- 1))) |
| 6 |
(not (= (str.indexof_re "abc" re.allchar (- 2)) (- 1))) |
| 7 |
(not (= (str.indexof_re "abc" re.allchar 5) (- 1))) |
| 8 |
(not (= (str.indexof_re "abc" re.allchar 0) 0)) |
| 9 |
(not (= (str.indexof_re "abc" re.allchar 1) 1)) |
| 10 |
(not (= (str.indexof_re "abc" re.allchar 2) 2)) |
| 11 |
(not (= (str.indexof_re "abc" re.allchar 3) (- 1))) |
| 12 |
(not (= (str.indexof_re "abc" (re.++ re.allchar re.allchar) 2) (- 1))) |
| 13 |
(not (= (str.indexof_re "abc" (re.union (str.to_re "") re.allchar) 3) 3)) |
| 14 |
(not (= (str.indexof_re (str.++ "abc" x) (re.union (str.to_re "") re.allchar) 3) 3)) |
| 15 |
(not (= (str.indexof_re "cbabc" (re.union (str.to_re "a") (str.to_re "bab")) 0) 1)) |
| 16 |
)) |
| 17 |
(set-info :status unsat) |
| 18 |
(check-sat) |