InformationTheory

InformationTheory.Shannon.FisherInfo.Basic

source

Fisher information density helpers #

Density-based regularity predicates and score-function lemmas underpinning the Fisher information development. The score function reuses Mathlib's logDeriv f := deriv f / f (Mathlib/Analysis/Calculus/LogDeriv.lean), which is definitionally the score of a density f.

Main definitions #

  • IsRegularDensity — the regularity predicate (Cover–Thomas) bundling the differentiability, positivity, tail-vanishing, and integrability conditions on a smooth representative of the PDF.

Main statements #

Implementation notes #

The Fisher information itself is defined in FisherInfo/OfDensity.lean (fisherInfoOfDensity) and FisherInfo/DeBruijn.lean (fisherInfoOfMeasureV2); this file holds only the density-based helpers that do not reference those definitions.

structure

InformationTheory.Shannon.IsRegularDensity

source

The regularity predicate of Cover–Thomas, bundling the differentiability, positivity, tail-vanishing, and integrability conditions needed for integral_logDeriv_pdf_eq_zero. It is exposed as a predicate to be discharged downstream rather than verified for a general random variable X.

Since MeasureTheory.pdf X P volume is defined only up to a.e. equivalence, pointwise smoothness and positivity conditions cannot be stated on the PDF itself. The structure therefore carries a chosen smooth representative density : ℝ → ℝ together with the a.e.-equality pdf_ae_eq, and states the pointwise regularity conditions on density.

Instances For
    Used by
      theorem

      InformationTheory.Shannon.integral_logDeriv_pdf_eq_zero

      source

      The score function has zero expectation (Cover–Thomas). For the smooth representative density of IsRegularDensity, the integral of logDeriv density · density = deriv density over is 0. Stated on the representative h_reg.density; combine with h_reg.pdf_ae_eq to recast in terms of (pdf X P volume).toReal via an a.e.-integral congruence.

      @audit:ok

      Used by