Phases of Muoncompanion

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.
ResultStatementReferenceLean proof
GaussianOpNormGaussian operator-norm tail boundVershynin, High-Dimensional Probability, Thm. 4.4.5GaussianFoundations.gaussianOpNorm
GaussianOpNormL6Gaussian operator-norm moment boundVershynin, Thm. 4.4.5GaussianFoundations.gaussianOpNormL6
GaussianQuadFormLpGaussian Hanson–Wright moment boundVershynin, Thm. 6.2.1GaussianFoundations.gaussianQuadFormLp
GaussianPoincareGaussian Poincaré inequalityBoucheron–Lugosi–Massart, Thm. 3.20GaussianFoundations.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.