A general framework for architecture composability

Paul C. Attie, Eduard Baranov, Simon Bliudze, Mohamad Jaber, Joseph Sifakis

Formal Aspects of Computing · 2015 · 34 citations · 23 references

DOIFull text

Open access

Concepts

Abstract

Abstract Architectures depict design principles: paradigms that can be understood by all, allow thinking on a higher plane and avoiding low-level mistakes. They provide means for ensuring correctness by construction by enforcing global properties characterizing the coordination between components. An architecture can be considered as an operator A that, applied to a set of components <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi mathvariant="script">B</mml:mi> </mml:math> , builds a composite component <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>A</mml:mi> <mml:mo stretchy="false">(</mml:mo> <mml:mi mathvariant="script">B</mml:mi> <mml:mo stretchy="false">)</mml:mo> </mml:mrow> </mml:math> meeting a characteristic property <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi mathvariant="normal">Φ</mml:mi> </mml:math> . Architecture composability is a basic and common problem faced by system designers. In this paper, we propose a formal and general framework for architecture composability based on an associative, commutative and idempotent architecture composition operator <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mo>⊕</mml:mo> </mml:math> . The main result is that if two architectures A 1 and A 2 enforce respectively safety properties <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:msub> <mml:mi mathvariant="normal">Φ</mml:mi> <mml:mn>1</mml:mn> </mml:msub> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:msub> <mml:mi mathvariant="normal">Φ</mml:mi> <mml:mn>2</mml:mn> </mml:msub> </mml:math> , the architecture <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:msub> <mml:mi>A</mml:mi> <mml:mn>1</mml:mn> </mml:msub> <mml:mo>⊕</mml:mo> <mml:msub> <mml:mi>A</mml:mi> <mml:mn>2</mml:mn> </mml:msub> </mml:mrow> </mml:math> enforces the property <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:msub> <mml:mi mathvariant="normal">Φ</mml:mi> <mml:mn>1</mml:mn> </mml:msub> <mml:mo>∧</mml:mo> <mml:msub> <mml:mi mathvariant="normal">Φ</mml:mi> <mml:mn>2</mml:mn> </mml:msub> </mml:mrow> </mml:math> , that is both properties are preserved by architecture composition. We also establish preservation of liveness properties by architecture composition. The presented results are illustrated by a running example and a case study.

References

23