diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-10-12 13:00:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 13:00:12 -0500 |
commit | ebd9c958a0c20e37cc0e1a79be26afd525dd8fb9 (patch) | |
tree | f53a09d9f8cba99173683ae6c43b386b6b057478 /test/regress/regress0/sygus | |
parent | 5dd102d4cb7fc8413d6e8f68b0c32c9ef06b1b17 (diff) |
Sygus logics (#1226)
* Allow any smt2 logic to be a sygus logic. Add non-linear SyGuS regressions.
* Minor
* Add case for reals, comment.
* Fix regress1.
Diffstat (limited to 'test/regress/regress0/sygus')
-rw-r--r-- | test/regress/regress0/sygus/Makefile.am | 3 | ||||
-rw-r--r-- | test/regress/regress0/sygus/nia-max-square-ns.sy | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/test/regress/regress0/sygus/Makefile.am b/test/regress/regress0/sygus/Makefile.am index d8f675af1..a297cee81 100644 --- a/test/regress/regress0/sygus/Makefile.am +++ b/test/regress/regress0/sygus/Makefile.am @@ -64,7 +64,8 @@ TESTS = commutative.sy \ cggmp.sy \ parse-bv-let.sy \ cegar1.sy \ - triv-type-mismatch-si.sy + triv-type-mismatch-si.sy \ + nia-max-square-ns.sy # sygus tests currently taking too long for make regress diff --git a/test/regress/regress0/sygus/nia-max-square-ns.sy b/test/regress/regress0/sygus/nia-max-square-ns.sy new file mode 100644 index 000000000..96baab7fe --- /dev/null +++ b/test/regress/regress0/sygus/nia-max-square-ns.sy @@ -0,0 +1,13 @@ +; EXPECT: unsat +; COMMAND-LINE: --cegqi-si=all --no-dump-synth --nl-ext-tplanes +(set-logic NIA) + +(synth-fun max ((x Int) (y Int)) Int) + +(declare-var x Int) +(declare-var y Int) + +(constraint (>= (max x y) (* x x))) +(constraint (>= (max x y) (* y y))) + +(check-synth) |