diff options
author | Guy <katz911@gmail.com> | 2016-07-15 16:48:25 -0700 |
---|---|---|
committer | Guy <katz911@gmail.com> | 2016-07-15 16:48:25 -0700 |
commit | 378475e685d514ec47347a9f27a2825391f9b207 (patch) | |
tree | 520757bb2da753201e7e643bc47d1a116edf0ef3 /src/proof/lemma_proof.h | |
parent | c0af8cf1c1e3edca35bb7ae4edf1831ebdee0abd (diff) |
The ProofManager now allows theory solvers to get their lemmas that participate in the unsat cores.
Currently this is only limited to lemmas generated via the d_out->lemma() interface, i.e. no propagations
and conflict lemmas.
Diffstat (limited to 'src/proof/lemma_proof.h')
-rw-r--r-- | src/proof/lemma_proof.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/proof/lemma_proof.h b/src/proof/lemma_proof.h index e96ff5337..9c838cee7 100644 --- a/src/proof/lemma_proof.h +++ b/src/proof/lemma_proof.h @@ -51,6 +51,10 @@ public: bool wasRewritten(Node assertion) const; Node getExplanation(Node assertion) const; + //* Original lemma */ + void setOriginalLemma(Node lemma); + Node getOriginalLemma() const; + //* Proof Steps */ void addStep(ProofStep& proofStep); const ProofStep* getStep(unsigned index) const; @@ -72,6 +76,9 @@ private: //* A map from assertions to their rewritten explanations (toAssert --> toExplain) */ std::map<Node, Node> d_assertionToExplanation; + + //* The original lemma, as asserted by the owner theory solver */ + Node d_originalLemma; }; } /* CVC4 namespace */ |