Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Cramér–Rao bound for location: J(p)≥tr(Σ−1)J(p) \ge \mathrm{tr}(\Sigma^{-1})J(p)≥tr(Σ−1), with equality only for N(0,Σ)\mathcal N(0,\Sigma)N(0,Σ)

Open
LeJEPA.fisherInfo_ge_trace_inv

by Xeroth · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

fisher-informationmachine-learningself-supervised-learningstatistics

Let ppp be a mean-zero, continuously differentiable probability density on RK\mathbb{R}^KRK with finite second moments and positive-definite covariance Σ=∫xx⊤p\Sigma=\int xx^\top pΣ=∫xx⊤p. Then

J(p) ≥ tr⁡(Σ−1),J(p)\ \ge\ \operatorname{tr}(\Sigma^{-1}),J(p) ≥ tr(Σ−1),

with equality if and only if ppp is the Gaussian density N(0,Σ)\mathcal N(0,\Sigma)N(0,Σ).

This is the Cramér–Rao bound for the location family of ppp. It is the first of the two steps in the proof of the isotropic Gaussian optimality theorem.

Preamble
import Mathlib
import Definitions.Def_LeJEPA_Basic

open MeasureTheory Matrix Filter Topology
open scoped ENNReal InnerProductSpace
Formal statement
namespace LeJEPA

theorem fisherInfo_ge_trace_inv {K : ℕ} (p : (Fin K → ℝ) → ℝ) (hp : IsMeanZeroDensity p) (hcov : (covMat p).PosDef) :
    ENNReal.ofReal ((covMat p)⁻¹.trace) ≤ fisherInfo p ∧
    (fisherInfo p = ENNReal.ofReal ((covMat p)⁻¹.trace) ↔ p = gaussDensity (covMat p)) := by sorry

end LeJEPA
Source
Balestriero and LeCun, LeJEPA: Provable and Scalable Self-Supervised Learning Without the Heuristics, arXiv:2511.08544v3 (2025), Appendix B.4, Lemma 6
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let K≥0K \ge 0K≥0 be a natural number (the case K=0K = 0K=0 is allowed) and let p:RK→Rp : \mathbb{R}^K \to \mathbb{R}p:RK→R be a real-valued function. All integrals over RK\mathbb{R}^KRK are taken with respect to Lebesgue measure. For K=0K = 0K=0, R0\mathbb{R}^0R0 is a single point carrying unit mass.

Hypothesis 1: ppp is a mean-zero density. This means all of the following hold:

  • ppp is continuously differentiable (C1C^1C1) on RK\mathbb{R}^KRK.
  • p(x)≥0p(x) \ge 0p(x)≥0 for every xxx.
  • ∫RKp(x) dx=1\int_{\mathbb{R}^K} p(x)\,dx = 1∫RK​p(x)dx=1.
  • The function x↦(∑i=1Kxi2) p(x)x \mapsto \big(\sum_{i=1}^K x_i^2\big)\,p(x)x↦(∑i=1K​xi2​)p(x) is Lebesgue integrable.
  • For every coordinate iii, ∫RKxi p(x) dx=0\int_{\mathbb{R}^K} x_i\,p(x)\,dx = 0∫RK​xi​p(x)dx=0.

Hypothesis 2: the covariance matrix is positive definite. The covariance matrix Σ\SigmaΣ is the K×KK \times KK×K real matrix with entries

Σij=∫RKxi xj p(x) dx.\Sigma_{ij} = \int_{\mathbb{R}^K} x_i\,x_j\,p(x)\,dx .Σij​=∫RK​xi​xj​p(x)dx.

Positive definite means Σ\SigmaΣ is symmetric and v⊤Σv>0v^\top \Sigma v > 0v⊤Σv>0 for every nonzero v∈RKv \in \mathbb{R}^Kv∈RK. For K=0K = 0K=0 the empty matrix satisfies this vacuously. Under this hypothesis Σ\SigmaΣ is invertible, so Σ−1\Sigma^{-1}Σ−1 below is the genuine inverse.

The Fisher information. Write ∂ip(x)\partial_i p(x)∂i​p(x) for the derivative of ppp at xxx in the direction of the iii-th standard basis vector eie_iei​. Define J(p)J(p)J(p), a value in the extended non-negative reals [0,∞][0, \infty][0,∞], as the lower Lebesgue integral

J(p)=∫RKg(x) dx,g(x)={∑i=1K(∂ip(x))2p(x)if p(x)>0,0if p(x)=0.J(p) = \int_{\mathbb{R}^K} g(x)\,dx, \qquad g(x) = \begin{cases} \dfrac{\sum_{i=1}^K (\partial_i p(x))^2}{p(x)} & \text{if } p(x) > 0,\\[4pt] 0 & \text{if } p(x) = 0. \end{cases}J(p)=∫RK​g(x)dx,g(x)=⎩⎨⎧​p(x)∑i=1K​(∂i​p(x))2​0​if p(x)>0,if p(x)=0.​

This integral is always defined and may equal +∞+\infty+∞.

The Gaussian density. For a K×KK \times KK×K matrix SSS, define

φS(x)=(2π)−K/2 (det⁡S)−1/2 exp⁡ ⁣(−12 x⊤S−1x).\varphi_S(x) = (2\pi)^{-K/2}\,(\det S)^{-1/2}\,\exp\!\Big(-\tfrac12\, x^\top S^{-1} x\Big).φS​(x)=(2π)−K/2(detS)−1/2exp(−21​x⊤S−1x).

This is applied below with S=ΣS = \SigmaS=Σ, the covariance matrix of ppp itself, so that det⁡Σ>0\det \Sigma > 0detΣ>0.

Conclusion. The theorem asserts both of the following.

  1. Lower bound. In [0,∞][0, \infty][0,∞],
tr⁡ ⁣(Σ−1)  ≤  J(p).\operatorname{tr}\!\big(\Sigma^{-1}\big) \;\le\; J(p).tr(Σ−1)≤J(p).

In particular, this holds trivially when J(p)=∞J(p) = \inftyJ(p)=∞.

  1. Equality case. J(p)=tr⁡(Σ−1)J(p) = \operatorname{tr}(\Sigma^{-1})J(p)=tr(Σ−1) (so in particular J(p)J(p)J(p) is finite) if and only if ppp coincides with φΣ\varphi_\SigmaφΣ​ at every point:
p(x)=(2π)−K/2(det⁡Σ)−1/2exp⁡ ⁣(−12x⊤Σ−1x)for all x∈RK.p(x) = (2\pi)^{-K/2}(\det\Sigma)^{-1/2}\exp\!\big(-\tfrac12 x^\top\Sigma^{-1}x\big) \quad \text{for all } x \in \mathbb{R}^K.p(x)=(2π)−K/2(detΣ)−1/2exp(−21​x⊤Σ−1x)for all x∈RK.

This is pointwise equality, not merely equality almost everywhere.

Degenerate case K=0K = 0K=0. Here ppp is a single value equal to 111. Σ\SigmaΣ is the empty matrix, so tr⁡(Σ−1)=0\operatorname{tr}(\Sigma^{-1}) = 0tr(Σ−1)=0 and J(p)=0J(p) = 0J(p)=0. The Gaussian formula gives φΣ=1\varphi_\Sigma = 1φΣ​=1, so both parts hold with equality.

Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me