diff options
author | Tim King <taking@cs.nyu.edu> | 2010-05-28 20:17:48 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2010-05-28 20:17:48 +0000 |
commit | 7d9d562bb560cb4b83ffaaf94918f834916dad2f (patch) | |
tree | 0ebef47f2ea702d36afe53fb9e82ac31304811be /src/expr | |
parent | 4806691be59909eeaecb0fa652d84e40c966fe2e (diff) |
Moving the ITE removal from CnfStream to TheoryEngine, which is a bit closer to its final destination. Added a basic rewriter to TheoryUF. (x=x rewrites to true.) Added DIVISION to src/expr/node_manager.cpp's getType. Fixed the theory returned for variables in theoryOf() for bool and arith. Fixed TheoryEngine rewrite children to properly handle APPLY_UFs. Removed the special case for equality in TheoryEngine rewrite. A few tests are currently broken due to deallocation errors. Morgan and I will try to commit a fix to this in a little bit.
Diffstat (limited to 'src/expr')
-rw-r--r-- | src/expr/node_manager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expr/node_manager.cpp b/src/expr/node_manager.cpp index 7c8fb229a..a1b5b771f 100644 --- a/src/expr/node_manager.cpp +++ b/src/expr/node_manager.cpp @@ -229,6 +229,9 @@ TypeNode NodeManager::getType(TNode n) throw (TypeCheckingExceptionPrivate) { case kind::UMINUS: typeNode = CVC4::theory::arith::ArithOperatorTypeRule::computeType(this, n); break; + case kind::DIVISION: + typeNode = CVC4::theory::arith::ArithOperatorTypeRule::computeType(this, n); + break; case kind::CONST_RATIONAL: typeNode = CVC4::theory::arith::ArithConstantTypeRule::computeType(this, n); break; |