diff options
Diffstat (limited to 'test/regress/regress1/sygus/repair-const-unk.sy')
-rw-r--r-- | test/regress/regress1/sygus/repair-const-unk.sy | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus/repair-const-unk.sy b/test/regress/regress1/sygus/repair-const-unk.sy new file mode 100644 index 000000000..fdd818592 --- /dev/null +++ b/test/regress/regress1/sygus/repair-const-unk.sy @@ -0,0 +1,17 @@ +; EXPECT: unknown +; COMMAND-LINE: --sygus-out=status --sygus-repair-const --lang=sygus2 +(set-logic LIA) +(synth-fun f ((x Int) (y Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ((+ (* CInt x) (* CInt y) CInt))) + (CInt Int ((Constant Int))) + ) +) +(declare-var x Int) +(declare-var y Int) +(constraint (= (f 0 0) 100)) +(constraint (= (f 1 1) 110)) +(constraint (= (f 2 1) 117)) +(constraint (>= (- (* 3 (f x y)) (f (* 2 x) (+ y 1))) (+ (* 7 x) (* 6 y)))) +(check-synth) |