diff options
author | Guy <katz911@gmail.com> | 2016-07-24 22:35:05 -0700 |
---|---|---|
committer | Guy <katz911@gmail.com> | 2016-07-24 22:35:05 -0700 |
commit | 1aa6f7798ff47c3a6af665adb95a6d5266f3c34b (patch) | |
tree | 8632d0906768a9a9f99c8c2ff02e41d8601a9e84 /src/proof/bitvector_proof.cpp | |
parent | 1d07595a25267066a77ffce8216a759be5fbbdde (diff) |
Use letification for the aliasing declarations as well (consequently, print the global let map before the aliasing part)
Diffstat (limited to 'src/proof/bitvector_proof.cpp')
-rw-r--r-- | src/proof/bitvector_proof.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/proof/bitvector_proof.cpp b/src/proof/bitvector_proof.cpp index f557d5063..2da0d5362 100644 --- a/src/proof/bitvector_proof.cpp +++ b/src/proof/bitvector_proof.cpp @@ -656,7 +656,7 @@ void LFSCBitVectorProof::printDeferredDeclarations(std::ostream& os, std::ostrea // Nothing to do here at this point. } -void LFSCBitVectorProof::printAliasingDeclarations(std::ostream& os, std::ostream& paren) { +void LFSCBitVectorProof::printAliasingDeclarations(std::ostream& os, std::ostream& paren, const ProofLetMap &globalLetMap) { // Print "trust" statements to bind complex bv variables to their associated terms ExprToString::const_iterator it = d_assignedAliases.begin(); @@ -673,8 +673,7 @@ void LFSCBitVectorProof::printAliasingDeclarations(std::ostream& os, std::ostrea os << "(trust_f "; os << "(= (BitVec " << utils::getSize(it->first) << ") "; os << "(a_var_bv " << utils::getSize(it->first) << " " << it->second << ") "; - ProofLetMap emptyMap; - d_proofEngine->printBoundTerm(it->first, os, emptyMap); + d_proofEngine->printBoundTerm(it->first, os, globalLetMap); os << ")) "; os << "(\\ "<< d_aliasToBindDeclaration[it->second] << "\n"; paren << "))"; |