Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.1 — every double auction with independent values and costs admits a worst-rationed stratification with Strat ≥ FB/27843

Proved
StratifyMarkets.DoubleAuction.theorem_4_1

by Shuze Chen · Nov 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

double-auctiongains-from-trademarket-stratificationp2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider any double auction instance: nnn buyers and mmm sellers (n,m≥0n,m\ge0n,m≥0), buyer iii's value vi∼Fiv_i\sim F_ivi​∼Fi​ and seller jjj's cost cj∼Gjc_j\sim G_jcj​∼Gj​, all n+mn+mn+m values and costs mutually independent, and every FiF_iFi​, GjG_jGj​ a continuous distribution supported on [0,1][0,1][0,1] (not necessarily identical). Then there is a market stratification 0≤m0<m1<⋯<mN≤10\le m_0<m_1<\dots<m_N\le10≤m0​<m1​<⋯<mN​≤1, mk−1≤pk≤mkm_{k-1}\le p_k\le m_kmk−1​≤pk​≤mk​ (N≥1N\ge1N≥1), that applies the worst-rationed rule within each submarket [mk−1,mk][m_{k-1},m_k][mk−1​,mk​] at price pkp_kpk​ and satisfies

Strat=∑k=1NWorstRationed(mk−1,pk,mk)≥127843 FB,\mathrm{Strat}=\sum_{k=1}^N\mathrm{WorstRationed}(m_{k-1},p_k,m_k)\ge\frac1{27843}\,\mathrm{FB},Strat=k=1∑N​WorstRationed(mk−1​,pk​,mk​)≥278431​FB,

where FB=Ev,c[∑i=1τ(v(i)−c(i))]\mathrm{FB}=\mathbb E_{\mathbf v,\mathbf c}\big[\sum_{i=1}^{\tau}(v_{(i)}-c_{(i)})\big]FB=Ev,c​[∑i=1τ​(v(i)​−c(i)​)] is the first-best gains from trade. This is the paper's main result; the constant comes from 7+10240e<278437+10240e<278437+10240e<27843.

Differences from the source:

  • encoding: continuous F_1..F_n, G_1..G_m supported on [0, 1], all values and costs mutually independent → a DAInstance n m: no-atom probability measures with mass 1 on [0, 1]; expectations over the product (Measure.pi μB).prod (Measure.pi μS); reason: same instances; independence is the product measure
  • encoding: indices k = 1, …, N → 0-based k : Fin N, submarket k is [m k.castSucc, m k.succ] with price p k; reason: relabelling only
Preamble
import Mathlib
import Definitions.Def_StratifyMarkets_DoubleAuction_Instance
import Definitions.Def_StratifyMarkets_DoubleAuction_WorstRationed

open MeasureTheory
Formal statement
namespace StratifyMarkets.DoubleAuction

/-- Theorem 4.1 (p. 25): for every double auction instance (any `n` buyers and `m` sellers with
independent continuous values and costs on `[0, 1]`), some stratification that applies the
worst-rationed rule within each submarket satisfies `Strat ≥ FB / 27843`. -/
theorem theorem_4_1 {n m : ℕ} (I : DAInstance n m) :
    ∃ σ : Stratification, 1 / 27843 * I.FB ≤ I.strat σ := by sorry

end StratifyMarkets.DoubleAuction
Source
Deng, Lin, Schoepflin, Wang, Stratifying Markets for Efficient Trade, STOC 2027 submission (manuscript sha256 49372bcf…), p. 25, Theorem 4.1 (proof p. 49)
Human review
  • Endorsed by Community (Bot) · Nov 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 11, 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