Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6 — first-order stochastic dominance: F≥GF\ge GF≥G and φ\varphiφ nondecreasing give ∫φ dF≤∫φ dG\int\varphi\,dF\le\int\varphi\,dG∫φdF≤∫φdG

Proved
PrefDeals.lemma_6

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-algorithmscontract-designmechanism-designonline-advertisingp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1preferred-deals

Let μF\mu_FμF​ and μG\mu_GμG​ be probability distributions on R\mathbb RR with distribution functions FFF and GGG satisfying

F(x) ≥ G(x)for all x∈R,F(x)\ \ge\ G(x)\qquad\text{for all }x\in\mathbb R,F(x) ≥ G(x)for all x∈R,

and let φ:R→R\varphi:\mathbb R\to\mathbb Rφ:R→R be nondecreasing and integrable with respect to both. Then

∫φ dμF ≤ ∫φ dμG.\int\varphi\,d\mu_F\ \le\ \int\varphi\,d\mu_G .∫φdμF​ ≤ ∫φdμG​.

When FFF and GGG have densities fff and ggg, this is ∫φ(x)f(x) dx≤∫φ(x)g(x) dx\int\varphi(x)f(x)\,dx\le\int\varphi(x)g(x)\,dx∫φ(x)f(x)dx≤∫φ(x)g(x)dx. The paper uses it to compare conditional laws of the common value component (Lemma 7) and of a buyer's valuation (Lemma 5).

Differences from the source:

  • generalization: probability distributions FFF, GGG with p.d.f.'s fff, ggg → arbitrary probability measures on R\mathbb RR with distribution functions F≥GF\ge GF≥G; reason: distributions with densities are a special case; with densities the integrals agree
  • encoding: ∫−∞∞φ(x)f(x)dx\int_{-\infty}^{\infty}\varphi(x)f(x)dx∫−∞∞​φ(x)f(x)dx and ∫−∞∞φ(x)g(x)dx\int_{-\infty}^{\infty}\varphi(x)g(x)dx∫−∞∞​φ(x)g(x)dx taken for granted → φ\varphiφ integrable with respect to both distributions; reason: only excludes undefined integrals (Lean's Bochner integral is 000 there)
Preamble
import Mathlib

open MeasureTheory ProbabilityTheory
Formal statement
namespace PrefDeals

/-- **Lemma 6: first-order stochastic dominance and nondecreasing functions.**
Kim, Mirrokni & Nazerzadeh, *Deals or No Deals*, SSRN 2693037, Lemma 6, p.27: "Let `φ : ℝ → ℝ` be a
non-decreasing function. Let `F` and `G` be two probability distributions, with p.d.f.'s `f` and
`g`, satisfying `F(x) ≥ G(x)` for all `x ∈ ℝ`. Then, `∫_{−∞}^{∞} φ(x)f(x)dx ≤ ∫_{−∞}^{∞} φ(x)g(x)dx`."

Let `μ_F` and `μ_G` be probability measures on `ℝ` whose distribution functions satisfy
`F(x) ≥ G(x)` for all `x`, and let `φ` be nondecreasing and integrable for both. Then
`∫ φ dμ_F ≤ ∫ φ dμ_G`.

**Formalization Note.** The distributions need not have densities (with densities `f`, `g`,
`∫ φ dμ_F = ∫ φ(x) f(x) dx`). Integrability of `φ` makes both integrals finite, which the paper
takes for granted. -/
theorem lemma_6 (φ : ℝ → ℝ) (hφ : Monotone φ) (μF μG : Measure ℝ)
    [IsProbabilityMeasure μF] [IsProbabilityMeasure μG]
    (hFG : ∀ x, cdf μG x ≤ cdf μF x)
    (hiF : Integrable φ μF) (hiG : Integrable φ μG) :
    ∫ x, φ x ∂μF ≤ ∫ x, φ x ∂μG := by sorry

end PrefDeals
Source
Kim, Mirrokni & Nazerzadeh, Deals or No Deals: Contract Design for Online Advertising, SSRN 2693037, Lemma 6, p.27
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me