summaryrefslogtreecommitdiff
path: root/src/theory/rewriter.cpp
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2012-06-14 01:08:11 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2012-06-14 01:08:11 +0000
commitdd713fdbc16b07adc8011dea09b53fb3bc168662 (patch)
treecc58788ed58fd86c5aaa58c0fafa2bbb0f8b6567 /src/theory/rewriter.cpp
parent1267706e0c508ada17d75c07c4606eb108ae5309 (diff)
* removing rewriteEquality from the rewriter
* theories now get either an assertion from the SAT solver (normalized) or an (dis-)equality between two shared terms that is non-normalized
Diffstat (limited to 'src/theory/rewriter.cpp')
-rw-r--r--src/theory/rewriter.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/theory/rewriter.cpp b/src/theory/rewriter.cpp
index e0b1458fb..8c20c84c1 100644
--- a/src/theory/rewriter.cpp
+++ b/src/theory/rewriter.cpp
@@ -64,15 +64,6 @@ Node Rewriter::rewrite(TNode node) {
return rewriteTo(theory::Theory::theoryOf(node), node);
}
-Node Rewriter::rewriteEquality(theory::TheoryId theoryId, TNode node) {
- Assert(node.getKind() == kind::EQUAL);
- Trace("rewriter") << "Rewriter::rewriteEquality(" << theoryId << "," << node << ")"<< std::endl;
- Node result = Rewriter::callRewriteEquality(theoryId, node);
- Trace("rewriter") << "Rewriter::rewriteEquality(" << theoryId << "," << node << ") => " << result << std::endl;
- Assert(result.getKind() == kind::EQUAL || result.isConst());
- return result;
-}
-
Node Rewriter::rewriteTo(theory::TheoryId theoryId, Node node) {
#ifdef CVC4_ASSERTIONS
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback