Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 4, p. 534 — with probability 1, S_n > αn^{1/2} for infinitely many n, however large α

Proved
RobbinsSeqDesign.OptionalStopping.rejects_infinitely_often

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

gaussianiterated-logarithmoptional-stoppingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1probability

Let x1,x2,…x_1,x_2,\dotsx1​,x2​,… be independent standard normal random variables and Sn=x1+⋯+xnS_n=x_1+\cdots+x_nSn​=x1​+⋯+xn​. For every real constant α\alphaα, with probability 111 the rejection inequality (21),

Sn>αn1/2,S_n>\alpha n^{1/2},Sn​>αn1/2,

holds for infinitely many values of nnn.

This is the fact that makes optional stopping dangerous: an experimenter who samples until (21) is verified is almost surely going to stop and reject the true hypothesis H0H_0H0​, whatever value of α\alphaα the statistician chose. The paper deduces it from the law of the iterated logarithm.

Formalization Note. "With probability 1 … for infinitely many values of nnn" is ∀ᵐ ω ∂P, ∃ᶠ n in atTop, α * √n < S n ω. The statement is for every real α\alphaα ("no matter how large the value of α\alphaα").

Preamble
import Mathlib
import Definitions.Def_RobbinsSeqDesign_OptionalStopping_Setup
Formal statement
namespace RobbinsSeqDesign.OptionalStopping

open MeasureTheory ProbabilityTheory Filter

theorem rejects_infinitely_often {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
    [IsProbabilityMeasure P] (X : ℕ → Ω → ℝ) (hindep : iIndepFun X P)
    (hlaw : ∀ i, HasLaw (X i) (gaussianReal 0 1) P) (α : ℝ) :
    ∀ᵐ ω ∂P, ∃ᶠ n : ℕ in atTop, α * Real.sqrt n < S X n ω := by sorry

end RobbinsSeqDesign.OptionalStopping
Source
Robbins, Some aspects of the sequential design of experiments, Bull. Amer. Math. Soc. 58 (1952), p. 534, Section 4 (consequence of the law of the iterated logarithm, unnumbered)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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