diff options
author | Tim King <taking@cs.nyu.edu> | 2012-09-29 07:19:28 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-09-29 07:19:28 +0000 |
commit | 7667b8e139cba6024ebb5e25e280cb15ce1af51a (patch) | |
tree | 4f7d5a14bdee423a712ac4220690ce92cc1b5a54 /src/theory/arith/arith_utilities.h | |
parent | 589bf879f00d2d8df4ccdaf3db28674ce3639512 (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.h | 6 |
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){ |