summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/term_database.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2014-08-29 16:06:50 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2014-08-29 16:06:50 +0200
commite9fb730333b2719cddaa0a9209aa7953d7f30b0b (patch)
treeda178be240ac8121635bed7cdfde8c58449e65a5 /src/theory/quantifiers/term_database.cpp
parent4397bf2a96fabe124ebd18e9ae9957689852afb3 (diff)
Set instantiation level on skolemized bodies of quantifiers. Rename inst-level attribute to quant-inst-max-level
Diffstat (limited to 'src/theory/quantifiers/term_database.cpp')
-rw-r--r--src/theory/quantifiers/term_database.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/quantifiers/term_database.cpp b/src/theory/quantifiers/term_database.cpp
index 5cc79b9b6..cf68c198e 100644
--- a/src/theory/quantifiers/term_database.cpp
+++ b/src/theory/quantifiers/term_database.cpp
@@ -685,6 +685,10 @@ Node TermDb::mkSkolemizedBody( Node f, Node n, std::vector< TypeNode >& argTypes
ret = NodeManager::currentNM()->mkNode( OR, nret, n_str_ind );
}
Trace("quantifiers-sk") << "mkSkolem body for " << f << " returns : " << ret << std::endl;
+ //if it has an instantiation level, set the skolemized body to that level
+ if( f.hasAttribute(InstLevelAttribute()) ){
+ theory::QuantifiersEngine::setInstantiationLevelAttr( ret, f.getAttribute(InstLevelAttribute()) );
+ }
return ret;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback