diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-02-15 15:31:48 -0600 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2018-02-15 13:31:48 -0800 |
commit | 55037e0bcef45c795f28ff3fcf6c1055af465c70 (patch) | |
tree | 397d89bd10e541e1206c5dafdb8cf731feb34730 /test/regress/regress2/sygus/three.sy | |
parent | 52a39aca19b7238d08c3cebcfa46436a73194008 (diff) |
Refactor regressions (#1581)
Diffstat (limited to 'test/regress/regress2/sygus/three.sy')
-rw-r--r-- | test/regress/regress2/sygus/three.sy | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/regress/regress2/sygus/three.sy b/test/regress/regress2/sygus/three.sy new file mode 100644 index 000000000..831e5beb1 --- /dev/null +++ b/test/regress/regress2/sygus/three.sy @@ -0,0 +1,30 @@ +; EXPECT: unsat +; COMMAND-LINE: --sygus-out=status + +(set-logic LIA) + +(synth-fun f ((x Int)) Int + ((Start Int ( + x + 3 + 7 + 10 + (* Start Start) + (mod Start Start))))) + +(declare-var x Int) + +(constraint (= (f x) (f (+ x 10)))) +(constraint (= (f 1) 3)) +(constraint (= (f 2) 6)) +(constraint (= (f 3) 9)) +(constraint (= (f 4) 2)) +(constraint (= (f 5) 5)) +(constraint (= (f 6) 8)) +(constraint (= (f 7) 1)) +(constraint (= (f 8) 4)) +(constraint (= (f 9) 7)) +(constraint (= (f 0) 0)) + +(check-synth) + |