AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher
Read the mathematical statements and proofs in order
10 named declarations scanned from AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean.
Declarations
abbrev AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.State Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
No declaration docstring.
abbrev State := EuclideanSpace ℝ ι
/-- The squared canonical relative score. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:41published source at 0e31a3cda412
def AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.scoreSq Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- The squared canonical relative score.
noncomputable def scoreSq
(mu pi : Measure (State (ι := ι)))
(x : State (ι := ι)) : ℝ :=
‖gradient (RNLogRatio.logRatio mu pi) x‖ ^ 2
/-- Explicit regularity contract for the smooth finite branch of relative
Fisher information.
The future Sobolev/Dirichlet-energy extension should map into this contract on
its smooth finite subdomain; it should not weaken or erase these obligations. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:44published source at 0e31a3cda412
structure AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.SmoothFiniteScoreDomain Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- Explicit regularity contract for the smooth finite branch of relative Fisher information. The future Sobolev/Dirichlet-energy extension should map into this contract on its smooth finite subdomain; it should not weaken or erase these obligations.
structure SmoothFiniteScoreDomain
(mu pi : Measure (State (ι := ι))) : Prop where
absolutelyContinuous : mu ≪ pi
differentiable_ae :
∀ᵐ x ∂mu, DifferentiableAt ℝ (RNLogRatio.logRatio mu pi) x
scoreSq_integrable : Integrable (scoreSq mu pi) mu
/-- Canonical relative Fisher information on the explicit smooth finite score
domain.
It is exactly the existing `RelativeFisher.information` with base measure `mu`
and density `1`, so no second Fisher hierarchy is introduced. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:54published source at 0e31a3cda412
def AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.information Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- Canonical relative Fisher information on the explicit smooth finite score domain. It is exactly the existing `RelativeFisher.information` with base measure `mu` and density `1`, so no second Fisher hierarchy is introduced.
noncomputable def information
(mu pi : Measure (State (ι := ι)))
(_h : SmoothFiniteScoreDomain mu pi) : ℝ :=
RelativeFisher.information mu (fun _ => 1) (RNLogRatio.logRatio mu pi)
/-- The canonical guarded definition is definitionally the shared
`RelativeFisher` object. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:66published source at 0e31a3cda412
theorem AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.information_eq_relativeFisher Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- The canonical guarded definition is definitionally the shared `RelativeFisher` object.
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`. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:73published source at 0e31a3cda412
theorem AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.information_eq_integral_scoreSq Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- 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`.
theorem information_eq_integral_scoreSq
(mu pi : Measure (State (ι := ι)))
(h : SmoothFiniteScoreDomain mu pi) :
information mu pi h = ∫ x, scoreSq mu pi x ∂mu := by
simp [information, RelativeFisher.information, RelativeFisher.densityEnergy, scoreSq]
/-- The same canonical Fisher information rewritten against the reference
measure using Mathlib's Radon--Nikodym integral formula:
`FI(mu || pi) = integral density(mu|pi) * scoreSq(mu|pi) dpi`.
Crucially, this changes only the integration measure. The integrand keeps the
original `mu` parameter; rewriting `mu` itself as a `withDensity` measure would
incorrectly rewrite the score object as well. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:84published source at 0e31a3cda412
theorem AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.information_eq_integral_density_mul_scoreSq Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- The same canonical Fisher information rewritten against the reference measure using Mathlib's Radon--Nikodym integral formula: `FI(mu || pi) = integral density(mu|pi) * scoreSq(mu|pi) dpi`. Crucially, this changes only the integration measure. The integrand keeps the original `mu` parameter; rewriting `mu` itself as a `withDensity` measure would incorrectly rewrite the score object as well.
theorem information_eq_integral_density_mul_scoreSq
(mu pi : Measure (State (ι := ι)))
[SigmaFinite mu] [Measure.HaveLebesgueDecomposition mu pi]
(h : SmoothFiniteScoreDomain mu pi) :
information mu pi h =
∫ x, RNLogRatio.density mu pi x * scoreSq mu pi x ∂pi := by
rw [information_eq_integral_scoreSq mu pi h]
simpa [RNLogRatio.density] using
(MeasureTheory.integral_toReal_rnDeriv_mul
(f := scoreSq mu pi) h.absolutelyContinuous).symm
/-- The squared score is integrable by the domain contract, rather than by an
implicit convention of the total integral. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:98published source at 0e31a3cda412
theorem AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.scoreSq_integrable Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- The squared score is integrable by the domain contract, rather than by an implicit convention of the total integral.
theorem scoreSq_integrable
(mu pi : Measure (State (ι := ι)))
(h : SmoothFiniteScoreDomain mu pi) :
Integrable (scoreSq mu pi) mu :=
h.scoreSq_integrable
/-- Canonical relative Fisher information is nonnegative on its guarded smooth
finite domain. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:111published source at 0e31a3cda412
theorem AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.information_nonneg Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- Canonical relative Fisher information is nonnegative on its guarded smooth finite domain.
theorem information_nonneg
(mu pi : Measure (State (ι := ι)))
(h : SmoothFiniteScoreDomain mu pi) :
0 ≤ information mu pi h := by
rw [information_eq_integral_scoreSq mu pi h]
exact integral_nonneg (fun x => sq_nonneg ‖gradient (RNLogRatio.logRatio mu pi) x‖)
/-- The guarded value does not depend on the proof witness used to establish the
same smooth finite score domain. -/
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:119published source at 0e31a3cda412
theorem AutoSamplingTheory.TechnicalLemmas.InformationTheory.CanonicalRelativeFisher.information_proof_irrel Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- The guarded value does not depend on the proof witness used to establish the same smooth finite score domain.
theorem information_proof_irrel
(mu pi : Measure (State (ι := ι)))
(h₁ h₂ : SmoothFiniteScoreDomain mu pi) :
information mu pi h₁ = information mu pi h₂ := by
rfl
end
end CanonicalRelativeFisher
end InformationTheory
end TechnicalLemmas
end AutoSamplingTheory
AutoSamplingTheory/TechnicalLemmas/InformationTheory/CanonicalRelativeFisher.lean:128published source at 0e31a3cda412