Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3 — the transportation cost is min⁡a≠1(w1+wa)Iw1/(w1+wa)(μ1,μa)\min_{a\ne1}(w_1+w_a)I_{w_1/(w_1+w_a)}(\mu_1,\mu_a)mina=1​(w1​+wa​)Iw1​/(w1​+wa​)​(μ1​,μa​)

Proved
OptimalBAI.OptProportions.transport_cost_eq_min

by mikedeng1 · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

best-arm-identificationexponential-familyoptimal-proportionsp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let μ=(μ1,…,μK)\boldsymbol\mu=(\mu_1,\dots,\mu_K)μ=(μ1​,…,μK​), K≥2K\ge2K≥2, be an exponential-family bandit model (every μa\mu_aμa​ in the mean space b˙(Θ)\dot b(\Theta)b˙(Θ)) whose unique optimal arm is arm 111: μ1>μa\mu_1>\mu_aμ1​>μa​ for all a≠1a\ne1a=1. Then for every w∈ΣKw\in\Sigma_Kw∈ΣK​,

inf⁡λ∈Alt(μ)(∑a=1Kwad(μa,λa))=min⁡a≠1 (w1+wa) Iw1w1+wa(μ1,μa),\inf_{\boldsymbol\lambda\in\mathrm{Alt}(\boldsymbol\mu)}\left(\sum_{a=1}^K w_a d(\mu_a,\lambda_a)\right)=\min_{a\ne1}\,(w_1+w_a)\,I_{\frac{w_1}{w_1+w_a}}(\mu_1,\mu_a),λ∈Alt(μ)inf​(a=1∑K​wa​d(μa​,λa​))=a=1min​(w1​+wa​)Iw1​+wa​w1​​​(μ1​,μa​),

where IαI_\alphaIα​ is the parameterized Jensen–Shannon divergence of eq. (3). In words: the cheapest way to make a suboptimal arm aaa look best is to move μ1\mu_1μ1​ and μa\mu_aμa​ to a common weighted mean, and the transportation cost is the smallest of these K−1K-1K−1 costs.

Lemma 3 turns the inner infimum of the characteristic time T∗(μ)−1T^*(\boldsymbol\mu)^{-1}T∗(μ)−1 into a finite minimum of explicit one-dimensional quantities, which is the starting point of the computation of the optimal proportions w∗(μ)w^*(\boldsymbol\mu)w∗(μ).

Formalization Note Arm 111 is index 000. The minimum is stated as the existence of an arm a≠1a\ne 1a=1 whose term is no larger than every other term and equals the infimum. The infimum is taken in the extended reals over the paper's Alt(μ)⊆S\mathrm{Alt}(\boldsymbol\mu)\subseteq\mathcal SAlt(μ)⊆S. When w1=wa=0w_1=w_a=0w1​=wa​=0 the subscript w1/(w1+wa)w_1/(w_1+w_a)w1​/(w1​+wa​) is 0/00/00/0, which Lean evaluates as 000; the term is then 0⋅I0=00\cdot I_0=00⋅I0​=0, the value it has under any convention. The paper states the lemma under its standing ordering μ1>μ2≥⋯≥μK\mu_1>\mu_2\ge\dots\ge\mu_Kμ1​>μ2​≥⋯≥μK​; only "arm 1 is the unique best arm" is assumed here, which is weaker.

Preamble
import Mathlib
import Definitions.Def_OptimalBAI_OptProportions_ExpFamily
import Definitions.Def_OptimalBAI_OptProportions_OptimalProportions
Formal statement
namespace OptimalBAI.OptProportions

/-- **Lemma 3** (Garivier–Kaufmann, arXiv:1602.04589v2, p. 5). Let `μ` be an exponential-family
bandit model whose unique optimal arm is arm `1` (index `0`). For every `w ∈ Σ_K`,
`inf_{λ ∈ Alt(μ)} ∑_a w_a d(μ_a, λ_a) = min_{a ≠ 1} (w_1 + w_a) I_{w_1/(w_1+w_a)}(μ_1, μ_a)`.
The minimum is stated as an arm `a ≠ 0` whose term is smallest and equals the infimum. -/
theorem transport_cost_eq_min {K : ℕ} [NeZero K] (F : ExpFamily) (μ : Fin K → ℝ)
    (hK : 2 ≤ K) (hμ : ∀ a, μ a ∈ F.M) (hbest : IsBest μ 0)
    (w : Fin K → ℝ) (hw : w ∈ simplex K) :
    ∃ a : Fin K, a ≠ 0 ∧
      (∀ b : Fin K, b ≠ 0 →
        (w 0 + w a) * jensenShannon F (w 0 / (w 0 + w a)) (μ 0) (μ a) ≤
          (w 0 + w b) * jensenShannon F (w 0 / (w 0 + w b)) (μ 0) (μ b)) ∧
      transportCost F μ w =
        (((w 0 + w a) * jensenShannon F (w 0 / (w 0 + w a)) (μ 0) (μ a) : ℝ) : EReal) := by sorry

end OptimalBAI.OptProportions
Source
Garivier, Kaufmann, Optimal Best Arm Identification with Fixed Confidence, arXiv:1602.04589v2, p. 5, Lemma 3 (proof: App. A.1, p. 17)
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

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