| 1 |
(set-logic ALL) |
| 2 |
(set-info :status sat) |
| 3 |
(declare-const x Int) |
| 4 |
(declare-fun v () (Bag Int)) |
| 5 |
(declare-fun a () String) |
| 6 |
(assert |
| 7 |
(or |
| 8 |
(= 0 (bag.card v)) |
| 9 |
(= |
| 10 |
(str.substr a 1 0) |
| 11 |
(str.substr (str.from_int 0) (* x x) 1)))) |
| 12 |
(check-sat) |