Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.2 — every ordered fully tradable matching converts into a stratification with at least one-third of its gains from trade

Proved
StratifyMarkets.DoubleAuction.lemma_3_2

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

bilateral-tradegains-from-trademarket-stratificationp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let (F,G)(F,G)(F,G) be a bilateral trade instance and let (B,S)(\mathcal B,\mathcal S)(B,S) be an ordered fully tradable matching (Definition 2.6), with gains OrderedMatching\mathrm{OrderedMatching}OrderedMatching. Then there is a market stratification (Definition 2.3) whose bilateral gains from trade satisfy

Strat≥13 OrderedMatching.\mathrm{Strat}\ge\frac13\,\mathrm{OrderedMatching}.Strat≥31​OrderedMatching.

This is Step 1 of the bilateral argument (Figure 3.1).

Differences from the source:

  • encoding: F and G are continuous distributions supported on [0, 1], v and c independent → a BTInstance: probability measures μB, μS with no atoms (NullSingletonClass) and mass 1 on [0, 1]; expectations over the product μS.prod μB; reason: a CDF is continuous exactly when its law has no atoms; same instances
  • 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
  • encoding: the matching 'can be converted into a stratification that achieves at least one-third of its gains from trade' → ∃ σ : Stratification, OrderedMatching(M)/3 ≤ Strat(σ), for the same instance; reason: the conversion is the existence of such a stratification
Preamble
import Mathlib
import Definitions.Def_StratifyMarkets_DoubleAuction_Bilateral
import Definitions.Def_StratifyMarkets_DoubleAuction_Stratification

open MeasureTheory
Formal statement
namespace StratifyMarkets.DoubleAuction

/-- Lemma 3.2 (p. 16): every ordered fully tradable matching can be converted into a stratification
that achieves at least one-third of its gains from trade. -/
theorem lemma_3_2 (I : BTInstance) (M : OrderedMatching) :
    ∃ σ : Stratification, I.orderedMatching M / 3 ≤ I.strat σ := by sorry

end StratifyMarkets.DoubleAuction
Source
Deng, Lin, Schoepflin, Wang, Stratifying Markets for Efficient Trade, STOC 2027 submission (manuscript sha256 49372bcf…), p. 16, Lemma 3.2
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