Formal Probabilistic Analysis of Dynamic Fault Trees in HOL4

Dynamic Fault Trees (DFTs) is a widely used failure modeling technique that allows capturing the dynamic failure characteristics of systems in a very effective manner. Simulation and model checking have been traditionally used for the probabilistic analysis of DFTs. Simulation is usually based on sampling and thus its results are not guaranteed to be complete, whereas model checking employs computer arithmetic and numerical algorithms to compute the exact values of probabilities, which contain many round-off errors. Leveraging upon the expressive and sound nature of higher-order-logic (HOL) theorem proving, we propose, in this work, a formalization of DFT gates and their probabilistic behavior as well as some of their simplification properties in HOL. This formalization would allow us to conduct the probabilistic analysis of DFTs by verifying generic mathematical expressions about their behavior in HOL. In particular, we formalize the AND, OR, Priority-AND, Functional DEPendency, Hot SPare, Cold SPare and the Warm SPare gates and also verify their corresponding probabilistic expressions in HOL. Moreover, we formally verify an important property, Pr(X<Y), using the Lebesgue integral as this relationship allows us to reason about the probabilistic properties of Priority-AND gate and the Before operator. We also formalize the notion of conditional densities in order to formally verify the probabilistic expressions of the Cold SPare and the Warm SPare gates. For illustrating the usefulness of our formalization, we use it to formally analyze the DFT of a Cardiac Assist System.

[1]  Sofiène Tahar,et al.  Formalization of Entropy Measures in HOL , 2011, ITP.

[2]  David Coppit,et al.  The Galileo fault tree analysis tool , 1999, Digest of Papers. Twenty-Ninth Annual International Symposium on Fault-Tolerant Computing (Cat. No.99CB36352).

[3]  Guillaume Merle,et al.  Algebraic modelling of Dynamic Fault Trees, contribution to qualitative and quantitative analysis , 2010 .

[4]  Sofiène Tahar,et al.  Formalization of Normal Random Variables in HOL , 2016, CICM.

[5]  Sofiène Tahar,et al.  Formal Dynamic Fault Trees Analysis Using an Integration of Theorem Proving and Model Checking , 2018, NFM.

[6]  Matthias Kuntz,et al.  Model-Based Safety Analysis for Vehicle Guidance Systems , 2017, SAFECOMP.

[7]  Sebastian Junges,et al.  A Storm is Coming: A Modern Probabilistic Model Checker , 2017, CAV.

[8]  Mariëlle Stoelinga,et al.  Fault tree analysis: A survey of the state-of-the-art in modeling, analysis and tools , 2014, Comput. Sci. Rev..

[9]  Muhammad Qasim,et al.  Formalization of Normal Random Variables , 2016 .

[10]  Osman Hasan,et al.  Formalization of Fault Trees in Higher-Order Logic: A Deep Embedding Approach , 2016, SETTA.

[11]  Heinz Bauer,et al.  Probability Theory , 2021, Foundations of Constructive Probability Theory.

[12]  Osman Hasan,et al.  Towards Formal Fault Tree Analysis Using Theorem Proving , 2015, CICM.

[13]  Johannes Hölzl,et al.  Construction and stochastic applications of measure spaces in higher-order logic , 2013 .

[14]  Makis Stamatelatos,et al.  Fault tree handbook with aerospace applications , 2002 .

[15]  Laura L. Pullum,et al.  Fault tree models for the analysis of complex computer-based systems , 1996, Proceedings of 1996 Annual Reliability and Maintainability Symposium.

[16]  Sofiène Tahar,et al.  On the Formalization of the Lebesgue Integration Theory in HOL , 2010, ITP.

[17]  Tarek Mhamdi,et al.  Information-Theoretic Analysis using Theorem Proving , 2012 .

[18]  Frank Groen NASA Office of Safety and Mission Assurance , 2016 .

[19]  Mariëlle Stoelinga,et al.  A Rigorous, Compositional, and Extensible Framework for Dynamic Fault Tree Analysis , 2010, IEEE Transactions on Dependable and Secure Computing.