Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 5.3 — welfare loss after first exit

Proved
DynDoubleAuction.TwoSided.welfare_loss

by mikedeng1 · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

double-auctiondynamic-mechanism-designp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stopping-timetwo-sided-marketwelfare

Let τ\tauτ be the first period at which the seller's promise enters either inefficient region, with τ=T+1\tau=T+1τ=T+1 if no exit occurs before the horizon. For a common initial promise w1∈[0,μT]w^1\in[0,\mu T]w1∈[0,μT], the mechanism's expected welfare SSS satisfies

ΠFB−S≤vˉ E[(T−τ+1)+].\Pi^{\mathrm{FB}}-S\le\bar v\,\mathbb E[(T-\tau+1)^+].ΠFB−S≤vˉE[(T−τ+1)+].

The bound charges at most one value range vˉ\bar vvˉ for each period from the first exit through the horizon. It is the welfare-loss display in the proof of Theorem 5.3.

Formalization Note The stopping time is clipped at T+1T+1T+1, so the loss count is zero if there is no exit.

Preamble
import Mathlib
import Definitions.Def_DynDoubleAuction_TwoSided_Model
Formal statement
namespace DynDoubleAuction.TwoSided

open MeasureTheory Filter Topology

/-- In the proof of Theorem 5.3, every period after first exit loses at most `vbar`. -/
theorem welfare_loss {n : ℕ} (M : Market n) (hM : Standing M)
    (T : ℕ) (w1 : ℝ) (hw1 : 0 ≤ w1 ∧ w1 ≤ wbar M T 1) :
    firstBest M T - expectedWelfare M T w1 ≤
      M.vbar *
        (∫ vs, max ((T : ℝ) - (exitTime M T w1 vs : ℝ) + 1) 0 ∂valueLaw M) := by sorry
end DynDoubleAuction.TwoSided
Source
Balseiro, Mirrokni, Paes Leme & Zuo, Dynamic Double Auctions: Towards First Best, SSRN 3213460 (version of November 15, 2018), p. 29, proof of Theorem 5.3
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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