summaryrefslogtreecommitdiff
path: root/test/regress/regress1/nl/shifting2.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/nl/shifting2.smt2')
-rw-r--r--test/regress/regress1/nl/shifting2.smt222
1 files changed, 22 insertions, 0 deletions
diff --git a/test/regress/regress1/nl/shifting2.smt2 b/test/regress/regress1/nl/shifting2.smt2
new file mode 100644
index 000000000..c5e805c50
--- /dev/null
+++ b/test/regress/regress1/nl/shifting2.smt2
@@ -0,0 +1,22 @@
+; COMMAND-LINE: --nl-ext
+; EXPECT: unsat
+(set-logic QF_NIRA)
+(set-info :status unsat)
+(declare-fun pi () Real)
+
+(assert (and (< 3.0 pi) (< pi 3.5)))
+
+(declare-fun y () Real)
+(assert (and (< (- pi) y) (< y pi)))
+
+(declare-fun s () Int)
+
+(declare-fun z () Real)
+
+(assert (= z (+ y (* 2 pi s))))
+
+(assert (and (< (- pi) z) (< z pi)))
+
+(assert (not (= z y)))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback