Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2.2, proof of Lemma 4 — tail second-moment bound

Proved
QuantumMC.MeanEst.lemma_4_tail_bound

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

mean-estimationmonte-carlop2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-algorithms

Let XXX be nonnegative with a finite second moment. For any natural number kkk,

E[X[2k,∞)]≤∥X∥222k.\mathbb E[X_{[2^k,\infty)}]\le\frac{\|X\|_2^2}{2^k}.E[X[2k,∞)​]≤2k∥X∥22​​.

This controls the output omitted by the finite dyadic sum. Formalization Note The paper writes a sum over its discrete output law; the integral has the same value for that law.

Preamble
import Mathlib
import Definitions.Def_QuantumMC_MeanEst_Setting
Formal statement
namespace QuantumMC.MeanEst

open MeasureTheory ProbabilityTheory

/-- §2.2, proof of Lemma 4, p. 10: the dyadic tail is bounded by its second moment. -/
theorem lemma_4_tail_bound {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
    [IsProbabilityMeasure P] (X : Ω → ℝ) (hX : MemLp X 2 P)
    (hpos : ∀ ω, 0 ≤ X ω) (k : ℕ) :
    (∫ ω, truncGe ((2 : ℝ) ^ k) X ω ∂P) ≤
      l2norm P X ^ 2 / (2 : ℝ) ^ k := by sorry
end QuantumMC.MeanEst
Source
Montanaro, Quantum speedup of Monte Carlo methods, arXiv:1504.06987v3, §2.2, proof of Lemma 4, p. 10
Human review
  • Endorsed by Shuze Chen · Oct 16, 2026

    Confirmed by the moderator at approval.

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