Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 2.3(a) — squared norm of martingale differences

Proved
GhadimiLan.TwoPhase.lemma_2_3_a

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

concentrationmartingalesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1probability

Let ζi∈Rn\zeta_i\in\mathbb R^nζi​∈Rn be integrable martingale differences adapted to a filtration, and suppose E∥ζi∥2≤σi2\mathbb E\|\zeta_i\|^2\le\sigma_i^2E∥ζi​∥2≤σi2​ for every i≥1i\ge1i≥1. Then for each N≥1N\ge1N≥1,

E∥∑i=1Nζi∥2≤∑i=1Nσi2.\mathbb E\left\|\sum_{i=1}^N\zeta_i\right\|^2\le\sum_{i=1}^N\sigma_i^2.E​i=1∑N​ζi​​2≤i=1∑N​σi2​.

If the variance sum is positive, the same statement gives, for λ≥0\lambda\ge0λ≥0,

Pr⁡{∥∑i=1Nζi∥2≥λ∑i=1Nσi2}≤λ−1,\Pr\left\{\left\|\sum_{i=1}^N\zeta_i\right\|^2\ge\lambda\sum_{i=1}^N\sigma_i^2\right\}\le\lambda^{-1},Pr⎩⎨⎧​​i=1∑N​ζi​​2≥λi=1∑N​σi2​⎭⎬⎫​≤λ−1,

with the right side interpreted as infinity at λ=0\lambda=0λ=0. This vector-valued estimate controls post-optimization sampling error.

Formalization Note The statement works over a general probability space and does not require a trivial time-zero sigma-algebra, as the paper's application knows each candidate at time zero. The positive-sum guard repairs the printed non-strict tail claim when every σi=0\sigma_i=0σi​=0; then its event is certain for every positive λ\lambdaλ.

Preamble
import Mathlib
import Definitions.Def_GhadimiLan_TwoPhase_Model
open MeasureTheory ProbabilityTheory
Formal statement
namespace GhadimiLan.TwoPhase

/-- Lemma 2.3(a), p. 11. The tail clause needs a positive variance sum:
with every `σᵢ = 0`, the printed non-strict event has probability one for all λ. -/
theorem lemma_2_3_a {n : ℕ} {Ω : Type*} [MeasurableSpace Ω]
    (μ : Measure Ω) [IsProbabilityMeasure μ]
    (ℱ : Filtration ℕ ‹MeasurableSpace Ω›)
    (ζ : ℕ → Ω → GhadimiLan.RSG.E n) (σi : ℕ → ℝ)
    (hadapt : ∀ i, 1 ≤ i → StronglyMeasurable[ℱ i] (ζ i))
    (hint : ∀ i, 1 ≤ i → Integrable (ζ i) μ)
    (hzero : ∀ i, 1 ≤ i →
      condExp (ℱ (i - 1)) μ (ζ i) =ᵐ[μ] (fun _ => (0 : GhadimiLan.RSG.E n)))
    (hvarint : ∀ i, 1 ≤ i → Integrable (fun ω => ‖ζ i ω‖ ^ 2) μ)
    (hvar : ∀ i, 1 ≤ i →
      (∫ ω, ‖ζ i ω‖ ^ 2 ∂μ) ≤ σi i ^ 2) :
    ∀ N : ℕ, 1 ≤ N →
      Integrable (fun ω => ‖∑ i ∈ Finset.Icc 1 N, ζ i ω‖ ^ 2) μ ∧
      (∫ ω, ‖∑ i ∈ Finset.Icc 1 N, ζ i ω‖ ^ 2 ∂μ) ≤
        ∑ i ∈ Finset.Icc 1 N, σi i ^ 2 ∧
      (0 < (∑ i ∈ Finset.Icc 1 N, σi i ^ 2) →
        ∀ lam : ℝ, 0 ≤ lam →
          μ {ω | lam * (∑ i ∈ Finset.Icc 1 N, σi i ^ 2) ≤
            ‖∑ i ∈ Finset.Icc 1 N, ζ i ω‖ ^ 2} ≤
              (ENNReal.ofReal lam)⁻¹) := by sorry

end GhadimiLan.TwoPhase
Source
Ghadimi & Lan, arXiv:1309.5549v1, Lemma 2.3(a), p. 11
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me