Disabled donePPSimpITE when unsat-cores are enabled (fixes bug648)
authorLiana Hadarean <lianahady@gmail.com>
Wed, 7 Oct 2015 16:02:05 +0000 (17:02 +0100)
committerLiana Hadarean <lianahady@gmail.com>
Wed, 7 Oct 2015 16:02:05 +0000 (17:02 +0100)
src/theory/theory_engine.cpp

index 48f8b257c9376247996b9d1daae1e821fdffcf55..b5a2a1390b5db97a06360166ac5ec687b1118d99 100644 (file)
@@ -1559,6 +1559,12 @@ Node TheoryEngine::ppSimpITE(TNode assertion)
 }
 
 bool TheoryEngine::donePPSimpITE(std::vector<Node>& assertions){
+  // This pass does not support dependency tracking yet
+  // (learns substitutions from all assertions so just
+  // adding addDependence is not enough)
+  if (options::unsatCores()) {
+    return true;
+  }
   bool result = true;
   bool simpDidALotOfWork = d_iteUtilities->simpIteDidALotOfWorkHeuristic();
   if(simpDidALotOfWork){