summaryrefslogtreecommitdiff
path: root/src/theory/arith/arith_utilities.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-09-29 07:19:28 +0000
committerTim King <taking@cs.nyu.edu>2012-09-29 07:19:28 +0000
commit7667b8e139cba6024ebb5e25e280cb15ce1af51a (patch)
tree4f7d5a14bdee423a712ac4220690ce92cc1b5a54 /src/theory/arith/arith_utilities.h
parent589bf879f00d2d8df4ccdaf3db28674ce3639512 (diff)
This commit add interpretation by lemma for INTS_DIVISION, INTS_MODULUS, and DIVISION. Improves support for non-linear monomials in getEqualityStatus(). Fixes bug 405.
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