diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-05-22 13:08:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 13:08:31 -0500 |
commit | cdf7aacd6b682645cf1a2bc609db005b2f4dafc7 (patch) | |
tree | cc7d7885d1fed270d6601703a9a03d2501534629 /test/regress/regress1/quantifiers | |
parent | d35a5a1d8072a662aa230319fbfc1611bb918ccf (diff) |
Make sygus infer find function definitions (#1951)
Diffstat (limited to 'test/regress/regress1/quantifiers')
-rw-r--r-- | test/regress/regress1/quantifiers/horn-simple.smt2 | 13 |
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) |