通过高阶表示对单子进行模块化规范

B. Ahrens, A. Hirschowitz, Ambroise Lafont, M. Maggesi
{"title":"通过高阶表示对单子进行模块化规范","authors":"B. Ahrens, A. Hirschowitz, Ambroise Lafont, M. Maggesi","doi":"10.4230/LIPIcs.FSCD.2019.6","DOIUrl":null,"url":null,"abstract":"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. \nIn 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. \nWe 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. \nImportantly, our 2-signatures together with their models enjoy \"modularity\": when we glue (algebraic) 2-signatures together, their initial models are glued accordingly. \nWe provide a computer formalization for our main results.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"23 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-03-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":"{\"title\":\"Modular specification of monads through higher-order presentations\",\"authors\":\"B. Ahrens, A. Hirschowitz, Ambroise Lafont, M. Maggesi\",\"doi\":\"10.4230/LIPIcs.FSCD.2019.6\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"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. \\nIn 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. \\nWe 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. \\nImportantly, our 2-signatures together with their models enjoy \\\"modularity\\\": when we glue (algebraic) 2-signatures together, their initial models are glued accordingly. \\nWe provide a computer formalization for our main results.\",\"PeriodicalId\":284975,\"journal\":{\"name\":\"International Conference on Formal Structures for Computation and Deduction\",\"volume\":\"23 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-03-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"10\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Formal Structures for Computation and Deduction\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.4230/LIPIcs.FSCD.2019.6\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Formal Structures for Computation and Deduction","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.FSCD.2019.6","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

摘要

在二阶方程逻辑的工作中,Fiore和Hur通过生成绑定结构和它们之间的方程来研究简单类型语言的表示。对于由绑定签名和一组方程组成的每一对,他们将一个“模型”类别关联起来,并给出一个单一性结果,该结果表明该类别具有一个初始对象,即这对所呈现的语言。在目前的工作中,我们建议,对于非类型设置,他们的方法的一种变体,其中单体和模块在它们之上是中心概念。更准确地说,我们通过生成(“高阶”)运算和其中的方程来研究集合上的单子的表示。我们考虑了一个2-签名的概念,它允许指定具有一系列约束操作的单子,这些操作服从于一系列方程,就像lambda演算的范例一样,由其两个标准结构(应用和抽象)指定,服从于beta和eta等式。因此,这样的双签名是一对(Sigma,E)绑定签名Sigma和Sigma的方程组E族。之前,Ahrens在一个稍微不同的环境中引入了双签名的概念。我们将每个2签名(Sigma,E)与一类“(Sigma,E)模型”联系起来;我们说一个双签名是“有效的”如果这个类别有一个初始对象;这个(本质上唯一的)对象的单子是“由2签名指定的单子”。不是每个双签名都有效;我们确定了一类有效的2-签名,我们称之为“代数”。重要的是,我们的2-签名及其模型享有“模块化”:当我们将(代数)2-签名粘合在一起时,它们的初始模型也相应地粘合在一起。我们为我们的主要结果提供了一个计算机形式化。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信