summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>2020-10-27 13:57:55 +0100
committerGitHub <noreply@github.com>2020-10-27 13:57:55 +0100
commitb9c38b2a878841a1288b1e2279b1ecb74727eeab (patch)
treee5416dc913ffb226b67b3f956d7918ccc28e1e5e /test/regress
parent8fb135c25038c617679f96dd40dfba3d2585380e (diff)
Enable --nl-cad by default (#5345)
This PR enables `--nl-cad` for QF_NRA (and QF_UFNRA) by default to improve nonlinear arithmetic solving. Furthermore, it takes care of disabling it when libpoly is not available. It also adds a fix to the CadSolver that avoids incorrect SATs in the presence of theory combination.
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/regress1/nl/iand-native-1.smt24
-rw-r--r--test/regress/regress1/nl/issue3300-approx-sqrt-witness.smt22
2 files changed, 3 insertions, 3 deletions
diff --git a/test/regress/regress1/nl/iand-native-1.smt2 b/test/regress/regress1/nl/iand-native-1.smt2
index e6a25bcc4..0f50dcaed 100644
--- a/test/regress/regress1/nl/iand-native-1.smt2
+++ b/test/regress/regress1/nl/iand-native-1.smt2
@@ -1,5 +1,5 @@
-; COMMAND-LINE: --iand-mode=value
-; COMMAND-LINE: --iand-mode=sum --bvand-integer-granularity=1 --finite-model-find
+; COMMAND-LINE: --iand-mode=value --no-check-models
+; COMMAND-LINE: --iand-mode=sum --bvand-integer-granularity=1 --finite-model-find --no-check-models
; EXPECT: sat
(set-logic QF_NIA)
(set-info :status sat)
diff --git a/test/regress/regress1/nl/issue3300-approx-sqrt-witness.smt2 b/test/regress/regress1/nl/issue3300-approx-sqrt-witness.smt2
index 3a4332176..512c8d2e1 100644
--- a/test/regress/regress1/nl/issue3300-approx-sqrt-witness.smt2
+++ b/test/regress/regress1/nl/issue3300-approx-sqrt-witness.smt2
@@ -1,4 +1,4 @@
-; SCRUBBER: sed -e 's/BOUND_VARIABLE_[0-9]*/BOUND_VARIABLE/; s/((x (witness ((BOUND_VARIABLE Real)) (or (= BOUND_VARIABLE.*/SUCCESS/'
+; SCRUBBER: sed -e 's/BOUND_VARIABLE_[0-9]*/BOUND_VARIABLE/; s/((x (witness ((BOUND_VARIABLE Real)) (.*/SUCCESS/'
; COMMAND-LINE: --produce-models --model-witness-value --no-check-models
; EXPECT: sat
; EXPECT: SUCCESS
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback