summaryrefslogtreecommitdiff
path: root/src/proof
diff options
context:
space:
mode:
authorguykatzz <katz911@gmail.com>2016-10-05 23:39:48 -0700
committerguykatzz <katz911@gmail.com>2016-10-05 23:39:48 -0700
commitedce1662b001dd6f229a25685fb4de6789ff008d (patch)
tree29e1c0dfcaf1994182a8b7f086f23fe83cc1274f /src/proof
parentd19a95344fde1ea1ff7d784b2c4fc6d09f459899 (diff)
Added an option that allow empty dependencies when attempting to minimize preprocessing holes
Diffstat (limited to 'src/proof')
-rw-r--r--src/proof/proof_manager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/proof/proof_manager.cpp b/src/proof/proof_manager.cpp
index 1c9bb0ff0..5ce615366 100644
--- a/src/proof/proof_manager.cpp
+++ b/src/proof/proof_manager.cpp
@@ -272,6 +272,10 @@ void ProofManager::traceDeps(TNode n, ExprSet* coreAssertions) {
} else {
Debug("cores") << " -- NOT IN INPUT CORE LIST!" << std::endl;
if(d_deps.find(n) == d_deps.end()) {
+ if (options::allowEmptyDependencies()) {
+ Debug("cores") << " -- Could not track cause assertion. Failing silently." << std::endl;
+ return;
+ }
InternalError("Cannot trace dependence information back to input assertion:\n`%s'", n.toString().c_str());
}
Assert(d_deps.find(n) != d_deps.end());
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback