Hoare logic can be used to verify properties of deterministic programs by deriving correctness formulae, also called Hoare triples. The goal of this paper is to extend the Hoare logic to be able to deal with probabilistic programs. To this end a generic non-uniform language L_pw with a probabilistic choice operator is introduced and a denotational semantics D is given for the language. A notion of probabilistic predicate is defined to express claims about the state of a probabilistic program. To reason about the probabilistic predicates a derivation system pH, similar to that of standard Hoare logic, is given. The derivation system is shown to be correct with respect to the semantics D. Some basic examples illustrate the use of the system.
|Number of pages||13|
|Publication status||Published - Dec 1999|
|Event||5th Asian Conference on Advances in Computing Science, ASIAN 1999 - Phuket, Thailand|
Duration: 10 Dec 1999 → 12 Dec 1999
|Conference||5th Asian Conference on Advances in Computing Science, ASIAN 1999|
|Period||10/12/99 → 12/12/99|
|Other||December 10-12, 1999|