| 1 |
; EXPECT: unsat |
| 2 |
(set-logic ALL) |
| 3 |
(declare-fun x () String) |
| 4 |
(declare-fun y () String) |
| 5 |
|
| 6 |
(assert (or |
| 7 |
(not (= (str.contains (str.++ "A" x "B") (str.++ "C" y "D")) (str.contains x (str.++ "C" y "D")))) |
| 8 |
(not (= (str.contains (str.++ "AC" x "B") (str.++ "C" y "D")) (str.contains (str.++ "C" x) (str.++ "C" y "D")))) |
| 9 |
(not (= (str.contains (str.++ "A" x "B") (str.++ "C" y "B")) (str.contains (str.++ x "B") (str.++ "C" y "B")))) |
| 10 |
(not (= (str.contains "ACEDB" (str.++ "C" y "D")) (str.contains "CED" (str.++ "C" y "D")))) |
| 11 |
|
| 12 |
(not (= (str.indexof (str.++ x "ABCD") "C" 0) (str.indexof (str.++ x "ABC") "C" 0))) |
| 13 |
(not (= (str.indexof (str.++ x "D") "C" 0) (str.indexof x "C" 0))) |
| 14 |
(not (= (str.indexof (str.++ x "ABCD") (str.++ y "CC") 0) (str.indexof x (str.++ y "CC") 0))) |
| 15 |
|
| 16 |
(not (= (str.indexof (str.++ x "ABCD") "CA" 0) (str.indexof (str.++ x "A") "CA" 0))) |
| 17 |
|
| 18 |
)) |
| 19 |
(check-sat) |