test/regress/cli/regress1/sygus/extract.sy
raw| 1 | ; EXPECT: feasible |
| 2 | ; COMMAND-LINE: --lang=sygus2 --sygus-out=status |
| 3 | |
| 4 | (set-logic ALL) |
| 5 | (declare-datatype Ex ((Ex2 (ex Int)))) |
| 6 | |
| 7 | (synth-fun ident ((x1 Ex)) Int |
| 8 | ((Start Int) (ntInt Int) (ntEx Ex)) |
| 9 | ( |
| 10 | (Start Int (ntInt)) |
| 11 | (ntInt Int |
| 12 | ( |
| 13 | (ex ntEx) |
| 14 | ) |
| 15 | ) |
| 16 | (ntEx Ex ( x1 )) |
| 17 | ) |
| 18 | ) |
| 19 | (constraint (= (ident (Ex2 1)) 1)) |
| 20 | (check-synth) |