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 #
SingleParameter.HasValueDensity μ f h:μis the distribution on[0, h]with densityf, positive on(0, h).SingleParameter.virtualValue μ f v: the virtual valuationv − μ((v, ∞)) / f(v).SingleParameter.IsRegular μ f h: the virtual valuation is strictly increasing on(0, h).
Main results #
SingleParameter.HasValueDensity.integral_payment_eq_integral_virtualValue_mul: the one-dimensional revenue identity.SingleParameter.HasValueDensity.integrable_virtualValue: virtual valuations are integrable.SingleParameter.IsRegular.strictMonoOn_Ioi: a regular virtual valuation is strictly increasing on all of(0, ∞), becauseφ(v) = vat and aboveh.SingleParameter.virtualValue_uniform,SingleParameter.isRegular_uniform: the uniform distribution on[0, 1]hasφ(v) = 2v − 1and is regular (Lecture 5, §2).
References #
μ is a valuation distribution on [0, h] with density f, and f is positive on the
interior (0, h).
- measurable : Measurable f
The density is measurable.
- eq_withDensity : μ = (MeasureTheory.volume.restrict (Set.Icc 0 h)).withDensity fun (v : ℝ) => ↑(f v)
μis Lebesgue measure on[0, h]weighted byf. The density is positive on the interior of the support.
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].
A distribution with a density has no atoms.
No mass lies above h.
Above the support, the virtual valuation is the valuation.
Dividing by the density cancels it: ∫ (t / f) · g dμ = ∫_{(0, h]} t · g.
Virtual valuations are integrable.
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.