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/inst_strategy_enumerative.cpp | |
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/inst_strategy_enumerative.cpp')
-rw-r--r-- | src/theory/quantifiers/inst_strategy_enumerative.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/inst_strategy_enumerative.cpp b/src/theory/quantifiers/inst_strategy_enumerative.cpp index f22e67815..1b011481b 100644 --- a/src/theory/quantifiers/inst_strategy_enumerative.cpp +++ b/src/theory/quantifiers/inst_strategy_enumerative.cpp @@ -77,7 +77,7 @@ void InstStrategyEnum::check(Theory::Effort e, QEffort quant_e) if (options::fullSaturateInterleave()) { // we only add when interleaved with other strategies - doCheck = quant_e == QEFFORT_STANDARD && d_quantEngine->hasAddedLemma(); + doCheck = quant_e == QEFFORT_STANDARD && d_qim.hasPendingLemma(); } if (options::fullSaturateQuant() && !doCheck) { |