[Paper Review] Event-based Formalization of Safety-critical Operating System Standards: An Experience Report on ARINC 653 using Event-B
This paper presents a complete Event-B formalization and deductive verification of the ARINC 653 Part 1 standard for safety-critical operating systems, using mathematical modeling and proof obligations to validate system functionality and service specifications. The verification uncovered three hidden errors and three incomplete specification cases in the standard, demonstrating the value of formal methods in ensuring correctness of critical system interfaces.
Standards play the key role in safety-critical systems. Errors in standards could mislead system developer's understanding and introduce bugs into system implementations. In this paper, we present an Event-B formalization and verification for the ARINC 653 standard, which provides a standardized interface between safety-critical real-time operating systems and application software, as well as a set of functionalities aimed to improve the safety and certification process of such safety-critical systems. The formalization is a complete model of ARINC 653, and provides a necessary foundation for the formal development and verification of ARINC 653 compliant operating systems and applications. Six hidden errors were discovered from the verification using the Event-B formal reasoning approach.
Motivation & Objective
- To address the risk of undetected errors in safety-critical system standards like ARINC 653, which can lead to implementation flaws in real-time operating systems.
- To provide a formally verified, complete model of ARINC 653 Part 1 (Version 3) using Event-B for rigorous specification and validation.
- To detect inconsistencies, ambiguities, and omissions in the standard that could mislead developers and compromise system safety.
- To establish a foundation for formal development, verification, and code generation of ARINC 653-compliant operating systems and applications.
Proposed method
- Modeling the entire ARINC 653 Part 1 standard in Event-B using set theory and event-driven formalism to represent system behavior and state transitions.
- Defining top-level system functionality and service requirements as formal specifications with safety invariants and refinement relationships.
- Applying deductive verification via proof obligations in the Rodin tool to verify consistency between abstraction levels and correctness of invariants.
- Using automated reasoning and proof discharge to validate 57 services, including partitioning, time management, and inter/intra-partition communication.
- Conducting manual formalization of the standard’s textual description into Event-B models to ensure semantic fidelity.
- Evaluating model checking with ProB for state space analysis, though limited by scalability at higher abstraction levels.
Experimental results
Research questions
- RQ1What are the hidden inconsistencies or errors in the ARINC 653 Part 1 standard that could lead to incorrect implementations in safety-critical operating systems?
- RQ2How can a complete formal model of ARINC 653 be constructed using Event-B to support rigorous verification of system behavior and service semantics?
- RQ3To what extent can deductive verification via proof obligations in Event-B detect specification flaws and ensure consistency across abstraction levels?
- RQ4Can formal methods such as Event-B improve the reliability of safety-critical system standards beyond traditional testing and informal analysis?
- RQ5What are the limitations of current formal verification approaches in handling liveness properties and time-sensitive behaviors in ARINC 653?
Key findings
- Three hidden errors were identified in the ARINC 653 Part 1 standard: one in the process management service and two in inter- and intra-partition communication services.
- Three cases of incomplete specification were detected, particularly concerning process state transitions, which could lead to ambiguous or undefined behavior in implementations.
- The deductive verification process successfully discharged up to 80% of proof obligations automatically, significantly reducing manual effort.
- Model checking with ProB was feasible only at lower abstraction levels due to state space explosion, highlighting scalability challenges.
- The formal model enables future code generation via Rodin plugins and supports model-based development and verification of ARINC 653-compliant systems.
- The study reveals the need for enhanced tool support to verify liveness properties, as current Event-B tooling lacks native support for global quantifiers and complex temporal logic.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.