Skip to main content

2014 | OriginalPaper | Buchkapitel

8. Contract-Based Reasoning for Component Systems with Rich Interactions

verfasst von : Susanne Graf, Roberto Passerone, Sophie Quinton

Erschienen in: Embedded Systems Development

Verlag: Springer New York

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In this chapter we propose a rule unifying circular and non-circular assume-guarantee reasoning and show its interest for contract-based design and verification. Our work was motivated by the need to combine, in the top-down methodology of the FP7 SPEEDS project, partial tool chains for two component frameworks derived from the HRC model and using different refinement relations. While the L0 framework is based on a simple trace-based representation of behaviors and uses set operations for defining refinement, the more elaborated L1 framework offers the possibility to build systems of components with complex interactions. Our approach in L1 is based on circular reasoning and results in a method for checking contract dominance which does not require the explicit composition of contracts. In order to formally relate results obtained in L0 and L1, we provide a definition of the minimal concepts required by a consistent contract theory and propose abstract definitions which smoothly encompass hierarchical components. Finally, using our relaxed rule for circular reasoning, we show how to use together the L0 and L1 refinement relations and as a result their respective tool chains.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Fußnoten
1
One may also need to ensure that the assumptions of the low-level contracts are indeed satisfied in the actual system. This is achieved by strengthening the definition with:
$$\begin{aligned} \forall E \text{ on } {\fancyscript{P}} _{A}\text{, } \text{ if } E \models (G^{\prime }, gl ^{\prime },A^{\prime }) \text{ then } E \models (G, gl ,A) \end{aligned}$$
 
2
Note that non-determinism is another reason here for the non validity of circular reasoning.
 
