arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.08659cs.LOcs.FLcs.PL
收藏

具有上下文无关会话类型的系统$F^μ_ω$

System $F^μ_ω$ with Context-free Session Types

Diana Costa, Andreia Mordido, Diogo Poças, Vasco T. Vasconcelos

摘要:

我们研究越来越多的表达类型系统,从$F^μ$ --多态lambda演算的等递归类型的扩展--到$F^{μ;}_ω$ --高阶多态λ演算的等递归类型和上下文无关的会话类型。类型等价由定义在一个新的类型标记转换系统上的标准互模拟给出。我们的系统包含了文献中研究的$F^μ_ω$的收缩片段。各种类型语言的类型等价的可判定性结果是通过将类型转换为适当的计算模型的对象来获得的:有限状态自动机、简单语法和确定性下推自动机。我们表明,类型等价是可判定的类型语言的一个重要片段。我们进一步提出了一个消息传递,并发函数语言配备了表达类型语言,并表明它享有保存和不存在的运行时错误的类型化进程。

英文摘要:

We study increasingly expressive type systems, from $F^μ$ -- an extension of the polymorphic lambda calculus with equirecursive types -- to $F^{μ;}_ω$ -- the higher-order polymorphic lambda calculus with equirecursive types and context-free session types. Type equivalence is given by a standard bisimulation defined over a novel labelled transition system for types. Our system subsumes the contractive fragment of $F^μ_ω$ as studied in the literature. Decidability results for type equivalence of the various type languages are obtained from the translation of types into objects of an appropriate computational model: finite-state automata, simple grammars and deterministic pushdown automata. We show that type equivalence is decidable for a significant fragment of the type language. We further propose a message-passing, concurrent functional language equipped with the expressive type language and show that it enjoys preservation and absence of runtime errors for typable processes.

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

↑