Bridging the Gap Between Requirements and Model Analysis : Evaluation on Ten Cyber-Physical Challenge ProblemsFormal verfication and simulation are powerful tools to validate requirements against complex systems. [Problem] Requirements are developed in early stages of the software lifecycle and are typically written in ambiguous natural language. There is a gap between such requirements and formal notations that can be used by verification tools, and lack of support for proper association of requirements with software artifacts for verification. [Principal idea] We propose to write requirements in an intuitive, structured natural language with formal semantics, and to support formalization and model/code verification as a smooth, well-integrated process. [Contribution] We have developed an end-to-end, open source requirements analysis framework that checks Simulink models against requirements written in structured natural language. Our framework is built in the Formal Requirements Elicitation Tool (fret); we use fret's requirements language named fretish, and formalization of fretish requirements in temporal logics. Our proposed framework contributes the following features: 1) automatic extraction of Simulink model information and association of fretish requirements with target model signals and components; 2) translation of temporal logic formulas into synchronous dataflow cocospec specifications as well as Simulink monitors, to be used by verification tools; we establish correctness of our translation through extensive automated testing; 3) interpretation of counterexamples produced by verification tools back at requirements level. These features support a tight integration and feedback loop between high level requirements and their analysis. We demonstrate our approach on a major case study: the Ten Lockheed Martin Cyber-Physical, aerospace-inspired challenge problems.
Document ID
20200002241
Acquisition Source
Ames Research Center
Document Type
Conference Paper
Authors
Mavridou, Anastasia (Stinger Ghaffarian Technologies Inc. (SGT Inc.) Moffett Field, CA, United States)
Bourbouh, Hamza (Stinger Ghaffarian Technologies Inc. (SGT Inc.) Moffett Field, CA, United States)
Garoche, Pierre-Loic (Stinger Ghaffarian Technologies Inc. (SGT Inc.) Moffett Field, CA, United States)
Giannakopoulou, Dimitra (NASA Ames Research Center Moffett Field, CA, United States)
Pressburger, Tom (NASA Ames Research Center Moffett Field, CA, United States)
Schumann, Johann (Stinger Ghaffarian Technologies Inc. (SGT Inc.) Moffett Field, CA, United States)