Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Optimal cutoffs and success probabilities for n≤10n \le 10n≤10

Proved
ClassicalSecretary.optimal_table

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

optimal-stoppingprobabilitysecretary-problem

For n=1,…,10n = 1,\dots,10n=1,…,10 the cutoff rnr_nrn​ in the table below is optimal, i.e. Pn(cutoff rn)=VnP_n(\text{cutoff } r_n) = V_nPn​(cutoff rn​)=Vn​, and VnV_nVn​ equals the exact rational value shown. Each value rounds to the decimal entry of the source table.

nnn12345678910
rnr_nrn​1122333444
VnV_nVn​11112\tfrac1221​12\tfrac1221​1124\tfrac{11}{24}2411​1330\tfrac{13}{30}3013​77180\tfrac{77}{180}18077​2970\tfrac{29}{70}7029​4591120\tfrac{459}{1120}1120459​341840\tfrac{341}{840}840341​33498400\tfrac{3349}{8400}84003349​
source1.0000.5000.5000.4580.4330.4280.4140.4100.4060.399

These are concrete checks of the model and of the cutoff formula.

Formalization Note The source gives decimals rounded to three places. The statement uses the exact values max⁡1≤r≤nPn(cutoff r)\max_{1\le r\le n} P_n(\text{cutoff } r)max1≤r≤n​Pn​(cutoff r) obtained from the cutoff formula. For n=2n=2n=2 both r=1r=1r=1 and r=2r=2r=2 are optimal, and the table lists r=1r=1r=1.

Preamble
import Mathlib
import Definitions.Def_ClassicalSecretary_Model

open Finset Filter Topology
Formal statement
namespace ClassicalSecretary

theorem optimal_table :
    (successProb 1 (cutoffRule 1) = optimalProb 1 ∧ optimalProb 1 = 1) ∧
    (successProb 2 (cutoffRule 1) = optimalProb 2 ∧ optimalProb 2 = 1 / 2) ∧
    (successProb 3 (cutoffRule 2) = optimalProb 3 ∧ optimalProb 3 = 1 / 2) ∧
    (successProb 4 (cutoffRule 2) = optimalProb 4 ∧ optimalProb 4 = 11 / 24) ∧
    (successProb 5 (cutoffRule 3) = optimalProb 5 ∧ optimalProb 5 = 13 / 30) ∧
    (successProb 6 (cutoffRule 3) = optimalProb 6 ∧ optimalProb 6 = 77 / 180) ∧
    (successProb 7 (cutoffRule 3) = optimalProb 7 ∧ optimalProb 7 = 29 / 70) ∧
    (successProb 8 (cutoffRule 4) = optimalProb 8 ∧ optimalProb 8 = 459 / 1120) ∧
    (successProb 9 (cutoffRule 4) = optimalProb 9 ∧ optimalProb 9 = 341 / 840) ∧
    (successProb 10 (cutoffRule 4) = optimalProb 10 ∧ optimalProb 10 = 3349 / 8400) := by sorry

end ClassicalSecretary
Source
Wikipedia, "Secretary problem", https://en.wikipedia.org/wiki/Secretary_problem, section "Deriving the optimal policy", table of optimal thresholds r and probabilities P for n = 1, …, 10.
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