summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/string-unsound-sem.smt2
blob: 44591b47ba6a760bfd4ebae1b064aba0bdb16924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(set-info :smt-lib-version 2.5)
(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" (int.to.str z) x) (str.++ "A" (str.replace "" (int.to.str 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