summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/code-sequence.smt2
blob: 2654017d48e93d146101cda2396795c5b9e13938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(set-logic SLIA)
(set-option :strings-exp true)
(set-option :strings-fmf true)
(set-option :fmf-bound true)
(set-info :status sat)
(declare-fun x () String)
(assert (forall ((n Int)) (=> (and (<= 0 n) (< n (str.len x))) 
(and
(<= 60 (str.code (str.at x n)))
(<= (str.code (str.at x n)) 90)
(< (+ 1 (str.code (str.at x (- n 1)))) (str.code (str.at x n)))
))))
(assert (> (str.len x) 3))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback