Section 4, Eq. (22) — for a fixed sample size n ≥ 1, P(S_n > αn^{1/2}) = 1 − Φ(α) under H₀
ProvedRobbinsSeqDesign.OptionalStopping.rejection_prob_eqLet be independent random variables, each normally distributed with mean and variance (the null hypothesis of Section 4), and let . The fixed-sample test (21) rejects when , where is a real constant. For every sample size and every real , the probability of rejecting when it is true is
where is the standard normal distribution function (23). In particular this error probability does not depend on .
This is the size of the fixed-sample test; it is the numerator of the optional-stopping bound (25), and the reason the paper says that by choosing large the error can be made as small as one pleases.
Formalization Note. The paper writes (22) as for the test (21) at a fixed ; the Lean statement makes the probability explicit and requires (at the sum is empty and the event is empty when ). Normality is HasLaw (X i) (gaussianReal 0 1) P, which includes almost-everywhere measurability; independence is iIndepFun X P. The numerical example " then " is not formalized.
import Mathlib import Definitions.Def_RobbinsSeqDesign_OptionalStopping_Setup
namespace RobbinsSeqDesign.OptionalStopping
open MeasureTheory ProbabilityTheory
theorem rejection_prob_eq {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] (X : ℕ → Ω → ℝ) (hindep : iIndepFun X P)
(hlaw : ∀ i, HasLaw (X i) (gaussianReal 0 1) P) (n : ℕ) (hn : 1 ≤ n) (α : ℝ) :
P.real {ω | α * Real.sqrt n < S X n ω} = 1 - Phi α := by sorry
end RobbinsSeqDesign.OptionalStopping
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.