summaryrefslogtreecommitdiff
path: root/src/theory/arith/arith_utilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/arith_utilities.h')
-rw-r--r--src/theory/arith/arith_utilities.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/arith/arith_utilities.h b/src/theory/arith/arith_utilities.h
index 6ac2338f3..427ebbbd3 100644
--- a/src/theory/arith/arith_utilities.h
+++ b/src/theory/arith/arith_utilities.h
@@ -45,7 +45,13 @@ inline Node mkBoolNode(bool b){
return NodeManager::currentNM()->mkConst<bool>(b);
}
+inline Node mkIntSkolem(const std::string& name){
+ return NodeManager::currentNM()->mkSkolem(name, NodeManager::currentNM()->integerType());
+}
+inline Node mkRealSkolem(const std::string& name){
+ return NodeManager::currentNM()->mkSkolem(name, NodeManager::currentNM()->realType());
+}
/** \f$ k \in {LT, LEQ, EQ, GEQ, GT} \f$ */
inline bool isRelationOperator(Kind k){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback