【24h】

Generalising and Dualising the Third List-Homomorphism Theorem

机译:第三列表同态定理的推广与对偶

获取原文
获取原文并翻译 | 示例

摘要

The third list-homomorphism theorem says that a function is a list homomorphism if it can be described as an instance of both a foldr and a foldl. We prove a dual theorem for unfolds and generalise both theorems to trees: if a function generating a list can be described both as an unfoldr and an unfoldl, the list can be generated from the middle, and a function that processes or builds a tree both upwards and downwards may independently process/build a subtree and its one-hole context. The point-free, relational formalism helps to reveal the beautiful symmetry hidden in the theorem.
机译:第三个列表同态定理说,如果一个函数可以被描述为一个folder和一个foldl的实例,那么它就是一个列表同态。我们证明了展开的对偶定理,并将这两个定理概括为树:如果生成列表的函数既可以描述为展开器又可以描述为展开,则列表可以从中间生成,而处理或构建树的函数都可以向上和向下可以独立处理/构建子树及其单孔上下文。没有意义的关系形式主义有助于揭示定理中隐藏的美丽对称性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号