Theorem 2 — ConfidenceBall₂ has regret for all with probability
ProvedStochLinOpt.UpperBound.confidenceBall2_regret_boundModel. Let be a probability space with a filtration , where is the information available before round . The decision set is compact, contains the standard basis vectors , and lies in the cube (the standard basis is a barycentric spanner of ). The unknown mean satisfies for , and minimises over . On round the learner plays an -measurable decision and observes an -measurable loss with
On every outcome, is a run of ConfidenceBall₂ with losses (Algorithm 3.1), with and .
Claim. With and ,
Since , this is regret uniformly over all horizons, with no dependence on the gap of the problem.
Formalization Note Three corrections of the printed statement, each forced by the paper's own proof:
- replaces the printed : the printed bound is false at (, , : the tie-break gives ), and the proof, via Lemma 9, gives .
- The hypothesis is added: the proof of Theorem 5 uses , which fails for near .
- The hypothesis is added: Section 5.2 uses while the paper's model only gives . It holds when costs lie in .
Section 5 takes the barycentric spanner to be the standard basis without loss of generality. The filtration is general (containing the natural one), the conditional mean is imposed at the chosen decision only, and the event quantifies over all horizons at once.
Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.
import Mathlib import Definitions.Def_StochLinOpt_UpperBound_confidenceBall2 import Definitions.Def_StochLinOpt_UpperBound_analysisQuantities open Matrix MeasureTheory
namespace StochLinOpt.UpperBound
theorem confidenceBall2_regret_bound {n : ℕ} {Ω : Type*} {mΩ : MeasurableSpace Ω}
(P : Measure Ω) [IsProbabilityMeasure P] (𝓕 : Filtration ℕ mΩ)
(D : Set (Fin n → ℝ)) (hD_compact : IsCompact D)
(hD_basis : ∀ i : Fin n, (Pi.single i (1 : ℝ) : Fin n → ℝ) ∈ D)
(hD_cube : ∀ y ∈ D, ∀ i, |y i| ≤ 1)
(μ : Fin n → ℝ) (hμD : ∀ y ∈ D, |μ ⬝ᵥ y| ≤ 1)
(δ : ℝ) (hδ : 0 < δ) (hδ1 : δ < 1)
(x : ℕ → Ω → Fin n → ℝ) (ℓ : ℕ → Ω → ℝ)
(hx_meas : ∀ t : ℕ, 1 ≤ t → Measurable[𝓕 t] (x t))
(hℓ_meas : ∀ t : ℕ, 1 ≤ t → Measurable[𝓕 (t + 1)] (ℓ t))
(hℓ_bdd : ∀ t : ℕ, 1 ≤ t → ∀ ω, |ℓ t ω| ≤ 1)
(hη_bdd : ∀ t : ℕ, 1 ≤ t → ∀ ω, |ℓ t ω - μ ⬝ᵥ x t ω| ≤ 1)
(hmean : ∀ t : ℕ, 1 ≤ t → P[ℓ t | 𝓕 t] =ᵐ[P] fun ω => μ ⬝ᵥ x t ω)
(hrun : ∀ ω, IsConfidenceBall2Run D δ (fun t => x t ω) (fun t => ℓ t ω))
(hβ₁ : (n : ℝ) ≤ (8 / 3 * Real.log (1 / δ)) ^ 2)
(xstar : Fin n → ℝ) (hxstar : xstar ∈ D ∧ ∀ y ∈ D, μ ⬝ᵥ xstar ≤ μ ⬝ᵥ y) :
1 - δ ≤ P.real {ω | ∀ T : ℕ, 1 ≤ T →
regret μ xstar (fun t => x t ω) T ≤
Real.sqrt (8 * n * T * 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
Let and write for real vectors indexed by , with dot product . Let be a measurable space and a probability measure on it. Let be a filtration, meaning an increasing sequence of sub-σ-algebras of indexed by the natural numbers, starting at . The statement also depends on three objects from imported definition files that are not shown here: the predicate IsConfidenceBall2Run, the function regret and the function beta. This read-back cannot unfold them. It refers to them only by name and by the arguments they receive:
- is a predicate on a set , a number , a sequence of vectors and a sequence of reals .
- is a real number that depends on a vector , a vector , a sequence of vectors and a natural number .
- is a real number that depends on , and .
Hypotheses. The statement assumes all of the following:
- The set . is compact. It contains every standard basis vector for . Every has for every coordinate .
- The vector . satisfies for every .
- The number . is a real number with .
- The processes. For each there is a function and a function . For every they satisfy:
- is -measurable, and is -measurable.
- For every (not just almost every ), and .
- The conditional expectation of given equals almost surely:
- No hypothesis says that lies in . Any such requirement could only come from .
- The run condition. For every , the fixed sequences and satisfy .
- Dimension versus .
Here is the natural logarithm, and because .
- The comparator . and for every . So is a minimiser of over .
Conclusion. Let be the set of such that, for every at once,
Then , where is taken as a real number. The statement does not claim that is measurable. If is not measurable, means the outer measure of . The square root here is the real square root, which returns for a negative argument. So if , the bound for that reads .
Degenerate cases.
- Index . Nothing constrains or (measurability, boundedness or conditional mean), except whatever requires. The conclusion quantifies only over , but whether uses index is fixed by the unseen definition.
- Measurability and integrability. Each with is bounded and -measurable, so it is -integrable. The conditional expectation is therefore not the default value that is returned for non-integrable functions.
- Dimension . has one point, the empty vector . The basis hypothesis is vacuous. Because , the set must be , so every dot product is . The dimension hypothesis holds automatically. The right-hand side becomes , so the conclusion says that with probability at least , for all .
- Dimension . The dimension hypothesis forces , which is a real restriction on .
- Emptiness of . is never empty, because it contains .
- Possible vacuity. It cannot be determined here whether the "for every " run condition, together with the other hypotheses, can be satisfied. That depends on the unseen definition of . If it cannot be satisfied, the theorem is vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.