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