std::shared_ptr<ProofNode> apf = getProofFor(f);
if (apf != nullptr)
{
- if (Trace.isOn("pfgen"))
- {
- std::stringstream ss;
- apf->printDebug(ss);
- Trace("pfgen") << "...got proof " << ss.str() << std::endl;
- }
+ Trace("pfgen") << "...got proof " << *apf.get() << std::endl;
// Add the proof, without deep copying.
if (pf->addProof(apf, opolicy, false))
{
Node d_proven;
};
+/**
+ * Serializes a given proof node to the given stream.
+ *
+ * @param out the output stream to use
+ * @param pn the proof node to output to the stream
+ * @return the stream
+ */
+std::ostream& operator<<(std::ostream& out, const ProofNode& pn);
+
} // namespace CVC4
#endif /* CVC4__EXPR__PROOF_NODE_H */