summaryrefslogtreecommitdiff
path: root/src/theory/combination_care_graph.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-09-09 15:11:01 -0500
committerGitHub <noreply@github.com>2020-09-09 15:11:01 -0500
commit9a939deab1a788b29b573ae7fb72a6088a1d7edf (patch)
treed403a57bac514c9e1320cdc171597c977b952ee0 /src/theory/combination_care_graph.cpp
parent060eedcd5fdb0316d323c4528402034629285b97 (diff)
(proof-new) Generalize single step helper in eager proof generator (#5046)
This allows single step proofs to have premises, closed by a SCOPE. This will be useful for array lemmas.
Diffstat (limited to 'src/theory/combination_care_graph.cpp')
-rw-r--r--src/theory/combination_care_graph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/combination_care_graph.cpp b/src/theory/combination_care_graph.cpp
index c390a4b25..81c3e7816 100644
--- a/src/theory/combination_care_graph.cpp
+++ b/src/theory/combination_care_graph.cpp
@@ -63,15 +63,15 @@ void CombinationCareGraph::combineTheories()
Debug("combineTheories")
<< "TheoryEngine::combineTheories(): requesting a split " << std::endl;
- Node split = equality.orNode(equality.notNode());
TrustNode tsplit;
if (isProofEnabled())
{
// make proof of splitting lemma
- tsplit = d_cmbsPg->mkTrustNode(split, PfRule::SPLIT, {equality});
+ tsplit = d_cmbsPg->mkTrustNodeSplit(equality);
}
else
{
+ Node split = equality.orNode(equality.notNode());
tsplit = TrustNode::mkTrustLemma(split, nullptr);
}
sendLemma(tsplit, carePair.d_theory);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback