Skip to main content
QUICK REVIEW

[Paper Review] Deriving Specifications of Dependable Systems: toward a Method

Manuel Mazzara|arXiv (Cornell University)|Sep 20, 2010
Formal Methods in VerificationComputer Science17 references18 citations
TL;DR

This paper proposes a method for deriving formal specifications of dependable systems using Layered Fault Tolerant Specification (LFTS), which separates normal and abnormal behaviors into distinct layers. It introduces an Error Injector (EI) to model environmental faults and uses rely/guarantee reasoning to ensure consistency, enabling systematic, extensible specification of fault-tolerant behavior in real-world systems through case studies in transportation and automotive domains.

ABSTRACT

This paper proposes a method for deriving formal specifications of systems. To accomplish this task we pass through a non trivial number of steps, concepts and tools where the first one, the most important, is the concept of method itself, since we realized that computer science has a proliferation of languages but very few methods. We also propose the idea of Layered Fault Tolerant Specification (LFTS) to make the method extensible to dependable systems. The principle is layering the specification, for the sake of clarity, in (at least) two different levels, the first one for the normal behavior and the others (if more than one) for the abnormal. The abnormal behavior is described in terms of an Error Injector (EI) which represents a model of the erroneous interference coming from the environment. This structure has been inspired by the notion of idealized fault tolerant component but the combination of LFTS and EI using rely guarantee thinking to describe interference can be considered one of the main contributions of this work. The progress toward this method and the way to layer specifications has been made experimenting on the Transportation and the Automotive Case Studies of the DEPLOY project.

Motivation & Objective

  • To address the lack of formal methods in system specification despite the proliferation of formal languages.
  • To develop a systematic approach for specifying dependable systems that account for real-world faults and environmental interference.
  • To formalize a method that supports the incremental modeling of abnormal behaviors through layered specifications.
  • To enable clearer, more maintainable specifications by separating normal and fault-tolerant behaviors using LFTS.
  • To demonstrate the method’s feasibility through case studies in the DEPLOY project’s transportation and automotive systems.

Proposed method

  • Introduces the concept of a method as a structured, causal sequence of steps, distinct from formal languages or notations.
  • Proposes Layered Fault Tolerant Specification (LFTS) to organize system specifications into at least two layers: one for normal behavior and one or more for abnormal or fault-prone behaviors.
  • Employs an Error Injector (EI) as a formal model of environmental faults, simulating erroneous interference on the system.
  • Applies rely/guarantee reasoning to formally describe the interaction between the system and the EI, ensuring consistency across layers.
  • Uses a 'make-it-robust' process to incrementally extend specifications to handle rare or abnormal conditions, guided by formal rules.
  • Applies the method to real-world case studies (train and automotive systems), modifying state transitions and availability states to reflect fault scenarios.

Experimental results

Research questions

  • RQ1How can a formal method be distinguished from a formal language, and why is this distinction critical for dependable systems engineering?
  • RQ2What structural principles enable the systematic modeling of fault-tolerant behavior in system specifications?
  • RQ3How can the interaction between a system and environmental faults be formally modeled and verified?
  • RQ4In what way does layering specifications improve clarity, maintainability, and correctness in dependable systems?
  • RQ5How can the process of identifying and adding fault-tolerant layers be formalized to support automation and consistency checks?

Key findings

  • The paper establishes that formal methods are distinct from formal languages and that a method must include a structured, causal sequence of steps to be effective.
  • The Layered Fault Tolerant Specification (LFTS) approach successfully separates normal and abnormal system behavior, improving specification clarity and modularity.
  • The integration of an Error Injector (EI) with rely/guarantee conditions enables precise modeling of environmental faults and their impact on system state.
  • The 'make-it-robust' process provides a formalizable framework for extending specifications to handle rare or faulty conditions, with human creativity in layer identification and automation in consistency checking.
  • Case studies on the train and automotive systems demonstrate the method’s practical applicability, showing how fault conditions like sensor failure or message loss can be formally captured and managed.
  • The method enables consistency checks between layers through formal rules, reducing the risk of specification inconsistencies in complex, dependable systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.