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

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

计算机科学 > 程序设计语言

arXiv:1006.1413 (cs)
[提交于 2010年6月9日]

标题:Coinductive subtyping for abstract compilation of object-oriented languages into Horn formulas

作者:Davide Ancona, Giovanni Lagorio
查看论文《Coinductive subtyping for abstract compilation of object-oriented languages into Horn formulas》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In recent work we have shown how it is possible to define very precise type systems for object-oriented languages by abstractly compiling a program into a Horn formula f. Then type inference amounts to resolving a certain goal w.r.t. the coinductive (that is, the greatest) Herbrand model of f. Type systems defined in this way are idealized, since in the most interesting instantiations both the terms of the coinductive Herbrand universe and goal derivations cannot be finitely represented. However, sound and quite expressive approximations can be implemented by considering only regular terms and derivations. In doing so, it is essential to introduce a proper subtyping relation formalizing the notion of approximation between types. In this paper we study a subtyping relation on coinductive terms built on union and object type constructors. We define an interpretation of types as set of values induced by a quite intuitive relation of membership of values to types, and prove that the definition of subtyping is sound w.r.t. subset inclusion between type interpretations. The proof of soundness has allowed us to simplify the notion of contractive derivation and to discover that the previously given definition of subtyping did not cover all possible representations of the empty type.
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:1006.1413 [cs.PL]
  (或者 arXiv:1006.1413v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1006.1413
期刊参考: EPTCS 25, 2010, pp. 214-230
相关 DOI: https://doi.org/10.4204/EPTCS.25.20

提交历史

来自:EPTCS
[v1] 2010年6月9日 星期三 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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