BanditAlgorithm.le_cam_inequality
Proved(Le Cam) For probability measures on with klDiv P Q finite:
where is the canonical common dominating measure and , are Radon-Nikodym derivatives (Mathlib Measure.rnDeriv), stated as a lower bound on the lintegral of their pointwise min. This chains the book's two steps
into the reusable testing-affinity bound. The hypothesis is REQUIRED by the Lean encoding: (klDiv P Q).toReal is the junk value at , making the right-hand side , while for mutually singular the left-hand side is . (The book's statement is trivially true at since .)
import Mathlib.InformationTheory.KullbackLeibler.Basic open MeasureTheory InformationTheory open scoped ENNReal
theorem BanditAlgorithm.le_cam_inequality {Ω : Type} {mΩ : MeasurableSpace Ω}
(P Q : Measure Ω) [IsProbabilityMeasure P] [IsProbabilityMeasure Q]
(hD : klDiv P Q ≠ ∞) :
ENNReal.ofReal (2⁻¹ * Real.exp (-(klDiv P Q).toReal)) ≤
∫⁻ ω, min (P.rnDeriv (P + Q) ω) (Q.rnDeriv (P + Q) ω) ∂(P + Q) := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Setup and notation. Let be an arbitrary measurable space and two probability measures on it. Here denotes the library's Kullback–Leibler divergence: when is absolutely continuous with respect to and the log-likelihood ratio is -integrable, is the image in of the real integral (a negative value — impossible for probability measures — would be truncated to ); in every other case . Assume and write for its finite real value. Write for the library's chosen measurable versions of the Radon–Nikodym derivatives of , respectively , with respect to the sum measure ; since and , these are genuine densities almost everywhere: and for measurable .
Assertion.
an inequality in : the left-hand side is the embedding of the positive real into , and the right-hand side is the Lebesgue integral (always defined, possibly infinite) of the pointwise minimum of the two densities, taken in .
Hypotheses:
- and are both probability measures on the same measurable space .
- — in particular with -integrable log-likelihood ratio.
Edge cases and caveats:
- The real number is extracted from the extended-real divergence by the map sending to ; the finiteness hypothesis is exactly what prevents that junk value (without it, the claim at would read , a different and stronger statement).
- No event/measurable set appears; the statement is about the integral of the pointwise minimum of the densities relative to (both densities are the library's globally defined chosen versions, determined only almost everywhere).
- The inequality is non-strict, and its direction is a lower bound on the integral.
Confirmed by the mission captain (proposal self-audit).