summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/str-code-unsat-3.smt2
blob: 06d297fe8bc4897b25bfe9746c1275a2aee39ef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(set-logic QF_SLIA)
(set-info :status unsat)
(declare-fun x () String)
(declare-fun y () String)
(declare-fun z () String)

(assert (>= (str.to_code x) 65))
(assert (<= (str.to_code x) 75))

(assert (>= (str.to_code y) 65))
(assert (<= (str.to_code y) 75))

(assert (>= (str.to_code z) 65))
(assert (<= (str.to_code z) 75))

(assert (= (+ (str.to_code x) (str.to_code y)) 140))
(assert (= (+ (str.to_code x) (str.to_code z)) 141))

(assert (distinct x y z "B" "C" "D" "E"))

(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback