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

用于二元会话类型的三种子类型化算法及其复杂性分析

Three Subtyping Algorithms for Binary Session Types and their Complexity Analyses

Thien Udomsrirungruang, Nobuko Yoshida

AI总结:

本文分析同步二元会话类型子类型化的三种算法:归纳树搜索算法及其优化版本仍为指数复杂度,并基于 XYZW-simulation 提出新的二次图搜索算法。

摘要:

会话类型是一种用于描述和规定并发进程通信行为的类型规范。会话子类型化最早由 Gay 和 Hole 提出,被广泛用于扩大会话程序的可类型化范围。本文对用于同步二元会话类型子类型化的三种算法进行了复杂性分析。首先,我们分析了原始论文中基于归纳树搜索的算法的复杂性。随后,我们介绍了该算法的优化版本,它改善了复杂性,但相对于两种类型的规模仍呈指数级。最后,我们利用 Silva 等人最近提出的 XYZW-simulation(XYZW 模拟)概念,提出了一种基于图搜索的新型二次算法。

英文摘要:

Session types are a type discipline for describing and specifying communication behaviours of concurrent processes. Session subtyping, firstly introduced by Gay and Hole, is widely used for enlarging typability of session programs. This paper gives the complexity analysis of three algorithms for subtyping of synchronous binary session types. First, we analyse the complexity of the algorithm from the original paper, which is based on an inductive tree search. We then introduce its optimised version, which improves the complexity, but is still exponential against the size of the two types. Finally, we propose a new quadratic algorithm based on a graph search using the concept of XYZW-simulation, recently introduced by Silva et al.

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

↑