The prophet inequality #
A gambler observes independent nonnegative values X₁, …, Xₙ one at a time, Xᵢ drawn from the
i-th law of laws, and may stop once, collecting the current value; a gambler who never stops
collects nothing. A prophet who sees all values in advance collects E[max Xᵢ]
(expectedMax laws). The prophet inequality of Krengel and Sucheston says that the gambler can
guarantee half of this, and Samuel-Cahn showed that a single threshold suffices: accept the first
value of at least (or more than) a fixed t.
expectedMax_le_two_mul_expectedReward is the threshold form proved here. Let R be the
probability that the rule accepts no value. If t and R lie on opposite sides of E[max]/2 and
1/2, that is, 2t ≤ E[max] and 1 ≤ 2R, or E[max] ≤ 2t and 2R ≤ 1, then the rule's
expected reward is at least E[max]/2. The proof bounds the reward from below by
t (1 - R) + R ∑ᵢ E[(Xᵢ - t)⁺] and the maximum from above by t + ∑ᵢ (Xᵢ - t)⁺, both arranged
without subtracting extended reals. Two choices of threshold make the hypothesis automatic:
t = E[max]/2(Kleinberg–Weinberg; Roughgarden, Lecture 6):expectedMax_le_two_mul_expectedReward_of_two_mul_eqandexpectedMax_le_two_mul_expectedReward_half;ta median ofmax Xᵢ(Samuel-Cahn):expectedMax_le_two_mul_expectedReward_median, where accepting values≥ tworks whent ≥ E[max]/2and accepting values> tworks whent ≤ E[max]/2. A median always exists (exists_median_listMax, fromPMF.exists_tail_quantile), so some single threshold always works (exists_expectedMax_le_two_mul_expectedReward).
The factor 1/2 is optimal: for tightLaws k, a sure value 1 followed by k + 1 with
probability 1/(k + 1) and 0 otherwise, every rule, even one using the whole history, has
expected reward at most 1 while E[max] = (2k + 1)/(k + 1) (exists_tightLaws_lt).
The values are ℝ≥0-valued with arbitrary countable support. E[max] may be infinite; the
threshold form needs no integrability. A gambler who never stops gets 0; Samuel-Cahn's rules,
which take the last value in that case, collect at least as much, so the bounds apply to them too.
Main definitions #
Cslib.Probability.OptimalStopping.Prophet.expectedReward,Cslib.Probability.OptimalStopping.Prophet.expectedMax: the gambler's and the prophet's expected rewards.Cslib.Probability.OptimalStopping.Prophet.thresholdRule,Cslib.Probability.OptimalStopping.Prophet.strictThresholdRule: single-threshold rules.
Main results #
Cslib.Probability.OptimalStopping.Prophet.expectedMax_le_two_mul_expectedReward: the threshold form of the prophet inequality.Cslib.Probability.OptimalStopping.Prophet.expectedMax_le_two_mul_expectedReward_half: the thresholdE[max]/2.Cslib.Probability.OptimalStopping.Prophet.expectedMax_le_two_mul_expectedReward_median: a median threshold.Cslib.Probability.OptimalStopping.Prophet.exists_expectedMax_le_two_mul_expectedReward: Samuel-Cahn's theorem without a median hypothesis.Cslib.Probability.OptimalStopping.Prophet.expectedMax_le_add_sum: the prophet's boundE[max] ≤ t + ∑ᵢ E[(Xᵢ - t)⁺].Cslib.Probability.OptimalStopping.Prophet.exists_tightLaws_lt: no constant above1/2holds.
References #
- U. Krengel and L. Sucheston, Semiamarts and finite values
- E. Samuel-Cahn, Comparison of threshold stop rules and maximum for independent nonnegative random variables
- R. Kleinberg and S. M. Weinberg, Matroid prophet inequalities
- T. Roughgarden, Twenty Lectures on Algorithmic Game Theory, Lecture 6, Theorem 6.1
The largest value of a list, and 0 for the empty list.
The probability that acceptRule a accepts no value.
The prophet inequality, threshold form. Let acceptRule a accept every value above t
and only values of at least t, and let R be the probability that it accepts no value. If
2t ≤ E[max] and 1 ≤ 2R, or E[max] ≤ 2t and 2R ≤ 1, then its expected reward is at least
half the prophet's.
The prophet inequality with threshold E[max]/2 (Kleinberg–Weinberg): whichever way ties
at the threshold are broken, the rule collects at least half the prophet's expected reward.
The prophet inequality: when E[max] is finite, accepting the first value of at least
E[max]/2 collects at least half the prophet's expected reward.
Samuel-Cahn's rule for a median m of max Xᵢ at or above E[max]/2: accepting the first
value of at least m collects at least half the prophet's expected reward.
Samuel-Cahn's rule for a median m of max Xᵢ at or below E[max]/2: accepting the first
value of more than m collects at least half the prophet's expected reward.
Samuel-Cahn's prophet inequality. For a median m of max Xᵢ, accepting the first value
of at least m, or the first value of more than m, collects at least half the prophet's
expected reward.
The maximum of independent values has a median.
Samuel-Cahn's prophet inequality. For all independent nonnegative values there is a
single threshold m such that accepting the first value of at least m, or the first value of
more than m, collects at least half the prophet's expected reward.
Tightness #
The value k + 1 with probability 1/(k + 1), and 0 otherwise.
The factor 1/2 is optimal. For every c > 1/2 there are two independent finitely
supported values on which every stopping rule collects less than c · E[max].