JAO Section 6, final computation: averaging over the planting and the choice leave regret
ProvedBanditAlgorithm.jao_collapsed_bandit_regret_arithmeticStatement. Let , and with , and set
Let satisfy , and
for every . Then there exists with .
This is the concluding computation of JAO Section 6 (pp. 1584-1586), isolated as a statement about real numbers so that the probabilistic content lives entirely in its siblings. In the intended application is the expected number of plays of action in state under the reference gadget, is the expected regret of the gadget planted at , and the hypothesis on is exactly what equations (34), (35), (37) and the optimal-gain computation give; , so the conclusion is the of the paper with .
Proof. Average the hypothesis over . The leading term is . Concavity of the square root (Jensen) gives with , so the average of the right-hand side is at least
The hypothesis gives , hence , and it makes every correction term a fixed fraction of ; substituting and using leaves a positive multiple of . The extremal case is with , where the resulting constant is , comfortably above the claimed here (and consistent with the that JAO state for this part of the argument -- it is only their subsequent substitution that fails). Finally, some attains the average.
import Mathlib.Data.Real.Sqrt import Mathlib.Analysis.SpecialFunctions.Log.Basic import Definitions.Def_UCRL2ConfidenceSets open MeasureTheory ProbabilityTheory
theorem BanditAlgorithm.jao_collapsed_bandit_regret_arithmetic
(m : ℕ) (hm : 20 ≤ m) (δ ε : ℝ) (hδ0 : 0 < δ) (hδ : δ ≤ 1 / 3)
(T : ℕ) (hT : (16 : ℝ) * m ≤ δ * T)
(hε : ε = 1 / 5 * Real.sqrt (δ * m / T))
(V R : Fin m → ℝ) (hV0 : ∀ b, 0 ≤ V b)
(hVsum : ∑ b, V b ≤ (T : ℝ) / 2 + 1 / (2 * δ))
(hR : ∀ b, (T : ℝ) * ((δ + ε) / (2 * δ + ε)) - (T : ℝ)
+ ((T : ℝ) / 2 - 1 / (2 * δ))
- (ε / δ) * (V b + (T : ℝ) / 2 * (ε / Real.sqrt δ) * Real.sqrt (2 * V b))
≤ R b) :
∃ b : Fin m, (1 / 100 : ℝ) * Real.sqrt ((T : ℝ) * m / δ) ≤ R b := by
sorry