diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-06-14 01:08:11 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-06-14 01:08:11 +0000 |
commit | dd713fdbc16b07adc8011dea09b53fb3bc168662 (patch) | |
tree | cc58788ed58fd86c5aaa58c0fafa2bbb0f8b6567 /src/theory/rewriter.cpp | |
parent | 1267706e0c508ada17d75c07c4606eb108ae5309 (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.cpp | 9 |
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 |