diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-11-23 11:49:59 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 11:49:59 -0600 |
commit | a6c001e078767a2de6f36a2fa1333b98e39a6ec8 (patch) | |
tree | 4d3685f39e6e2c0160a7bbcbfa0e07852721db8a /src/theory/uf/ho_extension.cpp | |
parent | 2a5a65feac6ce270732f0a4d672e5838f5cd673a (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.cpp | 4 |
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; } |