Eq. (4.1) —
ProvedMultiUnitProphet.eq_4_1competitive-ratiomulti-unit-supplyp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1poisson-binomialposted-pricingprophet-inequality
Let , let be an instance with buyers, , and let be the random set of buyers whose value exceeds . If or , then
The first summand is the most revenue the seller can collect at price (), the second the most utility the buyers can collect (). Lemma 1 compares the welfare of the price with this bound.
Formalization Note In the inequality is written , which is the real inequality for every sign of and also covers .
Differences from the source:
- encoding: a supply k (a positive integer) → k : ℕ with 1 ≤ k; reason: the supply is a positive number of units; at k = 0 the quantities are degenerate
- encoding: n distributions on the nonnegative reals, buyer t drawn independently from F_t, F_t the t-th arriving distribution → F : Fin n → Measure ℝ with IsInstance F (probability measures with F t (−∞,0) = 0), values drawn from Measure.pi F, index order = arrival order; reason: Lean convention for independent values; the arrival order is arbitrary because every F is quantified
- encoding: P[t ∈ Z_p] · E[v_t − p | t ∈ Z_p] → E[max(0, v_t − p)] (surplus F p, a lower integral of ENNReal.ofReal (v t − p)); reason: the two are equal and the Lean form needs no division by a possibly zero probability
- encoding: a ratio Welfare/Opt or a real inequality → a product inequality in ℝ≥0∞ between lower Lebesgue integrals; reason: equivalent when 0 < Opt < ∞, covers Opt = ∞, and needs no finite-mean hypothesis
- generalization: the standing atomless assumption of §2, p.7 → stated for every instance, atoms allowed; reason: the statement holds verbatim with atoms when buyers buy at value ≥ p (X_p counts v_t ≥ p); atomless instances are a special case
- generalization: the standing assumption n > k (§2, p.7) → k ≤ n ∨ 0 ≤ p; reason: n > k implies the Lean hypothesis; for p < 0 and n < k the inequality is false (n = 1, k = 2, v = 0, p = −1)
- reading: the chain of inequalities (4.1) → its outer inequality Opt ≤ kp + Σ_t P[t ∈ Z_p] E[v_t − p | t ∈ Z_p]; reason: the intermediate expressions are pointwise proof steps and the last step is an equality; the outer inequality is the content used in the proof of Lemma 1
- generalization: the WLOG assumption P[v_t > 0] > 0 (§2, p.7) → instances may contain buyers with v_t = 0 almost surely; reason: the Lean statement is true on these instances too, and instances satisfying the WLOG are a special case
Preamble
import Mathlib import Definitions.Def_MultiUnitProphet_Model open MeasureTheory Filter Topology open scoped ENNReal NNReal
Formal statement
namespace MultiUnitProphet
/-- **Eq. (4.1): the revenue-plus-utility upper bound on `Opt`.**
Chawla, Devanur & Lykouris, *Static pricing for multi-unit prophet inequalities*,
arXiv:2007.07990v4, §4, eq. (4.1), p.9:
`Opt(k, F) ≤ kp + Σ_{t ∈ [n]} P[t ∈ Z_p] E[v_t − p | t ∈ Z_p]`, where `Z_p` is the random set of
buyers whose value exceeds the price `p`.
**Formalization Note.** `Σ_t P[t ∈ Z_p] E[v_t − p | t ∈ Z_p] = Σ_t E[max(0, v_t − p)]` is `surplus F p`
(p.9: "U(p) = Σ_t E[max(0, v_t − p)]"). In `ℝ≥0∞` the real inequality `Opt ≤ kp + U(p)` is written
`Opt + max(0, −kp) ≤ max(0, kp) + U(p)`, which is the same inequality for every real `p`. It is
stated under `k ≤ n ∨ 0 ≤ p` (the paper's standing assumption is `n > k`; for `p < 0` and `n < k` the
inequality fails). -/
theorem eq_4_1 (k n : ℕ) (hk : 1 ≤ k) (F : Fin n → Measure ℝ) (hF : IsInstance F) (p : ℝ)
(hp : k ≤ n ∨ 0 ≤ p) :
opt k F + ENNReal.ofReal (-((k : ℝ) * p)) ≤ ENNReal.ofReal ((k : ℝ) * p) + surplus F p := by sorry
end MultiUnitProphet
Source
Chawla, Devanur & Lykouris, Static pricing for multi-unit prophet inequalities, arXiv:2007.07990v4, §4, eq. (4.1), p.9
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.