Documentation

CslibFrontier.GameTheory.Mechanism.VirtualValue

Value distributions and virtual valuations #

This file sets up the Bayesian side of single-parameter mechanism design ([Rou13], Lecture 5; [Mye81]). A bidder's private valuation is drawn from a distribution μ on [0, h] with density f (HasValueDensity μ f h). Its virtual valuation is φ(v) = v − (1 − F(v)) / f(v) (Lecture 5, §2, Step 4). Here 1 − F(v) is written μ.real (Ioi v), so the definition needs no separate cumulative distribution function. The distribution is regular when φ is strictly increasing on (0, h) (Lecture 5, Definition 3.1; see IsRegular for the boundary endpoints).

The main result is the one-dimensional revenue identity (Lecture 5, §2, Steps 1–4, eq. (4)). For an allocation curve g that is measurable and bounded on [0, h], E_v[v g(v) − ∫₀ᵛ g] = E_v[φ(v) g(v)]. The left side is the expected Myerson payment (Lecture 3, Theorem 4.3 (c)) of a bidder facing allocation curve g. Roughgarden proves it by reversing the order of integration (Step 2) and then integrating by parts (Step 3). We reverse the order of integration only (integral_intervalIntegral_eq_integral_measureReal_Ici_mul): the tail μ([z, ∞)) then cancels the density in φ. No differentiability or monotonicity of g is needed.

The density is assumed positive on the open interval (0, h). Without this, the identity can fail on a set of positive measure where f = 0 but μ((v, ∞)) > 0, because φ uses Lean's x / 0 = 0. Even with interior positivity, φ(0) depends on the chosen value f(0) on the null singleton {0} (with f(0) = 0 giving the division-by-zero artifact φ(0) = 0), while at v = h we already have μ((h, ∞)) = 0 so φ(h) = h. Defining IsRegular on (0, h) depends only on points where f > 0, includes regular distributions whose density vanishes at 0 (such as f(v) = 2v on [0, 1], where φ(v) → −∞ as v → 0⁺), and still extends to all of (0, ∞) (IsRegular.strictMonoOn_Ioi).

Main definitions #

Main results #

References #

μ is a valuation distribution on [0, h] with density f, and f is positive on the interior (0, h).

The virtual valuation φ(v) = v − (1 − F(v)) / f(v) ([Rou13], Lecture 5, §2, Step 4), with 1 − F(v) = μ((v, ∞)).

A valuation distribution on [0, h] is regular if its virtual valuation is strictly increasing on (0, h) ([Rou13], Lecture 5, Definition 3.1).

Restricting to the open interior (0, h) avoids the lower endpoint v = 0, where f is unconstrained by HasValueDensity and f(0) = 0 produces the division-by-zero artifact φ(0) = 0 (while textbook regular densities such as f(v) = 2v on [0, 1] have φ(v) → −∞ as v → 0⁺, so no real value at 0 makes φ monotone on [0, h]). At and above the upper endpoint h, HasValueDensity.virtualValue_eq_self gives φ(v) = v, so IsRegular extends automatically to (0, ∞) (IsRegular.strictMonoOn_Ioi), and in particular to (0, h].

The tail v ↦ μ((v, ∞)) of a finite measure is measurable (it is antitone).

The virtual valuation never exceeds the valuation.

Almost every valuation lies in [0, h].

No mass lies above h.

Above the support, the virtual valuation is the valuation.

theorem Cslib.GameTheory.SingleParameter.HasValueDensity.integral_eq {μ : MeasureTheory.Measure ℝ} {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) (g : ℝ → ℝ) :
∫ (v : ℝ), g v ∂μ = ∫ (v : ℝ) in Set.Icc 0 h, ↑(f v) * g v

Integrals against μ are integrals of f · g over [0, h].

theorem Cslib.GameTheory.SingleParameter.HasValueDensity.integral_div_mul {μ : MeasureTheory.Measure ℝ} {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) (t g : ℝ → ℝ) :
∫ (v : ℝ), t v / ↑(f v) * g v ∂μ = ∫ (v : ℝ) in Set.Ioc 0 h, t v * g v

Dividing by the density cancels it: ∫ (t / f) · g dμ = ∫_{(0, h]} t · g.

theorem Cslib.GameTheory.SingleParameter.HasValueDensity.integrable_div_mul {μ : MeasureTheory.Measure ℝ} {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) {t g : ℝ → ℝ} (ht : Measurable t) (hg : Measurable g) {C : ℝ} (hC : ∀ v ∈ Set.Icc 0 h, |t v * g v| ≤ C) :
MeasureTheory.Integrable (fun (v : ℝ) => t v / ↑(f v) * g v) μ
theorem Cslib.GameTheory.SingleParameter.HasValueDensity.integral_payment_eq_integral_virtualValue_mul {μ : MeasureTheory.Measure ℝ} {f : ℝ → NNReal} {h : ℝ} [MeasureTheory.IsFiniteMeasure μ] (hμ : HasValueDensity μ f h) {g : ℝ → ℝ} (hg : Measurable g) {B : ℝ} (hB : ∀ v ∈ Set.Icc 0 h, |g v| ≤ B) :
∫ (v : ℝ), v * g v - ∫ (z : ℝ) in 0..v, g z ∂μ = ∫ (v : ℝ), virtualValue μ f v * g v ∂μ

One-dimensional revenue identity ([Rou13], Lecture 5, §2, Steps 1–4, eq. (4)). For an allocation curve g that is measurable and bounded on [0, h], the expected Myerson payment v g(v) − ∫₀ᵛ g equals the expected virtual surplus φ(v) g(v).

A regular virtual valuation is strictly increasing on all of (0, ∞): at and above h it is the identity, and below it never exceeds the valuation.

The uniform distribution #

The uniform distribution on [0, 1] has density 1.

The uniform distribution on [0, 1] has virtual valuation φ(v) = 2v − 1 on [0, 1] ([Rou13], Lecture 5, §2).

The uniform distribution on [0, 1] is regular.