summaryrefslogtreecommitdiff
path: root/src/theory/uf/ho_extension.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-11-23 11:49:59 -0600
committerGitHub <noreply@github.com>2020-11-23 11:49:59 -0600
commita6c001e078767a2de6f36a2fa1333b98e39a6ec8 (patch)
tree4d3685f39e6e2c0160a7bbcbfa0e07852721db8a /src/theory/uf/ho_extension.cpp
parent2a5a65feac6ce270732f0a4d672e5838f5cd673a (diff)
Change UF ho to ppRewrite instead of expand definition (#5499)
UF uses expandDefinitions to convert fully applied HO_APPLY to APPLY_UF. The more appropriate place to do this is in Theory::ppRewrite.
Diffstat (limited to 'src/theory/uf/ho_extension.cpp')
-rw-r--r--src/theory/uf/ho_extension.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/uf/ho_extension.cpp b/src/theory/uf/ho_extension.cpp
index d7de0a025..66bcbc76f 100644
--- a/src/theory/uf/ho_extension.cpp
+++ b/src/theory/uf/ho_extension.cpp
@@ -36,14 +36,14 @@ HoExtension::HoExtension(TheoryState& state, TheoryInferenceManager& im)
d_true = NodeManager::currentNM()->mkConst(true);
}
-Node HoExtension::expandDefinition(Node node)
+Node HoExtension::ppRewrite(Node node)
{
// convert HO_APPLY to APPLY_UF if fully applied
if (node[0].getType().getNumChildren() == 2)
{
Trace("uf-ho") << "uf-ho : expanding definition : " << node << std::endl;
Node ret = getApplyUfForHoApply(node);
- Trace("uf-ho") << "uf-ho : expandDefinition : " << node << " to " << ret
+ Trace("uf-ho") << "uf-ho : ppRewrite : " << node << " to " << ret
<< std::endl;
return ret;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback