summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quant_split.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-03-17 13:43:39 -0500
committerGitHub <noreply@github.com>2021-03-17 18:43:39 +0000
commit7e9a4a35084c4e9dcb047a4593dcdf256244bf9b (patch)
treea09ebd34408bd3c5ae0e6db2579833bcc452f508 /src/theory/quantifiers/quant_split.cpp
parentc21a80e2f9d54596f2b1f993be4dbd271c3651aa (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.cpp3
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))
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback