test/regress/cli/regress1/strings/re-dt-sat.smt2
raw| 1 | ; COMMAND-LINE: --re-first-class |
| 2 | ; EXPECT: sat |
| 3 | (set-logic ALL) |
| 4 | (declare-datatype List ((cons (head RegLan) (tail List)) (nil))) |
| 5 | (declare-fun s () String) |
| 6 | (declare-fun x () Int) |
| 7 | (assert (= (cons (re.++ (str.to_re "A") (re.* (str.to_re "A"))) nil) (cons (re.+ (str.to_re "A")) nil))) |
| 8 | (check-sat) |