Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 5, p. 56, eq. (35) — generalized reverse Fano: (1/N)ΣP_i(E_i) ≥ q̄ − √(2 q̄ · (1/N)ΣD(P_i‖Q_i)), D = KL or reverse KL

Proved
BwSC.LowerBound.proposition_5

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

fano-inequalityinformation-theorykl-divergencep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let N≥1N\ge1N≥1, let (Ω1,F1),…,(ΩN,FN)(\Omega_1,\mathcal F_1),\dots,(\Omega_N,\mathcal F_N)(Ω1​,F1​),…,(ΩN​,FN​) be measurable spaces, possibly different, and for each i∈[N]i\in[N]i∈[N] let Pi,Qi\mathbb P_i,\mathbb Q_iPi​,Qi​ be probability measures on (Ωi,Fi)(\Omega_i,\mathcal F_i)(Ωi​,Fi​) and Ei∈FiE_i\in\mathcal F_iEi​∈Fi​ an event. Put pˉ=1N∑iPi(Ei)\bar p=\frac1N\sum_i\mathbb P_i(E_i)pˉ​=N1​∑i​Pi​(Ei​) and qˉ=1N∑iQi(Ei)\bar q=\frac1N\sum_i\mathbb Q_i(E_i)qˉ​=N1​∑i​Qi​(Ei​). Let DDD be either the KL divergence, D(P∥Q)=KL(P∥Q)D(\mathbb P\|\mathbb Q)=\mathrm{KL}(\mathbb P\|\mathbb Q)D(P∥Q)=KL(P∥Q), or the reverse KL divergence, D(P∥Q)=KL(Q∥P)D(\mathbb P\|\mathbb Q)=\mathrm{KL}(\mathbb Q\|\mathbb P)D(P∥Q)=KL(Q∥P). If every D(Pi∥Qi)D(\mathbb P_i\|\mathbb Q_i)D(Pi​∥Qi​) is finite, then

pˉ ≥ qˉ−2 qˉ⋅1N∑i=1ND(Pi ∥ Qi).\bar p\ \ge\ \bar q-\sqrt{2\,\bar q\cdot\frac1N\sum_{i=1}^N D(\mathbb P_i\,\|\,\mathbb Q_i)} .pˉ​ ≥ qˉ​−2qˉ​⋅N1​i=1∑N​D(Pi​∥Qi​)​.

Both choices of DDD are stated, as two conjuncts.

The inequality lower-bounds the average probability of events under one family of measures from their average probability under another and the average divergence; it is the last step (J.5) of the proof of Theorem 2, applied with the reverse KL divergence.

Formalization Note Divergences are Mathlib's klDiv, valued in [0,∞][0,\infty][0,∞]; each conjunct assumes the divergences it uses are finite and converts them to real numbers. This loses nothing: if some divergence is infinite and qˉ>0\bar q>0qˉ​>0 the right side is −∞-\infty−∞, and if qˉ=0\bar q=0qˉ​=0 the right side is at most 000. The bound (36) for qˉ≤1/2\bar q\le1/2qˉ​≤1/2 is not stated.

Preamble
import Mathlib

open MeasureTheory ProbabilityTheory InformationTheory
open scoped ENNReal
Formal statement
namespace BwSC.LowerBound

universe u

/-- Proposition 5, p. 56, eq. (35) (generalized reverse Fano-type inequality), for both choices
of `D`: the KL divergence `D(P ∥ Q) = KL(P ∥ Q)` and the reverse KL divergence
`D(P ∥ Q) = KL(Q ∥ P)`. With `p̄ = (1/N) Σ P_i(E_i)`, `q̄ = (1/N) Σ Q_i(E_i)` and
`D̄ = (1/N) Σ D(P_i ∥ Q_i)` (all finite): `p̄ ≥ q̄ - √(2 q̄ D̄)`. -/
theorem proposition_5 {N : ℕ} (hN : 0 < N) {Ω : Fin N → Type u}
    [∀ i, MeasurableSpace (Ω i)] (P Q : ∀ i, Measure (Ω i))
    [∀ i, IsProbabilityMeasure (P i)] [∀ i, IsProbabilityMeasure (Q i)]
    (E : ∀ i, Set (Ω i)) (hE : ∀ i, MeasurableSet (E i)) :
    ((∀ i, klDiv (P i) (Q i) ≠ ∞) →
      (1 / (N : ℝ)) * ∑ i, (Q i (E i)).toReal -
          Real.sqrt (2 * ((1 / (N : ℝ)) * ∑ i, (Q i (E i)).toReal) *
            ((1 / (N : ℝ)) * ∑ i, (klDiv (P i) (Q i)).toReal))
        ≤ (1 / (N : ℝ)) * ∑ i, (P i (E i)).toReal) ∧
    ((∀ i, klDiv (Q i) (P i) ≠ ∞) →
      (1 / (N : ℝ)) * ∑ i, (Q i (E i)).toReal -
          Real.sqrt (2 * ((1 / (N : ℝ)) * ∑ i, (Q i (E i)).toReal) *
            ((1 / (N : ℝ)) * ∑ i, (klDiv (Q i) (P i)).toReal))
        ≤ (1 / (N : ℝ)) * ∑ i, (P i (E i)).toReal) := by sorry

end BwSC.LowerBound
Source
Simchi-Levi & Xu, Phase Transitions in Bandits with Switching Constraints, arXiv:1905.10825v4, p. 56, Proposition 5 (Generalized Reverse Fano-type Inequality), eq. (35)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 23, 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