Example 01
Coin flip
A basic probabilistic example introducing the language and its treatment of uncertain outcomes.
Explore the specification and source ↗Formal Semantics & Theorem Proving · Recorded demonstration
From probabilistic notation to mechanised reasoning.
Originally published
Probabilistic programs combine state changes with uncertainty. Precise semantics and mechanised reasoning help make their assumptions and intended behaviour explicit.
The walkthrough introduces the probabilistic programming language and Isabelle/UTP implementation covered in the demonstration, including Iverson brackets, distribution notation, algebraic laws and fixed-point theorems.
See the research
Original recording from the probabilistic-relations showcase, first published on 4 February 2023.
Captions and transcript are unavailable. The topics are summarised below.
Download the original recording (MP4) ↓The walkthrough introduces probabilistic programming notation and its semantic implementation in Isabelle/UTP, built on Isabelle/HOL.
The walkthrough covers Iverson brackets, distribution notation, algebraic laws and fixed-point theorems. The screenshot shows the theory inside the Isabelle editor.
The examples cover a coin flip, the Monty Hall problem with learning facts, and robot localisation.
This is a historical walkthrough, originally published in February 2023. It does not demonstrate every result in the later 2024 ProbURel paper, and it does not run Isabelle in this website. Reproducing the proofs requires the corresponding theory versions and Isabelle/UTP environment.
Explore the source material
Example 01
A basic probabilistic example introducing the language and its treatment of uncertain outcomes.
Explore the specification and source ↗Example 02
A worked example about probabilistic reasoning as information becomes available.
Explore the specification and source ↗Example 03
A robotics example connecting probabilistic relations to uncertainty about position.
Explore the specification and source ↗The later journal paper, Probabilistic unifying relations for modelling epistemic and aleatoric uncertainty: Semantics and automated reasoning with theorem proving, is co-authored by K. Ye, J. Woodcock and S. Foster and published in Theoretical Computer Science in 2024.
The February 2023 walkthrough covers three worked examples. The later journal paper develops a broader set of examples and results.
The probabilistic-relations repository contains installation instructions and worked examples. Reproducing the proofs requires the corresponding Isabelle/UTP environment and theory versions.
Probabilistic unifying relations for modelling epistemic and aleatoric uncertainty: Semantics and automated reasoning with theorem proving
K. Ye, J. Woodcock, and S. Foster · 2024