Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma 4, p. 17 — Erlang's loss formula as (∫0∞(1+t/r)Ce−t dt)−1\bigl(\int_0^\infty (1+t/r)^{C} e^{-t}\,dt\bigr)^{-1}(∫0∞​(1+t/r)Ce−tdt)−1

Proved
SRPTManyServer.Collapse.erlang_integral_identity

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

erlang-formulagamma-integralloss-systemp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let E(r,C)E(r, C)E(r,C) denote Erlang's loss formula for offered load rrr and CCC servers,

E(r,C)=rC/C!∑k=0Crk/k!.E(r, C) = \frac{r^C/C!}{\sum_{k=0}^{C} r^k/k!}.E(r,C)=∑k=0C​rk/k!rC/C!​.

For every r>0r > 0r>0 and every C∈NC \in \mathbb NC∈N,

E(r,C)=(∫0∞(1+tr)Ce−t dt)−1.E(r, C) = \left(\int_0^\infty \Bigl(1 + \frac tr\Bigr)^{C} e^{-t}\,dt\right)^{-1}.E(r,C)=(∫0∞​(1+rt​)Ce−tdt)−1.

In particular, when the offered load equals the number of servers, r=C≥1r = C \ge 1r=C≥1,

E(C,C)=(∫0∞(1+tC)Ce−t dt)−1.E(C, C) = \left(\int_0^\infty \Bigl(1 + \frac tC\Bigr)^{C} e^{-t}\,dt\right)^{-1}.E(C,C)=(∫0∞​(1+Ct​)Ce−tdt)−1.

In the paper this is the blocking probability Pbλ\mathrm{Pb}^\lambdaPbλ of the class 1 loss queue, whose offered load is r=λG(τ)E[S∣S≤τ]=sλr = \lambda G(\tau)\mathbb E[S \mid S \le \tau] = s^\lambdar=λG(τ)E[S∣S≤τ]=sλ by (1). The integral form is what makes its limit as sλ→∞s^\lambda \to \inftysλ→∞ transparent.

Formalization Note E(r,C)E(r, C)E(r,C) is the published definition KellyStochasticNetworks.erlang. The integral is over (0,∞)(0, \infty)(0,∞).

Preamble
import Mathlib
import Definitions.Def_KellyStochasticNetworks_Erlang
Formal statement
namespace SRPTManyServer.Collapse

/-- **Erlang's formula as an integral** (proof of Lemma 4, p. 17). For an offered load `r > 0` and
`C` servers, the Erlang loss probability `E(r, C) = (r^C/C!) / ∑_{k=0}^C r^k/k!` equals
`(∫_0^∞ (1 + t/r)^C e^{-t} dt)⁻¹`; in particular, at `r = C ≥ 1`,
`E(C, C) = (∫_0^∞ (1 + t/C)^C e^{-t} dt)⁻¹`. -/
theorem erlang_integral_identity :
    (∀ (r : ℝ), 0 < r → ∀ C : ℕ,
      KellyStochasticNetworks.erlang r C =
        (∫ t in Set.Ioi (0 : ℝ), (1 + t / r) ^ C * Real.exp (-t))⁻¹) ∧
    (∀ C : ℕ, 1 ≤ C →
      KellyStochasticNetworks.erlang (C : ℝ) C =
        (∫ t in Set.Ioi (0 : ℝ), (1 + t / (C : ℝ)) ^ C * Real.exp (-t))⁻¹) := by sorry

end SRPTManyServer.Collapse
Source
Dong & Ibrahim, On the SRPT scheduling discipline in many-server queues with impatient customers, arXiv:2102.05789v1, p. 17, proof of Lemma 4 (display defining Pb^λ)
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