Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 (second claim) — confidence ellipsoid Ct′C'_tCt′​ for bounded actions

Proved
ImprovedLinBandits.OFUL.confidence_ellipsoid_of_norm_le

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

confidence-setlinear-banditsp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Assume the setting of Theorem 2 (first claim): a filtration, Ft−1F_{t-1}Ft−1​-measurable actions Xt∈RdX_t \in \mathbb R^dXt​∈Rd, FtF_tFt​-measurable conditionally RRR-sub-Gaussian noise ηt\eta_tηt​, rewards Yt=⟨Xt,θ∗⟩+ηtY_t = \langle X_t, \theta_*\rangle + \eta_tYt​=⟨Xt​,θ∗​⟩+ηt​, ∥θ∗∥2≤S\|\theta_*\|_2 \le S∥θ∗​∥2​≤S and λ>0\lambda > 0λ>0. If moreover ∥Xt∥2≤L\|X_t\|_2 \le L∥Xt​∥2​≤L for all t≥1t \ge 1t≥1, then for every δ>0\delta > 0δ>0, with probability at least 1−δ1 - \delta1−δ, for all t≥0t \ge 0t≥0, θ∗\theta_*θ∗​ lies in

Ct′={θ∈Rd:∥θ^t−θ∥V‾t≤Rdlog⁡(1+tL2/λδ)+λ1/2S}.C'_t = \left\{\theta \in \mathbb R^d : \left\|\widehat\theta_t - \theta\right\|_{\overline V_t} \le R\sqrt{d\log\left(\frac{1 + tL^2/\lambda}{\delta}\right)} + \lambda^{1/2} S\right\}.Ct′​={θ∈Rd:​θt​−θ​Vt​​≤Rdlog(δ1+tL2/λ​)​+λ1/2S}.

The radius of Ct′C'_tCt′​ no longer involves a determinant and grows like dlog⁡t\sqrt{d \log t}dlogt​.

Formalization Note The dimension is assumed to satisfy d≥2d \ge 2d≥2, which the paper does not state. The paper's proof (Appendix B) is not in the source file, and at d=1d = 1d=1 the claim does not follow from the first claim together with det⁡V‾t≤(λ+tL2/d)d\det \overline V_t \le (\lambda + tL^2/d)^ddetVt​≤(λ+tL2/d)d, because 2log⁡(1/δ)>log⁡(1/δ)2\log(1/\delta) > \log(1/\delta)2log(1/δ)>log(1/δ) for δ<1\delta < 1δ<1. The outer probability of the failure event, with time inside the event, is bounded by δ\deltaδ. StandardBorelSpace Ω\OmegaΩ is added as in Theorem 1.

Preamble
import Mathlib
import Definitions.Def_SelfNormalizedProcess

open MeasureTheory ProbabilityTheory Matrix NNReal
Formal statement
namespace ImprovedLinBandits.OFUL

/-- **Theorem 2, second claim** (Abbasi-Yadkori, Pál, Szepesvári, NIPS 2011, p. 4). Under the
assumptions of the first claim, if moreover `‖X_t‖₂ ≤ L` for all `t ≥ 1`, then for any `δ > 0` the
event that for some `t ≥ 0`
`‖θ̂_t - θ*‖_{V̄_t} > R √(d log((1 + t L²/λ)/δ)) + λ^{1/2} S`
has (outer) probability at most `δ`. The hypothesis `2 ≤ d` is added: the paper's proof is not in
the held text, and at `d = 1` the claim does not follow from the first claim. -/
theorem confidence_ellipsoid_of_norm_le
    {Ω : Type} {mΩ : MeasurableSpace Ω} [StandardBorelSpace Ω]
    {P : Measure Ω} [IsProbabilityMeasure P]
    {d : ℕ} (ℱ : Filtration ℕ mΩ)
    (X : ℕ → Ω → Fin d → ℝ) (η : ℕ → Ω → ℝ) (Y : ℕ → Ω → ℝ) (θstar : Fin d → ℝ)
    (R : ℝ≥0) {S lam L δ : ℝ}
    (hd : 2 ≤ d)
    (hX : ∀ t : ℕ, Measurable[ℱ t] (X (t + 1)))
    (hη : ∀ t : ℕ, Measurable[ℱ (t + 1)] (η (t + 1)))
    (hsg : ∀ t : ℕ, HasCondSubgaussianMGF (ℱ t) (ℱ.le t) (η (t + 1)) (R ^ 2) P)
    (hY : ∀ (t : ℕ) (ω : Ω), Y (t + 1) ω = X (t + 1) ω ⬝ᵥ θstar + η (t + 1) ω)
    (hS : Real.sqrt (θstar ⬝ᵥ θstar) ≤ S)
    (hL : ∀ (t : ℕ) (ω : Ω), Real.sqrt (X (t + 1) ω ⬝ᵥ X (t + 1) ω) ≤ L)
    (hlam : 0 < lam) (hδ : 0 < δ) :
    P {ω | ∃ t : ℕ,
        (R : ℝ) * Real.sqrt ((d : ℝ) * Real.log ((1 + (t : ℝ) * L ^ 2 / lam) / δ))
            + Real.sqrt lam * S
          < Real.sqrt ((BanditAlgorithm.regularizedLeastSquares d lam X Y t ω - θstar) ⬝ᵥ
              BanditAlgorithm.regularizedDesignMatrix d lam X t ω *ᵥ
                (BanditAlgorithm.regularizedLeastSquares d lam X Y t ω - θstar))}
      ≤ ENNReal.ofReal δ := by sorry

end ImprovedLinBandits.OFUL
Source
Abbasi-Yadkori, Pál, Szepesvári, Improved Algorithms for Linear Stochastic Bandits, NIPS 2011, p. 4, Theorem 2 (second claim, the set Ct′C'_tCt′​)
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me