跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算机科学中的逻辑

arXiv:1206.4547 (cs)
[提交于 2012年6月20日]

标题:Initiality for Typed Syntax and Semantics

作者:Benedikt Ahrens
查看论文《Initiality for Typed Syntax and Semantics》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We give an algebraic characterization of the syntax and semantics of a class of simply-typed languages, such as the language PCF: we characterize simply-typed binding syntax equipped with reduction rules via a universal property, namely as the initial object of some category. For this purpose, we employ techniques developed in two previous works: in [2], we model syntactic translations between languages over different sets of types as initial morphisms in a category of models. In [1], we characterize untyped syntax with reduction rules as initial object in a category of models. In the present work, we show that those techniques are modular enough to be combined: we thus characterize simply-typed syntax with reduction rules as initial object in a category. The universal property yields an operator which allows to specify translations - that are semantically faithful by construction - between languages over possibly different sets of types. We specify a language by a 2-signature, that is, a signature on two levels: the syntactic level specifies the types and terms of the language, and associates a type to each term. The semantic level specifies, through inequations, reduction rules on the terms of the language. To any given 2-signature we associate a category of models. We prove that this category has an initial object, which integrates the types and terms freely generated by the 2-signature, and the reduction relation on those terms generated by the given inequations. We call this object the (programming) language generated by the 2-signature. [1] Ahrens, B.: Modules over relative monads for syntax and semantics (2011), arXiv:1107.5252, to be published in Math. Struct. in Comp. Science [2] Ahrens, B.: Extended Initiality for Typed Abstract Syntax. Logical Methods in Computer Science 8(2), 1-35 (2012)
评论: presented at WoLLIC 2012, 15 pages
主题: 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:1206.4547 [cs.LO]
  (或者 arXiv:1206.4547v1 [cs.LO] 对于此版本)
  https://doi.org/10.48550/arXiv.1206.4547
期刊参考: Logic, Language, Information and Computation, LNCS 7456 (2012), pp. 127-141, http://www.springerlink.com/content/n180nt1qxg76755g/
相关 DOI: https://doi.org/10.1007/978-3-642-32621-9_10

提交历史

来自:Benedikt Ahrens
[v1] 2012年6月20日 星期三 16:30:06 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LO
< 上一篇   |   下一篇 >
最新 | 近期 | 2012-06
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站