Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.1, p. 300 — Σ M(s_{1:t}+p_t)·s_t ≤ M(s_{1:T})·s_{1:T} + D Σ|p_t − p_{t−1}|_∞

Proved
KalaiVempala.Additive.lemma_3_1

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

Be the perturbed leader. Let D⊂Rn\mathcal D \subset \mathbb R^nD⊂Rn be a decision set with L1L^1L1 diameter at most DDD, that is ∣d−d′∣1=∑i∣di−di′∣≤D|d - d'|_1 = \sum_i |d_i - d'_i| \le D∣d−d′∣1​=∑i​∣di​−di′​∣≤D for all d,d′∈Dd, d' \in \mathcal Dd,d′∈D, 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​. Then for any T>0T > 0T>0 and any vectors p0=0,p1,…,pT∈Rnp_0 = 0, p_1, \dots, p_T \in \mathbb R^np0​=0,p1​,…,pT​∈Rn,

∑t=1TM(s1:t+pt)⋅st  ≤  M(s1:T)⋅s1:T+D∑t=1T∣pt−pt−1∣∞.\sum_{t=1}^{T} M(s_{1:t} + p_t) \cdot s_t \;\le\; M(s_{1:T}) \cdot s_{1:T} + D \sum_{t=1}^{T} |p_t - p_{t-1}|_\infty .t=1∑T​M(s1:t​+pt​)⋅st​≤M(s1:T​)⋅s1:T​+Dt=1∑T​∣pt​−pt−1​∣∞​.

Perturbing the leader's input by ptp_tpt​ costs at most DDD times the total movement of the perturbations. With a single perturbation pt=p1p_t = p_1pt​=p1​ this bounds the cost of the perturbed "be the leader" algorithm by min-costT+D∣p1∣∞\text{min-cost}_T + D|p_1|_\inftymin-costT​+D∣p1​∣∞​.

Formalization Note ∣x∣∞|x|_\infty∣x∣∞​ is the Lean norm ‖x‖, which on Fin n → ℝ is the sup norm. "Any state sequence" is taken literally: the states are arbitrary vectors, with no membership in S\mathcal SS. The perturbations form a sequence p : ℕ → Fin n → ℝ with p 0 = 0; only p0,…,pTp_0, \dots, p_Tp0​,…,pT​ enter the statement.

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 lemma_3_1 {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 : ℕ) (hT : 0 < T)
    (p : ℕ → Fin n → ℝ) (hp0 : p 0 = 0) :
    ∑ t ∈ Finset.Icc 1 T, M (prefixSum s t + p t) ⬝ᵥ s t ≤
      M (prefixSum s T) ⬝ᵥ prefixSum s T +
        Ddiam * ∑ t ∈ Finset.Icc 1 T, ‖p t - p (t - 1)‖ := by sorry

end KalaiVempala.Additive
Source
Kalai & Vempala, Efficient algorithms for online decision problems, J. Comput. System Sci. 71 (2005), p. 300, Lemma 3.1
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