Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(5), p. 300 — Σ M(s_{1:t}+p₁)·s_t ≤ M(s_{1:T})·s_{1:T} + D|p₁|_∞ ≤ M(s_{1:T})·s_{1:T} + D/ε

Proved
KalaiVempala.Additive.eq_5

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

be-the-leaderfollow-the-perturbed-leaderonline-learningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

A single perturbation from the cube. Let D⊂Rn\mathcal D \subset \mathbb R^nD⊂Rn have L1L^1L1 diameter at most DDD and let MMM be an argmin oracle for D\mathcal DD. Let s1,s2,⋯∈Rns_1, s_2, \dots \in \mathbb R^ns1​,s2​,⋯∈Rn be any state sequence with s1:t=s1+⋯+sts_{1:t} = s_1 + \dots + s_ts1:t​=s1​+⋯+st​, let ε>0\varepsilon > 0ε>0, and let p1p_1p1​ be a point of the cube [0,1/ε]n[0, 1/\varepsilon]^n[0,1/ε]n. Then for every TTT,

∑t=1TM(s1:t+p1)⋅st  ≤  M(s1:T)⋅s1:T+D ∣p1∣∞  ≤  M(s1:T)⋅s1:T+Dε.\sum_{t=1}^{T} M(s_{1:t} + p_1) \cdot s_t \;\le\; M(s_{1:T}) \cdot s_{1:T} + D\,|p_1|_\infty \;\le\; M(s_{1:T}) \cdot s_{1:T} + \frac{D}{\varepsilon}.t=1∑T​M(s1:t​+p1​)⋅st​≤M(s1:T​)⋅s1:T​+D∣p1​∣∞​≤M(s1:T​)⋅s1:T​+εD​.

This is the first half of the proof of Theorem 1.1(a): when FPL(ε\varepsilonε) uses the same perturbation p1p_1p1​ in every period, being the perturbed leader costs at most D/εD/\varepsilonD/ε more than the best decision in hindsight. Both inequalities of the chain are asserted.

Formalization Note The page prints M(st+p1)M(s_t + p_1)M(st​+p1​) in the sum; it is obtained from Lemma 3.1 with pt=p1p_t = p_1pt​=p1​, which gives M(s1:t+p1)M(s_{1:t} + p_1)M(s1:t​+p1​), and the text says it applies Lemma 3.1, so the statement uses s1:ts_{1:t}s1:t​. The hypothesis ε>0\varepsilon > 0ε>0 is added because the page divides by ε\varepsilonε. ∣p1∣∞|p_1|_\infty∣p1​∣∞​ is the Lean sup norm ‖p₁‖, and the cube is Set.Icc 0 (fun _ => ε⁻¹). TTT is unrestricted (at T=0T = 0T=0 the chain reads 0≤D∣p1∣∞≤D/ε0 \le D|p_1|_\infty \le D/\varepsilon0≤D∣p1​∣∞​≤D/ε).

Preamble
import Mathlib
import Definitions.Def_OracleRO_ApproxFPL_FPL
import Definitions.Def_KalaiVempala_Additive_Setting

open MeasureTheory OracleRO.ApproxFPL
Formal statement
namespace KalaiVempala.Additive

theorem eq_5 {n : ℕ} (Dset : Set (Fin n → ℝ))
    (M : (Fin n → ℝ) → (Fin n → ℝ)) (hM : IsArgminOracle Dset M)
    (Ddiam : ℝ) (hD : ∀ d ∈ Dset, ∀ d' ∈ Dset, ∑ i, |d i - d' i| ≤ Ddiam)
    (s : ℕ → Fin n → ℝ) (T : ℕ) (ε : ℝ) (hε : 0 < ε)
    (p₁ : Fin n → ℝ) (hp₁ : p₁ ∈ Set.Icc (0 : Fin n → ℝ) (fun _ => ε⁻¹)) :
    ∑ t ∈ Finset.Icc 1 T, M (prefixSum s t + p₁) ⬝ᵥ s t ≤
        M (prefixSum s T) ⬝ᵥ prefixSum s T + Ddiam * ‖p₁‖ ∧
      M (prefixSum s T) ⬝ᵥ prefixSum s T + Ddiam * ‖p₁‖ ≤
        M (prefixSum s T) ⬝ᵥ prefixSum s T + Ddiam / ε := by sorry

end KalaiVempala.Additive
Source
Kalai & Vempala, Efficient algorithms for online decision problems, J. Comput. System Sci. 71 (2005), p. 300, proof of Theorem 1.1(a), display (5)
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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