summaryrefslogtreecommitdiff
path: root/test/regress/regress2
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-11-20 10:48:41 -0600
committerAndres Noetzli <andres.noetzli@gmail.com>2018-11-20 08:48:41 -0800
commit7a58c9853012e7ae5992d5062592d8a21738bd32 (patch)
tree64ded7a611da637b9a7b8ef55e884526bd8b066d /test/regress/regress2
parent176b119d86fe34878a4c9d4d7ee8f982db311b39 (diff)
Fix real2int regression. (#2716)
Diffstat (limited to 'test/regress/regress2')
-rw-r--r--test/regress/regress2/arith/real2int-test.smt229
1 files changed, 29 insertions, 0 deletions
diff --git a/test/regress/regress2/arith/real2int-test.smt2 b/test/regress/regress2/arith/real2int-test.smt2
new file mode 100644
index 000000000..b27b6e2b3
--- /dev/null
+++ b/test/regress/regress2/arith/real2int-test.smt2
@@ -0,0 +1,29 @@
+; COMMAND-LINE: --solve-real-as-int --no-new-prop --nl-ext-tplanes
+; EXPECT: sat
+(set-info :smt-lib-version 2.6)
+(set-logic QF_NRA)
+(set-info :source |
+These benchmarks used in the paper:
+
+ Dejan Jovanovic and Leonardo de Moura. Solving Non-Linear Arithmetic.
+ In IJCAR 2012, published as LNCS volume 7364, pp. 339--354.
+
+The meti-tarski benchmarks are proof obligations extracted from the
+Meti-Tarski project, see:
+
+ B. Akbarpour and L. C. Paulson. MetiTarski: An automatic theorem prover
+ for real-valued special functions. Journal of Automated Reasoning,
+ 44(3):175-205, 2010.
+
+Submitted by Dejan Jovanovic for SMT-LIB.
+
+
+|)
+(set-info :category "industrial")
+(set-info :status sat)
+(declare-fun skoX () Real)
+(declare-fun skoS3 () Real)
+(declare-fun skoSX () Real)
+(assert (and (not (<= (* skoX (+ (+ (* skoS3 (/ 471 100)) (* skoSX (/ 157 100))) (* skoX (* skoS3 (- 8))))) (+ (* skoS3 3) skoSX))) (and (not (<= skoX 0)) (and (not (<= skoSX 0)) (not (<= skoS3 0))))))
+(check-sat)
+(exit)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback