A Formalization of Doob's Martingale Convergence Theorems in mathlib

Kexing Ying, Rémy Degenne
12/11/2022
cs.LOmath.PR

Official code: leanprover-community/mathlib3 (1,663 stars, Lean, Apache-2.0, last commit 2024-06-28).

Abstract

We present the formalization of Doob's martingale convergence theorems in the mathlib library for the Lean theorem prover. These theorems give conditions under which (sub)martingales converge, almost everywhere or in $L^1$.

Show full abstract

In order to formalize those results, we build a definition of the conditional expectation in Banach spaces and develop the theory of stochastic processes, stopping times and martingales. As an application of the convergence theorems, we also present the formalization of Lévy's generalized Borel-Cantelli lemma. This work on martingale theory is one of the first developments of probability theory in mathlib, and it builds upon diverse parts of that library such as topology, analysis and most importantly measure theory.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Lean 3's obsolete mathematical components library: please use mathlib4

1,663290Lean, PythonJul 21, 20172 years agoApache-2.0
formal-mathematicsformal-methodsformal-proofsleanproof-automation+1 more

Similar Papers

Cite this paper

@article{ying2022formalization,
  title  = {A Formalization of Doob's Martingale Convergence Theorems in mathlib},
  author = {Kexing Ying and Rémy Degenne},
  year   = {2022},
  eprint = {2212.05578},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.05578}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.05578.svg)](https://codeofpaper.com/paper/2212.05578)

Discussion