d_fullProof(NULL),
d_format(format)
{
- // FIXME this is until it actually has theory references
- initTheoryProof();
}
ProofManager::~ProofManager() {
res->addStep(lit, res_id, !sign(lit));
}
registerResolution(d_emptyClauseId, res);
+ // FIXME: massive hack
+ Proof* proof = ProofManager::getProof();
+ proof->toStream(std::cout);
}
/// CRef manager
#include "prop/theory_proxy.h"
#include "prop/sat_solver.h"
#include "prop/sat_solver_factory.h"
+#include "proof/proof_manager.h"
#include "decision/decision_engine.h"
#include "decision/options.h"
d_decisionEngine->setSatSolver(d_satSolver);
d_decisionEngine->setCnfStream(d_cnfStream);
+ PROOF (ProofManager::currentPM()->initCnfProof(d_cnfStream); );
}
PropEngine::~PropEngine() {
#include "theory/rewriterules/efficient_e_matching.h"
+#include "proof/proof_manager.h"
+
using namespace std;
using namespace CVC4;
StatisticsRegistry::registerStat(&d_combineTheoriesTime);
d_true = NodeManager::currentNM()->mkConst<bool>(true);
d_false = NodeManager::currentNM()->mkConst<bool>(false);
+ PROOF (ProofManager::currentPM()->initTheoryProof(); );
}
TheoryEngine::~TheoryEngine() {