test/regress/cli/regress1/sygus/issue3802-default-consts.sy
raw| 1 | ; EXPECT: feasible |
| 2 | ; COMMAND-LINE: --sygus-out=status --lang=sygus2 |
| 3 | (set-logic ALL) |
| 4 | (synth-fun f |
| 5 | () Bool |
| 6 | ((B Bool)) |
| 7 | ( |
| 8 | (B Bool ((Constant Bool))) |
| 9 | ) |
| 10 | ) |
| 11 | (synth-fun g |
| 12 | ((x0 Int) (r Int)) Bool |
| 13 | ((B Bool) (I Int)) |
| 14 | ( |
| 15 | (B Bool ((= I I))) |
| 16 | (I Int (x0 r)) |
| 17 | ) |
| 18 | ) |
| 19 | (constraint (=> f (g 2 2))) |
| 20 | (constraint (not (=> f (g 0 1)))) |
| 21 | (check-synth) |