diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-05-30 15:34:05 -0500 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2018-05-30 13:34:05 -0700 |
commit | eb733c1a2c806b34abcdf0d8497fa579f2b1e66e (patch) | |
tree | a67b50d23afa90f8f8b47f7bbb8ad70b310a4fc1 /src/theory/quantifiers/ematching | |
parent | 551a914cf9c09353712089bb0d7ad33b56adcc3f (diff) |
Fixes for quantifiers + incremental (#2009)
Diffstat (limited to 'src/theory/quantifiers/ematching')
-rw-r--r-- | src/theory/quantifiers/ematching/instantiation_engine.cpp | 3 | ||||
-rw-r--r-- | src/theory/quantifiers/ematching/instantiation_engine.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/quantifiers/ematching/instantiation_engine.cpp b/src/theory/quantifiers/ematching/instantiation_engine.cpp index 184add8c3..bd95b316d 100644 --- a/src/theory/quantifiers/ematching/instantiation_engine.cpp +++ b/src/theory/quantifiers/ematching/instantiation_engine.cpp @@ -157,7 +157,8 @@ bool InstantiationEngine::checkCompleteFor( Node q ) { return false; } -void InstantiationEngine::preRegisterQuantifier( Node q ) { +void InstantiationEngine::checkOwnership(Node q) +{ if( options::strictTriggers() && q.getNumChildren()==3 ){ //if strict triggers, take ownership of this quantified formula bool hasPat = false; diff --git a/src/theory/quantifiers/ematching/instantiation_engine.h b/src/theory/quantifiers/ematching/instantiation_engine.h index 32ddb19ed..e4cb986da 100644 --- a/src/theory/quantifiers/ematching/instantiation_engine.h +++ b/src/theory/quantifiers/ematching/instantiation_engine.h @@ -81,7 +81,7 @@ class InstantiationEngine : public QuantifiersModule { void reset_round(Theory::Effort e) override; void check(Theory::Effort e, QEffort quant_e) override; bool checkCompleteFor(Node q) override; - void preRegisterQuantifier(Node q) override; + void checkOwnership(Node q) override; void registerQuantifier(Node q) override; Node explain(TNode n) { return Node::null(); } /** add user pattern */ |