diff options
Diffstat (limited to 'test/regress/regress0/sygus/commutative.sy')
-rw-r--r-- | test/regress/regress0/sygus/commutative.sy | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/regress/regress0/sygus/commutative.sy b/test/regress/regress0/sygus/commutative.sy new file mode 100644 index 000000000..15567b0a8 --- /dev/null +++ b/test/regress/regress0/sygus/commutative.sy @@ -0,0 +1,22 @@ +; EXPECT: unsat +; COMMAND-LINE: --cegqi + +(set-logic LIA) + +(synth-fun comm ((x Int) (y Int)) Int + ((Start Int (x + y + (+ Start Start) + (- Start Start) + )) + )) + +(declare-var x Int) +(declare-var y Int) + +(constraint (= (comm x y) (comm y x))) + + +(check-synth) + +; (+ x y) is a valid solution
\ No newline at end of file |