InformationTheory.Shannon.EPI.Conv.Density
Convolution density apparatus #
p_Z(z) = ∫ x, p_X(x) · p_Y(z - x) ∂volume (sum density of independent X, Y),
its pointwise differentiability, and the logDeriv p_Z representation. This is
the common foundational helper for the density-route Stam and de Bruijn arguments.
Implementation notes #
The 6 Mathlib HasCompactSupport.*_convolution_* lemmas require the smooth factor
to have compact support, which the Gaussian heat kernel does not have. We go
through hasDerivAt_integral_of_dominated_loc_of_deriv_le
(Mathlib/Analysis/Calculus/ParametricIntegral.lean): differentiation under the
integral sign, with the Gaussian-tail domination supplied as regularity
preconditions.
convDensityAdd is defined as a Bochner ∫ (not ⋆ₗ / ⋆[L,μ]), matching the
conclusion shape of the parametric-integral gateway
HasDerivAt (fun z ↦ ∫ a, F z a ∂μ) (∫ a, F' x₀ a ∂μ) x₀.
InformationTheory.Shannon.EPIConvDensity.convDensityAdd
sourceConvolution density (sum density of independent X, Y):
p_Z(z) = ∫ x, p_X(x) · p_Y(z - x) ∂volume. Bochner-∫ form to match the
hasDerivAt_integral_of_dominated_loc_of_deriv_le conclusion shape.
Equations
Instances For
Used by
InformationTheory.Shannon.EPIConvDensity.convDensityAdd_comm
sourceThe convolution density is commutative: pX ⋆ pY = pY ⋆ pX.
Genuine fact via the reflection substitution x ↦ z - x (volume-preserving).
Used by
InformationTheory.Shannon.EPIConvDensity.convDensityAddDeriv
sourceThe z-partial-derivative integrand: ∂_z (p_X x · p_Y (z - x)) = p_X x · p_Y' (z - x).
Equations
- InformationTheory.Shannon.EPIConvDensity.convDensityAddDeriv pX pY z x = pX x * deriv pY (z - x)
Instances For
Used by
InformationTheory.Shannon.EPIConvDensity.convDensityAdd_hasDerivAt
sourceUnder Gaussian-tail / integrability regularity preconditions,
convDensityAdd pX pY is differentiable at z₀ with derivative
∫ x, p_X x · p_Y' (z₀ - x).
All hypotheses are regularity preconditions (integrability, ae-measurability, the
domination bound, pointwise differentiability of the integrand), pinned in the shape
hasDerivAt_integral_of_dominated_loc_of_deriv_le consumes. The differentiability
of convDensityAdd is derived, not assumed.
sis a neighborhood ofz₀.boundis the integrable Gaussian-tail dominating function. @audit:ok
Used by
InformationTheory.Shannon.EPIConvDensity.convDensityAdd_logDeriv
sourcelogDeriv p_Z representation at z₀ (score of the convolution density):
logDeriv (convDensityAdd pX pY) z₀ = (∫ x, p_X x · p_Y'(z₀ - x)) / p_Z(z₀).
This is the Blachman / Fisher connection point.
@audit:ok
Used by
InformationTheory.Shannon.EPIConvDensity.convDensity_add_differentiable
sourceThe convolution density is differentiable at z₀, with the logDeriv (score)
given by the score-of-convolution formula. Bundles the two atoms above for the
downstream Blachman and de Bruijn arguments. The public gateway for those
consumers.
@audit:ok
Used by
Discharging the gateway hypotheses from IsRegularDensityV2 #
convDensityAdd_hasDerivAt_of_regular: the wrapper that supplies all
parametric-integral regularity hypotheses from the density preconditions
IsRegularDensityV2 fX/fY plus three genuine regularity preconditions:
hX_int : Integrable fX—fXis a probability density.hY_bdd:fYis bounded (the Gaussian PDF is, sinceexp(-x²)is bounded).hY'_bdd:deriv fYis bounded (Gaussianderiv = -(x-m)/v · pdf, polynomial × Gaussian decay → bounded).
These are per-factor regularity preconditions on fX/fY individually, not on the
convolution; the differentiability of convDensityAdd is derived via the gateway,
not assumed. The Gaussian instance satisfies all three.
InformationTheory.Shannon.EPIConvDensity.convDensityAdd_hasDerivAt_of_regular
sourceDischarges the gateway hypotheses of convDensityAdd_hasDerivAt from
IsRegularDensityV2 fX/fY plus per-factor boundedness/integrability preconditions.
@audit:ok