Theorem 5 — the optimal proportions are with
ProvedOptimalBAI.OptProportions.optimal_proportions_characterizationLet , , be an exponential-family bandit model (every in the mean space ) with sorted means
and write . Let be the inverse functions of Section 2.2 () and
Then:
- is continuous and strictly increasing on , , and as from below;
- the equation has a unique solution ;
- a vector is an optimal proportion vector (a maximizer over of ) if and only if, for every arm ,
In particular the maximizer in the definition of the characteristic time exists, is unique, and is computed by solving one scalar equation. This is the formula used by the Track-and-Stop strategy to compute the proportions it tracks.
Formalization Note Arm is index and arm is index . The paper says "increasing"; its proof (App. A.2) shows "strictly increasing", which is what the uniqueness of uses, and that is what is stated. The paper's "" presupposes that the argmax exists and is a single point; clause 3 states exactly this, as an equivalence for every . The sum in the denominator is written with a separate index. is only evaluated on (by the ordering), where it is the true inverse of .
import Mathlib import Definitions.Def_OptimalBAI_OptProportions_ExpFamily import Definitions.Def_OptimalBAI_OptProportions_OptimalProportions
namespace OptimalBAI.OptProportions
/-- **Theorem 5** (Garivier–Kaufmann, arXiv:1602.04589v2, p. 5). Let `μ` be an exponential-family
bandit model with `K ≥ 2` arms, sorted as `μ_1 > μ_2 ≥ ⋯ ≥ μ_K` (0-based: `μ 0 > μ 1 ≥ ⋯`), and
`D = d(μ_1, μ_2)`. Then `F_μ` of eq. (6) is continuous and strictly increasing on `[0, D[`,
`F_μ(0) = 0`, `F_μ(y) → ∞` as `y → D⁻`; the equation `F_μ(y) = 1` has a unique solution `y*`
in `[0, D[`; and the optimal proportion vectors `w*(μ)` are exactly the vector
`w*_a = x_a(y*) / ∑_{i} x_i(y*)` of eq. (5) (so the argmax exists and is unique). -/
theorem optimal_proportions_characterization {K : ℕ} [NeZero K] (F : ExpFamily)
(μ : Fin K → ℝ) (hK : 2 ≤ K) (hμ : ∀ a, μ a ∈ F.M) (hμ0 : μ 1 < μ 0)
(hsorted : ∀ a b : Fin K, 1 ≤ a → a ≤ b → μ b ≤ μ a) :
ContinuousOn (FFun F μ) (Set.Ico 0 (F.d (μ 0) (μ 1))) ∧
StrictMonoOn (FFun F μ) (Set.Ico 0 (F.d (μ 0) (μ 1))) ∧
FFun F μ 0 = 0 ∧
Filter.Tendsto (FFun F μ)
(nhdsWithin (F.d (μ 0) (μ 1)) (Set.Iio (F.d (μ 0) (μ 1)))) Filter.atTop ∧
∃ ystar : ℝ, ystar ∈ Set.Ico 0 (F.d (μ 0) (μ 1)) ∧ FFun F μ ystar = 1 ∧
(∀ y ∈ Set.Ico 0 (F.d (μ 0) (μ 1)), FFun F μ y = 1 → y = ystar) ∧
∀ w : Fin K → ℝ, IsOptimalProportion F μ w ↔
∀ a, w a = xFun F μ a ystar / ∑ i, xFun F μ i ystar := by sorry
end OptimalBAI.OptProportions
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.