...
首页> 外文期刊>Logical Methods in Computer Science >Initial Algebra Semantics for Cyclic Sharing Tree Structures
【24h】

Initial Algebra Semantics for Cyclic Sharing Tree Structures

机译:循环共享树结构的初始代数语义

获取原文

摘要

Terms are a concise representation of tree structures. Since they can benaturally defined by an inductive type, they offer data structures infunctional programming and mechanised reasoning with useful principles such asstructural induction and structural recursion. However, for graphs or"tree-like" structures -- trees involving cycles and sharing -- it remainsunclear what kind of inductive structures exists and how we can faithfullyassign a term representation of them. In this paper we propose a simple termsyntax for cyclic sharing structures that admits structural induction andrecursion principles. We show that the obtained syntax is directly usable inthe functional language Haskell and the proof assistant Agda, as well asordinary data structures such as lists and trees. To achieve this goal, we usea categorical approach to initial algebra semantics in a presheaf category.That approach follows the line of Fiore, Plotkin and Turi's models of abstractsyntax with variable binding.
机译:术语是树形结构的简洁表示。由于可以通过归纳类型自然地定义它们,因此它们提供了具有实用原理(例如结构归纳和结构递归)的功能性编程和机械化推理的数据结构。然而,对于图或“树状”结构-涉及循环和共享的树-尚不清楚存在哪种归纳结构以及我们如何忠实地为其分配术语表示。在本文中,我们为循环共享结构提出了一个简单的术语语法,该语法接受结构归纳和递归原理。我们证明,所获得的语法可直接用于功能语言Haskell和证明助手Agda,以及常规数据结构(如列表和树)。为了实现这个目标,我们使用分类方法对presheaf类别中的初始代数语义进行了分类,该方法遵循Fiore,Plotkin和Turi具有可变绑定的抽象语法模型。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号