arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 0905.1566math.LO
收藏

交集类型和任意扩展变量的完整可实现性语义

A complete realisability semantics for intersection types and arbitrary expansion variables

Fairouz Kamareddine, Karim Nour, Vincent Rahli, J. B. Wells

摘要:

扩展是在20世纪70年代末引入的,用于计算交叉类型系统中$λ$ -项的主要类型。膨胀变量(E变量)在20世纪90年代末被引入,以简化和帮助机械化膨胀。最近,E-变量被进一步简化和推广,也允许计算其他类型的运算符,而不仅仅是交集。有很多工作的交集类型系统的语义,但只有一个这样的工作与E-变量的交集类型系统。这项工作表明,为E变量构建语义是非常具有挑战性的。由于尚不清楚如何为E变量设计一个含义空间,因此该工作开发了一个类型的含义空间,该空间在具有许多度的意义上是分层的(由索引表示)。然而,尽管索引演算有助于识别为扩展变量提供语义的严重问题,但只有当使用单个E变量时,声音可实现性语义才是完整的,并且不允许通用类型$ω$。在本文中,我们能够克服这些挑战。我们开发了一个可实现的语义,我们允许任意(可能是无限的)数量的扩展变量和$ω$存在。我们证明了我们提出的语义的合理性和完整性。

英文摘要:

Expansion was introduced at the end of the 1970s for calculating principal typings for $λ$-terms in intersection type systems. Expansion variables (E-variables) were introduced at the end of the 1990s to simplify and help mechanise expansion. Recently, E-variables have been further simplified and generalised to also allow calculating other type operators than just intersection. There has been much work on semantics for intersection type systems, but only one such work on intersection type systems with E-variables. That work established that building a semantics for E-variables is very challenging. Because it is unclear how to devise a space of meanings for E-variables, that work developed instead a space of meanings for types that is hierarchical in the sense of having many degrees (denoted by indexes). However, although the indexed calculus helped identify the serious problems of giving a semantics for expansion variables, the sound realisability semantics was only complete when one single E-variable is used and furthermore, the universal type $ω$ was not allowed. In this paper, we are able to overcome these challenges. We develop a realisability semantics where we allow an arbitrary (possibly infinite) number of expansion variables and where $ω$ is present. We show the soundness and completeness of our proposed semantics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