Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Signed finite-horizon information-ratio bound

Proved
BanditAlgorithm.information_ratio_cumulative_bound_signed

by Harry_Xu · Jul 30, 2026 · Mathlib c5ea003 (Lean v4.30.0)

banditsinequalitiesinformation-theoryprobability

Let nnn be a finite horizon. For every round ttt, let δt\delta_tδt​ be a (possibly signed) instantaneous regret and let ItI_tIt​ be an information term. Suppose Γ,H≥0\Gamma,H\ge 0Γ,H≥0, the pointwise information-ratio inequalities

δt2≤ΓIt\delta_t^2\le \Gamma I_tδt2​≤ΓIt​

hold for all ttt, and the total information satisfies ∑t=1nIt≤H\sum_{t=1}^n I_t\le H∑t=1n​It​≤H. Then

∑t=1nδt≤nΓH.\sum_{t=1}^n \delta_t\le \sqrt{n\Gamma H}.t=1∑n​δt​≤nΓH​.

This signed form is the precise finite-sum Cauchy--Schwarz step needed for Bayesian adversarial bandits, where a round's conditional expected regret need not be separately nonnegative.

Preamble
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.SpecialFunctions.Pow.Real

open scoped BigOperators
Formal statement
theorem BanditAlgorithm.information_ratio_cumulative_bound_signed {n : ℕ}
    (δ info : Fin n → ℝ) (Γ H : ℝ)
    (hΓ : 0 ≤ Γ) (hH : 0 ≤ H)
    (hpoint : ∀ t, δ t ^ 2 ≤ Γ * info t)
    (hsum : ∑ t, info t ≤ H) :
    ∑ t, δ t ≤ Real.sqrt (n * Γ * H) := by
  sorry
Source
Lattimore and Szepesvari, Bandit Algorithms (CUP 2020), Theorem 36.6, printed pp. 470-471, especially the Cauchy-Schwarz calculation in Eq. (36.10).
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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