summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/str-code-unsat.smt2
blob: 6a3e9062bf362beedeb67ac1bb6e430d51931588 (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.code x) 65))
(assert (<= (str.code x) 75))

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

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

(assert (= (+ (str.code x) (str.code y)) 140))
(assert (= (+ (str.code x) (str.code z)) 140))

(assert (distinct x y z))

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