Debian Codegraph @

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

raw
1 (set-info :smt-lib-version 2.6)
2 (set-logic QF_SLIA)
3
4 (set-info :status sat)
5 (declare-const x String)
6 (declare-const y String)
7 (declare-const m String)
8 (declare-const n String)
9 (assert (str.in_re x (re.+ (re.range "0" "9"))))
10 (assert (= 0 (str.to_int x)))
11 (assert (not (= x "")))
12 (assert (not (= x "0")))
13 (assert (not (= x "3")))
14 (assert (not (= x "T")))
15 (assert (not (= x "8")))
16 (assert (not (= x "")))
17 (assert (not (= x "5")))
18 (assert (not (= x "<")))
19 (assert (not (= x "N")))
20 (check-sat)