diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-08 12:29:58 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 12:29:58 -0600 |
commit | 57919ba7271a6c2b36173f2ba0f580b84f962b1b (patch) | |
tree | 492fb2ae81e3e29e5ee08a36300a878671d0175f /src/theory/quantifiers/ematching | |
parent | 2ee190b7b4ead29ef34e3eb115457ff3e21afbab (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.cpp | 3 |
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)) |