Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

THEOREM 3 — conditional empirical CU KS statistic converges almost surely to the degree

Open
NHPPArrivals.LinearRate.Supplement.ks_limit

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

kolmogorov-smirnovnonhomogeneous-poisson-processp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Let NNN be an NHPP of rate λ\lambdaλ on [0,T][0,T][0,T] under §3.2's standing assumptions, and let YnY_nYn​ on a common probability space have the law of its scaled ordered arrivals conditioned on N(T)=nN(T)=nN(T)=n. Define the actual empirical statistic Dn=sup⁡0≤t≤1∣Fˉn(t)−t∣D_n=\sup_{0\le t\le1}|\bar F_n(t)-t|Dn​=sup0≤t≤1​∣Fˉn​(t)−t∣, and put F(t)=Λ(tT)/Λ(T)F(t)=\Lambda(tT)/\Lambda(T)F(t)=Λ(tT)/Λ(T). Then

Dn⟶D=sup⁡0≤t≤1∣F(t)−t∣almost surely.D_n\longrightarrow D=\sup_{0\le t\le1}|F(t)-t|\quad\text{almost surely}.Dn​⟶D=0≤t≤1sup​∣F(t)−t∣almost surely.

The limit is the published degree of nonhomogeneity, using absolute error on the full unit interval. It describes the CU KS statistic of conditional NHPP observations.

Differences from the source:

  • encoding: An NHPP with the standing assumptions of §3.2. → A probability space, measurable counts and epochs, independent Poisson increments, T>0, and AdmissibleRate on [0,T].; reason: These spell out the source model without continuity, boundedness or an assumed conditional law.
  • generalization: Almost-sure convergence of conditional samples as n grows, without specifying the coupling between sample sizes. → The conclusion holds for every common probability space carrying rows with the actual conditional vector laws.; reason: This includes the nested iid/order-statistic coupling; the distribution-free exponential empirical-cdf bound makes exceptional probabilities summable for every coupling. No case of the source is excluded.
Preamble
import Mathlib
import Definitions.Def_NHPPArrivals_LinearRate_Supplement_KSTest
Formal statement
namespace NHPPArrivals.LinearRate.Supplement

open MeasureTheory Filter Topology

theorem ks_limit {Ω Ξ : Type*} [MeasurableSpace Ω] [MeasurableSpace Ξ]
    (P : Measure Ω) [IsProbabilityMeasure P] (Q : Measure Ξ) [IsProbabilityMeasure Q]
    (lam : ℝ → ℝ) (T : ℝ) (hrate : AdmissibleRate lam T)
    (N : ℝ → Ω → ℕ) (X : ℕ → Ω → ℝ) (hN : IsNHPP P lam T N X)
    (Y : (n : ℕ) → Ξ → Fin n → ℝ) (hY : ConditionalRows P N X T Q Y) :
    ∀ᵐ ξ ∂Q, Tendsto (fun n : ℕ => ks (Y n ξ))
      atTop (𝓝 (degree (condCdf lam T))) := by sorry

end NHPPArrivals.LinearRate.Supplement
Source
Kim and Whitt, Are call center and hospital arrivals well modeled by nonhomogeneous Poisson processes?, Manufacturing Service Oper. Management 16(3), 2014, DOI 10.1287/msom.2014.0490, p. 471, THEOREM 3, PDF 8

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