Lemma 8 — instantaneous regret at most
ProvedStochLinOpt.UpperBound.instRegret_le_two_min_widthLet , let satisfy for all , and let minimise over . Let be a run of ConfidenceBall₂ with losses , and let . Fix a round . If , then the instantaneous regret satisfies
This is the per-round step of the upper bound: while the confidence ellipsoid contains the true mean, the regret of a round is controlled by the width of the ellipsoid in the chosen direction.
Formalization Note The statement is deterministic (pathwise). Rounds are indexed from . The bound by comes from on , which is the paper's assumption that expected costs lie in .
import Mathlib import Definitions.Def_StochLinOpt_UpperBound_confidenceBall2 import Definitions.Def_StochLinOpt_UpperBound_analysisQuantities open Matrix
namespace StochLinOpt.UpperBound
theorem instRegret_le_two_min_width {n : ℕ} (D : Set (Fin n → ℝ)) (δ : ℝ)
(μ xstar : Fin n → ℝ) (x : ℕ → Fin n → ℝ) (ℓ : ℕ → ℝ)
(hμD : ∀ y ∈ D, |μ ⬝ᵥ y| ≤ 1)
(hxstar : xstar ∈ D ∧ ∀ y ∈ D, μ ⬝ᵥ xstar ≤ μ ⬝ᵥ y)
(hrun : IsConfidenceBall2Run D δ x ℓ) (t : ℕ) (ht : 1 ≤ t)
(hμ : μ ∈ confBall δ x ℓ t) :
μ ⬝ᵥ x t - μ ⬝ᵥ xstar ≤ 2 * min (Real.sqrt (beta n δ t) * width x t) 1 := by sorry
end StochLinOpt.UpperBound
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. , (no constraint), , a sequence in and a real sequence . The notation is:
- , with and ;
- ;
- ;
- ;
- .
Hypotheses.
- for all .
- and for all .
- is a run: for every , and some satisfies for all and .
- with .
- for this single .
Conclusion.
Degenerate cases.
- empty: hypothesis 2 cannot hold, so the statement is vacuous.
- : , so and hypothesis 5 forces . The claim is then .
- , : , so , which forces . Both sides are then .
- : behaves as .
- : both sides are .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.