| 1 |
; COMMAND-LINE: |
| 2 |
; EXPECT: sat |
| 3 |
(set-info :smt-lib-version 2.6) |
| 4 |
(set-logic QF_SLIA) |
| 5 |
(declare-const x0 String) |
| 6 |
(declare-const x1 String) |
| 7 |
(declare-const x2 String) |
| 8 |
(declare-const x3 String) |
| 9 |
(declare-const x4 String) |
| 10 |
(declare-const x5 String) |
| 11 |
(declare-const x6 String) |
| 12 |
(declare-const x7 String) |
| 13 |
(declare-const x8 String) |
| 14 |
(declare-const x9 String) |
| 15 |
(declare-const x10 String) |
| 16 |
(declare-const y0 Int) |
| 17 |
(declare-const y1 Int) |
| 18 |
(declare-const y2 Int) |
| 19 |
(declare-const y3 Int) |
| 20 |
(declare-const y4 Int) |
| 21 |
(declare-const y5 Int) |
| 22 |
(declare-const y6 Int) |
| 23 |
(declare-const y7 Int) |
| 24 |
(declare-const y8 Int) |
| 25 |
(declare-const y9 Int) |
| 26 |
(declare-const y10 Int) |
| 27 |
(assert (and (= y0 (str.to_code x0)) (>= y0 (str.to_code "0")) (<= y0 (str.to_code "9")))) |
| 28 |
(assert (and (= y1 (str.to_code x1)) (>= y1 (str.to_code "0")) (<= y1 (str.to_code "9")))) |
| 29 |
(assert (and (= y2 (str.to_code x2)) (>= y2 (str.to_code "0")) (<= y2 (str.to_code "9")))) |
| 30 |
(assert (and (= y3 (str.to_code x3)) (>= y3 (str.to_code "0")) (<= y3 (str.to_code "9")))) |
| 31 |
(assert (and (= y4 (str.to_code x4)) (>= y4 (str.to_code "0")) (<= y4 (str.to_code "9")))) |
| 32 |
(assert (and (= y5 (str.to_code x5)) (>= y5 (str.to_code "0")) (<= y5 (str.to_code "9")))) |
| 33 |
(assert (and (= y6 (str.to_code x6)) (>= y6 (str.to_code "0")) (<= y6 (str.to_code "9")))) |
| 34 |
(assert (and (= y7 (str.to_code x7)) (>= y7 (str.to_code "0")) (<= y7 (str.to_code "9")))) |
| 35 |
(assert (and (= y8 (str.to_code x8)) (>= y8 (str.to_code "0")) (<= y8 (str.to_code "9")))) |
| 36 |
(assert (and (= y9 (str.to_code x9)) (>= y9 (str.to_code "0")) (<= y9 (str.to_code "9")))) |
| 37 |
(assert (and (= y10 (str.to_code x10)) (>= y10 (str.to_code "0")) (<= y10 (str.to_code "9")))) |
| 38 |
(assert (= (str.len x0) 1)) |
| 39 |
(assert (= (str.len x1) 1)) |
| 40 |
(assert (= (str.len x2) 1)) |
| 41 |
(assert (= (str.len x3) 1)) |
| 42 |
(assert (= (str.len x4) 1)) |
| 43 |
(assert (= (str.len x5) 1)) |
| 44 |
(assert (= (str.len x6) 1)) |
| 45 |
(assert (= (str.len x7) 1)) |
| 46 |
(assert (= (str.len x8) 1)) |
| 47 |
(assert (= (str.len x9) 1)) |
| 48 |
(assert (= (str.len x10) 1)) |
| 49 |
(check-sat) |