summaryrefslogtreecommitdiff
path: root/src/prop/prop_engine.cpp
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2011-08-17 15:20:19 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2011-08-17 15:20:19 +0000
commit32e1d3558f17d12f2631175776209a5f8cabbdd9 (patch)
treeebc20658d5375b17f13b5c83d3dc7ee078029f96 /src/prop/prop_engine.cpp
parent41dc1b3685b9258660dab571f8f8b56deb0fb095 (diff)
new implementation of lemmas on demand
comparison <http://goedel.cims.nyu.edu/regress-results/compare_jobs.php?job_id=2673&&p=5&reference_id=2637>
Diffstat (limited to 'src/prop/prop_engine.cpp')
-rw-r--r--src/prop/prop_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prop/prop_engine.cpp b/src/prop/prop_engine.cpp
index 3aa014782..046e4ef7e 100644
--- a/src/prop/prop_engine.cpp
+++ b/src/prop/prop_engine.cpp
@@ -86,7 +86,7 @@ void PropEngine::assertFormula(TNode node) {
d_cnfStream->convertAndAssert(d_theoryEngine->preprocess(node), false, false);
}
-void PropEngine::assertLemma(TNode node) {
+void PropEngine::assertLemma(TNode node, bool negated, bool removable) {
//Assert(d_inCheckSat, "Sat solver should be in solve()!");
Debug("prop::lemmas") << "assertLemma(" << node << ")" << endl;
@@ -102,7 +102,7 @@ void PropEngine::assertLemma(TNode node) {
//TODO This comment is now false
// Assert as removable
- d_cnfStream->convertAndAssert(node, true, false);
+ d_cnfStream->convertAndAssert(node, removable, negated);
}
void PropEngine::printSatisfyingAssignment(){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback