arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.05816cs.SE
收藏

当你可以重构的时候,为什么只是FRET?重新调整FRETISH要求

Why just FRET when you can Refactor? Retuning FRETISH Requirements

Matt Luckcuck, Marie Farrell, Oisín Sheridan

摘要:

软件系统的形式化验证依赖于形式化它应该遵守的需求,这可能是具有挑战性的。在从自然语言形式化需求时,我们有依赖关系,导致许多需求之间的信息重复,这意味着对一个需求的更改会导致多个地方的更新。我们建议适应美国宇航局的正式需求获取工具(FRET),我们的工具的选择代码重构。重构是重组软件以改善其内部结构而不改变其外部行为的过程;它也可以应用于需求,通过减少重复使其更易于管理。FRET自动将需求(用其输入语言Fretish编写)转换为时态逻辑,这使我们能够正式验证重构是否保留了需求的潜在含义。在本文中,我们提出了四个重构Fretish要求,并解释其效用。我们描述了应用这些重构的民用飞机发动机软件控制器的要求,解耦的依赖性的重复,并分析这是如何改变的要求的数量和重复的数量。我们评估我们的方法,使用现场,一个工具,检查等价的时序逻辑规范。

英文摘要:

Formal verification of a software system relies on formalising the requirements to which it should adhere, which can be challenging. While formalising requirements from natural-language, we have dependencies that lead to duplication of information across many requirements, meaning that a change to one requirement causes updates in several places. We propose to adapt code refactorings for NASA's Formal Requirements Elicitation Tool (FRET), our tool-of-choice. Refactoring is the process of reorganising software to improve its internal structure without altering its external behaviour; it can also be applied to requirements, to make them more manageable by reducing repetition. FRET automatically translates requirements (written in its input language Fretish) into Temporal Logic, which enables us to formally verify that refactoring has preserved the requirements' underlying meaning. In this paper, we present four refactorings for Fretish requirements and explain their utility. We describe the application of one of these refactorings to the requirements of a civilian aircraft engine software controller, to decouple the dependencies from the duplication, and analyse how this changes the number of requirements and the number of repetitions. We evaluate our approach using Spot, a tool for checking equivalence of Temporal Logic specifications.

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

↑