diff options
Diffstat (limited to 'test/regress/regress0/arith/arith-tighten-1.smt2')
-rw-r--r-- | test/regress/regress0/arith/arith-tighten-1.smt2 | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/test/regress/regress0/arith/arith-tighten-1.smt2 b/test/regress/regress0/arith/arith-tighten-1.smt2 index 237d5b144..a8a5234a0 100644 --- a/test/regress/regress0/arith/arith-tighten-1.smt2 +++ b/test/regress/regress0/arith/arith-tighten-1.smt2 @@ -1,17 +1,19 @@ -; COMMAND-LINE: --no-check-unsat-cores --no-check-proofs +; COMMAND-LINE: --no-check-unsat-cores ; EXPECT: unsat (set-logic QF_LIRA) -(declare-fun n () Int) +(declare-fun i () Int) +(declare-fun j () Int) +(declare-fun x () Real) +(declare-fun y () Real) -; tests tightenings of the form [Int] >= r to [Int] >= ceiling(r) -; where r is a real. -(assert - (and - (>= n 1.5) - (<= n 1.9) - ) -) + + +(assert (= x y)) +(assert (= x (- 2.5 y))) +(assert (>= (+ i j) x)) +(assert (<= j (+ x 0.5))) +(assert (<= i 0)) (check-sat) |