summaryrefslogtreecommitdiff
path: root/test/regress/regress0/quantifiers
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/quantifiers')
-rw-r--r--test/regress/regress0/quantifiers/horn-ground-pre-post.smt214
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress0/quantifiers/horn-ground-pre-post.smt2 b/test/regress/regress0/quantifiers/horn-ground-pre-post.smt2
new file mode 100644
index 000000000..082df249b
--- /dev/null
+++ b/test/regress/regress0/quantifiers/horn-ground-pre-post.smt2
@@ -0,0 +1,14 @@
+; COMMAND-LINE: --sygus-inference
+; EXPECT: sat
+(set-logic UFLIA)
+(set-info :status sat)
+
+(declare-fun I (Int Int) Bool)
+
+(assert (I 1 0))
+
+(assert (forall ((x Int) (y Int) (xp Int) (yp Int)) (=> (and (I x y) (= xp (+ x 1)) (= yp y)) (I xp yp))))
+
+(assert (not (I 1 1)))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback