Abstract
Weakest precondition predicate transformers enable compositional reasoning about program behaviour. Partially observable probability— referring to when a nondeterministic scheduler has only noisy information about hidden program state— poses a particular challenge for such reasoning, due to e.g. the absence of the frame rule, and to information-theoretic correlations between variables.
We extend Morgan, McIver, and Seidel's wpe (“probabilistic predicate”) transformers to accommodate partially observable probability, thereby presenting a weakest precondition semantics for mixed nondeterminism and partially observable probability. Our so-called “safety predicate s” are a novel application of a Smyth-type powerconstruction to predicates instead of state.
A “weak frame rule” ensures that standard precondition/postcondition annotations in the Hoare logic style remain consistent even as new variables are added to scope. Sound healthiness conditions generalise those for wpe and characterise programs that commute. In a case study, we apply these healthiness conditions to establish soundness rules for simulations between probabilistic datatypes. These soundness rules have an interesting duality: so-called forward simulations cannot leak information, and backward simulations cannot exploit (act on) leaked information.
| Original language | English |
|---|---|
| Article number | 116150 |
| Pages (from-to) | 1-38 |
| Number of pages | 38 |
| Journal | Theoretical Computer Science |
| Volume | 1084 |
| DOIs | |
| Publication status | Published - 20 Sept 2026 |
Bibliographical note
Copyright the Author(s) 2026. Version archived for private and non-commercial use with the permission of the author/s and according to publisher conditions. For further rights please contact the publisher.Keywords
- Weakest precondition predicate transformers
- Partially observable probability
- Hoare logic
- Denotational semantics
- Convex cones
- Probabilistic nondeterminism
- Probabilistic datatypes
- Quantitative information flow
Fingerprint
Dive into the research topics of 'Probabilistic predicate transformers II: partially observable probability'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver