Debian Codegraph @

test/regress/cli/regress1/strings/at001.smt2

raw
1 ; COMMAND-LINE:
2 (set-logic QF_SLIA)
3 (set-info :status sat)
4
5 (declare-fun x () String)
6 (declare-fun i () Int)
7
8 (assert (= (str.at x i) "b"))
9 (assert (and (>= i 4) (< i (str.len x))))
10 (assert (< (str.len x) 7))
11 (assert (> (str.len x) 2))
12
13 (check-sat)