Keywords: Probability Theory, HOL4, Interactive Theorem Proving, Proof Mechanisation
Units: 12 units
Background
Mechanising mathematics is the task of turning (relatively) wellunderstood mathematics into verified proofs with an interactive theoremproving system. Such verified material can then lie behind highassurance software.
This project is an opportunity for students who wants to learn the HOL4 theoremproving system and realise an important piece of mathematics. At thesis level (24 units), the simple mechanisation of the mathematics would need to be augmented with an application of the mechanisation and/or significant novelty in the nature of the proofs.
Research Questions and Tasks
The aim of this research project is to develop a formal version of the Theory of Stationary (Strict Sense) Random Sequences and Ergodic Theory. This will include the following tasks:

Starting with the existing mechanisation of HOL4’s formal probability library, adds the concepts and supporting theorems for measurepreserving transformations, ergodicity and eventually prove Birkhoff’s Ergodic Theorem. (Informal proofs can be found in Chapter 5 of [Shiryaev2], cf. also [Lindgren])

Uses the Ergodic Theorem to prove (again) the Strong Laws of Large Numbers (SLLN) for I.I.D. random variables (independent with identical distributions).
The development should follow modern techniques and guidelines for HOL4, e.g. [HOLTutorial] and [HOL4]. Ideally, the project will be submitted to HOL4 official as part of its core theories.
NOTE: The student will get some basic training through a mini course to get familar with interactive theorem proving (ITP) techniques (and HOL4 in particular).
References
 [HOLTutorial] The HOL System LOGIC
 [HOL4] The HOL System DESCRIPTION
 [Shiryaev2] Shiryaev, A.N.: Probability2. Springer, New York, NY (2019). doi:10.1007/9780387722085
 [Lindgren] Lindgren, G.: Stationary Stochastic Processes. CRC Press (2012).
Requirements:
Basic knowledge of formal logic and lambdacalculus (simple typed); some experiences with interactive theorem provers; mathematics (calculus and elementary probability theory)