Debian Codegraph @

test/regress/cli/regress0/strings/repl-rewrites2.smt2

raw
1 ; COMMAND-LINE:
2 ; EXPECT: unsat
3 (set-logic ALL)
4 (set-info :status unsat)
5 (declare-fun x () String)
6 (declare-fun y () String)
7 (assert (or
8 (not (= (str.replace "" "" "c") "c"))
9 (not (= (str.replace (str.++ "abc" y) "b" x) (str.++ "a" x "c" y)))
10 (not (= (str.replace "" "abc" "de") ""))
11 (not (= (str.replace "ab" "ab" "de") "de"))
12 (not (= (str.replace "ab" "" "de") "deab"))
13 (not (= (str.replace "abb" "b" "de") "adeb"))
14 ))
15 (check-sat)