summaryrefslogtreecommitdiff
path: root/test/regress/regress1/quantifiers/horn-simple.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/quantifiers/horn-simple.smt2')
-rw-r--r--test/regress/regress1/quantifiers/horn-simple.smt213
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/regress1/quantifiers/horn-simple.smt2 b/test/regress/regress1/quantifiers/horn-simple.smt2
new file mode 100644
index 000000000..a27d8e0d6
--- /dev/null
+++ b/test/regress/regress1/quantifiers/horn-simple.smt2
@@ -0,0 +1,13 @@
+; COMMAND-LINE: --sygus-unif --sygus-infer
+; EXPECT: sat
+(set-logic UFLIA)
+(set-info :status sat)
+(declare-fun I (Int) Bool)
+
+(assert (forall ((x Int)) (=> (= x 0) (I x))))
+
+(assert (forall ((x Int)) (=> (and (I x) (< x 1)) (I (+ x 1)))))
+
+(assert (forall ((x Int)) (=> (I x) (<= x 10))))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback