Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (3.5) — the number of orders in [0, t] is Poisson with mean λt

Proved
ServiceParts.Palm.order_count_poisson

by mikedeng1 · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1poisson-process

In the (s−1,s)(s-1,s)(s−1,s) backorder system, let N(t)N(t)N(t) be the number of customer orders placed in [0,t][0,t][0,t]. For every t>0t > 0t>0 and every n≥0n \ge 0n≥0,

P[N(t)=n]=e−λt(λt)nn!.P[N(t) = n] = e^{-\lambda t}\frac{(\lambda t)^n}{n!}.P[N(t)=n]=e−λtn!(λt)n​.

This is the starting point of the proof of Palm's theorem: the orders present at time ttt are a thinning of these N(t)N(t)N(t) orders.

Formalization Note The order stream is built from i.i.d. exponential interarrival times with rate λ\lambdaλ, so the statement is the familiar fact that such a renewal process has Poisson marginals.

Preamble
import Mathlib
import Definitions.Def_ServiceParts_Palm_ResupplySystem

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace ServiceParts.Palm

theorem order_count_poisson {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
    [IsProbabilityMeasure P] (S : ResupplySystem Ω P) {t : ℝ} (ht : 0 < t) (n : ℕ) :
    (P {ω | S.orderCount t ω = n}).toReal =
      Real.exp (-(S.rate * t)) * (S.rate * t) ^ n / (Nat.factorial n : ℝ) := by sorry

end ServiceParts.Palm
Source
Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer 2005, DOI 10.1007/b138879, p. 39, Eq. (3.5)
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

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