Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 proof, p. 8 — augmenting by an independent uniform variable: KL(ℙ₁, ℙ₂) = KL(ℙ₁ ⊗ λ, ℙ₂ ⊗ λ)

Proved
ExploreFirst.FundIneq.lemma_1_product

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

information-theorykullback-leiblerp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1product-measure

Let (Γ,G)(\Gamma,\mathcal G)(Γ,G) be a measurable space carrying two probability measures P1\mathbb P_1P1​ and P2\mathbb P_2P2​, and let λ\lambdaλ be the Lebesgue measure on [0,1][0,1][0,1] with its Borel σ\sigmaσ-algebra. Then the Kullback–Leibler divergence is unchanged when both measures are tensorized with λ\lambdaλ:

KL(P1,P2)=KL(P1⊗λ, P2⊗λ),\mathrm{KL}(\mathbb P_1,\mathbb P_2)=\mathrm{KL}(\mathbb P_1\otimes\lambda,\ \mathbb P_2\otimes\lambda),KL(P1​,P2​)=KL(P1​⊗λ, P2​⊗λ),

as an identity in [0,+∞][0,+\infty][0,+∞] (both sides may be +∞+\infty+∞).

This is the first step of the proof of Lemma 1: it enlarges the probability space by an independent uniform variable, so that a [0,1][0,1][0,1]-valued random variable ZZZ can be replaced by the indicator of the event {x≤Z(γ)}\{x\le Z(\gamma)\}{x≤Z(γ)}.

Formalization Note. The Lebesgue measure on [0,1][0,1][0,1] is the canonical volume on Mathlib's unit interval unitInterval, a probability measure. The paper's "distributions" are probability measures.

Preamble
import Mathlib
import Definitions.Def_ExploreFirst_FundIneq_Setting

open MeasureTheory ProbabilityTheory InformationTheory
open scoped ENNReal
Formal statement
namespace ExploreFirst.FundIneq

/-- Garivier, Ménard, Stoltz, arXiv:1602.07182v3, p. 8, proof of Lemma 1, first display (equality):
augmenting a probability space by an independent uniform variable on `[0, 1]` does not change the
Kullback–Leibler divergence, `KL(ℙ₁, ℙ₂) = KL(ℙ₁ ⊗ λ, ℙ₂ ⊗ λ)`. Here `λ` is the Lebesgue measure on the
unit interval, `volume` on `unitInterval`. -/
theorem lemma_1_product {Γ : Type*} [MeasurableSpace Γ] (P₁ P₂ : Measure Γ)
    [IsProbabilityMeasure P₁] [IsProbabilityMeasure P₂] :
    klDiv P₁ P₂ =
      klDiv (P₁.prod (volume : Measure unitInterval)) (P₂.prod (volume : Measure unitInterval)) := by sorry

end ExploreFirst.FundIneq
Source
Garivier, Ménard, Stoltz, Explore First, Exploit Next, arXiv:1602.07182v3, p. 8, proof of Lemma 1, first display (the equality)
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 2026

    Confirmed by the mission captain (proposal self-audit).

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me