summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/skolemize.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-04-14 11:49:50 -0500
committerGitHub <noreply@github.com>2021-04-14 16:49:50 +0000
commitf74bdbd182d95a8e6395aaaf348ca0e41baa3bf4 (patch)
treedd613c05f5633cc9e7b3f17ef8c2f053c7b81ced /src/theory/quantifiers/skolemize.cpp
parent5f6b4f8dd31e21f935c3f4a441af11e18e12d283 (diff)
Add internal API methods for pool-based instantiation (#6350)
Diffstat (limited to 'src/theory/quantifiers/skolemize.cpp')
-rw-r--r--src/theory/quantifiers/skolemize.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/theory/quantifiers/skolemize.cpp b/src/theory/quantifiers/skolemize.cpp
index ece2ce568..90e780c44 100644
--- a/src/theory/quantifiers/skolemize.cpp
+++ b/src/theory/quantifiers/skolemize.cpp
@@ -24,6 +24,7 @@
#include "options/smt_options.h"
#include "theory/quantifiers/quantifiers_attributes.h"
#include "theory/quantifiers/quantifiers_state.h"
+#include "theory/quantifiers/term_registry.h"
#include "theory/quantifiers/term_util.h"
#include "theory/rewriter.h"
#include "theory/sort_inference.h"
@@ -34,8 +35,11 @@ namespace cvc5 {
namespace theory {
namespace quantifiers {
-Skolemize::Skolemize(QuantifiersState& qs, ProofNodeManager* pnm)
+Skolemize::Skolemize(QuantifiersState& qs,
+ TermRegistry& tr,
+ ProofNodeManager* pnm)
: d_qstate(qs),
+ d_treg(tr),
d_skolemized(qs.getUserContext()),
d_pnm(pnm),
d_epg(pnm == nullptr ? nullptr
@@ -91,6 +95,8 @@ TrustNode Skolemize::process(Node q)
lem = nb;
}
d_skolemized[q] = lem;
+ // triggered when skolemizing
+ d_treg.processSkolemization(q, d_skolem_constants[q]);
return TrustNode::mkTrustLemma(lem, pg);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback