summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-08-19 09:35:17 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-08-19 09:35:24 +0200
commit331ec1abc311a6be85eb5adc0ca70f4e3c0c79a2 (patch)
treed6f74f6513d00a91ef0b0cfbedc9e1333de687a9 /test/regress
parent9b9864d639ccf474dedd66c5691c93ca17b670e9 (diff)
Implementation of model-based projection in cbqi, cleanup, add regressions.
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/regress0/quantifiers/Makefile.am4
-rw-r--r--test/regress/regress0/quantifiers/RND-small.smt29
-rw-r--r--test/regress/regress0/quantifiers/clock-10.smt25
3 files changed, 17 insertions, 1 deletions
diff --git a/test/regress/regress0/quantifiers/Makefile.am b/test/regress/regress0/quantifiers/Makefile.am
index eb004c184..092c1548f 100644
--- a/test/regress/regress0/quantifiers/Makefile.am
+++ b/test/regress/regress0/quantifiers/Makefile.am
@@ -51,7 +51,9 @@ TESTS = \
is-even-pred.smt2 \
delta-simp.smt2 \
nested-delta.smt2 \
- nested-inf.smt2
+ nested-inf.smt2 \
+ RND-small.smt2 \
+ clock-10.smt2
diff --git a/test/regress/regress0/quantifiers/RND-small.smt2 b/test/regress/regress0/quantifiers/RND-small.smt2
new file mode 100644
index 000000000..1401e5de8
--- /dev/null
+++ b/test/regress/regress0/quantifiers/RND-small.smt2
@@ -0,0 +1,9 @@
+; COMMAND-LINE: --cbqi-recurse
+; EXPECT: sat
+(set-logic LRA)
+(declare-fun y1 () Real)
+(declare-fun y2 () Real)
+(declare-fun x1 () Real)
+(assert (forall ((?y1 Real)) (exists ((?y2 Real)) (or (and (>= (+ (+ (* 69 ?y2) (* (- 80) ?y1)) (* 48 x1)) (- 77)) (and (not (= (+ (* (- 1) ?y2) (* (- 48) x1)) 0)) (not (= (+ (* 14 ?y1) (* (- 98) x1)) 83)))) (and (and (<= (+ (+ (* (- 95) ?y2) (* 34 ?y1)) (* (- 54) x1)) 51) (= (+ (+ (* 27 ?y2) (* (- 17) ?y1)) (* 75 x1)) 24)) (not (= (+ (* (- 96) ?y1) (* 90 x1)) (- 39))))))))
+(check-sat)
+(exit)
diff --git a/test/regress/regress0/quantifiers/clock-10.smt2 b/test/regress/regress0/quantifiers/clock-10.smt2
new file mode 100644
index 000000000..6a55b50e1
--- /dev/null
+++ b/test/regress/regress0/quantifiers/clock-10.smt2
@@ -0,0 +1,5 @@
+(set-logic LIA)
+(set-info :status unsat)
+(declare-fun t () Int)
+(assert (forall ((s Int) (m Int)) (or (not (= (+ (* 10 m) s) t)) (< s 0) (>= s 10))))
+(check-sat) \ No newline at end of file
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback