Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 6 — window θ < ε: single-deviator cases (ii)/(iv)/(vi) with m = 1 achieve (1−ε)/(1+ε)

Open
SecretaryPred.LearnedDynkin.window_single_deviator

by tianyipeng · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

competitive-ratiolearning-augmented-algorithmsoptimal-stoppingsecretary-problem

Setting. As in Theorem 1 of Fujii and Yoshida (p. 6): nnn candidates with values v(i)≥0v(i)\ge 0v(i)≥0 and predictions v^(i)≥0\hat v(i)\ge 0v^(i)≥0 arrive at independent Uniform[0,1][0,1][0,1] times, Algorithm 1 (learned Dynkin) runs with θ=0.646\theta=0.646θ=0.646, τ=0.313\tau=0.313τ=0.313 and a maximizer ı^\hat\imath^ of v^\hat vv^, and E[ALG]\mathbb E[\mathrm{ALG}]E[ALG] is the expected value of the hired candidate. Let i∗i^*i∗ be the top candidate (largest value, ties broken by smaller index), and M={i:∣v(i)−v^(i)∣>θ v(i)}M=\{i : |v(i)-\hat v(i)|>\theta\, v(i)\}M={i:∣v(i)−v^(i)∣>θv(i)} the set of deviating candidates.

Statement. Suppose exactly one candidate deviates, ∣M∣=1|M|=1∣M∣=1, and i∗∉Mi^*\notin Mi∗∈/M. Let ϵ>θ\epsilon>\thetaϵ>θ satisfy ∣v(i)−v^(i)∣≤ϵ v(i)|v(i)-\hat v(i)|\le\epsilon\,v(i)∣v(i)−v^(i)∣≤ϵv(i) for every iii. Then

E[ALG]  ≥  1−ϵ1+ϵ v(i∗).\mathbb E[\mathrm{ALG}]\;\ge\;\frac{1-\epsilon}{1+\epsilon}\,v(i^*).E[ALG]≥1+ϵ1−ϵ​v(i∗).

Why this lemma is needed. Theorem 1 claims the competitive ratio max⁡{0.215,(1−ϵ)/(1+ϵ)}\max\{0.215,(1-\epsilon)/(1+\epsilon)\}max{0.215,(1−ϵ)/(1+ϵ)}. The paper's proof covers ϵ≤θ\epsilon\le\thetaϵ≤θ (then M=∅M=\emptysetM=∅ and ı^\hat\imath^ is hired) and shows ratio ≥0.215\ge 0.215≥0.215 otherwise. But for ϵ\epsilonϵ in the window θ<ϵ<ϵ0≈0.64609\theta<\epsilon<\epsilon_0\approx 0.64609θ<ϵ<ϵ0​≈0.64609 one has

0.215<1−ϵ1+ϵ<1−θ1+θ=177823≈0.2150668,0.215<\frac{1-\epsilon}{1+\epsilon}<\frac{1-\theta}{1+\theta}=\frac{177}{823}\approx 0.2150668,0.215<1+ϵ1−ϵ​<1+θ1−θ​=823177​≈0.2150668,

and the paper's bounds for case (iv) with m=1m=1m=1 (namely τ(1−τ)=0.215031\tau(1-\tau)=0.215031τ(1−τ)=0.215031) and case (vi) with m=1m=1m=1 (namely ≈0.2150489\approx 0.2150489≈0.2150489) fall below (1−ϵ)/(1+ϵ)(1-\epsilon)/(1+\epsilon)(1−ϵ)/(1+ϵ) there. All other case bounds of the paper exceed (1−θ)/(1+θ)(1-\theta)/(1+\theta)(1−θ)/(1+θ). This lemma isolates exactly the uncovered situation: cases (ii), (iv), (vi) of the proof with m=∣M∣=1m=|M|=1m=∣M∣=1, under the accuracy hypothesis with ϵ>θ\epsilon>\thetaϵ>θ. Without the accuracy hypothesis the bound (1−θ)/(1+θ)(1-\theta)/(1+\theta)(1−θ)/(1+θ) can fail in case (iv) (take ı^\hat\imath^ second-best with tiny value: the ratio tends to τ(1−τ)\tau(1-\tau)τ(1−τ)), so the hypothesis ∣v(i)−v^(i)∣≤ϵv(i)|v(i)-\hat v(i)|\le\epsilon v(i)∣v(i)−v^(i)∣≤ϵv(i), which forces v(ı^)≥1−ϵ1+ϵv(i∗)v(\hat\imath)\ge\frac{1-\epsilon}{1+\epsilon}v(i^*)v(^)≥1+ϵ1−ϵ​v(i∗), is essential. Simulations indicate the true ratio in these cases is at least about 0.230.230.23.

Formalization. Deviates, Mset, Beats, expectedValue are from the definitions file SecretaryPred_LearnedDynkin_Setting (ties broken by Beats, E[ALG]\mathbb E[\mathrm{ALG}]E[ALG] an integral against the uniform law on [0,1]n[0,1]^n[0,1]n).

Preamble
import Mathlib
import Definitions.Def_SecretaryPred_LearnedDynkin_Setting
Formal statement
namespace SecretaryPred.LearnedDynkin

theorem window_single_deviator (n : ℕ) (v vhat : Fin n → ℝ) (ihat istar : Fin n)
    (hv : ∀ i, 0 ≤ v i) (hvhat : ∀ i, 0 ≤ vhat i) (hihat : ∀ j, vhat j ≤ vhat ihat)
    (histar : ∀ j, j ≠ istar → Beats v istar j)
    (hstarM : ¬ Deviates 0.646 v vhat istar) (hM : (Mset 0.646 v vhat).card = 1)
    (eps : ℝ) (heps : 0.646 < eps) (herr : ∀ i, |v i - vhat i| ≤ eps * v i) :
    (1 - eps) / (1 + eps) * v istar ≤ expectedValue 0.646 0.313 v vhat ihat := by sorry

end SecretaryPred.LearnedDynkin
Source
Fujii, Yoshida, The Secretary Problem with Predictions, arXiv:2306.08340v1, p. 6, Theorem 1 (eps-clause for ε > θ), proof cases (iv) and (vi) on pp. 8–10 specialized to m = |M| = 1

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