Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Survival of a random number of independent uniform return tests

Proved
CountingLLL.ReciprocalTest.random_uniform_survival

by wcysai · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

algorithmsprobability

Let KKK be a finite random nonnegative integer. Independently of KKK, draw for each i≥0i\geq0i≥0 a uniform element from a set of i+2i+2i+2 elements with one distinguished value. The probability that each of the first KKK draws avoids its distinguished value equals E[1/(K+1)]\mathbb E[1/(K+1)]E[1/(K+1)]. This is the probabilistic survival identity used in the suppressed-return analysis of ReciprocalTest. Establishing that its adaptive execution has this product coupling is a separate task.

Preamble
import Definitions.Def_CountingLLL_ReciprocalTest
open CountingLLL.ReciprocalTest MeasureTheory ProbabilityTheory
open scoped ENNReal
Formal statement
theorem CountingLLL.ReciprocalTest.random_uniform_survival {α : Type*} [MeasurableSpace α] (μ : Measure α) [IsProbabilityMeasure μ] (K : α → ℕ) (hK : Measurable K) : (μ.prod (Measure.infinitePi fun i : ℕ => uniformLaw (i+1))) {p : α × ((i : ℕ) → Fin (i+2)) | ∀ i < K p.1, (p.2 i).val ≠ 0} = ∫⁻ x, 1/(K x+1 : ℝ≥0∞) ∂μ := by sorry
Source
Liu, Wang, Yin, Zhang and Zhou, A Counting and Sampling Lovász Local Lemma, STOC #442, proof of Lemma 6.5, correctness, p. 27, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/442.pdf

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