summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-12-16 15:07:55 -0600
committerGitHub <noreply@github.com>2020-12-16 15:07:55 -0600
commitd5de3d822b978be11c98da5f026ab5f2ca9d0a83 (patch)
tree20e5992cc228af8bcabddbad8347e6212691bc0b /test/regress
parentbc55a9c137f92d0a21574c10a74f194e3abf4073 (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.txt1
-rw-r--r--test/regress/regress0/quantifiers/cegqi-needs-justify.smt29
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)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback