summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index ecf1e2961..cd70fde0f 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -24,6 +24,7 @@
#include <set>
#include <string>
+#include "api/cvc4cpp.h"
#include "expr/expr.h"
#include "expr/expr_stream.h"
#include "expr/kind.h"
@@ -677,6 +678,16 @@ public:
*/
Expr mkHoApply(Expr expr, std::vector<Expr>& args);
+ /** make chain
+ *
+ * Given a kind k and argument terms t_1, ..., t_n, this returns the
+ * conjunction of:
+ * (k t_1 t_2) .... (k t_{n-1} t_n)
+ * It is expected that k is a kind denoting a predicate, and args is a list
+ * of terms of size >= 2 such that the terms above are well-typed.
+ */
+ api::Term mkChain(api::Kind k, const std::vector<api::Term>& args);
+
/**
* Add an operator to the current legal set.
*
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback