Theorem 19, p. 20 — a binary-advice threshold policy is optimal
ProvedSecretaryAdvice.Binary.theorem_19Consider secretaries with uniformly random distinct ranks. The top secretary's binary classifier says with probability , and each other secretary's classifier says with probability , with and signals conditionally independent given the ranks. A policy may randomize its stopping decision based on all relative comparisons and signals observed so far. There are thresholds such that the policy accepting the first best-so-far secretary at or after the threshold for its current signal is optimal:
The result shows that the full observed history cannot improve the best achievable success probability beyond a two-threshold rule.
Formalization Note Lean uses zero-based Fin n time, while threshold values use the paper's one-based rounds. The existential thresholds precede the universal competitor, so one threshold policy beats every randomized history-dependent policy. The finite winning-probability sum includes the probability of not having stopped earlier.
import Mathlib import Definitions.Def_SecretaryAdvice_Binary_Setting
namespace SecretaryAdvice.Binary
/-- Theorem 19, p. 20: a threshold policy is optimal against all randomized
history-dependent stopping policies in the binary-classifier model. -/
theorem theorem_19 (n : ℕ) (hn : 1 ≤ n) (p p' : ℝ)
(hp0 : (1 / 2 : ℝ) ≤ p) (hp1 : p ≤ 1)
(hp'0 : (1 / 2 : ℝ) ≤ p') (hp'1 : p' ≤ 1) :
∃ tY tN : ℕ, 1 ≤ tY ∧ tY ≤ n ∧ 1 ≤ tN ∧ tN ≤ n ∧
∀ q : Policy n, ValidPolicy q →
win p p' q ≤ win p p' (thresholdPolicy n tY tN) := by sorry
end SecretaryAdvice.Binary
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.