arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2101.08611cs.FLcs.PL
收藏

异步共享内存程序的一般可判定性结果:高阶及更远

General Decidability Results for Asynchronous Shared-Memory Programs: Higher-Order and Beyond

Rupak Majumdar, Ramanathan S. Thinniyam, Georg Zetzsche

AI总结:

本文从语言理论角度研究异步共享内存程序,证明了高阶异步程序的安全、终止和有界性验证可判定,而二阶异步程序的活性验证不可判定,并揭示了判定性与底层语言类空性及“等字母”问题的联系,闭合了判定性边界。

摘要:

异步编程模型出现在许多场景中,从底层系统软件到高层Web编程。我们采用语言理论视角,为异步程序展示一般的可判定性和不可判定性结果,这些结果涵盖了所有已知结果,并展示了新的重要类的可判定性。作为主要结论,我们展示了高阶异步程序(如使用Lwt的OCaml程序)的安全性、终止性和有界性验证的可判定性,以及二阶异步程序的活性验证的不可判定性。我们表明,在温和假设下,令人惊讶的是,对于具有来自语言类的处理程序的异步程序,安全性和终止性验证是可判定的,当且仅当底层语言类的空性是可判定的。此外,我们表明配置可达性和活性(公平终止)验证是等价的,并且这些问题的可判定性意味着语言上著名的“等字母”问题的可判定性。我们的结果闭合了异步程序的判定性边界。

英文摘要:

The model of asynchronous programming arises in many contexts, from low-level systems software to high-level web programming. We take a language-theoretic perspective and show general decidability and undecidability results for asynchronous programs that capture all known results as well as show decidability of new and important classes. As a main consequence, we show decidability of safety, termination and boundedness verification for higher-order asynchronous programs -- such as OCaml programs using Lwt -- and undecidability of liveness verification already for order-2 asynchronous programs. We show that under mild assumptions, surprisingly, safety and termination verification of asynchronous programs with handlers from a language class are decidable iff emptiness is decidable for the underlying language class. Moreover, we show that configuration reachability and liveness (fair termination) verification are equivalent, and decidability of these problems implies decidability of the well-known "equal-letters" problem on languages. Our results close the decidability frontier for asynchronous programs.

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

↑