Finite-integral function entropy
AutoSamplingTheory.TechnicalLemmas.FunctionalInequalities.BoundedPerturbation.entropy · def · Teaching coverage
Mathematical statement
For a measurable space X, a measure m, and a real function g, define its real function entropy by the difference of the integral of g log g and the mean of g times the logarithm of that mean. Applications below impose integrability explicitly; this literal real formula is not an extended-real entropy.
Lean statement · entropy
For a measurable space X, a measure m, and a real function g, define its real function entropy by the difference of the integral of g log g and the mean of g times the logarithm of that mean. Applications below impose integrability explicitly; this literal real formula is not an extended-real entropy.
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.
noncomputable def entropy (μ : Measure X) (g : X → ℝ) : ℝProof roadmap
- 1Use the literal real formula
For a measurable space X, a measure m, and a real function g, define its real function entropy by the difference of the integral of g log g and the mean of g times the logarithm of that mean. Applications below impose integrability explicitly; this literal real formula is not an extended-real entropy.
Full assumptions and notation
All objects and hypotheses
- Objects, quantifiers, constants and all finite-integral restrictions are stated in the adjacent statement and exact Lean.
- The test predicate and energy density are fixed before changing the measure; no differential operator is transported.
Construction and meaning
1. Use the literal real formula
For a measurable space X, a measure m, and a real function g, define its real function entropy by the difference of the integral of g log g and the mean of g times the logarithm of that mean. Applications below impose integrability explicitly; this literal real formula is not an extended-real entropy.
Corresponding Lean step
The complete definition body is displayed in the adjacent folded Lean disclosure.
Lean verification
The exact proof begins folded immediately after the mathematical argument; the statement is folded beside the claim above.
Lean construction · entropy
See the adjacent exact source and the stepwise mathematical proof.
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.
noncomputable def entropy (μ : Measure X) (g : X → ℝ) : ℝ :=
(∫ x, g x * Real.log (g x) ∂μ) - (∫ x, g x ∂μ) * Real.log (∫ x, g x ∂μ)Scope and omitted-condition boundaries
- Real-integral domain only; the extended-real entropy and arbitrary Sobolev closure are not supplied.
- No geometric base LSI, gradient identification, PI, T2, diffusion, or model theorem is supplied.
- No public manuscript identity or private application data is part of this contribution.
Sources, dependencies, and reuse
Source and reuse
Samplinglib parents called
Mathlib API called (external library)
No direct Mathlib call recorded; see the Samplinglib parents.
Mathematical sources
- Chewi, Log-Concave Sampling, August20 2026, §2.3.1 — Classical variational-cost and bounded-perturbation proof background; only the displayed canonical finite-integral core is asserted.
Samplinglib prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.