diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-12-16 15:07:55 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 15:07:55 -0600 |
commit | d5de3d822b978be11c98da5f026ab5f2ca9d0a83 (patch) | |
tree | 20e5992cc228af8bcabddbad8347e6212691bc0b /test/regress | |
parent | bc55a9c137f92d0a21574c10a74f194e3abf4073 (diff) |
Mark quantifier instantiations as needs justify (#5684)
This avoids a solution soundness issue when disabling all NL strategies and using --nl-rlv=always.
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/regress/regress0/quantifiers/cegqi-needs-justify.smt2 | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index b32e0799d..01903202c 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -809,6 +809,7 @@ set(regress_0_tests regress0/quantifiers/bug291.smt2 regress0/quantifiers/bug749-rounding.smt2 regress0/quantifiers/cbqi-lia-dt-simp.smt2 + regress0/quantifiers/cegqi-needs-justify.smt2 regress0/quantifiers/cegqi-nl-simp.cvc regress0/quantifiers/cegqi-nl-sq.smt2 regress0/quantifiers/cegqi-par-dt-simple.smt2 diff --git a/test/regress/regress0/quantifiers/cegqi-needs-justify.smt2 b/test/regress/regress0/quantifiers/cegqi-needs-justify.smt2 new file mode 100644 index 000000000..9b7f7a847 --- /dev/null +++ b/test/regress/regress0/quantifiers/cegqi-needs-justify.smt2 @@ -0,0 +1,9 @@ +; COMMAND-LINE: --nl-rlv=always +; EXPECT: unsat +(set-logic NRA) +(set-info :status unsat) +(declare-fun c () Real) +(declare-fun t () Real) +(assert (forall ((s Real)) (and (> t 0) (= 0 (* t c)) (or (< s c) (> s 1.0))))) +; previously answered "sat" with --no-nl-ext --nl-rlv=always +(check-sat) |