Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.2 (12), p. 21 — E[1/(1+N_t)²] and E[1/(2+N_t)²] for a Poisson count

Proved
AuctionDuration.ClearingError.lemma_A_2_eq_12

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

exponential-integralinverse-momentp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1poisson-distribution

Let NtN_tNt​ be a Poisson random variable with mean mt>0m_t>0mt​>0 (for instance, the value at time ttt of an inhomogeneous Poisson process with intensity measure λ\lambdaλ, with mt=∫0tλ(ds)m_t=\int_0^t\lambda(ds)mt​=∫0t​λ(ds)). Then

E[1(1+Nt)2]=e−mtmt∫0mtes−1s ds,E[1(2+Nt)2]=1mt2(1−e−mt−e−mt∫0mtes−1s ds).\mathbb E\Big[\frac1{(1+N_t)^2}\Big]=\frac{e^{-m_t}}{m_t}\int_0^{m_t}\frac{e^s-1}{s}\,ds,\qquad \mathbb E\Big[\frac1{(2+N_t)^2}\Big]=\frac1{m_t^2}\Big(1-e^{-m_t}-e^{-m_t}\int_0^{m_t}\frac{e^s-1}{s}\,ds\Big).E[(1+Nt​)21​]=mt​e−mt​​∫0mt​​ses−1​ds,E[(2+Nt​)21​]=mt2​1​(1−e−mt​−e−mt​∫0mt​​ses−1​ds).

Combined with Lemma A.1 these identities give the price-move function ggg in closed form.

Formalization Note Only the law of NtN_tNt​ enters; the Lean statement takes a measurable N\mathbb NN-valued NNN with law Poisson(m)\mathrm{Poisson}(m)Poisson(m). The hypothesis m>0m>0m>0 is added: the page divides by mtm_tmt​, and at mt=0m_t=0mt​=0 the right-hand sides are undefined.

Preamble
import Mathlib
import Definitions.Def_AuctionDuration_ClearingError_Model
Formal statement
namespace AuctionDuration.ClearingError
open MeasureTheory ProbabilityTheory
open scoped NNReal

/-- Lemma A.2, p. 21, (12): if N_t is Poisson with mean m_t > 0, then
E[1/(1 + N_t)²] = (e^{−m_t}/m_t) ∫_0^{m_t} (e^s − 1)/s ds and
E[1/(2 + N_t)²] = (1/m_t²)(1 − e^{−m_t} − e^{−m_t} ∫_0^{m_t} (e^s − 1)/s ds). -/
theorem lemma_A_2_eq_12 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (N : Ω → ℕ) (hN : Measurable N) (m : ℝ≥0) (hm : 0 < m) (hlaw : P.map N = poissonMeasure m) :
    ∫ ω, 1 / (1 + (N ω : ℝ)) ^ 2 ∂P =
        Real.exp (-(m : ℝ)) / (m : ℝ) * ∫ s in (0 : ℝ)..(m : ℝ), (Real.exp s - 1) / s ∧
    ∫ ω, 1 / (2 + (N ω : ℝ)) ^ 2 ∂P =
        1 / (m : ℝ) ^ 2 * (1 - Real.exp (-(m : ℝ)) -
          Real.exp (-(m : ℝ)) * ∫ s in (0 : ℝ)..(m : ℝ), (Real.exp s - 1) / s) := by sorry

end AuctionDuration.ClearingError
Source
Jusselin, Mastrolia & Rosenbaum, Optimal auction duration: a price formation viewpoint, arXiv:1906.01713v3, p. 21, Lemma A.2, (12)
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