diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-11-04 16:01:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 21:01:41 +0000 |
commit | be6f9c2ee9201cc5181ce7ba27b6fe992ab3fff6 (patch) | |
tree | 83e22969a075e584c0b922db1808fb24a4672484 /test/regress | |
parent | e680a299ac1da58b8fee27e3733d5e5eea255d94 (diff) |
Improve defaults for sygus default grammars (#7553)
We now add constants from the conjecture to default grammars by default. We also ensure that integer constants are used as real constants when applicable.
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/regress/regress1/abduction/abd-real-const.smt2 | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index 99c65e973..3bd5e33f0 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -1508,6 +1508,7 @@ set(regress_0_tests # Regression level 1 tests set(regress_1_tests + regress1/abduction/abd-real-const.smt2 regress1/abduction/sygus-abduct-test-user.smt2 regress1/abduction/issue5848-4.smt2 regress1/abduction/issue5848-2.smt2 diff --git a/test/regress/regress1/abduction/abd-real-const.smt2 b/test/regress/regress1/abduction/abd-real-const.smt2 new file mode 100644 index 000000000..258d80a88 --- /dev/null +++ b/test/regress/regress1/abduction/abd-real-const.smt2 @@ -0,0 +1,9 @@ +; COMMAND-LINE: --produce-abducts +; SCRUBBER: grep -v -E '(\(define-fun)' +; EXIT: 0 +(set-logic QF_LRA) +(declare-const x Real) +(declare-const y Real) +(declare-const z Real) +(assert (and (>= x 0) (< y 7))) +(get-abduct A (>= y 5)) |