Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.3 — first-best decomposition for λ ≥ 4: FB ≤ Σ_i E[(v_i − p̄)_+] + Σ_j E[(p̲ − c_j)_+] + λ(p̄ − p̲)

Proved
StratifyMarkets.DoubleAuction.lemma_4_3

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

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

Let a double auction instance have λ≥4\lambda\ge4λ≥4, where λ=Ev[Bp~]=Ec[Sp~]\lambda=\mathbb E_{\mathbf v}[B_{\tilde p}]=\mathbb E_{\mathbf c}[S_{\tilde p}]λ=Ev​[Bp~​​]=Ec​[Sp~​​] at a balanced price p~\tilde pp~​ (4.1), and let pˉ\bar ppˉ​, p‾\underline pp​ be excess-supply and excess-demand prices (4.2). Then

FB≤∑i=1nEv[(vi−pˉ)+]+∑j=1mEc[(p‾−cj)+]+λ⋅(pˉ−p‾).\mathrm{FB}\le\sum_{i=1}^n\mathbb E_{\mathbf v}\big[(v_i-\bar p)_+\big]+\sum_{j=1}^m\mathbb E_{\mathbf c}\big[(\underline p-c_j)_+\big]+\lambda\cdot(\bar p-\underline p).FB≤i=1∑n​Ev​[(vi​−pˉ​)+​]+j=1∑m​Ec​[(p​−cj​)+​]+λ⋅(pˉ​−p​).

It is the upper bound that Lemmas 4.4 and 4.5 approximate term by term.

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: λ defined in (4.1) from the balanced price p̃ → a balanced price pt (IsBalancedPrice: pt ∈ [0, 1], E_v[B_pt] = E_c[S_pt]) as a variable, with λ = expB pt; reason: p̃ need not be unique but λ is the same for every balanced price, and a balanced price exists by continuity; quantifying over every one is at least as strong as fixing one
  • encoding: the excess-supply price p̄ and the excess-demand price p̲ of (4.2) → arbitrary pbar, plow ∈ [0, 1] satisfying (4.2) (IsExcessSupplyPrice, IsExcessDemandPrice); reason: (4.2) need not have a unique solution; every solution lies in [0, 1] when λ ≥ 4, and quantifying over all of them is at least as strong as fixing one
Preamble
import Mathlib
import Definitions.Def_StratifyMarkets_DoubleAuction_Instance
import Definitions.Def_StratifyMarkets_DoubleAuction_Prices

open MeasureTheory
Formal statement
namespace StratifyMarkets.DoubleAuction

/-- Lemma 4.3 (p. 28): if `λ ≥ 4` (`λ = E_𝐯[B_p̃]` at a balanced price `p̃`), then for every
excess-supply price `p̄` and excess-demand price `p̲`,
`FB ≤ Σ_i E_𝐯[(v_i − p̄)_+] + Σ_j E_𝐜[(p̲ − c_j)_+] + λ (p̄ − p̲)`. -/
theorem lemma_4_3 {n m : ℕ} (I : DAInstance n m) (pt pbar plow : ℝ)
    (hpt : I.IsBalancedPrice pt) (hlam : 4 ≤ I.expB pt)
    (hpbar : I.IsExcessSupplyPrice pbar) (hplow : I.IsExcessDemandPrice plow) :
    I.FB ≤ I.buyerSurplus pbar + I.sellerSurplus plow + I.expB pt * (pbar - plow) := by sorry

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