Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Suppressed-return product model has the reciprocal-test output probability

Proved
CountingLLL.ReciprocalTest.abstract_survival_output

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

algorithmsprobability

Suppose 0<B<10<B<10<B<1 and B≥e−3/10B\geq e^{-3/10}B≥e−3/10. Form the paper’s independent initial Coin outcome, contracted absorbed walk, and independent uniform return tests at successive counter values. If KKK is the final counter minus one, then one minus half the probability that all KKK tests miss their designated values is exactly 1/(2B)1/(2B)1/(2B). This establishes the correctness calculation in the suppressed-return product model; coupling that model to the operational algorithm is a separate open theorem.

Preamble
import Definitions.Def_CountingLLL_ContractedGF
import Definitions.Def_CountingLLL_ReciprocalTest
open MeasureTheory CountingLLL.ContractedWalk CountingLLL.ReciprocalTest
open scoped ENNReal
Formal statement
theorem CountingLLL.ReciprocalTest.abstract_survival_output (B : ℝ) (hB0 : 0 < B) (hB1 : B < 1)
    (hB : Real.exp (-(3/10 : ℝ)) ≤ B) :
    let u := 2*(1-B)/(2-B)
    let θ := u^2/(1-u+u^2)
    let ν := (bitLaw (ENNReal.ofReal u)).prod (tapeLaw (ENNReal.ofReal θ))
    1 - (((ν.prod (Measure.infinitePi fun i : ℕ => uniformLaw (i+1)))
       {p : (Bool × Tape) × ((i : ℕ) → Fin (i+2)) |
          ∀ i < (if p.1.1 then 1 + upwardCount p.1.2 3 else upwardCount p.1.2 1),
            (p.2 i).val ≠ 0}).toReal)/2 = 1/(2*B) := 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