Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma C.14 (v1) — positive local moments of the compensated process on a surviving window

Proved
IAFTRL.lemma_C_37_pos_moments

by Canzhe Zhao · Nov 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

bandit-algorithmslinear-banditsonline-learning

Throughout, the processes satisfy the full-history scalar difference interface of Lemma C.34 (bundled as C37.Iface). There are KKK actions with a distinguished action a∗a^*a∗ and gaps Δ(a∗)=0\Delta(a^*)=0Δ(a∗)=0, Δ0≤Δ(a)≤2\Delta_0\le\Delta(a)\le 2Δ0​≤Δ(a)≤2. The processes satisfy X0,a=0X_{0,a}=0X0,a​=0, Xt+1,a=Xt,a+Dt,aX_{t+1,a}=X_{t,a}+D_{t,a}Xt+1,a​=Xt,a​+Dt,a​ and Dt,a∗=0D_{t,a^*}=0Dt,a∗​=0, and E[Dt,a∣Ft]=Δ(a)+et,a\mathbb E[D_{t,a}\mid\mathcal F_t]=\Delta(a)+e_{t,a}E[Dt,a​∣Ft​]=Δ(a)+et,a​ with ∣et,a∣≤2κt|e_{t,a}|\le2\kappa_t∣et,a​∣≤2κt​, κt∈[0,2]\kappa_t\in[0,2]κt​∈[0,2] and ∑t<Tκt≤C\sum_{t<T}\kappa_t\le C∑t<T​κt​≤C. The increments obey ∣Dt,a∣≤2βt+1+(Zt,a+Zt,a∗)/B|D_{t,a}|\le 2\beta_{t+1}+(Z_{t,a}+Z_{t,a^*})/B∣Dt,a​∣≤2βt+1​+(Zt,a​+Zt,a∗​)/B and E[Dt,a2∣Ft]≤4βt+1+2(Zt,a2+Zt,a∗2)/(B(t+1))\mathbb E[D_{t,a}^2\mid\mathcal F_t]\le 4\beta_{t+1}+2(Z_{t,a}^2+Z_{t,a^*}^2)/(B(t+1))E[Dt,a2​∣Ft​]≤4βt+1​+2(Zt,a2​+Zt,a∗2​)/(B(t+1)), where Zt,a=Xt,a−min⁡bXt,bZ_{t,a}=X_{t,a}-\min_bX_{t,b}Zt,a​=Xt,a​−minb​Xt,b​. Here P=2⌈256+log⁡(2K)⌉P=2\lceil256+\log(2K)\rceilP=2⌈256+log(2K)⌉, B=224PB=2^{24}PB=224P, k=K1/Pk=K^{1/P}k=K1/P, ν=3P/4\nu=3P/4ν=3P/4, and n=t+1n=t+1n=t+1 is the paper's round.

With the window [m,t][m,t][m,t], threshold θ>0\theta>0θ>0, surviving-window indicator IsI_sIs​ and compensated process Ys=Xs,a−∑i<sei,a+2C+2θY_s=X_{s,a}-\sum_{i<s}e_{i,a}+2C+2\thetaYs​=Xs,a​−∑i<s​ei,a​+2C+2θ as in Lemma C.30, assume:

  • 3Bβs+1≤θ3B\beta_{s+1}\le\theta3Bβs+1​≤θ and Δ(a)+5(P−1)βs+1/θ≤A\Delta(a)+5(P-1)\beta_{s+1}/\theta\le AΔ(a)+5(P−1)βs+1​/θ≤A for m≤s<tm\le s<tm≤s<t;
  • the initial moment satisfies E[ImYmP]≤w0P\mathbb E[I_mY_m^P]\le w_0^PE[Im​YmP​]≤w0P​ with w0>0w_0>0w0​>0.

Then

E[It YtP]≤(A n1−κ0+w0(nm+1)2κ0)P,κ0=2(P−1)B.\mathbb E\bigl[I_t\,Y_t^{P}\bigr]\le\Bigl(\frac{A\,n}{1-\kappa_0}+w_0\Bigl(\frac{n}{m+1}\Bigr)^{2\kappa_0}\Bigr)^P,\qquad \kappa_0=\frac{2(P-1)}B .E[It​YtP​]≤(1−κ0​An​+w0​(m+1n​)2κ0​)P,κ0​=B2(P−1)​.

This is the positive local moment bound behind the distortion factor Ψt\Psi_tΨt​ of Lemma C.14. The linear term carries the drift Δ(a)\Delta(a)Δ(a), and the initial moment decays relative to nnn because 2κ0<12\kappa_0<12κ0​<1.

Preamble
import Mathlib
import Definitions.Def_IAFTRL_beta
import Definitions.Def_IAFTRL_Bc
import Definitions.Def_IAFTRL_C37_scalar
Formal statement
namespace IAFTRL

open MeasureTheory

/-- **Positive local moments.** Zhao–Tan, *Best-of-Both-Worlds FTRL for Linear Bandits*,
arXiv:2611.01299v1, Lemma C.14 ((C.120)–(C.123)), for the abstract interface `C37.Iface`: on the
surviving window, if `3Bβ_{s+1} ≤ θ` and `Δ(a) + 5(P−1)β_{s+1}/θ ≤ A` for `m ≤ s < t`, and the
initial moment satisfies `E[I_m Y_m^P] ≤ w₀^P`, then
`E[I_t Y_t^P] ≤ (A n/(1 − κ₀) + w₀ (n/(m+1))^{2κ₀})^P` with `n = t + 1`, `κ₀ = 2(P−1)/B`. -/
theorem lemma_C_37_pos_moments {d K : ℕ} {jstar : Fin K} {Δ : Fin K → ℝ} {Δ₀ : ℝ} {Ω : Type*}
    [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {F : ℕ → MeasurableSpace Ω}
    {T : ℕ} {C : ℝ} {X D e : ℕ → Fin K → Ω → ℝ} {κ : ℕ → Ω → ℝ}
    (I : C37.Iface d K jstar Δ Δ₀ μ F T C X D e κ) (m : ℕ) (θ : ℝ) (t : ℕ) (a : Fin K)
    (hθ : 0 < θ) (hmt : m ≤ t) (htT : t ≤ T)
    (hQ1 : ∀ s, m ≤ s → s < t → 3 * Bc K * beta d K (s + 1) ≤ θ)
    (A : ℝ) (hA0 : 0 ≤ A)
    (hA : ∀ s, m ≤ s → s < t → Δ a + 5 * ((C37.Pord K : ℝ) - 1) * beta d K (s + 1) / θ ≤ A)
    (w0 : ℝ) (hw0 : 0 < w0)
    (hW0 : ∫ ω, C37.Ii C κ X m θ m ω * C37.Yc C θ X e m a ω ^ C37.Pord K ∂μ ≤ w0 ^ C37.Pord K) :
    ∫ ω, C37.Ii C κ X m θ t ω * C37.Yc C θ X e t a ω ^ C37.Pord K ∂μ ≤
      (A * ((t : ℝ) + 1) / (1 - C37.kap0 K) + w0 * (((t : ℝ) + 1) / ((m : ℝ) + 1)) ^ (2 * C37.kap0 K)) ^
        C37.Pord K := by sorry

end IAFTRL
Source
Zhao–Tan, Best-of-Both-Worlds FTRL for Linear Bandits, arXiv:2611.01299v1, Lemma C.14 (C.118)–(C.125), pp.66–68, with Lemma C.29

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