summaryrefslogtreecommitdiff
path: root/test/regress/regress0/nl/nta/shifting.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/nl/nta/shifting.smt2')
-rw-r--r--test/regress/regress0/nl/nta/shifting.smt220
1 files changed, 20 insertions, 0 deletions
diff --git a/test/regress/regress0/nl/nta/shifting.smt2 b/test/regress/regress0/nl/nta/shifting.smt2
new file mode 100644
index 000000000..320c92d58
--- /dev/null
+++ b/test/regress/regress0/nl/nta/shifting.smt2
@@ -0,0 +1,20 @@
+; COMMAND-LINE: --nl-ext --nl-ext-tplanes
+; EXPECT: sat
+(set-logic QF_NIRA)
+(set-info :status sat)
+(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 (* 2 pi s)))
+
+(assert (> z 60))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback