diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-08 16:50:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 16:50:16 -0600 |
commit | c198f374972e62db0cebc93d3977fd1e414f431b (patch) | |
tree | f1180a7bda884d5c91a4bd64044ada8eadaaf333 /src/theory/quantifiers/quant_util.h | |
parent | ca9705cf0785e3a81fc25995df0bc3dc76e3bd9f (diff) |
Use quantifiers inference manager for lemma management (#5867)
Towards eliminating dependencies on quantifiers engine.
This replaces the custom implementation of lemma management in quantifiers engine with the standard one.
It makes a few minor changes to the standard inference manager classes to ensure the same behavior for quantifiers.
Note that some minor changes in behavior are introduced in this PR, such as being more consistent about caching/rewriting lemmas. This should not have any major impact.
Diffstat (limited to 'src/theory/quantifiers/quant_util.h')
-rw-r--r-- | src/theory/quantifiers/quant_util.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/quantifiers/quant_util.h b/src/theory/quantifiers/quant_util.h index 9037e94fa..551143e40 100644 --- a/src/theory/quantifiers/quant_util.h +++ b/src/theory/quantifiers/quant_util.h @@ -185,10 +185,10 @@ public: QuantifiersUtil(){} virtual ~QuantifiersUtil(){} /* reset - * Called at the beginning of an instantiation round - * Returns false if the reset failed. When reset fails, the utility should have - * added a lemma via a call to qe->addLemma. TODO: improve this contract #1163 - */ + * Called at the beginning of an instantiation round + * Returns false if the reset failed. When reset fails, the utility should + * have added a lemma via a call to d_qim.addPendingLemma. + */ virtual bool reset( Theory::Effort e ) = 0; /* Called for new quantifiers */ virtual void registerQuantifier(Node q) = 0; |