The Lean formalization
Read a main theorem alongside its Lean formalization ↗
The theorem proofs and their supporting results are formalized in Lean 4 (v4.34.1) with Mathlib and the accompanying foundations libraries. The audit checks that no declaration depends on
sorry and that only Lean's standard axioms (propext, Classical.choice, Quot.sound) occur.345proved in Lean
21remarks, not formalized
Proved foundations
The four standard Gaussian results below are proved in the companion library alea-foundations. The module
Muon.External.Discharge supplies their proof terms to the interfaces used by the consuming theorems. The matrix martingale bound is also proved in the companion library as MatrixConcentration.matrixMartingale_trace_mgf.| Result | Statement | Reference | Lean proof |
|---|---|---|---|
GaussianOpNorm | Gaussian operator-norm tail bound | Vershynin, High-Dimensional Probability, Thm. 4.4.5 | GaussianFoundations.gaussianOpNorm |
GaussianOpNormL6 | Gaussian operator-norm moment bound | Vershynin, Thm. 4.4.5 | GaussianFoundations.gaussianOpNormL6 |
GaussianQuadFormLp | Gaussian Hanson–Wright moment bound | Vershynin, Thm. 6.2.1 | GaussianFoundations.gaussianQuadFormLp |
GaussianPoincare | Gaussian Poincaré inequality | Boucheron–Lugosi–Massart, Thm. 3.20 | GaussianFoundations.gaussianPoincare |
Source
The Lean package is in lean/ of this repository; it depends on Mathlib and on alea-foundations. Each statement page links its declarations.