summaryrefslogtreecommitdiff
path: root/src/theory/theory.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-09-23 19:56:01 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2013-09-23 19:57:59 -0400
commit5d1f359e22927f2bec78ba6a407485f65bc6ae0b (patch)
tree6054d3a41eaeae7709581b86ae8aabdaccd258c9 /src/theory/theory.cpp
parent9775bced75843c6f01e9524c2d0e7021535e3ec0 (diff)
Revert Clark's last commit, at his request; there are some bugs.
This reverts commit 9775bced75843c6f01e9524c2d0e7021535e3ec0.
Diffstat (limited to 'src/theory/theory.cpp')
-rw-r--r--src/theory/theory.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/theory/theory.cpp b/src/theory/theory.cpp
index 9a23d5518..a1a835170 100644
--- a/src/theory/theory.cpp
+++ b/src/theory/theory.cpp
@@ -17,7 +17,6 @@
#include "theory/theory.h"
#include "util/cvc4_assert.h"
#include "theory/quantifiers_engine.h"
-#include "theory/substitutions.h"
#include <vector>
@@ -207,27 +206,5 @@ void Theory::computeRelevantTerms(set<Node>& termSet)
}
-Theory::PPAssertStatus Theory::ppAssert(TNode in, SubstitutionMap& outSubstitutions)
-{
- if (in.getKind() == kind::EQUAL) {
- if (in[0].isVar() && !in[1].hasSubterm(in[0])) {
- outSubstitutions.addSubstitution(in[0], in[1]);
- return PP_ASSERT_STATUS_SOLVED;
- }
- if (in[1].isVar() && !in[0].hasSubterm(in[1])) {
- outSubstitutions.addSubstitution(in[1], in[0]);
- return PP_ASSERT_STATUS_SOLVED;
- }
- if (in[0].isConst() && in[1].isConst()) {
- if (in[0] != in[1]) {
- return PP_ASSERT_STATUS_CONFLICT;
- }
- }
- }
-
- return PP_ASSERT_STATUS_UNSOLVED;
-}
-
-
}/* CVC4::theory namespace */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback