Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

LEMMA 1 (19) — Λ_j, F_j, p_j and r_j for a linear rate with a = 0

Proved
NHPPArrivals.LinearRate.linear_pieces_zero

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

conditional-cdflinear-arrival-ratep2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let λ(t)=bt\lambda(t) = btλ(t)=bt on [0,T][0,T][0,T] with T>0T > 0T>0 and b>0b > 0b>0. Divide [0,T][0,T][0,T] into k≥1k \ge 1k≥1 subintervals of length T/kT/kT/k. For 1≤j≤k1 \le j \le k1≤j≤k,

  1. Λj(t)=bt(kt+2(j−1)T)2k\displaystyle \Lambda_j(t) = \frac{bt\big(kt + 2(j-1)T\big)}{2k}Λj​(t)=2kbt(kt+2(j−1)T)​ for 0≤t≤T/k0 \le t \le T/k0≤t≤T/k;
  2. Fj(t)=t(2j−2+t)2j−1\displaystyle F_j(t) = \frac{t(2j - 2 + t)}{2j - 1}Fj​(t)=2j−1t(2j−2+t)​ for 0≤t≤10 \le t \le 10≤t≤1;
  3. pj=2j−1k2\displaystyle p_j = \frac{2j-1}{k^2}pj​=k22j−1​;

and for 2≤j≤k2 \le j \le k2≤j≤k,

  1. rj=k(j−1)T\displaystyle r_j = \frac{k}{(j-1)T}rj​=(j−1)Tk​.

These closed forms make THEOREM 5's formula (22) explicit.

Formalization Note The paper prints the range of rjr_jrj​ as 1≤j≤k1 \le j \le k1≤j≤k, but r1=b/λ(0)=b/0r_1 = b/\lambda(0) = b/0r1​=b/λ(0)=b/0 is undefined (the rate vanishes at the left end of the first subinterval), and (22) treats j=1j = 1j=1 separately; the statement asserts the formula for rjr_jrj​ only for 2≤j≤k2 \le j \le k2≤j≤k. b>0b > 0b>0 excludes the identically zero rate.

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

theorem linear_pieces_zero (b T : ℝ) (k : ℕ) (hT : 0 < T) (hb : 0 < b) (hk : 1 ≤ k) :
    (∀ j ∈ Finset.Icc 1 k, ∀ t ∈ Set.Icc (0:ℝ) (T / k),
      subCum (linRate 0 b) T k j t = b * t * ((k:ℝ) * t + 2 * ((j:ℝ) - 1) * T) / (2 * k)) ∧
    (∀ j ∈ Finset.Icc 1 k, ∀ t ∈ Set.Icc (0:ℝ) 1,
      subCdf (linRate 0 b) T k j t = t * (2 * (j:ℝ) - 2 + t) / (2 * (j:ℝ) - 1)) ∧
    (∀ j ∈ Finset.Icc 1 k, weight (linRate 0 b) T k j = (2 * (j:ℝ) - 1) / (k:ℝ) ^ 2) ∧
    (∀ j ∈ Finset.Icc 2 k, subSlope 0 b T k j = k / (((j:ℝ) - 1) * 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. 473, LEMMA 1, (19)
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