Probabilistic invariants for probabilistic machines

  • Authors:
  • Thai Son Hoang;Zhendong Jin;Ken Robinson;Annabelle McIver;Carroll Morgan

  • Affiliations:
  • School of Computer Science & Engineering, University of New South Wales, NSW, Australia;School of Computer Science & Engineering, University of New South Wales, NSW, Australia;School of Computer Science & Engineering, University of New South Wales, NSW, Australia;Department of Computing, Macquarie University, NSW, Australia;School of Computer Science & Engineering, University of New South Wales, NSW, Australia

  • Venue:
  • ZB'03 Proceedings of the 3rd international conference on Formal specification and development in Z and B
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Abrial's Generalised Substitution Language (GSL) [4] can be modified to operate on arithmetic expressions, rather than Boolean predicates, which allows it to be applied to probabilistic programs [13]. We add a new operator p⊕ to GSL, for probabilistic choice, and we get the probabilistic Generalised Substitution Language (pGSL): a smooth extension of GSL that includes random algorithms within its scope. In this paper we begin to examine the effect of pGSL on B's larger-scale structures: its machines. In particular, we suggest a notion of probabilistic machine invariant. We show how these invariants interact with pGSL, at a fine-grained level; and at the other extreme we investigate how they affect our general understanding "in the large" of probabilistic machines and their behaviour. Overall, we aim to initiate the development of probabilistic B (pB), complete with a suitable probabilistic AMN (pAMN). We discuss the practical extension of the B-Toolkit [5] to support pB, and we give examples to show how pAMN can be used to express and reason about probabilistic properties of a system.