diff options
author | guykatzz <katz911@gmail.com> | 2016-08-09 14:17:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-09 14:17:23 -0700 |
commit | 841acca266b026c9c1d20cb1adf0e73da15a0c10 (patch) | |
tree | aa0f18a91c7e9fa66064fbe04193e7b431229acc /src/proof/theory_proof.cpp | |
parent | bd284aa3cbe8960937e8ed8f140b12b3f5a446d3 (diff) | |
parent | d0610224d0eeab12fd4f779e01b5fdd36c57b304 (diff) |
Merge pull request #89 from 4tXJ7f/fix_proof_spaces
Fix missing/redundant spaces in proofs
Diffstat (limited to 'src/proof/theory_proof.cpp')
-rw-r--r-- | src/proof/theory_proof.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/proof/theory_proof.cpp b/src/proof/theory_proof.cpp index 8aefaae45..d29fc8615 100644 --- a/src/proof/theory_proof.cpp +++ b/src/proof/theory_proof.cpp @@ -861,6 +861,7 @@ void LFSCTheoryProofEngine::printCoreTerm(Expr term, std::ostream& os, const Pro os << "("; os << "= "; printSort(term[0].getType(), os); + os << " "; printBoundTerm(term[0], os, map); os << " "; printBoundTerm(term[1], os, map); @@ -874,6 +875,7 @@ void LFSCTheoryProofEngine::printCoreTerm(Expr term, std::ostream& os, const Pro if (term.getNumChildren() == 2) { os << "(not (= "; printSort(term[0].getType(), os); + os << " "; printBoundTerm(term[0], os, map); os << " "; printBoundTerm(term[1], os, map); @@ -889,6 +891,7 @@ void LFSCTheoryProofEngine::printCoreTerm(Expr term, std::ostream& os, const Pro if ((i != 0) || (j != 1)) { os << "(not (= "; printSort(term[0].getType(), os); + os << " "; printBoundTerm(term[i], os, map); os << " "; printBoundTerm(term[j], os, map); @@ -896,6 +899,7 @@ void LFSCTheoryProofEngine::printCoreTerm(Expr term, std::ostream& os, const Pro } else { os << "(not (= "; printSort(term[0].getType(), os); + os << " "; printBoundTerm(term[0], os, map); os << " "; printBoundTerm(term[1], os, map); |