Theorem 6 (corrected) — while
ProvedStochLinOpt.UpperBound.sum_sq_instRegret_leLet , let satisfy for all , and let minimise over . Let with , and let be a run of ConfidenceBall₂ with losses . Write for the instantaneous regret. If for every , then
This is the sum-of-squares regret bound: on the event that the confidence ellipsoids contain the true mean, the regret is controlled deterministically. Together with the confidence theorem (Theorem 5) and Cauchy–Schwarz, it gives the problem-independent upper bound.
Formalization Note The paper prints ; the proof, via Lemma 9, gives , and the printed bound is false at (with , , , the tie-break gives ). The paper's proof uses ""; it is added as the hypothesis , which holds whenever and . The statement is deterministic.
import Mathlib import Definitions.Def_StochLinOpt_UpperBound_confidenceBall2 import Definitions.Def_StochLinOpt_UpperBound_analysisQuantities open Matrix
namespace StochLinOpt.UpperBound
theorem sum_sq_instRegret_le {n : ℕ} (D : Set (Fin n → ℝ)) (δ : ℝ)
(μ xstar : Fin n → ℝ) (x : ℕ → Fin n → ℝ) (ℓ : ℕ → ℝ)
(hD_cube : ∀ y ∈ D, ∀ i, |y i| ≤ 1)
(hμD : ∀ y ∈ D, |μ ⬝ᵥ y| ≤ 1)
(hxstar : xstar ∈ D ∧ ∀ y ∈ D, μ ⬝ᵥ xstar ≤ μ ⬝ᵥ y)
(hδ : 0 < δ) (hδ1 : δ < 1) (hβ₁ : 1 ≤ beta n δ 1)
(hrun : IsConfidenceBall2Run D δ x ℓ) (T : ℕ)
(hμ : ∀ t ∈ Finset.Icc 1 T, μ ∈ confBall δ x ℓ t) :
∑ t ∈ Finset.Icc 1 T, (μ ⬝ᵥ x t - μ ⬝ᵥ xstar) ^ 2 ≤
8 * n * beta n δ T * Real.log (T + 1) := by sorry
end StochLinOpt.UpperBound
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. , , , a sequence in , a real sequence , and . The notation is:
- ;
- ;
- ;
- .
Hypotheses.
- Every satisfies for all coordinates .
- for all .
- and for all .
- .
- . Since , , so with this condition is equivalent to .
- is a run: for every , and some satisfies for all and .
- for every with .
Conclusion.
The statement is fully deterministic: hypothesis 7 is simply assumed for every round up to .
Degenerate cases.
- : the claim is .
- empty: hypothesis 3 fails, so the statement is vacuous.
- : both sides are .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.