Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

BanditAlgorithm.le_cam_inequality

Proved

by Shuze Chen · Jul 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

inequalitiesinformation-theory

(Le Cam) For probability measures P,QP, QP,Q on (Ω,F)(\Omega,\mathcal{F})(Ω,F) with D(P,Q)=D(P,Q) = D(P,Q)= klDiv P Q finite:

∫(p∧q) dν≥12exp⁡(−D(P,Q)),\int (p \wedge q)\, d\nu \ge \frac{1}{2}\exp(-D(P,Q)),∫(p∧q)dν≥21​exp(−D(P,Q)),

where ν=P+Q\nu = P+Qν=P+Q is the canonical common dominating measure and p=dP/dνp = dP/d\nup=dP/dν, q=dQ/dνq = dQ/d\nuq=dQ/dν 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

∫p∧q≥12(∫pq)2≥12e−D\int p\wedge q \ge \frac12\Big(\int\sqrt{pq}\Big)^2 \ge \frac12 e^{-D}∫p∧q≥21​(∫pq​)2≥21​e−D

into the reusable testing-affinity bound. The hypothesis D(P,Q)≠∞D(P,Q) \ne \inftyD(P,Q)=∞ is REQUIRED by the Lean encoding: (klDiv P Q).toReal is the junk value 000 at ∞\infty∞, making the right-hand side 12\frac1221​, while for mutually singular P⊥QP \perp QP⊥Q the left-hand side is 000. (The book's statement is trivially true at D=∞D=\inftyD=∞ since e−∞=0e^{-\infty}=0e−∞=0.)

Preamble
import Mathlib.InformationTheory.KullbackLeibler.Basic


open MeasureTheory InformationTheory
open scoped ENNReal
Formal statement
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
Source
L&S proof of Theorem 14.2, pp.190-191

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me