Documentation

CslibFrontier.GameTheory.Mechanism.PostedPrice

Sequential posted-price mechanisms and prophet auctions #

A sequential posted-price mechanism (SPM, or order-oblivious posted-price mechanism when the arrival order is adversarial; [CHMS10], §1–§2.2, pp. 1–4; [Rou13], Lecture 6, §2–§3) sells a single item by approaching bidders in the linear order of ι and offering bidder i a take-it-or-leave-it price p i ≥ 0. The first bidder who accepts wins the item and pays p i; all other bidders receive and pay nothing.

This module develops three main pillars connecting prophet inequalities and simple near-optimal auctions:

  1. Incentives and group strategy-proofness (PostedPrice.acceptMechanism, PostedPrice.postedPrice, PostedPrice.strictPostedPrice): every sequential posted-price mechanism with nonnegative prices is single-item feasible, DSIC, individually rational, normalized, weakly group strategy-proof (acceptMechanism_isGroupStrategyProof: no nonempty coalition can strictly improve all of its members), and strongly group strategy-proof whenever no coalition member is indifferent at its posted price (acceptMechanism_strongGroupStrategyProof, matching [CHMS10], §2.2, p. 4; at exact price indifference a zero-surplus bidder can step aside to benefit a later bidder, verified in the test suite).
  2. Welfare 1/2-approximations and prior-independent single-sample pricing (PMF ℝ≥0):
  3. Non-i.i.d. regular revenue 1/2-approximation (integral_sum_payment_le_two_mul_virtualPostedPrices, [CHMS10], Theorem 10 (k = 1), p. 9 and Appendix D.2, p. 19; [Rou13], Lecture 6, §3, pp. 4–5): for independent, non-identical regular distributions (μᵢ, fᵢ, hᵢ) with densities, inverting each virtual valuation at t = E[maxᵢ φᵢ(vᵢ)⁺] / 2 via reservePrice yields a DSIC, IR sequential posted-price mechanism whose expected revenue is at least 1/2 of every DSIC, IR single-item mechanism (including Myerson's asymmetric optimal auction).

Main definitions #

Main results #

References #

Sequential posted-price mechanisms #

def Cslib.GameTheory.SingleParameter.PostedPrice.AcceptWins {ι : Type u_1} [LinearOrder ι] (accept : ι → ℝ → Prop) (b : ι → ℝ) (i : ι) :

Bidder i wins under per-bidder acceptance predicates accept when i accepts its offer and every earlier bidder j < i rejects.

noncomputable def Cslib.GameTheory.SingleParameter.PostedPrice.acceptAllocation {ι : Type u_1} [LinearOrder ι] (accept : ι → ℝ → Prop) (b : ι → ℝ) (i : ι) :

The 0-1 sequential posted-price allocation rule for acceptance predicates accept.

noncomputable def Cslib.GameTheory.SingleParameter.PostedPrice.acceptMechanism {ι : Type u_1} [LinearOrder ι] (p : ι → ℝ) (accept : ι → ℝ → Prop) :

Sequential posted-price mechanism with prices p and acceptance predicates accept: the first accepting bidder gets the item and pays its posted price p i.

Sequential posted-price mechanism (p i ≤ b i accepts ties).

Strict sequential posted-price mechanism (p i < b i rejects ties).

theorem Cslib.GameTheory.SingleParameter.PostedPrice.AcceptWins.unique {ι : Type u_1} [LinearOrder ι] {accept : ι → ℝ → Prop} {b : ι → ℝ} {i j : ι} (hi : AcceptWins accept b i) (hj : AcceptWins accept b j) :
i = j
theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptAllocation_binary {ι : Type u_1} [LinearOrder ι] (accept : ι → ℝ → Prop) (b : ι → ℝ) (i : ι) :
acceptAllocation accept b i = 0 ∨ acceptAllocation accept b i = 1
theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptAllocation_eq_one_iff {ι : Type u_1} [LinearOrder ι] {accept : ι → ℝ → Prop} {b : ι → ℝ} {i : ι} :
acceptAllocation accept b i = 1 ↔ AcceptWins accept b i
theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptAllocation_eq_zero_iff {ι : Type u_1} [LinearOrder ι] {accept : ι → ℝ → Prop} {b : ι → ℝ} {i : ι} :
acceptAllocation accept b i = 0 ↔ ¬AcceptWins accept b i
theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptAllocation_nonneg {ι : Type u_1} [LinearOrder ι] (accept : ι → ℝ → Prop) (b : ι → ℝ) (i : ι) :
0 ≤ acceptAllocation accept b i
theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptMechanism_isDSIC {ι : Type u_1} [LinearOrder ι] {p : ι → ℝ} {accept : ι → ℝ → Prop} (hlt : ∀ (i : ι) (z : ℝ), p i < z → accept i z) (hle : ∀ (i : ι) (z : ℝ), 0 ≤ z → accept i z → p i ≤ z) :

A sequential posted-price mechanism whose acceptance predicate accepts bids strictly above p i and rejects nonnegative bids strictly below p i is DSIC.

theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptMechanism_isIR {ι : Type u_1} [LinearOrder ι] {p : ι → ℝ} {accept : ι → ℝ → Prop} (hle : ∀ (i : ι) (z : ℝ), 0 ≤ z → accept i z → p i ≤ z) :

A sequential posted-price mechanism whose acceptance predicate implies p i ≤ z on nonnegative bids is individually rational.

theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptMechanism_isNormalized {ι : Type u_1} [LinearOrder ι] {p : ι → ℝ} {accept : ι → ℝ → Prop} (hp : 0 ≤ p) (hle : ∀ (i : ι) (z : ℝ), 0 ≤ z → accept i z → p i ≤ z) :

With nonnegative prices 0 ≤ p, a bidder who bids 0 pays 0 (even if p i = 0 and the bidder wins, its price is 0).

theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptMechanism_isGroupStrategyProof {ι : Type u_1} [LinearOrder ι] [Finite ι] {p : ι → ℝ} {accept : ι → ℝ → Prop} (hlt : ∀ (i : ι) (z : ℝ), p i < z → accept i z) (hle : ∀ (i : ι) (z : ℝ), 0 ≤ z → accept i z → p i ≤ z) {S : Finset ι} (hS : S.Nonempty) {v b : ι → ℝ} (hv : 0 ≤ v) (hb : 0 ≤ b) (hout : ∀ j ∉ S, b j = v j) :
∃ i ∈ S, (acceptMechanism p accept).utility i (v i) b ≤ (acceptMechanism p accept).utility i (v i) v

Group strategy-proofness of sequential posted pricing ([CHMS10], §2.2, p. 4): no nonempty coalition S can deviate from truthful nonnegative valuations v to a nonnegative profile b (agreeing with v outside S) so as to strictly increase the utility of every member of S.

theorem Cslib.GameTheory.SingleParameter.PostedPrice.acceptMechanism_strongGroupStrategyProof {ι : Type u_1} [LinearOrder ι] [Finite ι] {p : ι → ℝ} {accept : ι → ℝ → Prop} (hlt : ∀ (i : ι) (z : ℝ), p i < z → accept i z) (hle : ∀ (i : ι) (z : ℝ), 0 ≤ z → accept i z → p i ≤ z) {S : Finset ι} {v b : ι → ℝ} (hv : 0 ≤ v) (hout : ∀ j ∉ S, b j = v j) (hno_tie : ∀ i ∈ S, v i ≠ p i) (hcoal : ∀ i ∈ S, (acceptMechanism p accept).utility i (v i) v ≤ (acceptMechanism p accept).utility i (v i) b) (i : ι) :
(acceptMechanism p accept).utility i (v i) b = (acceptMechanism p accept).utility i (v i) v

Strong group strategy-proofness away from indifference ties: when no member i ∈ S has valuation equal to its posted price p i, if a coalition S does not hurt any of its members (∀ i ∈ S, utility i (v i) v ≤ utility i (v i) b), then every bidder's utility is unchanged.

theorem Cslib.GameTheory.SingleParameter.PostedPrice.postedPrice_isGroupStrategyProof {ι : Type u_1} [LinearOrder ι] [Finite ι] (p : ι → ℝ) {S : Finset ι} (hS : S.Nonempty) {v b : ι → ℝ} (hv : 0 ≤ v) (hb : 0 ≤ b) (hout : ∀ j ∉ S, b j = v j) :
∃ i ∈ S, (postedPrice p).utility i (v i) b ≤ (postedPrice p).utility i (v i) v
theorem Cslib.GameTheory.SingleParameter.PostedPrice.postedPrice_strongGroupStrategyProof {ι : Type u_1} [LinearOrder ι] [Finite ι] (p : ι → ℝ) {S : Finset ι} {v b : ι → ℝ} (hv : 0 ≤ v) (hout : ∀ j ∉ S, b j = v j) (hno_tie : ∀ i ∈ S, v i ≠ p i) (hcoal : ∀ i ∈ S, (postedPrice p).utility i (v i) v ≤ (postedPrice p).utility i (v i) b) (i : ι) :
(postedPrice p).utility i (v i) b = (postedPrice p).utility i (v i) v

The allocation rule of postedPrice p is measurable in the bid profile.

Prophet welfare 1/2-approximations and single-sample posted pricing (PMF ℝ≥0) #

noncomputable def Cslib.GameTheory.SingleParameter.PostedPrice.expectedWelfare {n : ℕ} (x : (Fin n → ℝ) → Fin n → ℝ) (μ : Fin n → PMF NNReal) :

Expected social welfare of an allocation rule x on n independent ℝ≥0-valued bidder distributions μ.

Expected total payment of a mechanism M on n independent ℝ≥0-valued bidder distributions μ.

Every single-item-feasible allocation rule has expected social welfare at most that of the Vickrey auction.

At a uniform posted price t : ℝ≥0, the expected social welfare of postedPrice equals expectedReward (thresholdRule t) (List.ofFn μ).

At a uniform posted price t : ℝ≥0, the expected social welfare of strictPostedPrice equals expectedReward (strictThresholdRule t) (List.ofFn μ).

Posted-price welfare 1/2-approximation via balanced threshold ([Rou13], Lecture 6, Theorem 2.1, pp. 2–4; [Rou16], Lecture 6, Theorem 6.1): when expectedMax (List.ofFn μ) is finite, posting the uniform price t = E[maxᵢ vᵢ] / 2 to all bidders achieves at least half of the Vickrey auction's expected social welfare.

Posted-price welfare 1/2-approximation via Samuel-Cahn median price ([SC84]; [Rou13], Lecture 6, §2): for any n independent ℝ≥0-valued valuation distributions μ (even with E[maxᵢ vᵢ] = ⊤), there exists a single posted price m such that either postedPrice or strictPostedPrice at uniform price m achieves at least half of the Vickrey auction's expected social welfare.

Maximum of an offline sample vector s : Fin n → ℝ≥0, cast to ℝ (0 when n = 0).

Single-sample acceptance predicate at bidder i with offline samples s and tie-breaker π.

The single-sample posted-price mechanism: post the uniform price sampleMaxPrice s (maxⱼ sⱼ) and break exact ties at sampleMaxPrice s using π.

Prior-independent single-sample posted-price welfare 1/2-approximation ([RWW20], Theorem 1; [Rou13], Lecture 6): drawing one sample vector s ~ piFin μ and uniform tie-breaker π gives a DSIC, individually rational posted-price mechanism singleSamplePostedPrice s π whose expected social welfare is at least 1/2 of the Vickrey auction's expected social welfare.

Tight 1/2 barrier for fixed-order posted-price revenue and welfare #

Two-bidder laws for the gap-of-2 witness ([CHMS10], Appendix D.2, p. 19): bidder 0 has sure value 1, and bidder 1 has value k + 1 with probability 1 / (k + 1) and 0 otherwise.

For an individually rational mechanism, expected revenue never exceeds expected social welfare.

On tightBidderLaws k, every posted-price mechanism in arrival order (0, 1) gets expected welfare (and hence expected revenue) at most 1.

Approaching the long-shot bidder first at price k + 1 and then the sure-value bidder at price 1 extracts the full prophet expectation (2k + 1) / (k + 1) as revenue ([CHMS10], Appendix D.2, p. 19).

Tightness of 1/2 for fixed-order posted-price revenue and welfare ([CHMS10], Appendix D.2, "An example with a gap of 2", p. 19): for every c > 1/2, there exists k such that on tightBidderLaws k, every sequential posted-price mechanism postedPrice p in arrival order (0, 1) collects less than c times the optimal sequential posted-price revenue (2k + 1) / (k + 1) (and less than c times Vickrey welfare).

Non-i.i.d. regular revenue 1/2-approximation via posted prices (Measure.pi μ) #

noncomputable def Cslib.GameTheory.SingleParameter.PostedPrice.posVirtualSurplus {ι : Type u_1} [Fintype ι] (μ : ι → MeasureTheory.Measure ℝ) (f : ι → ℝ → NNReal) (v : ι → ℝ) :

The optimal single-item virtual surplus max(0, maxᵢ φᵢ(vᵢ)) at valuation profile v.

theorem Cslib.GameTheory.SingleParameter.PostedPrice.virtualValue_le_posVirtualSurplus {ι : Type u_1} [Fintype ι] (μ : ι → MeasureTheory.Measure ℝ) (f : ι → ℝ → NNReal) (v : ι → ℝ) (i : ι) :
virtualValue (μ i) (f i) (v i) ≤ posVirtualSurplus μ f v
theorem Cslib.GameTheory.SingleParameter.PostedPrice.sum_virtualValue_mul_le_posVirtualSurplus {ι : Type u_1} [Fintype ι] {μ : ι → MeasureTheory.Measure ℝ} {f : ι → ℝ → NNReal} (v : ι → ℝ) {y : ι → ℝ} (hy : y ∈ Vickrey.singleItemFeasible) :
∑ i : ι, virtualValue (μ i) (f i) (v i) * y i ≤ posVirtualSurplus μ f v

Every single-item-feasible allocation has virtual welfare at most posVirtualSurplus.

noncomputable def Cslib.GameTheory.SingleParameter.PostedPrice.virtualPostedPrices {ι : Type u_1} [Fintype ι] (μ : ι → MeasureTheory.Measure ℝ) (f : ι → ℝ → NNReal) :
ι → ℝ

Chawla–Hartline / Roughgarden posted prices ([CHMS10], Appendix D.2, p. 19; [Rou13], Lecture 6, §3, pp. 4–5): set target virtual threshold t = E[posVirtualSurplus] / 2 and offer bidder i the inverse virtual price reservePrice (fun z => φᵢ(z) − t).

theorem Cslib.GameTheory.SingleParameter.PostedPrice.isReserveThreshold_virtualPostedPrices {ι : Type u_1} [Fintype ι] {μ : ι → MeasureTheory.Measure ℝ} {f : ι → ℝ → NNReal} {h : ι → ℝ} (hμ : ∀ (i : ι), HasValueDensity (μ i) (f i) (h i)) (hreg : ∀ (i : ι), IsRegular (μ i) (f i) (h i)) (i : ι) :
have t := (∫ (v : ι → ℝ), posVirtualSurplus μ f v ∂MeasureTheory.Measure.pi μ) / 2; IsReserveThreshold (fun (z : ℝ) => virtualValue (μ i) (f i) z - t) (virtualPostedPrices μ f i)
theorem Cslib.GameTheory.SingleParameter.PostedPrice.virtualPostedPrices_nonneg {ι : Type u_1} [Fintype ι] {μ : ι → MeasureTheory.Measure ℝ} {f : ι → ℝ → NNReal} {h : ι → ℝ} (hμ : ∀ (i : ι), HasValueDensity (μ i) (f i) (h i)) (hreg : ∀ (i : ι), IsRegular (μ i) (f i) (h i)) :
theorem Cslib.GameTheory.SingleParameter.PostedPrice.integral_sum_payment_le_two_mul_virtualPostedPrices {ι : Type u_1} [Fintype ι] {μ : ι → MeasureTheory.Measure ℝ} {f : ι → ℝ → NNReal} {h : ι → ℝ} [LinearOrder ι] [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] (hμ : ∀ (i : ι), HasValueDensity (μ i) (f i) (h i)) (hreg : ∀ (i : ι), IsRegular (μ i) (f i) (h i)) {M : Mechanism ι} (hM : M.IsDSIC) (hIR : M.IsIR) (hMX : ∀ (v : ι → ℝ), 0 ≤ v → M.allocation v ∈ Vickrey.singleItemFeasible) (hMm : ∀ (i : ι), Measurable fun (v : ι → ℝ) => M.allocation v i) :
∫ (v : ι → ℝ), ∑ i : ι, M.payment v i ∂MeasureTheory.Measure.pi μ ≤ 2 * ∫ (v : ι → ℝ), ∑ i : ι, (postedPrice (virtualPostedPrices μ f)).payment v i ∂MeasureTheory.Measure.pi μ

Non-i.i.d. regular single-item revenue 1/2-approximation by sequential posted pricing ([CHMS10], Theorem 10 (k = 1), p. 9, and Appendix D.2, p. 19; [Rou13], Lecture 6, §3, pp. 4–5).

Setting: bidders i : ι have independent (not necessarily identical) regular distributions μ i with densities f i on [0, h i].

Conclusion: the sequential posted-price mechanism postedPrice (virtualPostedPrices μ f) (which is DSIC, individually rational, normalized, and group strategy-proof) collects expected revenue at least 1/2 of ∫ posVirtualSurplus, and hence at least 1/2 of the expected revenue of every DSIC, individually rational, measurable single-item mechanism M (in any fixed arrival order).