summaryrefslogtreecommitdiff
path: root/src/theory/theory_preprocessor.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-03-11 03:21:06 -0600
committerGitHub <noreply@github.com>2021-03-11 09:21:06 +0000
commit71e843a8e9e88fc739aaa5a4a5d608004648fafa (patch)
tree6f18912dfcb230139bbb6bdb68b38400d23d7eff /src/theory/theory_preprocessor.cpp
parent223155cfb300458f534f4be6b88e5fdc17b0ff14 (diff)
(proof-new) Clean up uses of witness with skolem lemmas (#6109)
This ensures we do not return WITNESS terms in response to ppRewrite. This makes standard utility methods in SkolemLemma to help make this easy. It also removes TheorySetsPrivate::expandDefinitions, which was returning WITNESS in response to expandDefinitions, which is no longer permitted.
Diffstat (limited to 'src/theory/theory_preprocessor.cpp')
-rw-r--r--src/theory/theory_preprocessor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/theory_preprocessor.cpp b/src/theory/theory_preprocessor.cpp
index ea4b0f82f..a9e16f48f 100644
--- a/src/theory/theory_preprocessor.cpp
+++ b/src/theory/theory_preprocessor.cpp
@@ -204,13 +204,14 @@ TrustNode TheoryPreprocessor::preprocessLemmaInternal(
{
Assert(d_lp != nullptr);
// add the original proof to the lazy proof
- d_lp->addLazyStep(node.getProven(), node.getGenerator());
+ d_lp->addLazyStep(
+ node.getProven(), node.getGenerator(), PfRule::THEORY_PREPROCESS_LEMMA);
// only need to do anything if lemmap changed in a non-trivial way
if (!CDProof::isSame(lemmap, lemma))
{
d_lp->addLazyStep(tplemma.getProven(),
tplemma.getGenerator(),
- PfRule::PREPROCESS_LEMMA,
+ PfRule::THEORY_PREPROCESS,
true,
"TheoryEngine::lemma_pp");
// ---------- from node -------------- from theory preprocess
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback