实现编排提取
Implementing Choreography Extraction
摘要:
编排是对并发组件之间交互的全局描述,最主要的是用于构造正确软件的验证和合成。它们需要一种自顶向下的方法:程序员首先编写编排,然后使用它们来验证或合成他们的程序。然而,大多数软件还没有提供编排,这阻碍了它们的应用。为了解决这个问题,以前的工作研究了编排提取,它自动构建一个编排,描述了一组给定的程序或协议规范的行为。我们提出了一种新的提取方法,提高了国家的最先进的:我们可以处理的程序,配备了状态和内部计算和时间复杂度是显着更好。我们还实现了这一理论,并表明,尽管其理论上的指数复杂性,它在实践中是可用的。我们讨论了一个有效的实施所需的数据结构,介绍了一些优化,并进行了系统的实际评估。
英文摘要:
Choreographies are global descriptions of interactions among concurrent components, most notably used in the settings of verification and synthesis of correct-by-construction software. They require a top-down approach: programmers first write choreographies, and then use them to verify or synthesize their programs. However, most software does not come with choreographies yet, which prevents their application. To attack this problem, previous work investigated choreography extraction, which automatically constructs a choreography that describes the behaviour of a given set of programs or protocol specifications. We propose a new extraction methodology that improves on the state of the art: we can deal with programs that are equipped with state and internal computation and time complexity is dramatically better. We also implement this theory and show that, in spite of its theoretical exponential complexity, it is usable in practice. We discuss the data structures needed for an efficient implementation, introduce some optimisations, and perform a systematic practical evaluation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。