diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-05-15 11:41:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 11:41:03 -0500 |
commit | bc550fa115401256616042ccb7a559ec252e319b (patch) | |
tree | 580b155f2ebf035651b227eae0350cd437687676 /test/regress | |
parent | 3b407342c06d89910e19373e3c486155464843a7 (diff) |
Fix printing of bvurem (#2963)
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/regress/regress2/sygus/pbe_bvurem.sy | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index 2f39bbb59..307906dc3 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -1786,6 +1786,7 @@ set(regress_2_tests regress2/sygus/multi-udiv.sy regress2/sygus/nia-max-square.sy regress2/sygus/no-syntax-test-no-si.sy + regress2/sygus/pbe_bvurem.sy regress2/sygus/process-10-vars-2fun.sy regress2/sygus/process-arg-invariance.sy regress2/sygus/real-grammar-neg.sy diff --git a/test/regress/regress2/sygus/pbe_bvurem.sy b/test/regress/regress2/sygus/pbe_bvurem.sy new file mode 100644 index 000000000..fc715a645 --- /dev/null +++ b/test/regress/regress2/sygus/pbe_bvurem.sy @@ -0,0 +1,32 @@ +; EXPECT: unsat +; COMMAND-LINE: --sygus-out=status +(set-logic BV) +(define-sort BV () (_ BitVec 8)) +(synth-fun IC ((s BV) (t BV)) Bool + ((Start Bool ( + true + false + (ite Start Start Start) + (= (bvmul StartBv s) t) + )) + (StartBv BV ( + s + t + #x00 + #x01 + #x7E + (bvnot StartBv) + (bvmul StartBv StartBv) + (bvudiv StartBv StartBv) + (bvurem StartBv StartBv) + (bvand StartBv StartBv) + )) +)) +(constraint (not (IC (_ bv32 8) (_ bv187 8) ))) +(constraint (not (IC (_ bv102 8) (_ bv15 8) ))) +(constraint (not (IC (_ bv92 8) (_ bv85 8) ))) +(constraint (IC (_ bv39 8) (_ bv214 8) )) +(constraint (IC (_ bv155 8) (_ bv82 8) )) +(constraint (IC (_ bv53 8) (_ bv98 8) )) +(constraint (IC (_ bv41 8) (_ bv47 8) )) +(check-synth) |