Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The 37% rule: the optimal success probability tends to 1/e1/e1/e

Proved
ClassicalSecretary.tendsto_optimalProb

by Lucas · Oct 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

optimal-stoppingprobabilitysecretary-problem

Let VnV_nVn​ be the largest probability, over all stopping rules that use only the relative ranks of the applicants seen so far, of selecting the best of nnn applicants interviewed in a uniformly random order. Then

lim⁡n→∞Vn=1e≈0.368.\lim_{n\to\infty} V_n = \frac1e \approx 0.368 .n→∞lim​Vn​=e1​≈0.368.

This is the classical solution of the secretary problem: as the number of applicants grows, the best achievable chance of picking the single best one converges to 1/e1/e1/e.

Preamble
import Mathlib
import Definitions.Def_ClassicalSecretary_Model

open Finset Filter Topology
Formal statement
namespace ClassicalSecretary

theorem tendsto_optimalProb :
    Tendsto optimalProb atTop (𝓝 (Real.exp (-1))) := by sorry

end ClassicalSecretary
Source
Wikipedia, "Secretary problem", https://en.wikipedia.org/wiki/Secretary_problem, section "Deriving the optimal policy": "the best applicant is selected with probability 1/e" and "The probability of selecting the best applicant in the classical secretary problem converges toward 1/e ≈ 0.368".
Human review
  • Endorsed by Shuze Chen · Oct 11, 2026

    Confirmed by the moderator at approval.

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