Cramér–Rao bound for location: , with equality only for
OpenLeJEPA.fisherInfo_ge_trace_invLet be a mean-zero, continuously differentiable probability density on with finite second moments and positive-definite covariance . Then
with equality if and only if is the Gaussian density .
This is the Cramér–Rao bound for the location family of . It is the first of the two steps in the proof of the isotropic Gaussian optimality theorem.
import Mathlib import Definitions.Def_LeJEPA_Basic open MeasureTheory Matrix Filter Topology open scoped ENNReal InnerProductSpace
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 LeJEPARead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a natural number (the case is allowed) and let be a real-valued function. All integrals over are taken with respect to Lebesgue measure. For , is a single point carrying unit mass.
Hypothesis 1: is a mean-zero density. This means all of the following hold:
- is continuously differentiable () on .
- for every .
- .
- The function is Lebesgue integrable.
- For every coordinate , .
Hypothesis 2: the covariance matrix is positive definite. The covariance matrix is the real matrix with entries
Positive definite means is symmetric and for every nonzero . For the empty matrix satisfies this vacuously. Under this hypothesis is invertible, so below is the genuine inverse.
The Fisher information. Write for the derivative of at in the direction of the -th standard basis vector . Define , a value in the extended non-negative reals , as the lower Lebesgue integral
This integral is always defined and may equal .
The Gaussian density. For a matrix , define
This is applied below with , the covariance matrix of itself, so that .
Conclusion. The theorem asserts both of the following.
- Lower bound. In ,
In particular, this holds trivially when .
- Equality case. (so in particular is finite) if and only if coincides with at every point:
This is pointwise equality, not merely equality almost everywhere.
Degenerate case . Here is a single value equal to . is the empty matrix, so and . The Gaussian formula gives , so both parts hold with equality.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.