Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4, p. 24 — the explore-first greedy procedure is consistent: liminf_k PCS ≥ α with B = ⌊(n₀ + n_g)k⌋

Proved
GreedyRS.EFG.theorem4_efg_consistent

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

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

Consider kkk alternatives with independent normal observations Xij∼N(μi,σi2)X_{ij}\sim N(\mu_i,\sigma_i^2)Xij​∼N(μi​,σi2​), σi2>0\sigma_i^2>0σi2​>0, alternative 1 the best, and suppose Assumption 1 holds: there are constants γ>0\gamma>0γ>0 and σˉ2>0\bar\sigma^2>0σˉ2>0 with μ1−max⁡i≥2μi≥γ\mu_1-\max_{i\ge2}\mu_i\ge\gammaμ1​−maxi≥2​μi​≥γ and max⁡iσi2≤σˉ2\max_i\sigma_i^2\le\bar\sigma^2maxi​σi2​≤σˉ2, regardless of kkk. Let C(x;n0)=E[N~(x;n0)]C(x;n_0)=\mathrm E[\tilde N(x;n_0)]C(x;n0​)=E[N~(x;n0​)], where N~(x;n0)=inf⁡{n≥n0:Zˉ(n)<x}\tilde N(x;n_0)=\inf\{n\ge n_0:\bar Z(n)<x\}N~(x;n0​)=inf{n≥n0​:Zˉ(n)<x} is the first time from n0n_0n0​ on that the running average of iid standard normals drops below xxx.

Fix a PCS level α∈(0,1)\alpha\in(0,1)α∈(0,1) and γ0∈(0,γ)\gamma_0\in(0,\gamma)γ0​∈(0,γ). Let the exploration size n0≥1n_0 \ge 1n0​≥1 satisfy (5.3),

Pr⁡{min⁡n≥n0Xˉ1(n)>μ1−γ0}≥α,\Pr\Big\{\min_{n\ge n_0}\bar X_1(n)>\mu_1-\gamma_0\Big\}\ge\alpha,Pr{n≥n0​min​Xˉ1​(n)>μ1​−γ0​}≥α,

and let

ng ≥ C(γ−γ0σˉ;n0)−n0.n_g \ \ge\ C\Big(\frac{\gamma-\gamma_0}{\bar\sigma};n_0\Big)-n_0 .ng​ ≥ C(σˉγ−γ0​​;n0​)−n0​.

If the total sampling budget satisfies B/k=n0+ngB/k = n_0 + n_gB/k=n0​+ng​, the PCS of the explore-first greedy procedure satisfies

lim inf⁡k→∞PCS ≥ α.\liminf_{k\to\infty}\mathrm{PCS}\ \ge\ \alpha .k→∞liminf​PCS ≥ α.

This is the consistency of the EFG procedure in the sense of Definition 2: every PCS level is reachable with a budget linear in the number of alternatives, which the plain greedy procedure cannot achieve.

Formalization Note The budget B=(n0+ng)kB=(n_0+n_g)kB=(n0​+ng​)k is read as ⌊(n0+ng)k⌋\lfloor(n_0+n_g)k\rfloor⌊(n0​+ng​)k⌋. The condition on ngn_gng​ is written additively in [0,∞][0,\infty][0,∞]: C((γ−γ0)/σˉ;n0)≤n0+ngC((\gamma-\gamma_0)/\bar\sigma;n_0)\le n_0+n_gC((γ−γ0​)/σˉ;n0​)≤n0​+ng​. Probabilities, the liminf and CCC live in [0,∞][0,\infty][0,∞]. "min⁡n≥n0Xˉ1(n)>a\min_{n\ge n_0}\bar X_1(n)>aminn≥n0​​Xˉ1​(n)>a" means the path is bounded below from n0n_0n0​ on and its infimum exceeds aaa. Positive variances are assumed. Alternatives are indexed from 000 (Lean's 000 is the paper's alternative 1); one observation array serves all kkk, and ties in every arg max go to the smallest index (a null event).

Preamble
import Mathlib
import Definitions.Def_GreedyRS_EFG_Setting

open MeasureTheory ProbabilityTheory Filter
open scoped ENNReal NNReal
Formal statement
namespace GreedyRS.EFG

theorem theorem4_efg_consistent {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
    [IsProbabilityMeasure P] (μ : ℕ → ℝ) (v : ℕ → ℝ≥0) (X : ℕ → ℕ → Ω → ℝ)
    (hX : GreedyRS.Greedy.NormalArray P μ v X) (hv : ∀ i, 0 < v i)
    (γ σbar : ℝ) (hγ : 0 < γ) (hσbar : 0 < σbar)
    (hgap : ∀ i, 1 ≤ i → μ i ≤ μ 0 - γ) (hvar : ∀ i, (v i : ℝ) ≤ σbar ^ 2)
    (α : ℝ) (hα : α ∈ Set.Ioo 0 1)
    (γ0 : ℝ) (hγ0 : γ0 ∈ Set.Ioo 0 γ) (n0 : ℕ) (hn0 : 1 ≤ n0)
    (h53 : ENNReal.ofReal α ≤
      P {ω | GreedyRS.Greedy.AboveFrom (GreedyRS.Greedy.runMean (fun i j => X i j ω) 0) n0 (μ 0 - γ0)})
    (ng : ℝ) (hng : GreedyRS.Greedy.Cn0 ((γ - γ0) / σbar) n0 ≤ ENNReal.ofReal (n0 + ng)) :
    ENNReal.ofReal α ≤
      Filter.liminf (fun k : ℕ => GreedyRS.Greedy.pcs P X k n0 ⌊((n0 : ℝ) + ng) * k⌋₊) Filter.atTop := by sorry

end GreedyRS.EFG
Source
Li, Fan & Hong, The (Surprising) Sample Optimality of Greedy Procedures for Large-Scale Ranking and Selection, arXiv:2303.02951v3, p. 24, Theorem 4; Assumption 1, p. 12; Definition 2, p. 21
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