Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4 — at the optimum, the costs (w1∗+wa∗)Iw1∗/(w1∗+wa∗)(μ1,μa)(w^*_1+w^*_a)I_{w^*_1/(w^*_1+w^*_a)}(\mu_1,\mu_a)(w1∗​+wa∗​)Iw1∗​/(w1∗​+wa∗​)​(μ1​,μa​) are all equal

Proved
OptimalBAI.OptProportions.optimal_costs_equal

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, and let w∗w^*w∗ be an optimal proportion vector, i.e. any maximizer over ΣK\Sigma_KΣK​ of the transportation cost w↦inf⁡λ∈Alt(μ)∑awad(μa,λa)w\mapsto\inf_{\boldsymbol\lambda\in\mathrm{Alt}(\boldsymbol\mu)}\sum_a w_a d(\mu_a,\lambda_a)w↦infλ∈Alt(μ)​∑a​wa​d(μa​,λa​). Then for all a,b∈{2,…,K}a,b\in\{2,\dots,K\}a,b∈{2,…,K},

(w1∗+wa∗) Iw1∗w1∗+wa∗(μ1,μa)=(w1∗+wb∗) Iw1∗w1∗+wb∗(μ1,μb).(w^*_1+w^*_a)\,I_{\frac{w^*_1}{w^*_1+w^*_a}}(\mu_1,\mu_a)=(w^*_1+w^*_b)\,I_{\frac{w^*_1}{w^*_1+w^*_b}}(\mu_1,\mu_b).(w1∗​+wa∗​)Iw1∗​+wa∗​w1∗​​​(μ1​,μa​)=(w1∗​+wb∗​)Iw1∗​+wb∗​w1∗​​​(μ1​,μb​).

Together with Lemma 3, this says that at the optimum every suboptimal arm is equally costly to promote, which reduces the (K−1)(K-1)(K−1)-dimensional maximization to a single real parameter.

Formalization Note Arm 111 is index 000 and a,ba,ba,b range over the indices ≠0\ne0=0. The paper states the lemma for "the" w∗(μ)w^*(\boldsymbol\mu)w∗(μ); it is stated here for every maximizer, as in the paper's proof ("Let w∗w^*w∗ be an element in argmax", App. A.2). The paper's standing ordering is weakened to "arm 1 is the unique best arm".

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

/-- **Lemma 4** (Garivier–Kaufmann, arXiv:1602.04589v2, p. 5). Let `μ` be an exponential-family
bandit model whose unique optimal arm is arm `1` (index `0`), and let `w*` be any optimal
proportion vector (any element of the argmax defining `w*(μ)`). For all `a, b ∈ {2, …, K}`
(indices `≠ 0`), `(w*_1 + w*_a) I_{w*_1/(w*_1+w*_a)}(μ_1, μ_a) = (w*_1 + w*_b) I_{w*_1/(w*_1+w*_b)}(μ_1, μ_b)`. -/
theorem optimal_costs_equal {K : ℕ} [NeZero K] (F : ExpFamily) (μ : Fin K → ℝ)
    (hK : 2 ≤ K) (hμ : ∀ a, μ a ∈ F.M) (hbest : IsBest μ 0)
    (w : Fin K → ℝ) (hw : IsOptimalProportion F μ w) (a b : Fin K) (ha : a ≠ 0) (hb : 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) := by sorry

end OptimalBAI.OptProportions
Source
Garivier, Kaufmann, Optimal Best Arm Identification with Fixed Confidence, arXiv:1602.04589v2, p. 5, Lemma 4 (proof: App. A.2, pp. 17-18)
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