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

三种二元会话类型的子类型化算法及其复杂度分析(完整版)

Three Subtyping Algorithms for Binary Session Types and their Complexity Analyses (full version)

Thien Udomsrirungruang, Nobuko Yoshida

AI总结:

本文针对同步二元会话类型子类型化问题,分析了原有归纳树搜索算法及优化版的指数级复杂度,还提出基于$\mathcal{XYZW}$-模拟图搜索的二次复杂度新算法。

摘要:

会话类型是一种用于描述和规约并发进程通信行为的类型规约机制。由Gay和Hole首次提出的会话子类型被广泛用于扩大会话程序的可类型化范围。本文对三种同步二元会话类型的子类型化算法进行了复杂度分析。首先,我们分析了原始论文中基于归纳树搜索的算法的复杂度。随后,我们介绍了其优化版本,该版本提升了复杂度表现,但相较于两种类型的规模仍呈指数级。最后,我们基于Silva等人近期提出的$\mathcal{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 $\mathcal{XYZW}$-simulation, recently introduced by Silva et al.

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

↑