Theorem 1 — self-normalized bound for vector-valued martingales
ProvedImprovedLinBandits.OFUL.self_normalized_boundLet be a probability space with a filtration . Let be real random variables such that is -measurable and conditionally -sub-Gaussian for some :
Let be -valued with -measurable, and let be a positive definite matrix. For put and . Then for every , with probability at least , simultaneously for all ,
The bound is uniform in time and holds for adaptively chosen ; it is the source of the confidence sets of Theorem 2.
Formalization Note The statement bounds the outer probability of the failure event "there is with " by , so no measurability of that event is needed. Conditional sub-Gaussianity is Mathlib's HasCondSubgaussianMGF with variance proxy , and StandardBorelSpace is added so that it is available. Rounds are indexed ; is the platform's selfNormalizedSum. makes every positive definite, so Lean's inverse and both determinants are the genuine ones.
import Mathlib import Definitions.Def_SelfNormalizedProcess import Definitions.Def_ImprovedLinBandits_OFUL_gramMatrix open MeasureTheory ProbabilityTheory Matrix NNReal
namespace ImprovedLinBandits.OFUL
/-- **Theorem 1** (Self-Normalized Bound for Vector-Valued Martingales; Abbasi-Yadkori, Pál,
Szepesvári, NIPS 2011, p. 4). Let `ℱ` be a filtration, `η_{t+1}` be `ℱ_{t+1}`-measurable and
conditionally `R`-sub-Gaussian given `ℱ_t` (Mathlib's variance proxy `R ^ 2`), `X_{t+1}` be
`ℱ_t`-measurable, and `V` positive definite. With `V̄_t = V + ∑_{s≤t} X_s X_sᵀ` and
`S_t = ∑_{s≤t} η_s X_s`, for any `δ > 0` the event that for some `t ≥ 0`
`‖S_t‖²_{V̄_t⁻¹} > 2R² log(det(V̄_t)^{1/2} det(V)^{-1/2} / δ)` has (outer) probability at most `δ`.
`StandardBorelSpace Ω` is added so that Mathlib's conditional sub-Gaussianity is available. -/
theorem self_normalized_bound
{Ω : Type} {mΩ : MeasurableSpace Ω} [StandardBorelSpace Ω]
{P : Measure Ω} [IsProbabilityMeasure P]
{d : ℕ} (ℱ : Filtration ℕ mΩ)
(X : ℕ → Ω → Fin d → ℝ) (η : ℕ → Ω → ℝ) (R : ℝ≥0)
(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)
(V : Matrix (Fin d) (Fin d) ℝ) (hV : V.PosDef)
{δ : ℝ} (hδ : 0 < δ) :
P {ω | ∃ t : ℕ,
2 * (R : ℝ) ^ 2 * Real.log
(Real.sqrt (gramMatrix V X t ω).det * (Real.sqrt V.det)⁻¹ / δ)
< BanditAlgorithm.selfNormalizedSum d η X t ω ⬝ᵥ
(gramMatrix V X t ω)⁻¹ *ᵥ BanditAlgorithm.selfNormalizedSum d η X t ω}
≤ ENNReal.ofReal δ := by sorry
end ImprovedLinBandits.OFUL
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.