summaryrefslogtreecommitdiff
path: root/src/theory/shared_solver_distributed.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-10-02 14:55:31 -0500
committerGitHub <noreply@github.com>2020-10-02 14:55:31 -0500
commit26601663d6cc8fb8613df5a1d253eba8743e57cb (patch)
tree265ff417ff22e609fb03d11ab6032c2af8803346 /src/theory/shared_solver_distributed.cpp
parent7f396917c481de7a57782a5daf31992c37d7d964 (diff)
(proof-new) Make shared solver proof producing (#5169)
This makes the shared terms database use a proof equality engine as a layer on top of its equality engine, analogous to how this done in theories.
Diffstat (limited to 'src/theory/shared_solver_distributed.cpp')
-rw-r--r--src/theory/shared_solver_distributed.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/theory/shared_solver_distributed.cpp b/src/theory/shared_solver_distributed.cpp
index 5975d3dd8..c868ed206 100644
--- a/src/theory/shared_solver_distributed.cpp
+++ b/src/theory/shared_solver_distributed.cpp
@@ -19,8 +19,9 @@
namespace CVC4 {
namespace theory {
-SharedSolverDistributed::SharedSolverDistributed(TheoryEngine& te)
- : SharedSolver(te)
+SharedSolverDistributed::SharedSolverDistributed(TheoryEngine& te,
+ ProofNodeManager* pnm)
+ : SharedSolver(te, pnm)
{
}
@@ -67,7 +68,7 @@ TrustNode SharedSolverDistributed::explain(TNode literal, TheoryId id)
TrustNode texp;
if (id == THEORY_BUILTIN)
{
- // explanation based on the specific solver
+ // explanation using the shared terms database
texp = d_sharedTerms.explain(literal);
Trace("shared-solver")
<< "\tTerm was propagated by THEORY_BUILTIN. Explanation: "
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback