Debian Codegraph @

test/regress/cli/regress1/strings/rew-020618.smt2

raw
1 ; COMMAND-LINE:
2 ; EXPECT: unsat
3 (set-logic ALL)
4 (set-info :status unsat)
5 (declare-fun s () String)
6
7 (assert (or
8 (= (str.++ s "A") "")
9 (= (str.++ s s) "A")
10 (not (str.contains s ""))
11 (str.contains "" (str.++ s "A"))
12 (not (= (str.replace "A" "" "A") "AA"))
13 (not (= (str.prefixof s "A") (str.suffixof s "A")))
14 (not (str.prefixof s s))
15 (not (str.prefixof "" s))
16 )
17 )
18 (check-sat)