Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma EC.1.2, p. EC1 — Chernoff bound: P(max_{N≤⌊ar⌋} |Σ_{n≤N}(X_n − x)| > br) ≤ 2e^{−C34 r} for large r

Proved
ForkJoinCtrl.Tracking.lemma_EC_1_2

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

chernoff-boundlarge-deviationsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1probability

Let X1,X2,…X_1,X_2,\dotsX1​,X2​,… be nonnegative i.i.d. random variables with E[X1]=x>0\mathbf E[X_1]=x>0E[X1​]=x>0, and suppose there is αˉ>0\bar\alpha>0αˉ>0 with E[eαX1]<∞\mathbf E[e^{\alpha X_1}]<\inftyE[eαX1​]<∞ for all α∈(−αˉ,αˉ)\alpha\in(-\bar\alpha,\bar\alpha)α∈(−αˉ,αˉ). Let a,b>0a,b>0a,b>0. Then there are C34>0C_{34}>0C34​>0 and r14∈N+r_{14}\in\mathbb N_+r14​∈N+​ such that for all r≥r14r\ge r_{14}r≥r14​

P(max⁡N∈{1,…,⌊ar⌋}∣∑n=1N(Xn−x)∣>br)≤2e−C34r.\mathbf P\Big(\max_{N\in\{1,\dots,\lfloor ar\rfloor\}}\Big|\sum_{n=1}^{N}(X_n-x)\Big|>br\Big)\le 2e^{-C_{34}r}.P(N∈{1,…,⌊ar⌋}max​​n=1∑N​(Xn​−x)​>br)≤2e−C34​r.

This exponential bound, applied to inter-arrival and service times, drives the tail estimates of Lemmas 5–8.

Formalization Note The maximum exceeds brbrbr exactly when some N∈{1,…,⌊ar⌋}N\in\{1,\dots,\lfloor ar\rfloor\}N∈{1,…,⌊ar⌋} does; for ⌊ar⌋=0\lfloor ar\rfloor=0⌊ar⌋=0 the event is empty. Independence is mutual independence of (Xn)n≥1(X_n)_{n\ge1}(Xn​)n≥1​; nonnegativity is almost sure. C34C_{34}C34​ and r14r_{14}r14​ may depend on aaa, bbb and the law of X1X_1X1​, not on rrr.

Preamble
import Mathlib

open MeasureTheory ProbabilityTheory
Formal statement
namespace ForkJoinCtrl.Tracking

theorem lemma_EC_1_2 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (X : ℕ → Ω → ℝ) (x : ℝ)
    (hmeas : ∀ n, Measurable (X n))
    (hnonneg : ∀ n, 1 ≤ n → ∀ᵐ ω ∂P, 0 ≤ X n ω)
    (hindep : iIndepFun (fun n : {n : ℕ // 1 ≤ n} => X n.1) P)
    (hident : ∀ n, 1 ≤ n → IdentDistrib (X n) (X 1) P P)
    (hint : Integrable (X 1) P) (hmean : ∫ ω, X 1 ω ∂P = x) (hx : 0 < x)
    (hmom : ∃ αbar : ℝ, 0 < αbar ∧ ∀ α ∈ Set.Ioo (-αbar) αbar,
      Integrable (fun ω => Real.exp (α * X 1 ω)) P)
    (a b : ℝ) (ha : 0 < a) (hb : 0 < b) :
    ∃ C34 : ℝ, 0 < C34 ∧ ∃ r14 : ℕ, 1 ≤ r14 ∧ ∀ r : ℕ, r14 ≤ r →
      P {ω | ∃ Nn ∈ Finset.Icc 1 ⌊a * r⌋₊, b * r < |∑ n ∈ Finset.Icc 1 Nn, (X n ω - x)|} ≤
        ENNReal.ofReal (2 * Real.exp (-C34 * r)) := by sorry

end ForkJoinCtrl.Tracking
Source
Özkan, Control of Fork-Join Processing Networks with Multiple Job Types and Parallel Shared Resources, arXiv:2002.01496v1, p. EC1, §EC.1, Lemma EC.1.2
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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