Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(3.2), p. 12 — PCS ≥ Pr{Σ_{i=2}^k N_i(X̄₁*) + N₁* ≤ B}: the boundary-crossing lower bound

Proved
GreedyRS.Greedy.eq3_2_boundary_crossing

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

boundary-crossinggreedy-procedurep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1probability-of-correct-selectionranking-and-selection

Consider the greedy procedure on alternatives 1,…,k1,\dots,k1,…,k with total budget BBB, run on an arbitrary array of observations XijX_{ij}Xij​ (no distributional assumption is needed). Write Xˉi(n)\bar X_i(n)Xˉi​(n) for the running average of alternative iii after nnn observations, and let

  1. Xˉ1∗=min⁡n≥1Xˉ1(n)\bar X_1^*=\min_{n\ge1}\bar X_1(n)Xˉ1∗​=minn≥1​Xˉ1​(n) be the minimum of the best alternative's running average (the boundary),
  2. N1∗=arg⁡min⁡n≥1Xˉ1(n)N_1^*=\arg\min_{n\ge1}\bar X_1(n)N1∗​=argminn≥1​Xˉ1​(n) the first time it is attained (∞\infty∞ if never),
  3. Ni(Xˉ1∗)=inf⁡{n≥1:Xˉi(n)<Xˉ1∗}N_i(\bar X_1^*)=\inf\{n\ge1:\bar X_i(n)<\bar X_1^*\}Ni​(Xˉ1∗​)=inf{n≥1:Xˉi​(n)<Xˉ1∗​} the boundary-crossing time of alternative i≥2i\ge2i≥2 (∞\infty∞ if never).

Then the event {∑i=2kNi(Xˉ1∗)+N1∗≤B}\{\sum_{i=2}^kN_i(\bar X_1^*)+N_1^*\le B\}{∑i=2k​Ni​(Xˉ1∗​)+N1∗​≤B} implies a correct selection, and therefore

PCS ≥ Pr⁡{∑i=2kNi(Xˉ1∗)+N1∗≤B}.(3.2)\mathrm{PCS}\ \ge\ \Pr\Bigl\{\sum_{i=2}^kN_i(\bar X_1^*)+N_1^*\le B\Bigr\}.\qquad(3.2)PCS ≥ Pr{i=2∑k​Ni​(Xˉ1∗​)+N1∗​≤B}.(3.2)

This is the paper's boundary-crossing perspective: it replaces the intractable dynamics of the greedy procedure by a condition on separate, per-alternative crossing times, and it is the starting point of the proof of Theorem 1.

Formalization Note The paper's alternative 111 is Lean's index 000, and i=2,…,ki=2,\dots,ki=2,…,k is Finset.Ico 1 k. Ties in the arg max of the procedure go to the smallest index; with this rule the inclusion of events holds for every outcome, not just almost surely. Crossing times and the argmin are valued in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}; when N1∗=∞N_1^*=\inftyN1∗​=∞ the event fails, and when N1∗<∞N_1^*<\inftyN1∗​<∞ the boundary is the attained minimum.

Preamble
import Mathlib
import Definitions.Def_GreedyRS_Greedy_Setting

open MeasureTheory ProbabilityTheory
open scoped ENNReal NNReal
Formal statement
namespace GreedyRS.Greedy
theorem eq3_2_boundary_crossing {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
    (X : ℕ → ℕ → Ω → ℝ) (k B : ℕ) :
    P {ω | (∑ i ∈ Finset.Ico 1 k,
          crossBelow (runMean (fun i j => X i j ω) i)
            (boundary (runMean (fun i j => X i j ω) 0) 1) 1)
        + argminFrom (runMean (fun i j => X i j ω) 0) 1 ≤ (B : ℕ∞)}
      ≤ pcs P X k 1 B := by sorry
end GreedyRS.Greedy
Source
Li, Fan & Hong, The (Surprising) Sample Optimality of Greedy Procedures for Large-Scale Ranking and Selection, arXiv:2303.02951v3, p. 12, §3.2, (3.2)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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