Atomic actions, and their refinements to isolated protocols - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Formal Aspects of Computing Année : 2009

Atomic actions, and their refinements to isolated protocols

Résumé

Inspired by the properties of the refinement development of the Mondex Electronic Purse, we view an isolated atomic action as a family of transitions with a common before-state, and different after-states corresponding to different possible outcomes when the action is attempted. We view a protocol for an atomic action as a computation DAG, each path of which achieves in several steps one of the outcomes of the atomic action. We show that in this picture, the protocol can be viewed as a relational refinement of the atomic action in a number of ways. Firstly, it yields a ‘big diagram' simulation à la ASM. Secondly, it yields a ‘small diagram' simulation, in which the atomic action is synchronised with an individual step along each path through the protocol, and all the other steps of the path simulate . We show that provided each path through the protocol contains one step synchronised with the atomic action, the choice of synchronisation point can be made freely. We describe the relationship between such synchronisations and forward and backward simulations. We relate this theory to serialisations of system runs containing multiple interleaved transactions, showing how the clean picture of the refinement of an isolated atomic action to an isolated protocol becomes obscured by the details of the interleaving. In effect, the fact that protocols are typically executed by a number of co-operating agents, not all of which embark on executing the protocol at the same moment, results in ‘ragged starts' and ‘ragged ends' to protocol instantiations, leading to potential overlaps between unrelated protocol instances that the theory must handle. We show how existing Mondex refinements embody the ideas developed, and describe a mechanical verification of the results presented.
Fichier principal
Vignette du fichier
PEER_stage2_10.1007%2Fs00165-009-0103-1.pdf (505.46 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00534921 , version 1 (11-11-2010)

Identifiants

Citer

Richard Banach, Gerhard Schellhorn. Atomic actions, and their refinements to isolated protocols. Formal Aspects of Computing, 2009, 22 (1), pp.33-61. ⟨10.1007/s00165-009-0103-1⟩. ⟨hal-00534921⟩

Collections

PEER
41 Consultations
114 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More