summaryrefslogtreecommitdiff
path: root/src/prop/theory_proxy.h
diff options
context:
space:
mode:
authorHaniel Barbosa <hanielbbarbosa@gmail.com>2020-09-28 17:38:59 -0300
committerGitHub <noreply@github.com>2020-09-28 17:38:59 -0300
commitd4564e7ef8eb277fcfc42c3130a3180165594b58 (patch)
tree849dc6284bcf3879899aca6964da5a5e415faae9 /src/prop/theory_proxy.h
parent0f77646dfc0944f1f17f121ffb3112bf8b244f76 (diff)
[proof-new] Adds a proof manager for the SAT solver (#5140)
Tracks the refutation proof built by Minisat. See the header for extensive explanations. This commit also adds a few dependencies for the SAT proof manager to work (making it a friend of the SAT solver, getting the cnf stream from theory proxy, having lazy cdproof chain give all the links).
Diffstat (limited to 'src/prop/theory_proxy.h')
-rw-r--r--src/prop/theory_proxy.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/prop/theory_proxy.h b/src/prop/theory_proxy.h
index 7a6f16ff0..e16728d0d 100644
--- a/src/prop/theory_proxy.h
+++ b/src/prop/theory_proxy.h
@@ -88,6 +88,8 @@ class TheoryProxy
SatValue getDecisionPolarity(SatVariable var);
+ CnfStream* getCnfStream();
+
private:
/** The prop engine we are using. */
PropEngine* d_propEngine;
@@ -109,8 +111,7 @@ class TheoryProxy
* all imported and exported lemmas.
*/
std::unordered_set<Node, NodeHashFunction> d_shared;
-
-}; /* class SatSolver */
+}; /* class TheoryProxy */
}/* CVC4::prop namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback