Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 47 (corrected) — if δ(w,θ;K)≥d≥12∥w∥∞K3/2∥θ−θ′∥2\delta(w,\theta;K)\ge d\ge\frac12\|w\|_\infty K^{3/2}\|\theta-\theta'\|_2δ(w,θ;K)≥d≥21​∥w∥∞​K3/2∥θ−θ′∥2​ then S⋆(w,θ′;K)⊆S⋆(w,θ;K)S^\star(w,\theta';K)\subseteq S^\star(w,\theta;K)S⋆(w,θ′;K)⊆S⋆(w,θ;K)

Proved
DynAssortPers.Regret.lemma_optimal_set_stable

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

assortmentmultinomial-logitp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stability

Let w,θ,θ′∈Rnw,\theta,\theta'\in\mathbb R^nw,θ,θ′∈Rn and d∈Rd\in\mathbb Rd∈R. Suppose the revenue gap under θ\thetaθ is at least ddd: every assortment SSS with ∣S∣≤K|S|\le K∣S∣≤K that is not optimal under θ\thetaθ satisfies F(S;w,θ)≤max⁡∣S′∣≤KF(S′;w,θ)−dF(S;w,\theta)\le\max_{|S'|\le K}F(S';w,\theta)-dF(S;w,θ)≤max∣S′∣≤K​F(S′;w,θ)−d. If

12 ∥w∥∞ K3/2 ∥θ−θ′∥2≤d,\frac12\,\|w\|_\infty\,K^{3/2}\,\|\theta-\theta'\|_2\le d,21​∥w∥∞​K3/2∥θ−θ′∥2​≤d,

then every assortment optimal under θ′\theta'θ′ is optimal under θ\thetaθ:

S⋆(w,θ′;K)⊆S⋆(w,θ;K).S^\star(w,\theta';K)\subseteq S^\star(w,\theta;K).S⋆(w,θ′;K)⊆S⋆(w,θ;K).

In the proof of Theorem 6 this is what makes an exploitation round optimal once the estimate is close enough to the true parameters.

Formalization Note The page prints the conclusion as the equality S⋆(w,θ′;K)=S⋆(w,θ;K)S^\star(w,\theta';K)=S^\star(w,\theta;K)S⋆(w,θ′;K)=S⋆(w,θ;K) under ∥θ−θ′∥2≤2δ(w,θ;K)K−3/2/∥w∥∞\|\theta-\theta'\|_2\le2\delta(w,\theta;K)K^{-3/2}/\|w\|_\infty∥θ−θ′∥2​≤2δ(w,θ;K)K−3/2/∥w∥∞​. That is false: for n=2n=2n=2, K=1K=1K=1, w=(1,1)w=(1,1)w=(1,1), θ=(0,0)\theta=(0,0)θ=(0,0), θ′=(ε,0)\theta'=(\varepsilon,0)θ′=(ε,0), both singletons are optimal under θ\thetaθ but only {1}\{1\}{1} under θ′\theta'θ′, while δ(w,θ;1)=12\delta(w,\theta;1)=\frac12δ(w,θ;1)=21​ (only ∅\emptyset∅ is suboptimal) and ε≤1\varepsilon\le1ε≤1. The statement here keeps the page's non-strict hypothesis and replaces the equality by the inclusion; the hypothesis is multiplied out so that ∥w∥∞=0\|w\|_\infty=0∥w∥∞​=0 needs no division.

Preamble
import Mathlib
import Definitions.Def_DynAssortPers_Regret_MNL
Formal statement
namespace DynAssortPers.Regret

/-- Proof of Theorem 6, p. 47, the stability of the optimal set, in its corrected form: if every
non-optimal feasible assortment under `θ` earns at most the optimum minus `d` (that is,
`δ(w, θ; K) ≥ d`) and `(1/2) ‖w‖_∞ K^{3/2} ‖θ − θ'‖₂ ≤ d` (the page's `‖θ − θ'‖₂ ≤ 2δ(w, θ; K)K^{−3/2}/‖w‖_∞`,
multiplied out), then `S⋆(w, θ'; K) ⊆ S⋆(w, θ; K)`. (The printed equality of the two sets is false.) -/
theorem lemma_optimal_set_stable {n : ℕ} (K : ℕ) (w θ θ' : Fin n → ℝ) (d : ℝ)
    (hgap : HasGap w θ K d)
    (hclose : (1 / 2) * supNorm w * (K : ℝ) ^ ((3 : ℝ) / 2) * euclidDist θ θ' ≤ d)
    (S : Finset (Fin n)) (hS : IsOptimal w θ' K S) :
    IsOptimal w θ K S := by sorry

end DynAssortPers.Regret
Source
Kallus, Udell, Dynamic Assortment Personalization in High Dimensions, arXiv:1610.05604 (PDF sha256 2b010481…216a), proof of Theorem 6, p. 47, display after 'It follows that if ||θ − θ′||_2 is small enough, the optimal assortment for each is the same' (corrected)
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