事件-B机器到JML的翻译的一个机器证明
A Machine-Checked Proof for a Translation of Event-B Machines to JML
摘要:
我们提出了一个机器检查的可靠性证明的翻译事件B的Java建模语言(JML)。转换基于操作符EventB 2 Jml,该操作符将Evnet-B事件映射到JML方法规范,并将确定性和非确定性分配映射到JML方法后置条件。此转换以前已作为EventB 2 Jml工具实现。我们在证明的形式化过程中采取了自己的方式,因此事件B和JML都在事件B中得到了形式化,并且证明通过罗丹平台发布。因此,对于任何Event-B替换(无论是事件还是赋值)和通过将EventB 2 Jml应用于替换而获得的JML方法规范,我们证明了JML方法规范的语义是由替换的语义模拟的。因此,从Event-B替换转换获得的JML规范是替换的细化。我们的证明包括不变量和标准的Event-B初始化事件,但它不包括完整的机器或Event-B上下文。我们假设JML和Event-B的语义都在相同的初始和最终状态上操作,并且我们证明了我们的假设。
英文摘要:
We present a machine-checked soundness proof of a translation of Event-B to the Java Modeling Language (JML). The translation is based on an operator EventB2Jml that maps Evnet-B events to JML method specifications, and deterministic and non-deterministic assignments to JML method post-conditions. This translation has previously been implemented as the EventB2Jml tool. We adopted a taking our own medicine approach in the formalisation of our proof so that Event-B as well as JML are formalised in Event-B and the proof is discharged with the Rodin platform. Hence, for any Event-B substitution (whether an event or an assignment) and for the JML method specification obtained by applying EventB2Jml to the substitution, we prove that the semantics of the JML method specification is simulated by the semantics of the substitution. Therefore, the JML specification obtained as translation from the Event-B substitution is a refinement of the substitution. Our proof includes invariants and the standard Event-B initialising event, but it does not include full machines or Event-B contexts. We assume that the semantics of JML and Event-B operate both on the same initial and final states, and we justify our assumption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。