diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-03-17 13:43:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-17 18:43:39 +0000 |
commit | 7e9a4a35084c4e9dcb047a4593dcdf256244bf9b (patch) | |
tree | a09ebd34408bd3c5ae0e6db2579833bcc452f508 /src/theory/quantifiers/quant_split.cpp | |
parent | c21a80e2f9d54596f2b1f993be4dbd271c3651aa (diff) |
Move utilities for inferred bounds on quantifers to own class (#6159)
This also moves some methods from TermEnumeration to QuantifiersBoundInference.
This is required for breaking several cyclic dependencies within quantifiers.
Diffstat (limited to 'src/theory/quantifiers/quant_split.cpp')
-rw-r--r-- | src/theory/quantifiers/quant_split.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/quant_split.cpp b/src/theory/quantifiers/quant_split.cpp index 269a51625..55f3469d2 100644 --- a/src/theory/quantifiers/quant_split.cpp +++ b/src/theory/quantifiers/quant_split.cpp @@ -48,6 +48,7 @@ void QuantDSplit::checkOwnership(Node q) } bool takeOwnership = false; bool doSplit = false; + QuantifiersBoundInference& qbi = d_qreg.getQuantifiersBoundInference(); Trace("quant-dsplit-debug") << "Check split quantified formula : " << q << std::endl; for( unsigned i=0; i<q[0].getNumChildren(); i++ ){ TypeNode tn = q[0][i].getType(); @@ -67,7 +68,7 @@ void QuantDSplit::checkOwnership(Node q) else if (options::quantDynamicSplit() == options::QuantDSplitMode::DEFAULT) { - if (!d_quantEngine->isFiniteBound(q, q[0][i])) + if (!qbi.isFiniteBound(q, q[0][i])) { if (dt.isInterpretedFinite(tn)) { |