diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-10-14 14:23:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-14 14:23:38 -0500 |
commit | ae4be031cf818ccb69f79a588de0837d8e97897e (patch) | |
tree | 42a3124c1700e92e9e023ac8b5e813dd3ac879d5 /test/regress/regress1/sygus/coeff-solve-inv.sy | |
parent | d733e417bf9c96ae3da449e194e57d5b06a0607a (diff) |
Apply sygus repair constant techniques restricted to refinement lemmas (#3386)
Diffstat (limited to 'test/regress/regress1/sygus/coeff-solve-inv.sy')
-rw-r--r-- | test/regress/regress1/sygus/coeff-solve-inv.sy | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus/coeff-solve-inv.sy b/test/regress/regress1/sygus/coeff-solve-inv.sy new file mode 100644 index 000000000..edfcd6089 --- /dev/null +++ b/test/regress/regress1/sygus/coeff-solve-inv.sy @@ -0,0 +1,29 @@ +; EXPECT: unsat +; COMMAND-LINE: --sygus-out=status --sygus-repair-const --lang=sygus2 +(set-logic LIA) + +(synth-inv inv-f ((x Int) (y Int)) ) + + +(define-fun pre-f ((x Int) (y Int)) Bool + (and + (= x 0) + (= y 100) + ) +) + +(define-fun trans-f ((x Int) (y Int) (x! Int) (y! Int)) Bool + (and + (< x 100) + (= x! (+ x 1)) + (= y! (+ y 1)) + ) +) + +(define-fun post-f ((x Int) (y Int)) Bool + (=> (>= x 100) (>= y 200)) +) + +(inv-constraint inv-f pre-f trans-f post-f) + +(check-synth) |