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

为具有并发性的广谱语言设计语义模型

Designing a semantic model for a wide-spectrum language with concurrency

Robert J. Colvin, Ian J. Hayes, Larissa A. Meinicke

摘要:

宽谱语言将规范构造集成到程序设计语言中,其方式是将规范命令像对待任何其他命令一样对待。本文研究了一种支持并发和精化演算的广谱语言的语义模型。为了处理具有依赖和保证条件的规格说明,该模型包括显式的环境步骤以及程序步骤。我们的方法的一个新颖之处是,我们定义了一组原始的命令和操作符,从更复杂的规范和程序设计语言命令的建立。原语具有简单的代数属性,支持使用代数推理进行证明。该模型是通用的,足以指定不同的概念,如可靠保证推理,时序逻辑,程序的进度属性,并支持细化规范的代码。它还形成了一个抽象并发程序代数的实例,这有助于在高抽象级别上推理模型的属性。

英文摘要:

A wide-spectrum language integrates specification constructs into a programming language in a manner that treats a specification command just like any other command. This paper investigates a semantic model for a wide-spectrum language that supports concurrency and a refinement calculus. In order to handle specifications with rely and guarantee conditions, the model includes explicit environment steps as well as program steps. A novelty of our approach is that we define a set of primitive commands and operators, from which more complex specification and programming language commands are built. The primitives have simple algebraic properties which support proof using algebraic reasoning. The model is general enough to specify notions as diverse as rely-guarantee reasoning, temporal logic, and progress properties of programs, and supports refining specifications to code. It also forms an instance of an abstract concurrent program algebra, which facilitates reasoning about properties of the model at a high level of abstraction.

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

↑