Skip to content

Commit

Permalink
[proofs] Fix tracing in CHAIN_RESOLUTION proof checker
Browse files Browse the repository at this point in the history
  • Loading branch information
HanielB committed Apr 3, 2024
1 parent 9eac613 commit 84e528c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/theory/booleans/proof_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,14 @@ Node BoolProofRuleChecker::checkInternal(ProofRule id,
AlwaysAssert(itrhs != rhsClause.end());
lhsClause.insert(lhsClause.end(), rhsClause.begin(), itrhs);
lhsClause.insert(lhsClause.end(), itrhs + 1, rhsClause.end());
Trace("bool-pfcheck") << "\t.. after rhsClause: " << lhsClause << "\n";
if (TraceIsOn("bool-pfcheck"))
{
std::vector<Node> updatedRhsClause{rhsClause.begin(), itrhs};
updatedRhsClause.insert(
updatedRhsClause.end(), itrhs + 1, rhsClause.end());
Trace("bool-pfcheck")
<< "\t.. after rhsClause: " << updatedRhsClause << "\n";
}
rhsClause.clear();
}
Trace("bool-pfcheck") << "\n resulting clause: " << lhsClause << "\n"
Expand Down

0 comments on commit 84e528c

Please sign in to comment.