summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/ematching
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-02-08 12:29:58 -0600
committerGitHub <noreply@github.com>2021-02-08 12:29:58 -0600
commit57919ba7271a6c2b36173f2ba0f580b84f962b1b (patch)
tree492fb2ae81e3e29e5ee08a36300a878671d0175f /src/theory/quantifiers/ematching
parent2ee190b7b4ead29ef34e3eb115457ff3e21afbab (diff)
Remove support for inst closure (#5874)
This was a feature implemented for "Deciding Local Theory Extensions via E-matching" CAV 2015 that is not used anymore, and will be a burden to maintain further with potential changes to term database. It also simplifies the TermDatabase::addTerm method (which changed indentation).
Diffstat (limited to 'src/theory/quantifiers/ematching')
-rw-r--r--src/theory/quantifiers/ematching/candidate_generator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/ematching/candidate_generator.cpp b/src/theory/quantifiers/ematching/candidate_generator.cpp
index 97693fae0..eb02eb19e 100644
--- a/src/theory/quantifiers/ematching/candidate_generator.cpp
+++ b/src/theory/quantifiers/ematching/candidate_generator.cpp
@@ -189,7 +189,8 @@ Node CandidateGeneratorQEAll::getNextCandidate() {
if( n.getType().isComparableTo( d_match_pattern_type ) ){
TNode nh = tdb->getEligibleTermInEqc(n);
if( !nh.isNull() ){
- if( options::instMaxLevel()!=-1 || options::lteRestrictInstClosure() ){
+ if (options::instMaxLevel() != -1)
+ {
nh = d_qe->getInternalRepresentative( nh, d_f, d_index );
//don't consider this if already the instantiation is ineligible
if (!nh.isNull() && !tdb->isTermEligibleForInstantiation(nh, d_f))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback