首页> 外文会议>International Conference on Formal Structures for Computation and Deduction >Modular Specification of Monads Through Higher-Order Presentations
【24h】

Modular Specification of Monads Through Higher-Order Presentations

机译:通过高阶演示文稿模块化规范

获取原文

摘要

In their work on second-order equational logic, Fiore and Hur have studied presentations of simply typed languages by generating binding constructions and equations among them. To each pair consisting of a binding signature and a set of equations, they associate a category of "models", and they give a monadicity result which implies that this category has an initial object, which is the language presented by the pair. In the present work, we propose, for the untyped setting, a variant of their approach where monads and modules over them are the central notions. More precisely, we study, for monads over sets, presentations by generating ("higher-order") operations and equations among them. We consider a notion of 2-signature which allows to specify a monad with a family of binding operations subject to a family of equations, as is the case for the paradigmatic example of the lambda calculus, specified by its two standard constructions (application and abstraction) subject to beta- and eta-equalities. Such a 2-signature is hence a pair (Sigma,E) of a binding signature Sigma and a family E of equations for Sigma. This notion of 2-signature has been introduced earlier by Ahrens in a slightly different context. We associate, to each 2-signature (Sigma,E), a category of "models of (Sigma,E)"; and we say that a 2-signature is "effective" if this category has an initial object; the monad underlying this (essentially unique) object is the "monad specified by the 2-signature". Not every 2-signature is effective; we identify a class of 2-signatures, which we call "algebraic", that are effective. Importantly, our 2-signatures together with their models enjoy "modularity": when we glue (algebraic) 2-signatures together, their initial models are glued accordingly. We provide a computer formalization for our main results.
机译:在他们的二阶方程逻辑工作,菲奥雷和许已经通过它们之间产生结合的构造和方程式研究简单地类型化的语言的演示。每对由一个结合签名和一组方程,它们的“模式”的类别相关联,并且它们得到这意味着这一类具有初始对象,它是由一对呈现的语言monadicity结果。在目前的工作中,我们提出,对于非类型化的设置,他们的方法的一种变体,其中单子和模块在他们的核心概念。更确切地说,我们学习,通过生成(“高阶”)当中的操作和公式单子上套,演示文稿。我们认为2 - 签名的概念,它允许指定一个家庭的绑定操作受到了家庭式的单子,因为是在演算,它的两个标准建设规定的典型范例(应用程序和抽象的情况下)除β-和ETA-等式。这样的2的签名是因此结合签名西格玛和方程西格玛家族E的一对(Sigma公司,E)。 2签名的这一概念已经在一个稍微不同的上下文中较早推出的阿伦斯。我们准,要每2个签名(SIGMA,E), “(SIGMA,E)的模型” 的类别;和我们说一个2的签名是“有效的”,如果这类具有初始对象;此(基本上唯一的)对象的基础的单子是“由2-签名中指定单子”。不是每2 - 签名是有效的;我们确定的一类2的签名,我们称之为“代数”,这是有效的。重要的是,我们的2-签名与他们一起车型享受“模块化”:当我们(代数)2的签名一起,他们的初始模型相应粘合胶。我们为我们的主要结果的计算机形式化。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号