Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

THEOREM 4 (a > 0) — F has the form (14) and sup |F(t) − t| = |F(1/2) − 1/2| = rT/(8 + 4rT)

Proved
NHPPArrivals.LinearRate.linear_degree_pos

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

degree-of-nonhomogeneitylinear-arrival-ratep2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider the linear arrival rate λ(t)=a+bt\lambda(t) = a + btλ(t)=a+bt on [0,T][0,T][0,T] with T>0T > 0T>0, a>0a > 0a>0 and b≥0b \ge 0b≥0, and let r=b/ar = b/ar=b/a be its relative slope. Let F(t)=Λ(tT)/Λ(T)F(t) = \Lambda(tT)/\Lambda(T)F(t)=Λ(tT)/Λ(T) be the conditional cdf. Then

F(t)=tT+r(tT)2/2T+rT2/2,0≤t≤1,F(t) = \frac{tT + r(tT)^2/2}{T + rT^2/2}, \qquad 0 \le t \le 1,F(t)=T+rT2/2tT+r(tT)2/2​,0≤t≤1,

and the degree of nonhomogeneity is attained at t=1/2t = 1/2t=1/2:

D=sup⁡0≤t≤1∣F(t)−t∣=∣F(1/2)−1/2∣=12−T/2+rT2/8T+rT2/2=rT8+4rT.D = \sup_{0 \le t \le 1} |F(t) - t| = |F(1/2) - 1/2| = \frac12 - \frac{T/2 + rT^2/8}{T + rT^2/2} = \frac{rT}{8 + 4rT}.D=0≤t≤1sup​∣F(t)−t∣=∣F(1/2)−1/2∣=21​−T+rT2/2T/2+rT2/8​=8+4rTrT​.

The formula shows that DDD depends on the rate only through the product rTrTrT, and it is the building block for THEOREM 5, where it is applied to each subinterval.

Formalization Note b≥0b \ge 0b≥0 is §3.3's standing assumption ("we will assume that the arrival rate function is increasing, i.e., b≥0b \ge 0b≥0", p. 472); T>0T > 0T>0 is implicit in "the interval [0,T][0,T][0,T]". The supremum is stated as attained (IsGreatest of the image of [0,1][0,1][0,1]) and also as the value of the mission's degree.

Preamble
import Mathlib
import Definitions.Def_NHPPArrivals_LinearRate_ConditionalCdf
Formal statement
namespace NHPPArrivals.LinearRate

theorem linear_degree_pos (a b T : ℝ) (hT : 0 < T) (ha : 0 < a) (hb : 0 ≤ b) :
    (∀ t ∈ Set.Icc (0:ℝ) 1, condCdf (linRate a b) T t =
      (t * T + (b / a) * (t * T) ^ 2 / 2) / (T + (b / a) * T ^ 2 / 2)) ∧
    IsGreatest ((fun t => |condCdf (linRate a b) T t - t|) '' Set.Icc (0:ℝ) 1)
      |condCdf (linRate a b) T (1 / 2) - 1 / 2| ∧
    degree (condCdf (linRate a b) T) = |condCdf (linRate a b) T (1 / 2) - 1 / 2| ∧
    |condCdf (linRate a b) T (1 / 2) - 1 / 2| =
      1 / 2 - (T / 2 + (b / a) * T ^ 2 / 8) / (T + (b / a) * T ^ 2 / 2) ∧
    1 / 2 - (T / 2 + (b / a) * T ^ 2 / 8) / (T + (b / a) * T ^ 2 / 2) =
      (b / a) * T / (8 + 4 * (b / a) * T) := by sorry

end NHPPArrivals.LinearRate
Source
Kim and Whitt, Are call center and hospital arrivals well modeled by nonhomogeneous Poisson processes?, Manufacturing Service Oper. Management 16(3), 2014, p. 472, THEOREM 4, (14), (16); standing assumption b ≥ 0, §3.3
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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