diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-02-05 18:59:13 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-05 18:59:13 -0600 |
commit | 4ada10b0e9b0ccd96e8bf620690e6888e617c2fb (patch) | |
tree | 8beb5839622eb5b1a44100d3e6bb97174652c847 /test/regress | |
parent | 66a7932c7d4bd986665a041293ed23f8f58570f4 (diff) |
Statically eliminate redundant sygus constructors (#1560)
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/regress0/sygus/Makefile.am | 3 | ||||
-rw-r--r-- | test/regress/regress0/sygus/check-generic-red.sy | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/test/regress/regress0/sygus/Makefile.am b/test/regress/regress0/sygus/Makefile.am index 9b9f1feb2..9e7427eb0 100644 --- a/test/regress/regress0/sygus/Makefile.am +++ b/test/regress/regress0/sygus/Makefile.am @@ -78,7 +78,8 @@ TESTS = commutative.sy \ hd-19-d1-prog-dup-op.sy \ real-grammar-neg.sy \ real-si-all.sy \ - c100.sy + c100.sy \ + check-generic-red.sy # disabled, takes too long with and without CBQI BV # Base16_1.sy diff --git a/test/regress/regress0/sygus/check-generic-red.sy b/test/regress/regress0/sygus/check-generic-red.sy new file mode 100644 index 000000000..917c1473a --- /dev/null +++ b/test/regress/regress0/sygus/check-generic-red.sy @@ -0,0 +1,19 @@ +; EXPECT: unsat +; COMMAND-LINE: --cegqi-si=all --sygus-out=status +(set-logic LIA) + +(synth-fun P ((x Int) (y Int)) Bool + ((Start Bool ((and Start Start) + (not Start) + (<= StartInt StartIntC) + (<= StartInt StartInt) + (>= StartInt StartInt) + (<= StartIntC StartInt) + (>= StartIntC StartInt) + (<= StartIntC StartIntC) + )) + (StartIntC Int (0 0 1)) + (StartInt Int (x y 0 1)))) + +(constraint (P 0 2)) +(check-synth) |