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

跳过细化

Skipping Refinement

Mitesh Jain, Panagiotis Manolios

摘要:

我们引入跳跃细化,一个新的概念的正确性推理优化反应系统。使用精化对反应式系统进行推理涉及定义抽象的高级规范系统和具体的低级实现系统。然后,我们可以看到,实现所允许的每一个行为也都是规范所允许的。由于抽象级别的差异,通常情况下,实现需要许多步骤来匹配规范的一个步骤,因此,直接考虑口吃对于细化非常有用。然而,一些优化的实现实际上可以一次执行多个规范步骤。例如,存储器控制器可以将命令缓冲到存储器,并且在稍后的时间同时更新多个存储器位置,从而跳过抽象规范的若干可观察状态,这一次仅更新一个存储器位置。我们引入跳跃仿真细化,并提供了一个健全和完整的表征组成的“本地”证明规则,适合机械化和自动化验证。我们目前的案例研究,突出跳过细化的适用性:JVM启发堆栈机,一个简单的内存控制器和标量向量编译器转换。我们的实验结果表明,目前的模型检查和自动定理证明工具很难自动分析这些系统使用现有的概念的正确性,但他们可以分析系统,如果我们使用跳过细化。

英文摘要:

We introduce skipping refinement, a new notion of correctness for reasoning about optimized reactive systems. Reasoning about reactive systems using refinement involves defining an abstract, high-level specification system and a concrete, low-level implementation system. One then shows that every behavior allowed by the implementation is also allowed by the specification. Due to the difference in abstraction levels, it is often the case that the implementation requires many steps to match one step of the specification, hence, it is quite useful for refinement to directly account for stuttering. Some optimized implementations, however, can actually take multiple specification steps at once. For example, a memory controller can buffer the commands to the memory and at a later time simultaneously update multiple memory locations, thereby skipping several observable states of the abstract specification, which only updates one memory location at a time. We introduce skipping simulation refinement and provide a sound and complete characterization consisting of "local" proof rules that are amenable to mechanization and automated verification. We present case studies that highlight the applicability of skipping refinement: a JVM-inspired stack machine, a simple memory controller and a scalar to vector compiler transformation. Our experimental results demonstrate that current model-checking and automated theorem proving tools have difficultly automatically analyzing these systems using existing notions of correctness, but they can analyze the systems if we use skipping refinement.

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

↑