Debian Codegraph @

test/regress/cli/regress0/strings/str-dsl-missing-rew.smt2

raw
1 ; EXPECT: unsat
2 (set-logic ALL)
3 (declare-fun a () String)
4 (declare-fun b () String)
5 (declare-fun c () String)
6 (declare-fun d () Int)
7 (declare-fun e () Int)
8 (assert (or
9 (not (= (str.len (str.replace_all a "A" "B")) (str.len a)))
10 (not (= (str.replace_all a (str.++ a "A") "B") a))
11 (not (= (str.contains "" a) (= "" a)))
12 (not (= (str.to_upper (str.++ a b)) (str.++ (str.to_upper a) (str.to_upper b))))
13 (not (= (str.to_upper (str.from_int d)) (str.from_int d)))
14 (not (str.contains a (str.substr a d e)))
15 (not (str.contains (str.++ b a c) (str.substr a d e)))
16 (str.<= "B" (str.++ "A" a))
17 (not (= (str.replace (str.++ "AB" c) "B" c) (str.++ (str.replace "AB" "B" c) c)))
18 (not (= (str.indexof (str.++ "ABC" a) "B" 1) 1))
19 (not (= (str.substr (str.++ a b c) (str.len a) 5) (str.substr (str.++ b c) 0 5)))
20 ))
21 (check-sat)