Proof rules for probabilistic loops

  • Authors:
  • Carroll Morgan

  • Affiliations:
  • Probabilistic Systems Group, Programming Research Group at Oxford University

  • Venue:
  • FAC-RW'96 Proceedings of the BCS-FACS 7th conference on Refinement
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

Abstract

Probabilistic predicate transformers provide a semantics for imperative programs containing both demonic and probabilistic nondeterminism. Like the (standard) predicate transformers popularised by Dijkstra, they model programs as functions from final results to the initial conditions sufficient to achieve them. This paper presents practical proof rules, using the probabilistic transformers, for reasoning about iterations when probability is present. They are thoroughly illustrated by example: probabilistic binary chop, faulty factorial, the martingale gambling strategy and Herman's probabilistic self-stabilisation. Just as for traditional programs, weakest-precondition based proof rules for program derivation are an important step on the way to designing more general refinement techniques, or even a refinement calculus, for imperative probabilistic programming.