summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/equality_query.cpp
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/equality_query.cpp
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/equality_query.cpp')
-rw-r--r--src/theory/quantifiers/equality_query.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/theory/quantifiers/equality_query.cpp b/src/theory/quantifiers/equality_query.cpp
index c60c98d70..def27fe5a 100644
--- a/src/theory/quantifiers/equality_query.cpp
+++ b/src/theory/quantifiers/equality_query.cpp
@@ -172,11 +172,6 @@ int EqualityQueryQuantifiersEngine::getRepScore(Node n,
return -2;
}else if( !n.getType().isSubtypeOf( v_tn ) ){ //reject if incorrect type
return -2;
- }
- else if (options::lteRestrictInstClosure()
- && (!d_tdb->isInstClosure(n) || !d_tdb->hasTermCurrent(n, false)))
- {
- return -1;
}else if( options::instMaxLevel()!=-1 ){
//score prefer lowest instantiation level
if( n.hasAttribute(InstLevelAttribute()) ){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback