Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Integrating a shifted exponential tail gives expectation at most twice the scale

Proved
RGMISFast.lintegral_le_two_scale_of_exp_tail

by srikkanthr · Nov 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

Let X be a measurable natural-valued random variable on a probability space and let F>0. If for every h≥0,

Pr⁡[X>F(1+h)]≤e−h,\Pr[X>F(1+h)]\le e^{-h},Pr[X>F(1+h)]≤e−h,

then

E[X]≤2F.\mathbb E[X]\le 2F.E[X]≤2F.

This is the general tail-integration step in the proof of Theorem 1.1, stated independently of graphs. The expectation is represented by the nonnegative Lebesgue integral.

Preamble
import Mathlib
open MeasureTheory
open scoped ENNReal
set_option autoImplicit false
Formal statement
theorem RGMISFast.lintegral_le_two_scale_of_exp_tail {Ω : Type*} [MeasurableSpace Ω]
    (μ : Measure Ω) [IsProbabilityMeasure μ] (X : Ω → ℕ) (hX : Measurable X)
    (F : ℝ) (hF : 0 < F)
    (htail : ∀ h : ℝ, 0 ≤ h → μ {ω | F * (1 + h) < (X ω : ℝ)} ≤
      ENNReal.ofReal (Real.exp (-h))) :
    ∫⁻ ω, (X ω : ℝ≥0∞) ∂μ ≤ ENNReal.ofReal (2 * F) := by sorry
Source
Randomized Greedy MIS Is Fast at Every Node, proof of Theorem 1.1, p.17, displayed tail-integration formula. Generalization from the query counter to any measurable natural-valued random variable.

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