Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 47 — ∣pj(S;θ)−pj(S;θ′)∣≤14∣S∣ ∥θ−θ′∥2|p_j(S;\theta)-p_j(S;\theta')|\le\frac14\sqrt{|S|}\,\|\theta-\theta'\|_2∣pj​(S;θ)−pj​(S;θ′)∣≤41​∣S∣​∥θ−θ′∥2​

Proved
DynAssortPers.Regret.lemma_choice_prob_lipschitz

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

lipschitzmultinomial-logitp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let S⊆{1,…,n}S\subseteq\{1,\dots,n\}S⊆{1,…,n} be an assortment, j∈Sj\in Sj∈S, and θ,θ′∈Rn\theta,\theta'\in\mathbb R^nθ,θ′∈Rn. The MNL choice probability pj(S;θ)=eθj/(1+∑j′∈Seθj′)p_j(S;\theta)=e^{\theta_j}/(1+\sum_{j'\in S}e^{\theta_{j'}})pj​(S;θ)=eθj​/(1+∑j′∈S​eθj′​) is Lipschitz in the parameters:

∣pj(S;θ)−pj(S;θ′)∣≤14∣S∣ ∥θ−θ′∥2.|p_j(S;\theta)-p_j(S;\theta')|\le\frac14\sqrt{|S|}\,\|\theta-\theta'\|_2 .∣pj​(S;θ)−pj​(S;θ′)∣≤41​∣S∣​∥θ−θ′∥2​.

This is the first step of the proof of Theorem 6: it makes the expected revenue of a fixed assortment continuous in the estimated parameters.

Formalization Note ∥θ−θ′∥2=∑j(θj−θj′)2\|\theta-\theta'\|_2=\sqrt{\sum_j(\theta_j-\theta'_j)^2}∥θ−θ′∥2​=∑j​(θj​−θj′​)2​. The bound is stated for pjp_jpj​ with the term 1+1+1+ in the denominator (p. 21); the derivative display on p. 47 omits it, and the constant 14\frac1441​ holds for the definition with it.

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

/-- Proof of Theorem 6, p. 47: for any `S`, `j ∈ S`, `θ`, `θ'`,
`|p_j(S; θ) − p_j(S; θ')| ≤ (1/4) √|S| ‖θ − θ'‖₂`. -/
theorem lemma_choice_prob_lipschitz {n : ℕ} (S : Finset (Fin n)) (j : Fin n) (hj : j ∈ S)
    (θ θ' : Fin n → ℝ) :
    |choiceProb θ S j - choiceProb θ' S j| ≤
      (1 / 4) * Real.sqrt (S.card : ℝ) * euclidDist θ θ' := 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 'This means that for any S, j ∈ S, θ, and θ′'
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