Editorial

Alessandra Russo, Andy Schürr, Heike WehrheimFormal Aspects Comput 2019

Introduction

As software systems increasingly underpin critical global infrastructure, from economic systems to social progress, the demand for high-quality, reliable, and secure code has reached an unprecedented level. Despite its ubiquity, software engineering often lacks the mature, soundly-based discipline characteristic of more established engineering fields. This editorial introduces a special issue of Formal Aspects of Computing, presenting four selected papers from the 2018 International Conference on Fundamental Approaches to Software Engineering (FASE). These works represent the cutting edge of efforts to transform software engineering from an ad-hoc practice into a rigorous, precise science.

Addressing Modern Software Challenges

The featured research addresses several persistent bottlenecks in the development of complex systems:

  • Controller Design: The difficulty of iteratively designing and verifying complex software controllers.
  • Distributed Systems: The challenge of ensuring "read atomicity" and preventing lost updates in distributed transaction protocols.
  • Architectural Integrity: The historical lack of formal verification for high-level architectural design patterns.
  • Model Consistency: The complexity of maintaining synchronization across multiple, interrelated models.

Methodological Diversity in Formal Methods

The selected papers utilize a wide array of formal techniques to provide rigorous solutions:

  • Hierarchical Decomposition: This approach allows for breaking down complex software controllers into manageable sub-components, facilitating incremental development and formal specification.
  • Statistical Model Checking: This technique was employed to analyze the performance and safety properties of the ROLA protocol, a new approach to distributed transactions.
  • Interactive Theorem Proving: Tools such as Isabelle/HOL were used within the FACTum framework to verify architectural design patterns (ADPs), ensuring structural soundness at the design phase.
  • Algebraic Modeling: The application of "multiary delta lenses" provides a framework for handling update propagation in complex, non-binary model-to-model transformations.

Key Insights and Results

The contributions of these papers highlight several significant shifts in the application of formal methods:

Incremental Rigor

Formal verification is no longer an "all or nothing" proposition. Modern frameworks allow developers to begin with prototypic implementations and gradually replace them with verified, sophisticated components. This makes formal methods more accessible and practical for iterative development cycles.

Architectural Formalism

Research is moving beyond the verification of source code to the verification of architectural patterns themselves. By ensuring that high-level designs are sound before implementation begins, developers can prevent systemic errors from the outset. The FACTum framework demonstrates the success of this approach using interactive theorem provers.

Multiary Synchronization

While model synchronization is traditionally viewed as a binary (two-way) process, this collection emphasizes the necessity of "multiary" synchronization. Algebraic frameworks now allow for maintaining consistency across multiple disparate models simultaneously, which is crucial for complex, multi-faceted software systems.

Performance and Safety

A common misconception is that formal methods come at the cost of performance. However, the ROLA protocol for distributed transactions demonstrates that formal rigor can lead to superior performance. By satisfying read atomicity and preventing lost updates, ROLA outperformed existing protocols in statistical model checking tests while providing stricter safety guarantees.

Conclusion

The papers curated in this special issue demonstrate that formal foundations are essential for the evolution of software engineering. By providing precise definitions, rigorous proofs, and scalable frameworks, these contributions help bridge the gap between ad-hoc coding and a mature engineering discipline. The integration of formal methods into controller design, distributed systems, and architectural patterns paves the way for a more reliable and secure digital future.

Summary updated

BibTeX
@article{russo2019editorial,
  author = {Alessandra Russo and Andy Schürr and Heike Wehrheim},
  title = {{Editorial}},
  journal = {Formal Aspects Comput},
  year = {2019},
  doi = {10.1007/s00165-019-00495-y},
}
Figure