Skip to content

Formal Semantics and Machine-Checked Metatheory for General Fault Trees in Lean 4

Adnan Rashid

cs.LO

Abstract

Fault Tree Analysis (FTA) is widely used to model and analyze failure propagation in safety-critical systems. While interactive theorem proving has been applied to formalize fault-tree analyses, comparatively less attention has been devoted to reusable semantic foundations upon which multiple verified analyses can be systematically developed. This paper presents an executable semantic framework for general fault trees in the Lean 4 interactive theorem prover. The framework defines a unified abstract syntax supporting AND, OR, NOT, NAND, and NOR gates, together with Boolean semantics over finite sets of failed basic events. We develop a machine-checked metatheory covering structural properties, Boolean algebraic laws, semantic equivalence, and monotonicity. The positive fragment is characterized within the general language, and we formally prove that every positive fault tree is semantically monotone. The effectiveness of the framework is demonstrated through the formalization of a satellite solar-array mechanical deployment. The case study shows that realistic engineering fault trees can be represented, executed, and verified using the generic semantic infrastructure without requiring model-specific semantic definitions or monotonicity proofs.

Create a lesson

Metadata

Comments
17 pages