Skip to main content

2018 | OriginalPaper | Buchkapitel

3. Simple State-Based Refinement

verfasst von : John Derrick, Eerke Boiten

Erschienen in: Refinement

Verlag: Springer International Publishing

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

search-config
loading …

Abstract

One central distinction in formal methods is between those based on state, and those based on behaviour. In most applications it is essential or at least practical to have both. State based systems need behavioural elements in order to consider aspects of interaction with an environment, for example to record which changes of state are due to the system’s ongoing execution and which are in response to an externally provided stimulus. Behaviour based systems can use state and data for abstraction, for example recording the number of free spaces as a number instead of a behaviour that encodes directly how many allocation operations will still succeed. The rich research field of “integrated formal methods” considers formalisms that have both, through extensions or integration of different formalisms. We will return in detail to these issues in Chap. 9 and on. The models we have looked at so far concentrate on behaviour, and states are fully characterised by the behaviour that will be possible from that point on. Observing only the (possible) behaviour tells us everything there is to know in a LTS. In this chapter we will look at a different class of elementary models that take the complementary view. What we will be observing is states rather than behaviours; and behaviour will be implicit, in the sense that we have to draw the conclusion that “something must have happened” if we can observe that the state has changed. We observe what “is”, not directly what “happens”.

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!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Araki K, Galloway A, Taguchi K (eds) (1999) International conference on integrated formal methods 1999 (IFM’99). Springer, New York Araki K, Galloway A, Taguchi K (eds) (1999) International conference on integrated formal methods 1999 (IFM’99). Springer, New York
2.
Zurück zum Zitat Derrick J, Boiten EA (2014) Refinement in Z and object-Z, 2nd edn. Springer, LondonCrossRef Derrick J, Boiten EA (2014) Refinement in Z and object-Z, 2nd edn. Springer, LondonCrossRef
4.
Zurück zum Zitat Hesselink WH (2005) Eternity variables to prove simulation of specifications. ACM Trans Comput Log 6(1):175–201MathSciNetCrossRef Hesselink WH (2005) Eternity variables to prove simulation of specifications. ACM Trans Comput Log 6(1):175–201MathSciNetCrossRef
5.
Zurück zum Zitat Boiten EA (2011) Perspicuity and granularity in refinement. In: Proceedings 15th international refinement workshop, vol 55 of EPTCS, pp 155–165 Boiten EA (2011) Perspicuity and granularity in refinement. In: Proceedings 15th international refinement workshop, vol 55 of EPTCS, pp 155–165
6.
Zurück zum Zitat Hoare CAR, He Jifeng (1998) Unifying theories of programming. Prentice Hall, LondonMATH Hoare CAR, He Jifeng (1998) Unifying theories of programming. Prentice Hall, LondonMATH
7.
Zurück zum Zitat de Roever W-P, Engelhardt K (1998) Data refinement: model-oriented proof methods and their comparison. CUP, CambridgeCrossRef de Roever W-P, Engelhardt K (1998) Data refinement: model-oriented proof methods and their comparison. CUP, CambridgeCrossRef
8.
Zurück zum Zitat Lamport L (1994) The temporal logic of actions. ACM Trans Program Lang Syst 16(3):872–923CrossRef Lamport L (1994) The temporal logic of actions. ACM Trans Program Lang Syst 16(3):872–923CrossRef
9.
Zurück zum Zitat Back RJR (1993) Refinement of parallel and reactive programs. In: Broy M (ed) Program design calculi. Springer, Berlin, pp 73–92CrossRef Back RJR (1993) Refinement of parallel and reactive programs. In: Broy M (ed) Program design calculi. Springer, Berlin, pp 73–92CrossRef
10.
Zurück zum Zitat Abrial J-R (2010) Modeling in event-B: system and software engineering, 1st edn. Cambridge University Press, New YorkCrossRef Abrial J-R (2010) Modeling in event-B: system and software engineering, 1st edn. Cambridge University Press, New YorkCrossRef
11.
Zurück zum Zitat Schellhorn G (2005) ASM refinement and generalizations of forward simulation in data refinement: a comparison. Theor Comput Sci 336(2–3):403–436MathSciNetCrossRef Schellhorn G (2005) ASM refinement and generalizations of forward simulation in data refinement: a comparison. Theor Comput Sci 336(2–3):403–436MathSciNetCrossRef
Metadaten
Titel
Simple State-Based Refinement
verfasst von
John Derrick
Eerke Boiten
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-92711-4_3