Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma E.4, p. 60 — one-step KL between MNL feedback with v₁ = 1/2 and v₁ = 1/2 + ϵ is at most 4ϵ²

Proved
MNLBandit.LowerBound.lemma_E_4

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

kl-divergencelower-boundmultinomial-logitp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider the MNL-Bandit instance I^MNL\hat I_{\mathrm{MNL}}I^MNL​ of Definition E.1: NNN products, no-purchase weight v0=1v_0=1v0​=1, vi=12v_i=\frac12vi​=21​ for i=2,…,Ni=2,\dots,Ni=2,…,N, and v1v_1v1​ equal to 12\frac1221​ or 12+ϵ\frac12+\epsilon21​+ϵ. For an offer set S⊆{1,…,N}S\subseteq\{1,\dots,N\}S⊆{1,…,N} let P0S\mathcal P^S_0P0S​ and P1S\mathcal P^S_1P1S​ be the MNL choice distributions on {0,1,…,N}\{0,1,\dots,N\}{0,1,…,N} when v1=12v_1=\frac12v1​=21​ and v1=12+ϵv_1=\frac12+\epsilonv1​=21​+ϵ respectively:

P0S(i)=12+∣S∣×{0,i∉S∪{0},2,i=0,1,i∈S,P1S(i)=12+∣S∣+2ϵ1(1∈S)×{0,i∉S∪{0},2,i=0,1,i∈S∖{1},1+2ϵ,i=1.\mathcal P^S_0(i)=\frac{1}{2+|S|}\times\begin{cases}0,& i\notin S\cup\{0\},\\ 2,& i=0,\\ 1,& i\in S,\end{cases} \qquad \mathcal P^S_1(i)=\frac{1}{2+|S|+2\epsilon\mathbb 1(1\in S)}\times\begin{cases}0,& i\notin S\cup\{0\},\\ 2,& i=0,\\ 1,& i\in S\setminus\{1\},\\ 1+2\epsilon,& i=1.\end{cases}P0S​(i)=2+∣S∣1​×⎩⎨⎧​0,2,1,​i∈/S∪{0},i=0,i∈S,​P1S​(i)=2+∣S∣+2ϵ1(1∈S)1​×⎩⎨⎧​0,2,1,1+2ϵ,​i∈/S∪{0},i=0,i∈S∖{1},i=1.​

Let T≥1T\ge1T≥1 and set ϵ=1/(32T)\epsilon=\sqrt{1/(32T)}ϵ=1/(32T)​ as in Definition E.1. Then for every SSS,

KL(P0S ∥ P1S)=∑i=0NP0S(i)log⁡P0S(i)P1S(i)≤4ϵ2.\mathrm{KL}\big(\mathcal P^S_0\,\big\|\,\mathcal P^S_1\big)=\sum_{i=0}^{N}\mathcal P^S_0(i)\log\frac{\mathcal P^S_0(i)}{\mathcal P^S_1(i)}\le4\epsilon^2 .KL(P0S​​P1S​)=i=0∑N​P0S​(i)logP1S​(i)P0S​(i)​≤4ϵ2.

It is the per-period step of the change-of-measure argument for the unconstrained case K=NK=NK=N of Theorem 2.

Formalization Note PbS\mathcal P^S_bPbS​ is the MNL choice probability (2.1) of the instance I^MNL\hat I_{\mathrm{MNL}}I^MNL​ with the respective v1v_1v1​; the two displays above are what (2.1) gives for v0=1v_0=1v0​=1, vi=12v_i=\frac12vi​=21​. The Kullback–Leibler divergence is the published discrete divergence on a finite type, valued in [0,∞][0,\infty][0,∞], which is +∞+\infty+∞ unless P0S\mathcal P^S_0P0S​ is absolutely continuous with respect to P1S\mathcal P^S_1P1S​ (here it always is). The horizon T≥1T\ge1T≥1 defines ϵ\epsilonϵ exactly as in Definition E.1; N≥2N\ge2N≥2 ensures the instance's second product exists. Products are 0-based: the paper's product 1 is index 000.

Preamble
import Mathlib
import Definitions.Def_FoundationsRL_GeneralDM_Divergences
import Definitions.Def_MNLBandit_LowerBound_Setting
Formal statement
namespace MNLBandit.LowerBound

theorem lemma_E_4 (N T : ℕ) (hN : 2 ≤ N) (hT : 1 ≤ T) (S : Finset (Fin N)) :
    FoundationsRL.GeneralDM.klDivDiscrete
        (choiceProb (instHat N (Real.sqrt (1 / (32 * (T : ℝ)))) false).v₀
          (instHat N (Real.sqrt (1 / (32 * (T : ℝ)))) false).v S)
        (choiceProb (instHat N (Real.sqrt (1 / (32 * (T : ℝ)))) true).v₀
          (instHat N (Real.sqrt (1 / (32 * (T : ℝ)))) true).v S) ≤
      ENNReal.ofReal (4 * (Real.sqrt (1 / (32 * (T : ℝ)))) ^ 2) := by sorry

end MNLBandit.LowerBound
Source
Agrawal, Avadhanula, Goyal, Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, arXiv:1706.03880v2, p. 60, Lemma E.4, (E.8); p. 59, Definition E.1
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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