The prophet secretary inequality #
In the prophet secretary problem ([EHLM17]), n
independent (not necessarily identically distributed) nonnegative values X₀, …, Xₙ₋₁ with laws
μ : Fin n → PMF ℝ≥0 arrive in a uniformly random order σ : Equiv.Perm (Fin n). Unlike the
adversarial-order prophet inequality, whose tight competitive ratio is 1/2, random arrival order
breaks the 1/2 barrier and permits a 1 - 1/e approximation (1/2 < 1 - Real.exp (-1)).
Following the single-threshold randomized tie-breaking approach of
[EHKS18], a single threshold τ : ℝ≥0 and independent tie-breaking
coin coin : PMF Bool (reusing Prophet.withCoin, Prophet.tieRule, and
Prophet.tieExpectedReward) suffice to achieve 1 - 1/e for arbitrary discrete nonnegative laws
μ (with atoms, countable support, and no integrability hypothesis):
- Let
rᵢ = P(¬ acceptᵢ)be the rejection probability of itemiunder(τ, coin). Choose(τ, coin)so that the overall rejection probability satisfies∏ᵢ rᵢ = e⁻¹(exists_prod_rejectProb_eq_exp_neg_one), by taking an upper(1 - e⁻¹)-quantile ofmaxᵢ Xᵢand solving for the tie-breaking bias via the intermediate value theorem. - For each permutation
σ, the threshold part oftieExpectedRewardequalsτ (1 - ∏ᵢ rᵢ)= τ (1 - e⁻¹), independent ofσ. - Averaging over
σ ~ uniformOfFintype (Equiv.Perm (Fin n)), the probability that no item arriving beforeiis accepted equals the Beta-integral polynomial∫₀¹ ∏_{j ≠ i} (1 - t (1 - rⱼ)) dt. By weighted AM–GM,1 - t (1 - rⱼ) ≥ rⱼ^t, so the integrand is pointwise at least(∏ⱼ rⱼ)^t = e⁻ᵗ, whose integral over[0, 1]is1 - e⁻¹. - Combining both parts with
Prophet.expectedMax_le_add_sumgivesENNReal.ofReal (1 - Real.exp (-1)) * expectedMax (List.ofFn μ) ≤secretaryTieExpectedReward τ coin μ(exists_prophetSecretary_bound).
Because the independent tie-breaking coins are sampled by arrival position independently of the
realized arrival permutation σ, expressing secretaryTieExpectedReward τ coin μ as the finite
average over deterministic coin assignments b : Fin n → Bool and picking a maximizing b
produces a single σ-independent deterministic online stopping rule stop : List ℝ≥0 → Bool
achieving at least (1 - 1/e) · E[max] (exists_prophetSecretary_deterministic_bound).
Main definitions #
Cslib.Probability.OptimalStopping.ProphetSecretary.secretaryTieExpectedReward: expected reward ofProphet.tieRule τwith tie-breaking coincoinunder a uniformly random arrival orderσ.Cslib.Probability.OptimalStopping.ProphetSecretary.secretaryExpectedReward: expected reward of a deterministic online stopping rulestop(independent ofσ) under a uniformly random arrival orderσ.
Main results #
Cslib.Probability.OptimalStopping.ProphetSecretary.prophetSecretary_bound_of_prod_reject: any single threshold(τ, coin)whose overall rejection probability equalse⁻¹achieves at least(1 - 1/e) · E[max]under uniform random arrival order.Cslib.Probability.OptimalStopping.ProphetSecretary.exists_prophetSecretary_bound: the1 - 1/eprophet secretary inequality with a single randomized threshold for all independent nonnegative lawsμ : Fin n → PMF ℝ≥0.Cslib.Probability.OptimalStopping.ProphetSecretary.exists_prophetSecretary_deterministic_bound: existence of a singleσ-independent deterministic online stopping rule achieving(1 - 1/e).
References #
Expected reward of the single-threshold rule (τ, coin) when items with laws μ arrive in a
uniformly random order σ : Equiv.Perm (Fin n).
Expected reward of a deterministic online stopping rule stop (independent of the realized
arrival permutation σ) when items with laws μ arrive in a uniformly random order
σ : Equiv.Perm (Fin n).
Beta integral and permutation-averaged survival probability #
Existence of a single threshold with overall rejection probability e⁻¹ #
Exact decomposition of tieExpectedReward for non-identical laws #
The 1 - 1/e prophet secretary inequality #
Prophet secretary bound for a calibrated threshold: if (τ, coin) has overall rejection
probability ∏ᵢ P(¬ acceptᵢ) = e⁻¹, then tieRule τ under uniform random arrival order achieves
at least (1 - 1/e) · E[max].
The prophet secretary inequality ([EHLM17];
single-threshold proof after [EHKS18]):
for any n : ℕ and independent nonnegative distributions μ : Fin n → PMF ℝ≥0, there exists a
single threshold τ and tie-breaking coin coin such that under uniformly random arrival order,
the online threshold algorithm collects at least (1 - 1/e) · E[max].
Deterministic prophet secretary inequality: for any n : ℕ and independent nonnegative
distributions μ : Fin n → PMF ℝ≥0, there exists a single deterministic online stopping rule
stop : List ℝ≥0 → Bool (independent of the realized arrival order σ) whose expected reward
under uniformly random arrival order is at least (1 - 1/e) · E[max].