diff options
author | Haniel Barbosa <hanielbbarbosa@gmail.com> | 2020-12-24 01:15:40 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-24 01:15:40 -0300 |
commit | e0dfc0a343dfd330f9c8d2a5c1ebd21146366ca9 (patch) | |
tree | 4602faa1f16a2548fe27ad1e7ea6a6a28bec4ee7 /src/theory/quantifiers/instantiate.cpp | |
parent | a539b63c369544ed08a1fa7fa4c8e3d437be3766 (diff) |
[proof-new] Only use old proofs for unsat cores if no proof new (#5725)
Now the old proofs are used for unsat cores only if proofNew is disabled. Later commits will generate unsat cores from the new proofs when requested. Eventually we will compare them and when we confirm the new unsat core generation is better we will delete the old one.
This also does some minor refactoring in some preprocessing. No behavior is changed.
Diffstat (limited to 'src/theory/quantifiers/instantiate.cpp')
-rw-r--r-- | src/theory/quantifiers/instantiate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/instantiate.cpp b/src/theory/quantifiers/instantiate.cpp index fb622452e..7592f22c7 100644 --- a/src/theory/quantifiers/instantiate.cpp +++ b/src/theory/quantifiers/instantiate.cpp @@ -683,7 +683,7 @@ void Instantiate::getInstantiatedQuantifiedFormulas(std::vector<Node>& qs) bool Instantiate::getUnsatCoreLemmas(std::vector<Node>& active_lemmas) { // only if unsat core available - if (options::unsatCores()) + if (options::unsatCores() && !isProofEnabled()) { if (!ProofManager::currentPM()->unsatCoreAvailable()) { |