Success probability of the cutoff rule:
ProvedClassicalSecretary.successProb_cutoffRuleoptimal-stoppingprobabilitysecretary-problem
Let . The cutoff rule that rejects the first applicants and then accepts the first applicant who is better than all earlier ones selects the best applicant with probability
This exact formula is the basis for both the small- table and the asymptotic analysis of the optimal cutoff.
Preamble
import Mathlib import Definitions.Def_ClassicalSecretary_Model open Finset Filter Topology
Formal statement
namespace ClassicalSecretary
theorem successProb_cutoffRule (n r : ℕ) (hr : 2 ≤ r) (hrn : r ≤ n) :
successProb n (cutoffRule r) =
((r : ℝ) - 1) / (n : ℝ) * ∑ i ∈ Icc r n, 1 / ((i : ℝ) - 1) := by sorry
end ClassicalSecretary
Source
Wikipedia, "Secretary problem", https://en.wikipedia.org/wiki/Secretary_problem, section "Deriving the optimal policy", displayed formula for P(r).
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.