summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/string-unsound-sem.smt2
blob: 59c2d4a176c236fee29a539e4bedbfced2742553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(set-info :smt-lib-version 2.6)
(set-logic ALL)
(set-option :strings-exp true)
(set-info :status sat)
(declare-fun x () String)
(declare-fun y () String)
(declare-fun z () Int)
(assert (and
(not (= (str.replace "A" (str.from_int z) x) (str.++ "A" (str.replace "" (str.from_int z) x))))
(not (= (str.replace x (str.at x z) "") (str.++ (str.replace (str.++ (str.substr x 0 z) (str.substr x z 1)) (str.substr x z 1) "") (str.substr x (+ 1 z) (str.len x)))))
)
)
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback