Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 5.2, p. 16, first display — P(a_j is maximum in its label class) = (1 − 1/k)^{j−1} ≥ (1 − 1/k)^{k−1} ≥ 1/e

Proved
PosetSecretary.ProxyLabel.label_max_prob

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1probabilityrandom-partitionsecretary-problem

Let CCC be a finite set with pairwise distinct scores w:C→Rw : C \to \mathbb Rw:C→R, let k≥1k \ge 1k≥1, and let aj∈Ca_j \in Caj​∈C be the jjj-th best element, 1≤j≤k1 \le j \le k1≤j≤k: exactly j−1j - 1j−1 elements a1,…,aj−1a_1, \dots, a_{j-1}a1​,…,aj−1​ have a larger score than aja_jaj​. Assign every element a label in {1,…,k}\{1, \dots, k\}{1,…,k} uniformly and independently. Then the probability that aja_jaj​ has the largest score in its label class, that is, that none of a1,…,aj−1a_1, \dots, a_{j-1}a1​,…,aj−1​ shares its label, is

P(w(aj)=max⁡{w(a):ℓ(a)=ℓ(aj)})=(1−1k)j−1 ≥ (1−1k)k−1 ≥ 1e.\mathbb P\big(w(a_j) = \max\{w(a) : \ell(a) = \ell(a_j)\}\big) = \Big(1 - \frac1k\Big)^{j-1} \ \ge\ \Big(1 - \frac1k\Big)^{k-1} \ \ge\ \frac1e .P(w(aj​)=max{w(a):ℓ(a)=ℓ(aj​)})=(1−k1​)j−1 ≥ (1−k1​)k−1 ≥ e1​.

This is the first step of the proof of Proposition 5.2: each of the top kkk elements is, with probability at least 1/e1/e1/e, the maximum of its label class, which is the situation in which ProxyLabel can select it.

Formalization Note The probability is the fraction of the kNk^NkN labellings α → Fin k under which no element of larger score has the label of aja_jaj​. Exponents are natural numbers, so at k=1k = 1k=1 the bound reads 00=10^0 = 100=1, the paper's convention. Only distinctness of the scores is assumed; the partial order plays no role here.

Preamble
import Mathlib
import Definitions.Def_AppliedComb_Posets_width
import Definitions.Def_PosetSecretary_ProxyLabel_Setting
Formal statement
namespace PosetSecretary.ProxyLabel

/-- Proof of Proposition 5.2, p. 16, first display (Salem & Gupta, SSRN 3444283): if exactly
`j - 1` elements score above `a`, with `1 ≤ j ≤ k`, then under a uniformly random labelling
the probability that `a` is maximum in its labeled group is `(1 - 1/k)^(j-1)`, which is at least
`(1 - 1/k)^(k-1) ≥ 1/e`. -/
theorem label_max_prob {α : Type*} [Fintype α] [DecidableEq α] (w : α → ℝ)
    (hinj : Function.Injective w) (k : ℕ) (hk : 1 ≤ k) (a : α) (j : ℕ) (hj : 1 ≤ j)
    (hjk : j ≤ k) (hrank : (Finset.univ.filter (fun b => w a < w b)).card = j - 1) :
    labelMaxProb w k a = (1 - 1 / (k : ℝ)) ^ (j - 1) ∧
      (1 - 1 / (k : ℝ)) ^ (k - 1) ≤ (1 - 1 / (k : ℝ)) ^ (j - 1) ∧
      1 / Real.exp 1 ≤ (1 - 1 / (k : ℝ)) ^ (k - 1) := by sorry

end PosetSecretary.ProxyLabel
Source
Salem & Gupta, Secretary Problems with Biased Evaluations Using Partial Ordinal Information, SSRN 3444283 (version of 2022-04-17), proof of Proposition 5.2, p. 16, first display
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

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