LEMMA 1 (18) — Λ_j, F_j, p_j and r_j for a linear rate with a > 0
ProvedNHPPArrivals.LinearRate.linear_pieces_posconditional-cdflinear-arrival-ratep2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let on with , , , and . Divide into subintervals of length and let . Then
- for ;
- for ;
- ;
- .
Here , , are the subinterval cumulative rate, conditional cdf and weight of LEMMA 1, (17), and is the relative slope of the rate on the -th subinterval. These closed forms make THEOREM 5's formula (21) explicit.
Formalization Note is §3.3's standing assumption. , , and are the general definitions of (17) and (18) applied to ; the theorem asserts that they equal the closed forms.
Preamble
import Mathlib import Definitions.Def_NHPPArrivals_LinearRate_ConditionalCdf
Formal statement
namespace NHPPArrivals.LinearRate
theorem linear_pieces_pos (a b T : ℝ) (k : ℕ) (hT : 0 < T) (ha : 0 < a) (hb : 0 ≤ b)
(hk : 1 ≤ k) (j : ℕ) (hj : j ∈ Finset.Icc 1 k) :
(∀ t ∈ Set.Icc (0:ℝ) (T / k), subCum (linRate a b) T k j t =
a * t * ((k:ℝ) * (2 + (b / a) * t) + 2 * ((j:ℝ) - 1) * (b / a) * T) / (2 * k)) ∧
(∀ t ∈ Set.Icc (0:ℝ) 1, subCdf (linRate a b) T k j t =
t * (2 * k + (2 * (j:ℝ) - 2 + t) * (b / a) * T) / (2 * k + (2 * (j:ℝ) - 1) * (b / a) * T)) ∧
weight (linRate a b) T k j =
(2 * k + (2 * (j:ℝ) - 1) * (b / a) * T) / ((k:ℝ) ^ 2 * (2 + (b / a) * T)) ∧
subSlope a b T k j = b * k / (a * (k + ((j:ℝ) - 1) * (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, LEMMA 1, (18)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.