[Paper Review] Formalization of Fault Trees in Higher-order Logic: A Deep Embedding Approach
This paper presents a deep embedding approach in higher-order logic to formally verify fault tree (FT) models, enabling compositional modeling of AND, OR, NOT, and derived gates (e.g., NAND, XOR, majority voting), and supporting transformation to equivalent reliability block diagrams (RBDs) for scalable failure probability analysis. The approach is validated through formal verification of the NextGen ATM gateway system’s failure probability, achieving automated simplification of complex expressions using SML scripts.
Fault Tree (FT) is a standard failure modeling technique that has been extensively used to predict reliability, availability and safety of many complex engineering systems. In order to facilitate the formal analysis of FT based analyses, a higher-order-logic formalization of FTs has been recently proposed. However, this formalization is quite limited in terms of handling large systems and transformation of FT models into their corresponding Reliability Block Diagram (RBD) structures, i.e., a frequently used transformation in reliability and availability analyses. In order to overcome these limitations, we present a deep embedding based formalization of FTs. In particular, the paper presents a formalization of AND, OR and NOT FT gates, which are in turn used to formalize other commonly used FT gates, i.e., NAND, NOR, XOR, Inhibit, Comparator and majority Voting, and the formal verification of their failure probability expressions. For illustration purposes, we present a formal failure analysis of a communication gateway software for the next generation air traffic management system.
Motivation & Objective
- To overcome scalability and compositional limitations in prior shallow-embedding-based formalizations of fault trees.
- To enable transformation of fault tree models into equivalent reliability block diagrams (RBDs) for reduced analysis complexity.
- To formally verify failure probability expressions for complex FT gates, including NAND, NOR, XOR, Inhibit, Comparator, and majority voting.
- To support practical industrial use through automated SML scripts for simplifying failure probability expressions from given failure rates.
- To validate the approach on a real-world safety-critical system: the NextGen Air Traffic Management gateway.
Proposed method
- Uses a deep embedding approach in higher-order logic (HOL4) to represent FT gates as structured data types, enabling compositional construction.
- Defines formal semantics for basic gates (AND, OR, NOT) and derives higher-level gates (e.g., NAND, XOR) through composition.
- Applies the Probabilistic Inclusion-Exclusion (PIE) principle to formally compute exact failure probabilities under independence and exponential failure assumptions.
- Introduces a transformation mechanism from FTs to equivalent RBDs, leveraging closed-form expressions to reduce computational complexity.
- Employs automated SML scripts to simplify verified failure probability expressions using given component failure rates.
- Verifies all results using HOL4 theorem prover, ensuring correctness through machine-checked proofs.
Experimental results
Research questions
- RQ1Can a deep embedding approach in higher-order logic enable compositional and scalable formalization of fault tree gates?
- RQ2How can fault tree models be formally transformed into equivalent reliability block diagrams (RBDs) without loss of information?
- RQ3Can formal verification of failure probability expressions be achieved for complex FT gates, including XOR, Inhibit, and majority voting?
- RQ4To what extent does the proposed method reduce analysis complexity compared to PIE-based approaches?
- RQ5Can automated reasoning support be effectively integrated to simplify failure probability expressions for industrial use?
Key findings
- The formalization successfully verified the failure probability of the NextGen ATM gateway system, which includes over 40 basic failure events across four hierarchical levels.
- The failure probability expression for the complete system was formally verified in HOL4, resulting in a complex but machine-checked formula involving nested products and exponentials of failure rates.
- The automated SML script simplified the final failure probability expression for a given set of failure rates, producing a numerically evaluable form with explicit exponential terms.
- The formal verification process required over 2500 lines of HOL4 code and approximately 125 man-hours, demonstrating feasibility despite high effort.
- The deep embedding approach enables compositional construction of FTs and supports transformation to RBDs, significantly reducing complexity compared to PIE-based analysis.
- The approach ensures absolute correctness through machine-checked proofs, eliminating human error risks inherent in paper-and-pencil or simulation-based methods.
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.