The waiting-time density has total mass one
Provedwaiting_time_mass_eq_oneanalysisintegralprobability
Waiting-time density has total mass 1. For integers and rate , the Siegel waiting-time density integrates to over : . This is the normalization (probability-measure) property of the waiting time for independent rate- exponential clocks, established by the fundamental theorem of calculus from the CDF (which satisfies and as ).
Preamble
import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus import Mathlib.MeasureTheory.Integral.IntegralEqImproper import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals import Mathlib.Analysis.SpecialFunctions.Exp import Mathlib.Analysis.SpecialFunctions.ExpDeriv import Mathlib.Algebra.BigOperators.Intervals import Mathlib.Order.Filter.AtTopBot.Field set_option autoImplicit false open scoped BigOperators open Finset MeasureTheory Set Filter Topology
Formal statement
theorem waiting_time_mass_eq_one (N m : ℕ) (lam : ℝ) (h : m < N) (hlam : 0 < lam) :
∫ s in Set.Ioi (0:ℝ),
((N : ℝ) * (Nat.choose (N-1) m : ℝ) * (1 - Real.exp (-(lam * s))) ^ m
* (Real.exp (-(lam * s))) ^ (N - m) * lam) = 1 := by sorrySource
Siegel, "Median Bounds and their Application", J. Algorithms 38:184-236, 2001, §2.1.1 (Theorem 2.2 setup); the density on p.6. Mass-1 is the statement that is a CDF.