summaryrefslogtreecommitdiff
path: root/src/proof/proof_manager.h
diff options
context:
space:
mode:
authorlianah <lianahady@gmail.com>2013-11-05 20:03:49 -0500
committerlianah <lianahady@gmail.com>2013-11-05 20:03:49 -0500
commitad0f78965f23b0994cac6a210650697b9a20cceb (patch)
treeb28418322c642ecf7f3d47ba356c4026c4ece4be /src/proof/proof_manager.h
parent347ac2260da73297776c547f7397b33beb59cf2b (diff)
fixed proof regression script and added a new uf test case
Diffstat (limited to 'src/proof/proof_manager.h')
-rw-r--r--src/proof/proof_manager.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/proof/proof_manager.h b/src/proof/proof_manager.h
index 7642ba776..82a1bd6be 100644
--- a/src/proof/proof_manager.h
+++ b/src/proof/proof_manager.h
@@ -36,6 +36,9 @@ namespace CVC4 {
namespace prop {
class CnfStream;
}
+
+class SmtEngine;
+
typedef int ClauseId;
class Proof;
@@ -91,6 +94,8 @@ class ProofManager {
static bool isInitialized;
ProofManager(ProofFormat format = LFSC);
~ProofManager();
+protected:
+ std::string d_logic;
public:
static ProofManager* currentPM();
// initialization
@@ -98,7 +103,7 @@ public:
static void initCnfProof(CVC4::prop::CnfStream* cnfStream);
static void initTheoryProof();
- static Proof* getProof();
+ static Proof* getProof(SmtEngine* smt);
static SatProof* getSatProof();
static CnfProof* getCnfProof();
static TheoryProof* getTheoryProof();
@@ -131,14 +136,18 @@ public:
static std::string getVarName(prop::SatVariable var);
static std::string getAtomName(prop::SatVariable var);
static std::string getLitName(prop::SatLiteral lit);
+
+ void setLogic(const std::string& logic_string);
+ const std::string getLogic() const { return d_logic; }
};/* class ProofManager */
class LFSCProof : public Proof {
LFSCSatProof* d_satProof;
LFSCCnfProof* d_cnfProof;
- LFSCTheoryProof* d_theoryProof;
+ LFSCTheoryProof* d_theoryProof;
+ SmtEngine* d_smtEngine;
public:
- LFSCProof(LFSCSatProof* sat, LFSCCnfProof* cnf, LFSCTheoryProof* theory);
+ LFSCProof(SmtEngine* smtEngine, LFSCSatProof* sat, LFSCCnfProof* cnf, LFSCTheoryProof* theory);
virtual void toStream(std::ostream& out);
virtual ~LFSCProof() {}
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback