summaryrefslogtreecommitdiff
path: root/src/proof/proof_manager.cpp
diff options
context:
space:
mode:
authorAlex Ozdemir <aozdemir@hmc.edu>2018-12-06 18:56:56 -0800
committerGitHub <noreply@github.com>2018-12-06 18:56:56 -0800
commit14fc21fc1101587810e64b0ed78ce03622e2939d (patch)
treea01dd53fd0598b18b46654757a0c4df7b99933fb /src/proof/proof_manager.cpp
parent63fb4e8c33db706589fe41476c4d3358fb47164e (diff)
Enable BV proofs when using an eager bitblaster (#2733)
* Enable BV proofs when using and eager bitblaster Specifically: * Removed assertions that blocked them. * Made sure that only bitvectors were stored in the BV const let-map * Prevented true/false from being bit-blasted by the eager bitblaster Also: * uncommented "no-check-proofs" from relevant tests * Option handler logic for BV proofs BV eager proofs only work when minisat is the sat solver being used by the BV theory. Added logic to the --proof hanlder to verify this or throw an option exception. * Bugfix for proof options handler I forgot that proofEnabledBuild runs even if the --proof option is negated. In my handler I now check that proofs are enabled. * Clang-format
Diffstat (limited to 'src/proof/proof_manager.cpp')
-rw-r--r--src/proof/proof_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/proof/proof_manager.cpp b/src/proof/proof_manager.cpp
index 5b26432dd..9878972bf 100644
--- a/src/proof/proof_manager.cpp
+++ b/src/proof/proof_manager.cpp
@@ -559,8 +559,6 @@ void LFSCProof::toStream(std::ostream& out, const ProofLetMap& map) const
void LFSCProof::toStream(std::ostream& out) const
{
- Assert(options::bitblastMode() != theory::bv::BITBLAST_MODE_EAGER);
-
Assert(!d_satProof->proofConstructed());
d_satProof->constructProof();
@@ -730,6 +728,7 @@ void LFSCProof::toStream(std::ostream& out) const
d_theoryProof->printTheoryLemmas(used_lemmas, out, paren, globalLetMap);
Debug("pf::pm") << "Proof manager: printing theory lemmas DONE!" << std::endl;
+ out << ";; Printing final unsat proof \n";
if (options::bitblastMode() == theory::bv::BITBLAST_MODE_EAGER && ProofManager::getBitVectorProof()) {
proof::LFSCProofPrinter::printResolutionEmptyClause(
ProofManager::getBitVectorProof()->getSatProof(), out, paren);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback