Samplinglib
Lean gate not recorded for this source state main · 0e31a3cda412
ASTIS mathematical exposition

The guarded value is exactly the shared RelativeFisher energy

AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.information_eq_relativeFisher · theorem · Teaching coverage

Statement

For arbitrary μ and π on finite-dimensional Euclidean space, and any witness h that μ≪π, the selected log-ratio r is differentiable μ-a.e., and its squared gradient is μ-integrable, the canonical guarded Fisher value is exactly RelativeFisher.information with base μ, unit weight, and log-ratio r. This equality is built into the definition.

\[I_h(\mu\Vert\pi)=\operatorname{RelativeFisher.information}(\mu,\mathbf 1,r).\]

All objects and hypotheses

  • ι is a finite index type (Fintype ι), and E = EuclideanSpace ℝ ι has its standard real inner product, norm, topology and Borel measurable structure. Empty ι is allowed; no Nonempty ι assumption is made.
  • μ and π are arbitrary measures on E. No probability, finite-total-mass, or normalization hypothesis is present.
  • Use the exact selected functions ρ(x) = (μ.rnDeriv π x).toReal and r(x) = RNLogRatio.logRatio μ π x = MeasureTheory.llr μ π x = Real.log(ρ(x)); put q(x) = ‖gradient r x‖². These are fixed by the original ordered pair (μ,π), not arbitrary versions.
  • The supplied witness h (or hscore) proves all three conditions: μ ≪ π; r is classically Fréchet differentiable over ℝ at μ-almost every x; and q is μ-integrable (including its a.e. strong measurability and finite integral of its norm).

Mathematical proof

1. Unfold the guarded name

Its defining expression already is the shared functional with the specified three inputs.

\[I_h(\mu\Vert\pi)\equiv\operatorname{RelativeFisher.information}(\mu,\mathbf 1,r).\]
Corresponding Lean step

information

2. Recognize identical expressions

Both sides reduce to precisely the same term. No estimate or change of representatives is involved.

\[\operatorname{RelativeFisher.information}(\mu,\mathbf 1,r)=\operatorname{RelativeFisher.information}(\mu,\mathbf 1,r).\]
Corresponding Lean step

rfl

Lean statement · information_eq_relativeFisher

Both sides use the same measures and the same selected log-ratio. The theorem exposes the definition under the older shared energy name; it does not compare two independently defined notions of Fisher information.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem information_eq_relativeFisher
    (mu pi : Measure (State (ι := ι)))
    (h : SmoothFiniteScoreDomain mu pi) :
    information mu pi h =
      RelativeFisher.information mu (fun _ => 1) (RNLogRatio.logRatio mu pi)

Exact module and namespace context

Lean proof · information_eq_relativeFisher

After Lean unfolds the guarded name, there is nothing to prove beyond equality of an expression with itself. The domain certificate remains a required input even though no analytic field is used in this definitional equality.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem information_eq_relativeFisher
    (mu pi : Measure (State (ι := ι)))
    (h : SmoothFiniteScoreDomain mu pi) :
    information mu pi h =
      RelativeFisher.information mu (fun _ => 1) (RNLogRatio.logRatio mu pi) := by
  rfl

/-- On the guarded smooth finite domain, the canonical Fisher information has
the expected measure-level formula

`FI(mu || pi) = integral ||grad log(d mu / d pi)||^2 dmu`. -/

Exact module and namespace context

Scope and omitted-condition boundaries

  • This is the selected RN/log-ratio and its totalized classical gradient, not a representative-free Sobolev score. Equality of log-ratios merely a.e. does not by itself identify their gradients. Mathlib sets gradient to zero at nondifferentiable points; the score-domain witness excludes those points only μ-a.e.
  • No existence of the smooth score domain is proved. No weak derivative, Sobolev-domain membership, lower-semicontinuous or extended-valued Fisher extension, or square-root-density identity 4∫‖∇√ρ‖² dπ is established.
  • This wrapper is not an independent analytic identification with a Sobolev, Dirichlet, or source-defined Fisher quantity.

Source and reuse

ASTIS parents called

Mathlib API called (external library)

No direct Mathlib call recorded; see the ASTIS parents.

Mathematical sources

ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.