diff options
author | Haniel Barbosa <hanielbbarbosa@gmail.com> | 2018-04-30 15:33:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 15:33:21 -0500 |
commit | d0e61e49bf51ca7d67188dd71b5f27cd45f6f2ff (patch) | |
tree | 0c5d181a17768cb1894036fcd16c8eaac8f7a5e4 /test/regress/regress1/arith | |
parent | 859b55b3ba0d6aa43b71e05bdc83480313c107ac (diff) |
Refactor real2int (#1813)
This commit refactors the real2int preprocessing pass into the new style. This commit is essentially just a code move and adds a regression test for the preprocessing pass.
Diffstat (limited to 'test/regress/regress1/arith')
-rw-r--r-- | test/regress/regress1/arith/real2int-test.smt2 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/regress/regress1/arith/real2int-test.smt2 b/test/regress/regress1/arith/real2int-test.smt2 new file mode 100644 index 000000000..77bc1eda2 --- /dev/null +++ b/test/regress/regress1/arith/real2int-test.smt2 @@ -0,0 +1,29 @@ +; COMMAND-LINE: --solve-real-as-int +; 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) |