Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.1, p. 10 — semi-explicit formula for the clearing-price error E(h) and the mid-price error E^mid(h)

Proved
AuctionDuration.ClearingError.theorem_2_1

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

call-auctionmarket-microstructurep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1poisson-processprice-formation

Consider the first auction of the call-auction market: a Brownian efficient price Pt=P0+σfWtP_t=P_0+\sigma_fW_tPt​=P0​+σf​Wt​, market makers arriving as a Poisson process NmmN^{mm}Nmm of intensity μ\muμ, an independent Exp(ν)\mathrm{Exp}(\nu)Exp(ν) opening time τ1op\tau^{op}_1τ1op​, clearing at τ1cl=τ1op+h\tau^{cl}_1=\tau^{op}_1+hτ1cl​=τ1op​+h with h≥0h\ge0h≥0, i.i.d. centred estimation noises of variance σ2\sigma^2σ2, supply slope K>0K>0K>0, and a square-integrable market-taker imbalance Iτ1clI_{\tau^{cl}_1}Iτ1cl​​. Let E(h)E(h)E(h) and Emid(h)E^{mid}(h)Emid(h) be the mean squared errors of the clearing price (2) and of the mid-price (3) with respect to the efficient price at the clearing, conditionally on at least one market maker being present. Write

c(h)=(1−e−μhνν+μ)−1eνh.c(h)=\Big(1-e^{-\mu h}\frac{\nu}{\nu+\mu}\Big)^{-1}e^{\nu h}.c(h)=(1−e−μhν+μν​)−1eνh.

Then both squared errors are integrable, and

Emid(h)=c(h)∫h+∞νe−νt((σf2t6+σ2)e−μt∫0μtes−1s ds+σf2t3(1−e−μt))dt,E^{mid}(h)=c(h)\int_h^{+\infty}\nu e^{-\nu t}\Big(\Big(\sigma_f^2\frac t6+\sigma^2\Big)e^{-\mu t}\int_0^{\mu t}\frac{e^s-1}{s}\,ds+\sigma_f^2\frac t3\big(1-e^{-\mu t}\big)\Big)dt,Emid(h)=c(h)∫h+∞​νe−νt((σf2​6t​+σ2)e−μt∫0μt​ses−1​ds+σf2​3t​(1−e−μt))dt, E(h)=Emid(h)+E[Iτ1cl2]K2 c(h)∫h+∞νe−νte−μt∫0μt1s∫0seu−1u du ds dt.E(h)=E^{mid}(h)+\frac{\mathbb E[I^2_{\tau^{cl}_1}]}{K^2}\,c(h)\int_h^{+\infty}\nu e^{-\nu t}e^{-\mu t}\int_0^{\mu t}\frac1s\int_0^s\frac{e^u-1}{u}\,du\,ds\,dt .E(h)=Emid(h)+K2E[Iτ1cl​2​]​c(h)∫h+∞​νe−νte−μt∫0μt​s1​∫0s​ueu−1​dudsdt.

The formula makes the trade-off in the auction duration hhh explicit: a longer auction gathers more market makers but lets the efficient price move further from the views they sent. By Lemma 2.1 of the paper, E(h)E(h)E(h) is the almost-sure long-run average squared error of the clearing prices, so a minimizer of this formula is an optimal auction duration.

Formalization Note EEE and EmidE^{mid}Emid are conditional expectations given Ω~={Nτ1clmm>0}\tilde\Omega=\{N^{mm}_{\tau^{cl}_1}>0\}Ω~={Nτ1cl​mm​>0}, as in Appendix A; the model conditions the Poisson process and the opening time jointly on Ω~\tilde\OmegaΩ~ (the reading of Assumption 2 used by the proof; the literal reading of p. 8 gives a different value, see the model's note). Added hypotheses: centred noises, independence of Iτ1clI_{\tau^{cl}_1}Iτ1cl​​ from everything else, and continuous Brownian paths. E[Iτ1cl2]\mathbb E[I^2_{\tau^{cl}_1}]E[Iτ1cl​2​] is taken under P\mathbb PP; it is the same under P(⋅∣Ω~)\mathbb P(\cdot\mid\tilde\Omega)P(⋅∣Ω~) by independence. Inner integrands are 000 at s=0s=0s=0 and u=0u=0u=0 in Lean, a null set.

Preamble
import Mathlib
import Definitions.Def_AuctionDuration_ClearingError_Model
Formal statement
namespace AuctionDuration.ClearingError
open MeasureTheory ProbabilityTheory QueueingFundamentals.Foundations

/-- Theorem 2.1, p. 10, with (5): the semi-explicit formulas for E(h) and E^mid(h). -/
theorem theorem_2_1 {Ω : Type*} [MeasurableSpace Ω] (p : Params) (hp : p.Standing)
    (P : Measure Ω) (X : Auction Ω) (hX : IsModel p P X) (h : ℝ) (hh : 0 ≤ h) :
    let c : ℝ := (1 - Real.exp (-(p.mu * h)) * (p.nu / (p.nu + p.mu)))⁻¹ * Real.exp (p.nu * h)
    Integrable (fun ω => (Pcl p X h ω - Peff p X (tauCl X h ω) ω) ^ 2) (P[|OmegaT X h]) ∧
    Integrable (fun ω => (Pmid p X h ω - Peff p X (tauCl X h ω) ω) ^ 2) (P[|OmegaT X h]) ∧
    Emid p P X h = c * ∫ t in Set.Ioi h, p.nu * Real.exp (-(p.nu * t)) *
        ((p.sigmaF ^ 2 * (t / 6) + p.sigma ^ 2) * Real.exp (-(p.mu * t)) *
            (∫ s in (0 : ℝ)..(p.mu * t), (Real.exp s - 1) / s) +
          p.sigmaF ^ 2 * (t / 3) * (1 - Real.exp (-(p.mu * t)))) ∧
    E p P X h = Emid p P X h + (∫ ω, X.J ω ^ 2 ∂P) / p.K ^ 2 * c *
        ∫ t in Set.Ioi h, p.nu * Real.exp (-(p.nu * t)) * Real.exp (-(p.mu * t)) *
          ∫ s in (0 : ℝ)..(p.mu * t), (1 / s) * ∫ u in (0 : ℝ)..s, (Real.exp u - 1) / u := by sorry

end AuctionDuration.ClearingError
Source
Jusselin, Mastrolia & Rosenbaum, Optimal auction duration: a price formation viewpoint, arXiv:1906.01713v3, p. 10, Theorem 2.1 and (5)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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