The paper focuses on the problem of subtyping for synchronous binary session types, which is an important concept in type-safe concurrent programming. It provides the following key insights:
The paper starts by providing the necessary preliminaries on session types and subtyping. It then analyzes the complexity of the original inductive algorithm, showing that it can be exponential in the size of the input types. An optimized version of this algorithm is then presented, which improves the complexity but is still exponential.
The key contribution is the new quadratic algorithm, which represents session types as labeled transition systems and checks for a simulation-like relation to decide subtyping. This algorithm is shown to have quadratic time complexity, a significant improvement over the exponential algorithms.
The paper also includes examples demonstrating the application of the algorithms and discusses related work on subtyping for session types and other type systems.
На другой язык
из исходного контента
arxiv.org
Дополнительные вопросы