舞蹈动作提取的途径
The Paths to Choreography Extraction
摘要:
编排是对并发组件之间交互的全局描述,最常见的是用于验证设置(例如,多方会话类型)和合成正确的建设软件(编排编程)。它们需要一种自顶向下的方法:程序员首先编写编排,然后使用它们来验证或合成他们的程序。然而,大多数现有的软件还没有提供编排,这阻碍了它们的应用。为了解决这个问题,我们提出了一种新的方法(称为编排提取),给定一组程序或协议规范,自动构建一个编排,描述他们的行为。我们的提取的关键是确定一组路径的图,表示符号执行的程序的兴趣。我们的方法在几个方向上改进了以前的工作:我们现在可以处理配备了状态和内部计算能力的程序;时间复杂度明显更好;我们捕获正确但不一定同步的程序,即,它们之所以能工作是因为它们利用了异步通信。
英文摘要:
Choreographies are global descriptions of interactions among concurrent components, most notably used in the settings of verification (e.g., Multiparty Session Types) and synthesis of correct-by-construction software (Choreographic Programming). They require a top-down approach: programmers first write choreographies, and then use them to verify or synthesize their programs. However, most existing software does not come with choreographies yet, which prevents their application. To attack this problem, we propose a novel methodology (called choreography extraction) that, given a set of programs or protocol specifications, automatically constructs a choreography that describes their behavior. The key to our extraction is identifying a set of paths in a graph that represents the symbolic execution of the programs of interest. Our method improves on previous work in several directions: we can now deal with programs that are equipped with a state and internal computation capabilities; time complexity is dramatically better; we capture programs that are correct but not necessarily synchronizable, i.e., they work because they exploit asynchronous communication.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。