summaryrefslogtreecommitdiff
path: root/src/proof/sat_proof.h
diff options
context:
space:
mode:
authorlianah <lianahady@gmail.com>2013-10-09 15:48:42 -0400
committerlianah <lianahady@gmail.com>2013-10-09 15:48:42 -0400
commit44485520fae92b34e4385d4d2c4774c9dd7d0dc0 (patch)
tree6a3608afa6276e11e1a72504c439a4991e9dea41 /src/proof/sat_proof.h
parent08c8433e4ab849024930a8c4dbe8756e13d08099 (diff)
cleaned up proof code
Diffstat (limited to 'src/proof/sat_proof.h')
-rw-r--r--src/proof/sat_proof.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/proof/sat_proof.h b/src/proof/sat_proof.h
index c4936fd88..362a9fb90 100644
--- a/src/proof/sat_proof.h
+++ b/src/proof/sat_proof.h
@@ -27,7 +27,7 @@
#include <ext/hash_set>
#include <sstream>
#include "expr/expr.h"
-
+#include "proof/proof_manager.h"
namespace Minisat {
class Solver;
@@ -49,7 +49,6 @@ namespace CVC4 {
void printDebug(::Minisat::Lit l);
void printDebug(::Minisat::Clause& c);
-typedef int ClauseId;
struct ResStep {
::Minisat::Lit lit;
ClauseId id;
@@ -104,12 +103,6 @@ public:
};/* class ProofProxy */
-enum ClauseKind {
- INPUT,
- THEORY_LEMMA,
- LEARNT
-};
-
class CnfProof;
class SatProof {
@@ -254,11 +247,8 @@ protected:
inline std::string clauseName(ClauseId id);
void collectClauses(ClauseId id);
- CnfProof* d_cnfProof;
- CnfProof* getCnfProof();
- void addClauseToCnfProof(ClauseId id, ClauseKind kind);
+ void addToProofManager(ClauseId id, ClauseKind kind);
public:
- void setCnfProof(CnfProof* cnfProof);
virtual void printResolutions(std::ostream& out, std::ostream& paren) = 0;
};/* class SatProof */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback