summaryrefslogtreecommitdiff
path: root/src/theory/strings/theory_strings.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-08-15 06:06:28 -0500
committerGitHub <noreply@github.com>2020-08-15 06:06:28 -0500
commit3b230077d51c8445328f0b5d5ff94bbd988d1c83 (patch)
tree70d9eb305857c3c36d71cf42382bee7a6633b908 /src/theory/strings/theory_strings.cpp
parent42cd0a7bcbe993870d76d8cc9db7acc0a9ae70f9 (diff)
(proof-new) Add the strings proof checker (#4858)
It also adds enumeration for two new rules that have been recently added.
Diffstat (limited to 'src/theory/strings/theory_strings.cpp')
-rw-r--r--src/theory/strings/theory_strings.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/strings/theory_strings.cpp b/src/theory/strings/theory_strings.cpp
index 54c4759a8..142b0006b 100644
--- a/src/theory/strings/theory_strings.cpp
+++ b/src/theory/strings/theory_strings.cpp
@@ -97,6 +97,13 @@ TheoryStrings::TheoryStrings(context::Context* c,
d_false = NodeManager::currentNM()->mkConst( false );
d_cardSize = utils::getAlphabetCardinality();
+
+ ProofChecker* pc = pnm != nullptr ? pnm->getChecker() : nullptr;
+ if (pc != nullptr)
+ {
+ // add checkers
+ d_sProofChecker.registerTo(pc);
+ }
}
TheoryStrings::~TheoryStrings() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback