InformationTheory

InformationTheory.Shannon.FisherInfo.DeBruijn

source

Fisher information V2 — measure-keyed wrapper and de Bruijn identity #

Builds on the density-as-input Fisher information of FisherInfo/OfDensity.lean to define a measure-keyed wrapper, the heat-flow convolution path X + √t · Z, the V2 de Bruijn regularity predicate, and the Gaussian discharge of the de Bruijn identity.

Main definitions #

Main statements #

References #

  • T. M. Cover and J. A. Thomas, Elements of Information Theory (2nd ed.), Wiley, 2006.

Measure-keyed wrapper #

noncomputable def

InformationTheory.Shannon.FisherInfo.fisherInfoOfMeasureV2

source

The Fisher information of a measure μ carrying an explicit smooth density witness f, computed as fisherInfoOfDensity f. The witness is syntactically unrelated to μ.rnDeriv volume; the caller is responsible for the relevant a.e.-equality.

Equations
Instances For
    Used by
      noncomputable def

      InformationTheory.Shannon.FisherInfo.fisherInfoOfMeasureV2Real

      source
      ( : MeasureTheory.Measure ) (f : ) :

      Real-valued projection of fisherInfoOfMeasureV2.

      Equations
      Instances For
        Used by
          theorem

          InformationTheory.Shannon.FisherInfo.fisherInfoOfMeasureV2_def

          source

          Unfold lemma.

          Used by
            theorem

            InformationTheory.Shannon.FisherInfo.fisherInfoOfMeasureV2Real_def

            source
            Used by
              theorem

              InformationTheory.Shannon.FisherInfo.fisherInfoOfMeasureV2_gaussianReal

              source

              The Gaussian Fisher information in measure-keyed form: fisherInfoOfMeasureV2 (gaussianReal m v) (gaussianPDFReal m v) = ENNReal.ofReal (1 / v).

              Used by
                theorem

                InformationTheory.Shannon.FisherInfo.fisherInfoOfMeasureV2Real_gaussianReal

                source

                Real-valued Gaussian Fisher info via V2.

                Used by

                  Heat-flow path #

                  noncomputable def

                  InformationTheory.Shannon.FisherInfo.gaussianConvolution

                  source
                  {α : Type u_1} (X Z : α) (t : ) :
                  α

                  The heat-flow convolution path X + √t · Z, the t-parametrised family underlying the de Bruijn identity. For Z ∼ 𝒩(0, 1) and X ⊥ Z, the law P.map (gaussianConvolution X Z t) is the convolution of P.map X with 𝒩(0, t).

                  Equations
                  Instances For
                    Used by
                      theorem

                      InformationTheory.Shannon.FisherInfo.gaussianConvolution_law_of_gaussian

                      source

                      The law of X + √t · Z is 𝒩(m, v + t) when X ∼ 𝒩(m, v), Z ∼ 𝒩(0, 1), and X ⊥ Z.

                      Used by

                        The de Bruijn regularity predicate #

                        structure

                        InformationTheory.Shannon.FisherInfo.IsRegularDeBruijnHypV2

                        source
                        {Ω : Type u_1} [MeasurableSpace Ω] (X Z : Ω) (P : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure P] (t : ) :

                        The V2 de Bruijn regularity predicate. It carries a smooth density witness density_t : ℝ → ℝ for the law of X + √t · Z, together with regularity preconditions on X. The Fisher information on the right-hand side of the de Bruijn identity uses fisherInfoOfDensity of an explicit density witness, so the Gaussian case evaluates to 1 / v. The de Bruijn identity itself is not a field of this predicate; it is proved separately in debruijnIdentityV2_holds_assembled.

                        Instances For
                          Used by
                            structure

                            InformationTheory.Shannon.FisherInfo.IsDeBruijnPathRegular

                            source
                            {Ω : Type u_1} [MeasurableSpace Ω] (X Z : Ω) (P : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure P] (T : ) :

                            The path-regularity bundle for the integrated de Bruijn identity, packaging the FTC ingredients needed to integrate the per-time debruijnIdentityV2_holds_assembled derivative along the heat-flow path (0, T).

                            • fPath — the density witness path: fPath t is the density of P.map (gaussianConvolution X Z t).
                            • reg_t — per-time V2 de Bruijn regularity at each interior t ∈ (0, T), with density_t = fPath t so the per-time derivative value matches the integrand.
                            • cont — continuity of the heat-flow entropy on [0, T].
                            • integrable — interval-integrability of the path integrand (1/2) · J(X + √t · Z) on (0, T).

                            @audit:ok

                            Instances For
                              Used by

                                Gaussian discharge #

                                theorem

                                InformationTheory.Shannon.FisherInfo.hasDerivAt_half_log_gaussian_entropy

                                source
                                {v : NNReal} (s : ) (hvs : 0 < v + s) :
                                HasDerivAt (fun (s' : ) => 1 / 2 * Real.log (2 * Real.pi * Real.exp 1 * (v + s'))) (1 / (2 * (v + s))) s

                                (1/2) · log (2π e (v + s)) has derivative 1 / (2(v + s)) at s when v + s > 0.

                                Used by
                                  theorem

                                  InformationTheory.Shannon.FisherInfo.differentialEntropy_gaussianReal_heat_path

                                  source
                                  (m : ) {v : NNReal} (hv : v 0) {s : } (hs : 0 s) :

                                  The differential entropy of gaussianReal m (v + s) along the heat-flow path equals (1/2) · log (2π e (v + s)) for s ≥ 0.

                                  Used by
                                    theorem

                                    InformationTheory.Shannon.FisherInfo.deBruijn_identity_v2_gaussian

                                    source

                                    The de Bruijn identity for a Gaussian X (hypothesis-free): for X ∼ 𝒩(m, v), Z ∼ 𝒩(0, 1), X ⊥ Z, and t > 0, (d/dt) h(X + √t · Z) = (1/2) · J(𝒩(m, v + t)) = 1 / (2(v + t)).

                                    Used by