自动化和认证的细化步骤框架
A Framework for Automated and Certified Refinement Steps
摘要:
精化演算通过遵循一系列精化规则,提供了一种将抽象规范转换为具体实现的方法。这些规则已经在定理证明器中被机械化,从而提供了一种正式和严格的方法来证明给定的程序可以改进另一个程序。在以前的工作中,我们已经扩展了这种机械化的面向对象的程序,内存表示为一个图形,我们已经集成了我们的方法内的rCOS工具,模型驱动的软件开发工具,提供了一个细化语言。因此,对于任何细化步骤,该工具自动生成相应的证明义务,用户可以使用提供的细化引理库手动解除它们。在这项工作中,我们提出了一种方法来自动搜索可能的细化规则从一个程序到另一个,使用重写工具Maude。Maude中的每个精化规则都与Isabelle中相应的引理相关联,这样当可以自动找到精化规则时,工具可以自动生成Isabelle证明。用户可以通过提供相应的Maude规则和Isabelle引理来添加新的精化规则。
英文摘要:
The refinement calculus provides a methodology for transforming an abstract specification into a concrete implementation, by following a succession of refinement rules. These rules have been mechanized in theorem-provers, thus providing a formal and rigorous way to prove that a given program refines another one. In a previous work, we have extended this mechanization for object-oriented programs, where the memory is represented as a graph, and we have integrated our approach within the rCOS tool, a model-driven software development tool providing a refinement language. Hence, for any refinement step, the tool automatically generates the corresponding proof obligations and the user can manually discharge them, using a provided library of refinement lemmas. In this work, we propose an approach to automate the search of possible refinement rules from a program to another, using the rewriting tool Maude. Each refinement rule in Maude is associated with the corresponding lemma in Isabelle, thus allowing the tool to automatically generate the Isabelle proof when a refinement rule can be automatically found. The user can add a new refinement rule by providing the corresponding Maude rule and Isabelle lemma.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。