Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof sketch of Theorem 2.1, PDF p. 2 — the first m arrivals, m ~ B(n, 1/2), form a uniform random subset of S

Proved
MultiChoiceSecretary.Alg.prefix_uniform_subset

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

binomialp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1random-ordersecretary-problem

Let SSS be a finite set of nnn real numbers revealed in a uniformly random order, and let m∼B(n,1/2)m \sim B(n, 1/2)m∼B(n,1/2) be independent of the order. Let YYY be the set of the first mmm arrivals. Then YYY is uniformly distributed on the 2n2^n2n subsets of SSS: for every A⊆SA \subseteq SA⊆S,

Pr⁡(Y=A)=2−n.\Pr(Y = A) = 2^{-n}.Pr(Y=A)=2−n.

This is the first step of the proof sketch of Theorem 2.1; every later claim about YYY rests on it.

Formalization Note. Pr⁡(Y=A)\Pr(Y = A)Pr(Y=A) is the split average of the indicator of {Y=A}\{Y = A\}{Y=A}.

Preamble
import Mathlib
import Definitions.Def_MultiChoiceSecretary_Alg_Setting
Formal statement
namespace MultiChoiceSecretary.Alg

theorem prefix_uniform_subset (S : Finset ℝ) :
    ∀ A ⊆ S, splitAvg S (fun Y => if Y = A then 1 else 0) = (1 / 2 : ℝ) ^ S.card := by sorry

end MultiChoiceSecretary.Alg
Source
Kleinberg, A multiple-choice secretary algorithm with applications to online auctions, SODA 2005, PDF p. 2, proof sketch of Theorem 2.1, "Since m has distribution B(n, 1/2), it follows that Y is a sample from the uniform distribution on all 2^n subsets of S."
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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