summaryrefslogtreecommitdiff
path: root/test/regress/regress0/fmf
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-06-01 15:51:39 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-06-01 15:51:47 -0500
commit6edc4fac0e5c868b6c6bad13ffc9112b16c1d5f5 (patch)
tree2d89d797c3b2cf856be60234013c7dae9efae258 /test/regress/regress0/fmf
parentae5236eeda43ff591b9264d653727d4ae7d1de68 (diff)
Initial infrastructure for bounded set quantification (disabled). Refactoring and fixes for --fmf-bound-int. Fix simple memory leaks in strings and bounded integers.
Diffstat (limited to 'test/regress/regress0/fmf')
-rw-r--r--test/regress/regress0/fmf/Makefile.am3
-rw-r--r--test/regress/regress0/fmf/bound-int-alt.smt218
2 files changed, 20 insertions, 1 deletions
diff --git a/test/regress/regress0/fmf/Makefile.am b/test/regress/regress0/fmf/Makefile.am
index 6e1c6e918..b7daadfd1 100644
--- a/test/regress/regress0/fmf/Makefile.am
+++ b/test/regress/regress0/fmf/Makefile.am
@@ -56,7 +56,8 @@ TESTS = \
ForElimination-scala-9.smt2 \
agree466.smt2 \
LeftistHeap.scala-8-ncm.smt2 \
- sc-crash-052316.smt2
+ sc-crash-052316.smt2 \
+ bound-int-alt.smt2
EXTRA_DIST = $(TESTS)
diff --git a/test/regress/regress0/fmf/bound-int-alt.smt2 b/test/regress/regress0/fmf/bound-int-alt.smt2
new file mode 100644
index 000000000..146487925
--- /dev/null
+++ b/test/regress/regress0/fmf/bound-int-alt.smt2
@@ -0,0 +1,18 @@
+; COMMAND-LINE: --fmf-bound-int
+; EXPECT: sat
+(set-logic UFLIA)
+(set-info :status sat)
+(declare-sort U 0)
+(declare-sort V 0)
+(declare-fun P (U Int V Int U Int) Bool)
+
+(assert (forall ((x U) (y Int) (z V) (w Int) (v U) (d Int)) (=> (and (<= 0 d 1) (<= 2 y 6) (<= 40 w (+ 37 y))) (P x y z w v d))))
+
+(declare-fun a () U)
+(declare-fun b () V)
+
+(assert (not (P a 2 b 40 a 0)))
+(assert (not (P a 6 b 39 a 0)))
+(assert (not (P a 6 b 44 a 0)))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback