Richard Banach, Michael Poppleton, Czeslaw Jeske, Susan Stepney.
Retrenching the Purse: Finite Sequence Numbers and the Tower Pattern.

In J. Fitzgerald, I. Hayes, A. Tarlecki (eds) Proc. FM-05, Newcastle, UK, July 2005 . LNCS 3582:382-398, Springer, 2005

Abstract:

The Mondex Electronic Purse system is an outstanding example of formal refinement techniques applied to a genuine industrial scale application, and notably, was the first verification to achieve ITSEC level E6 certification. A formal abstract model including security properties, and a formal concrete model of the system design were developed, and a formal refinement was hand-proved between them in Z. Despite this success, certain requirements issues were set beyond the scope of the formal development, or handled in an unnatural manner.

Retrenchment is reviewed in a form suitable for integration with Z refinement, and is used to address one such issue in detail: the finiteness of the transaction sequence number in the purse funds transfer protocol. A retrenchment is constructed from the lowest level model of the purse system to a model in which sequence numbers are finite, using a suitable elaboration of the Z promotion technique. We overview the lifting of that retrenchment to the abstraction level of the higher models of the purse system. The concessions of the various retrenchments generated, formally capture the dissonance between the unbounded sequence number idealisation and the bounded reality. Reasoning about when the concession can become valid influences the actual choice of sequence number bound. The retrenchment-enhanced formal development is proposed as an example of a widely applicable methodological pattern for formal developments of this kind: the Tower Pattern .

More on the

@inproceedings(SS-FM05,
  author = "Richard Banach and Michael Poppleton and Czeslaw Jeske and Susan Stepney",
  title = "Retrenching the Purse: Finite Sequence Numbers and the Tower Pattern",
  pages = "382--398",
  crossref = "FM05"
)

@proceedings(FM05,
  title = "Proc. FM-05, Newcastle, UK, July 2005",
  booktitle = "Proc. FM-05, Newcastle, UK, July 2005",
  editor = "J. Fitzgerald and I. Hayes and A. Tarlecki",
  series = "LNCS",
  volume = 3582,
  publisher = "Springer",
  year = 2005
)