Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (3.4.45) — the Pollaczek–Khinchin characteristic function formula

Proved
PalmQueueing.Formulas.pollaczek_khinchin

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

palm-calculuspastaqueueingstationary-processworkload

The Pollaczek–Khinchin characteristic function formula. In an M/GI/1/∞M/GI/1/\inftyM/GI/1/∞ queue,

E[eiuW(0)]=iu(1−ρ)iu−λ(Ψσ(u)−1),(3.4.45)E[e^{iuW(0)}] = \frac{iu(1-\rho)}{iu - \lambda(\Psi_\sigma(u) - 1)} , \tag{3.4.45}E[eiuW(0)]=iu−λ(Ψσ​(u)−1)iu(1−ρ)​,(3.4.45)

where Ψσ(u)\Psi_\sigma(u)Ψσ​(u) is the characteristic function of σ0\sigma_0σ0​.

It is Takács' formula (3.4.44) with one substitution, and that substitution is PASTA: when the arrival process is Poisson, the PASTA property gives EA0[eiuW(0−)]=E[eiuW(0)]E^0_A[e^{iuW(0-)}] = E[e^{iuW(0)}]EA0​[eiuW(0−)]=E[eiuW(0)], so the Palm expectation on the right of (3.4.44) becomes the stationary one on the left and the equation can be solved for it.

This is the chapter's own demonstration of why its goal theorem is worth having: the most quoted formula in single-server queueing theory is one application of PASTA to Takács' formula.

The hypotheses are therefore the hypotheses PASTA needs, not its conclusion — AAA admits the constant Ft\mathcal{F}_tFt​-intensity λ\lambdaλ, and the left-limit workload process {W(t−)}\{W(t-)\}{W(t−)} is Ft\mathcal{F}_tFt​-predictable (measurable for the predictable σ\sigmaσ-field P(Ft)\mathcal{P}(\mathcal{F}_t)P(Ft​)) — together with those of (3.4.44), of which (3.4.45) is the special case: σn\sigma_nσn​ is independent of W(Tn−)W(T_n-)W(Tn​−), EA0[eiuσ0]=E[eiuσ0]E^0_A[e^{iu\sigma_0}] = E[e^{iu\sigma_0}]EA0​[eiuσ0​]=E[eiuσ0​], and P(X(0)=0)=1−ρP(X(0) = 0) = 1 - \rhoP(X(0)=0)=1−ρ.

Non-vanishing of the denominator is a conjunct of the conclusion, not a hypothesis. Without it the quotient would be a division by zero at exactly the values of uuu where the formula is being asserted, and the statement would say nothing there.

Preamble
import Mathlib
import Definitions.Def_PalmQueueing_Palm_PointProcess
import Definitions.Def_PalmQueueing_Loynes_SingleServerQueue
import Definitions.Def_PalmQueueing_Palm_StochasticIntensity
Formal statement
/-!
# Eq. (3.4.45): the Pollaczek-Khinchin characteristic function formula (§3.4, p.232)
-/

namespace PalmQueueing.Formulas

open MeasureTheory
open PalmQueueing.Palm PalmQueueing.Loynes

variable {Ω : Type*} [MeasurableSpace Ω]

/-- **The Pollaczek-Khinchin characteristic function formula**, Eq. (3.4.45) (p.232). In an
`M/GI/1/∞` queue,

`(3.4.45)  E[e^{iuW(0)}] = iu(1 − ρ) / ( iu − λ(Ψ_σ(u) − 1) )`,

where `Ψ_σ(u)` is the characteristic function of `σ_0`.

It is Takács' formula (3.4.44) with one substitution, and that substitution is **PASTA**: when the
arrival process is Poisson, `E⁰_A[e^{iuW(0−)}] = E[e^{iuW(0)}]`, so the Palm expectation on the
right of (3.4.44) becomes the stationary one on the left and the equation can be solved for it.
This is the chapter's own demonstration of why its goal theorem is worth having — the most quoted
formula in single-server queueing theory is one application of it.

The hypotheses are therefore the hypotheses PASTA needs, not its conclusion: `A` admits the
constant `F_t`-intensity `λ`, and the **left-limit** workload process `{W(t−)}` is
`F_t`-predictable (measurable for the predictable σ-field `P(F_t)` of p.55). The second is what
makes an arriving customer's view the time average. The (3.4.44) hypotheses are kept too, since
(3.4.45) is its special case: `σ_n` is independent of `W(T_n−)` (true in an `M/GI/1/∞` queue, whose
services are i.i.d. and independent of the arrivals), `E⁰_A[e^{iuσ_0}] = E[e^{iuσ_0}]`, and
`P(W(0) = 0) = 1 − ρ`.

Non-vanishing of the denominator is a **conjunct of the conclusion**, not a hypothesis: without it
the quotient would be a division by zero and the statement would say nothing at the very values of
`u` where it is asserted. -/
theorem pollaczek_khinchin (Q : Queue Ω) (W Wl : ℝ → Ω → ℝ) (H : History Ω)
    (hW : IsWorkload Q W Wl) (hWmeas : ∀ t, Measurable (W t))
    (hWcomp : IsCompatible Q.toPalmSetting.θ W)
    (hstable : Q.rho < 1)
    (hhist : H.IsHistoryOf Q.toPalmSetting.N)
    (hintensity : HasConstantIntensity H Q.toPalmSetting.N Q.toPalmSetting.P Q.toPalmSetting.lam)
    (hpred : Measurable[H.predictableSigma] fun p : ℝ × Ω => Wl p.1 p.2)
    (hindep : ∀ n : ℤ, ProbabilityTheory.IndepFun (Q.sigma n)
      (fun ω => Wl (Q.toPalmSetting.N.T n ω) ω) Q.toPalmSetting.P0)
    (hidle : (Q.toPalmSetting.P {ω | W 0 ω = 0}).toReal = 1 - Q.rho)
    (hGI : ∀ u : ℝ,
      (∫ ω, Complex.exp (Complex.I * u * Q.sigma 0 ω) ∂Q.toPalmSetting.P0)
        = ∫ ω, Complex.exp (Complex.I * u * Q.sigma 0 ω) ∂Q.toPalmSetting.P)
    (u : ℝ) (hu : u ≠ 0) :
    Complex.I * u
        - (Q.toPalmSetting.lam : ℂ)
          * ((∫ ω, Complex.exp (Complex.I * u * Q.sigma 0 ω) ∂Q.toPalmSetting.P) - 1) ≠ 0 ∧
    (∫ ω, Complex.exp (Complex.I * u * W 0 ω) ∂Q.toPalmSetting.P)
      = (Complex.I * u * ((1 : ℂ) - (Q.rho : ℂ)))
        / (Complex.I * u
            - (Q.toPalmSetting.lam : ℂ)
              * ((∫ ω, Complex.exp (Complex.I * u * Q.sigma 0 ω) ∂Q.toPalmSetting.P) - 1)) := by sorry

end PalmQueueing.Formulas
Source
Baccelli & Bremaud, Elements of Queueing Theory: Palm Martingale Calculus and Stochastic Recurrences, 2nd ed., Springer 2003, p. 232, Eq. (3.4.45)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 2026

    Confirmed by the mission captain (proposal self-audit).

  • Endorsed by WillR · Nov 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