Literatur
2.
Zurück zum Zitat Damm, W.: Controlling speculative design processes using rich component models. In: Proceedings of ACSD’05, pp. 118–119. IEEE Computer Society (2005) Damm, W.: Controlling speculative design processes using rich component models. In: Proceedings of ACSD’05, pp. 118–119. IEEE Computer Society (2005)
3.
Zurück zum Zitat Basu, A., Bozga, M., Sifakis, J.: Modeling heterogeneous real-time components in BIP. In: Proceedings of SEFM’06, pp. 3–12. IEEE Computer Society (2006) Basu, A., Bozga, M., Sifakis, J.: Modeling heterogeneous real-time components in BIP. In: Proceedings of SEFM’06, pp. 3–12. IEEE Computer Society (2006)
4.
Zurück zum Zitat Benveniste, A., Caillaud, B., Ferrari, A., Mangeruca, L., Passerone, R., Sofronis, C.: Multiple viewpoint contract-based specification and design. In: F.S. de Boer, M.M. Bonsangue, S. Graf, Willem-Paul de Roever (eds.) Formal Methods for Components and Objects, 6th International Symposium (FMCO 2007), Amsterdam, The Netherlands, October 24–26, 2007, Revised Papers, Lecture Notes in Computer Science, vol. 5382, pp. 200–225. Springer (2008). 10.1007/978-3-540-92188-2 Benveniste, A., Caillaud, B., Ferrari, A., Mangeruca, L., Passerone, R., Sofronis, C.: Multiple viewpoint contract-based specification and design. In: F.S. de Boer, M.M. Bonsangue, S. Graf, Willem-Paul de Roever (eds.) Formal Methods for Components and Objects, 6th International Symposium (FMCO 2007), Amsterdam, The Netherlands, October 24–26, 2007, Revised Papers, Lecture Notes in Computer Science, vol. 5382, pp. 200–225. Springer (2008). 10.​1007/​978-3-540-92188-2
5.
Zurück zum Zitat Benvenuti, L., Ferrari, A., Mangeruca, L., Mazzi, E., Passerone, R., Sofronis, C.: A contract-based formalism for the specification of heterogeneous systems. In: Proceedings of the Forum on Specification, Verification and Design Languages (FDL08), pp. 142–147. Stuttgart, Germany (2008). doi: 10.1109/FDL.2008.4641436 Benvenuti, L., Ferrari, A., Mangeruca, L., Mazzi, E., Passerone, R., Sofronis, C.: A contract-based formalism for the specification of heterogeneous systems. In: Proceedings of the Forum on Specification, Verification and Design Languages (FDL08), pp. 142–147. Stuttgart, Germany (2008). doi: 10.​1109/​FDL.​2008.​4641436
9.
Zurück zum Zitat Partners, S.: SPEEDS metamodel. SPEEDS project deliverable D2.1.5 (2009) Partners, S.: SPEEDS metamodel. SPEEDS project deliverable D2.1.5 (2009)
12.
Zurück zum Zitat Maier, P.: A lattice-theoretic framework for circular assume-guarantee reasoning. Ph.D. thesis, Universität des Saarlandes (2003) Maier, P.: A lattice-theoretic framework for circular assume-guarantee reasoning. Ph.D. thesis, Universität des Saarlandes (2003)
13.
Zurück zum Zitat Cobleigh, J.M., Avrunin, G.S., Clarke, L.A.: Breaking up is hard to do: An evaluation of automated assume-guarantee reasoning. ACM Trans. Softw. Eng. Methodol. 17(2) (2008) Cobleigh, J.M., Avrunin, G.S., Clarke, L.A.: Breaking up is hard to do: An evaluation of automated assume-guarantee reasoning. ACM Trans. Softw. Eng. Methodol. 17(2) (2008)
14.
Zurück zum Zitat Alfaro, L., Henzinger, T.A.: Interface automata. In: Proceedings of ESEC/SIGSOFT FSE’01, pp. 109–120. ACM Press (2001) Alfaro, L., Henzinger, T.A.: Interface automata. In: Proceedings of ESEC/SIGSOFT FSE’01, pp. 109–120. ACM Press (2001)
15.
Zurück zum Zitat Larsen, K.G., Nyman, U., Wasowski, A.: Interface input/output automata. In: Proceedings of FM’06, LNCS, vol. 4085, pp. 82–97 (2006) Larsen, K.G., Nyman, U., Wasowski, A.: Interface input/output automata. In: Proceedings of FM’06, LNCS, vol. 4085, pp. 82–97 (2006)
16.
Zurück zum Zitat Tripakis, S., Lickly, B., Henzinger, T.A., Lee, E.A.: On relational interfaces. In: Proceedings of EMSOFT’09, pp. 67–76 (2009) Tripakis, S., Lickly, B., Henzinger, T.A., Lee, E.A.: On relational interfaces. In: Proceedings of EMSOFT’09, pp. 67–76 (2009)
17.
Zurück zum Zitat Delahaye, B., Caillaud, B., Legay, A.: Probabilistic contracts: A compositional reasoning methodology for the design of stochastic systems. In: Proceedings of ACSD’10, pp. 223–232 (2010) Delahaye, B., Caillaud, B., Legay, A.: Probabilistic contracts: A compositional reasoning methodology for the design of stochastic systems. In: Proceedings of ACSD’10, pp. 223–232 (2010)
18.
Zurück zum Zitat Raclet, J.B., Badouel, E., Benveniste, A., Caillaud, B., Legay, A., Passerone, R.: Modal interfaces: Unifying interface automata and modal specifications. In: Proceedings of the Ninth International Conference on Embedded Software (EMSOFT09), pp. 87–96. Grenoble, France (2009) Raclet, J.B., Badouel, E., Benveniste, A., Caillaud, B., Legay, A., Passerone, R.: Modal interfaces: Unifying interface automata and modal specifications. In: Proceedings of the Ninth International Conference on Embedded Software (EMSOFT09), pp. 87–96. Grenoble, France (2009)
19.
Zurück zum Zitat Raclet, J.B., Badouel, E., Benveniste, A., Caillaud, B., Passerone, R.: Why are modalities good for Interface Theories? In: Proceedings of the Ninth International Conference on Application of Concurrency to System Design (ACSD09), pp. 119–127. Augsburg, Germany (2009) Raclet, J.B., Badouel, E., Benveniste, A., Caillaud, B., Passerone, R.: Why are modalities good for Interface Theories? In: Proceedings of the Ninth International Conference on Application of Concurrency to System Design (ACSD09), pp. 119–127. Augsburg, Germany (2009)
20.
Zurück zum Zitat Raclet, J.B., Badouel, E., Benveniste, A., Caillaud, B., Legay, A., Passerone, R.: A modal interface theory for component-based design. Fundamenta Informaticae 108(1–2), 119–149 (2011). 10.3233/FI-2011-416 Raclet, J.B., Badouel, E., Benveniste, A., Caillaud, B., Legay, A., Passerone, R.: A modal interface theory for component-based design. Fundamenta Informaticae 108(1–2), 119–149 (2011). 10.3233/FI-2011-416
21.
Zurück zum Zitat Larsen, K.G., Nyman, U., Wasowski, A.: Modal I/O automata for interface and product line theories. In: Proceedings of ESOP’07, LNCS, vol. 4421, pp. 64–79 (2007) Larsen, K.G., Nyman, U., Wasowski, A.: Modal I/O automata for interface and product line theories. In: Proceedings of ESOP’07, LNCS, vol. 4421, pp. 64–79 (2007)
22.
Zurück zum Zitat Quinton, S., Graf, S.: Contract-based verification of hierarchical systems of components. In: Proceedings of SEFM’08, pp. 377–381. IEEE Computer Society (2008) Quinton, S., Graf, S.: Contract-based verification of hierarchical systems of components. In: Proceedings of SEFM’08, pp. 377–381. IEEE Computer Society (2008)
23.
Zurück zum Zitat Hafaiedh, I.B., Graf, S., Quinton, S.: Reasoning about safety and progress using contracts. In: Proceedings of ICFEM’10, pp. 436–451 (2010) Hafaiedh, I.B., Graf, S., Quinton, S.: Reasoning about safety and progress using contracts. In: Proceedings of ICFEM’10, pp. 436–451 (2010)
24.
Zurück zum Zitat Graf, S., Passerone, R., Quinton, S.: Contract-based reasoning for component systems with complex interactions. Research report TR-2010-12, VERIMAG (2010 updated 2013) Graf, S., Passerone, R., Quinton, S.: Contract-based reasoning for component systems with complex interactions. Research report TR-2010-12, VERIMAG (2010 updated 2013)
25.
Zurück zum Zitat Sifakis, J.: A framework for component-based construction. In: Proceedings of SEFM’05, pp. 293–300. IEEE Computer Society (2005) Sifakis, J.: A framework for component-based construction. In: Proceedings of SEFM’05, pp. 293–300. IEEE Computer Society (2005)
26.
Zurück zum Zitat Benveniste, A., Caillaud, B., Passerone, R.: A generic model of contracts for embedded systems. Rapport de recherche 6214, Institut National de Recherche en Informatique et en Automatique (2007) Benveniste, A., Caillaud, B., Passerone, R.: A generic model of contracts for embedded systems. Rapport de recherche 6214, Institut National de Recherche en Informatique et en Automatique (2007)
Metadaten
Titel
Contract-Based Reasoning for Component Systems with Rich Interactions
verfasst von
Susanne Graf
Roberto Passerone
Sophie Quinton
Copyright-Jahr
2014
Verlag
Springer New York
DOI
https://doi.org/10.1007/978-1-4614-3879-3_8

Neuer Inhalt