diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-03-10 15:15:26 +0100 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-03-10 15:15:26 +0100 |
commit | 10df4ba0752eb23c76b9aa847e3ad116673a47b6 (patch) | |
tree | f41eec3963b7a9d96c0ea85179227d88ae57f0f6 /src/proof/theory_proof.cpp | |
parent | 8d140a28c76095e148acd64e47b5ca0a92ca09be (diff) |
CNF proofs. Infrastructure for preprocessing proofs. Updates to smt.plf signature. Add regressions.
Diffstat (limited to 'src/proof/theory_proof.cpp')
-rw-r--r-- | src/proof/theory_proof.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/proof/theory_proof.cpp b/src/proof/theory_proof.cpp index 52989d722..6982509b1 100644 --- a/src/proof/theory_proof.cpp +++ b/src/proof/theory_proof.cpp @@ -188,7 +188,6 @@ void LFSCTheoryProof::printTerm(Expr term, std::ostream& os) { } void LFSCTheoryProof::printAssertions(std::ostream& os, std::ostream& paren) { - unsigned counter = 0; ProofManager::assertions_iterator it = ProofManager::currentPM()->begin_assertions(); ProofManager::assertions_iterator end = ProofManager::currentPM()->end_assertions(); @@ -200,10 +199,12 @@ void LFSCTheoryProof::printAssertions(std::ostream& os, std::ostream& paren) { it = ProofManager::currentPM()->begin_assertions(); for (; it != end; ++it) { - os << "(% A" << counter++ << " (th_holds "; + os << "(% A" << ProofManager::currentPM()->getAssertionCounter() << " (th_holds "; printTerm(*it, os); os << ")\n"; paren << ")"; + //store map between assertion and counter + ProofManager::currentPM()->setAssertion( *it ); } } |