Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma E.5, p. 61 — KL between the choice laws over T periods under v₁ = 1/2 and v₁ = 1/2 + ϵ is at most 4Tϵ²

Proved
MNLBandit.LowerBound.lemma_E_5

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

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

Let N≥2N\ge2N≥2, T≥1T\ge1T≥1, and ϵ=1/(32T)\epsilon=\sqrt{1/(32T)}ϵ=1/(32T)​ as in Definition E.1. Let AMNL\mathcal A_{\mathrm{MNL}}AMNL​ be a policy that offers at each period ttt an assortment St⊆{1,…,N}S_t\subseteq\{1,\dots,N\}St​⊆{1,…,N} determined by the past choices c1,…,ct−1c_1,\dots,c_{t-1}c1​,…,ct−1​ of the customers. On the instance I^MNL\hat I_{\mathrm{MNL}}I^MNL​ (v0=1v_0=1v0​=1, vi=12v_i=\frac12vi​=21​ for i≥2i\ge2i≥2), let P0\mathbb P_0P0​ and P1\mathbb P_1P1​ be the laws of the choice sequence c=(c1,…,cT)∈{0,1,…,N}T\mathbf c=(c_1,\dots,c_T)\in\{0,1,\dots,N\}^Tc=(c1​,…,cT​)∈{0,1,…,N}T when v1=12v_1=\frac12v1​=21​ and v1=12+ϵv_1=\frac12+\epsilonv1​=21​+ϵ respectively, i.e. Pb(c)=∏t=1Tpct(b)(St)\mathbb P_b(\mathbf c)=\prod_{t=1}^{T}p^{(b)}_{c_t}(S_t)Pb​(c)=∏t=1T​pct​(b)​(St​) with the MNL probabilities (2.1). Then

KL(P0∥P1)=∑c∈{0,1,…,N}TP0(c)log⁡P0(c)P1(c)≤4Tϵ2.\mathrm{KL}(\mathbb P_0\|\mathbb P_1)=\sum_{\mathbf c\in\{0,1,\dots,N\}^T}\mathbb P_0(\mathbf c)\log\frac{\mathbb P_0(\mathbf c)}{\mathbb P_1(\mathbf c)}\le4T\epsilon^2 .KL(P0​∥P1​)=c∈{0,1,…,N}T∑​P0​(c)logP1​(c)P0​(c)​≤4Tϵ2.

Through Pinsker's inequality this bounds how differently the policy can behave under the two values of v1v_1v1​, which drives the K=NK=NK=N case of Theorem 2.

Formalization Note The policy is deterministic, as in the lemma's proof ("StS_tSt​ is completely determined by the reward history c1,…,ct−1c_1,\dots,c_{t-1}c1​,…,ct−1​", p. 61). The page's (E.9) writes P(c)\mathcal P(\mathbf c)P(c) for P0(c)\mathbb P_0(\mathbf c)P0​(c). The Kullback–Leibler divergence is the published discrete divergence, valued in [0,∞][0,\infty][0,∞] (+∞+\infty+∞ without absolute continuity). 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. Periods and products are 0-based; no-purchase is none.

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

theorem lemma_E_5 (N T : ℕ) (hN : 2 ≤ N) (hT : 1 ≤ T) (π : MNLBandit.UCB.Policy N) :
    FoundationsRL.GeneralDM.klDivDiscrete
        (histProb (instHat N (Real.sqrt (1 / (32 * (T : ℝ)))) false).v₀
          (instHat N (Real.sqrt (1 / (32 * (T : ℝ)))) false).v π T)
        (histProb (instHat N (Real.sqrt (1 / (32 * (T : ℝ)))) true).v₀
          (instHat N (Real.sqrt (1 / (32 * (T : ℝ)))) true).v π T) ≤
      ENNReal.ofReal (4 * T * (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. 61, Lemma E.5, (E.9)
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