Skip to content

Commit

Permalink
test example (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-irfan authored Nov 16, 2023
1 parent 827cd9c commit c98de43
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions tests/regress/mcsat/nra/test_var_order_option.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
(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 skoC () Real)
(declare-fun skoS () Real)
(declare-fun skoX () Real)

(set-option :yices-mcsat-var-order (skoX skoC))

(assert (let ((?v_1 (<= skoX 0)) (?v_0 (* skoC (/ (- 235) 42)))) (and (<= skoS ?v_0) (and (not ?v_1) (and (or (<= ?v_0 skoS) ?v_1) (and (= (* skoS skoS) (+ 1 (* skoC (* skoC (- 1))))) (and (<= skoX 289) (<= 0 skoX))))))))

(check-sat)
(exit)
1 change: 1 addition & 0 deletions tests/regress/mcsat/nra/test_var_order_option.smt2.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sat

0 comments on commit c98de43

Please sign in to comment.