summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/cardinality.smt2
blob: 921991f741cfce822bed67cd9501ba2a31111566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(set-logic QF_S)
(set-info :status unsat)
;this option for experts only
(set-option :strings-alphabet-card 2)

(declare-fun x () String)
(declare-fun y () String)
(declare-fun z () String)
(declare-fun w () String)
(declare-fun i () Int)

(assert (= i 1))
(assert (= (str.len x) i))
(assert (= (str.len y) i))
(assert (= (str.len z) i))
(assert (= (str.len w) 2))

(assert (not (=  x y)))
(assert (not (=  x z)))
(assert (not (=  z y)))


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