| 1 |
; COMMAND-LINE: --strings-fmf |
| 2 |
; EXPECT: sat |
| 3 |
(set-logic QF_S) |
| 4 |
(declare-fun a () String) |
| 5 |
(declare-fun b () Int) |
| 6 |
(declare-fun c () String) |
| 7 |
(declare-fun d () String) |
| 8 |
(declare-fun e () String) |
| 9 |
(declare-fun f () String) |
| 10 |
(declare-fun g () String) |
| 11 |
(declare-fun h () String) |
| 12 |
(declare-fun i () Bool) |
| 13 |
(declare-fun j () String) |
| 14 |
(declare-fun k () String) |
| 15 |
(assert (= e "0000000000")) |
| 16 |
(assert (distinct a d)) |
| 17 |
(assert |
| 18 |
(ite (distinct b 0) |
| 19 |
(and (= (str.++ d e) (str.++ c j)) |
| 20 |
(= (str.len c) 2) |
| 21 |
(= j (str.++ f k)) |
| 22 |
(= f (str.++ g h)) |
| 23 |
(str.in_re g (str.to_re "A"))) |
| 24 |
(str.in_re j (str.to_re "")))) |
| 25 |
(assert (distinct i (= b 0))) |
| 26 |
(assert i) |
| 27 |
(check-sat) |