Arrival times and counts of an ordinary renewal process #
Let T 0, T 1, … be nonnegative increments, with T i the waiting time between the i-th and
the (i + 1)-st renewal. This file defines the arrival times and the counting process
arrival T n = T 0 + ⋯ + T (n - 1), renewalCount T t = #{n ≥ 1 | arrival T n ≤ t},
so that arrival T 0 = 0 is the artificial arrival at time zero, which is not counted, while
genuine arrivals at time zero (zero increments) are counted with multiplicity. Time and increments
live in ℝ≥0. The count is extended-valued, renewalCount T t ω : ℝ≥0∞, so that it is defined and
measurable before one knows that it is finite.
The deterministic part of the file relates the two objects: n ≤ renewalCount T t ω exactly when
arrival T n ω ≤ t; the count equals n exactly when arrival T n ω ≤ t < arrival T (n + 1) ω;
it is infinite exactly when every arrival is at most t; it is nondecreasing and right-continuous
in t; and it is finite for every t exactly when the arrival times tend to infinity.
The probabilistic part shows that the process does not explode: if the increments are independent
and identically distributed and not almost surely zero, then almost surely the arrival times tend
to infinity, and hence almost surely renewalCount T t is finite simultaneously for all t. The
proof applies the second Borel–Cantelli lemma to the events {a ≤ T n} for a threshold a > 0 of
positive probability. For i.i.d. increments with common law F, the n-th arrival time has law
the convolution power F^{∗n}. Finally, the law of each count depends only on F: it is the law
of the count of the coordinate process under the product measure Measure.infinitePi (fun _ ↦ F),
on which Mathlib's iIndepFun_infinitePi constructs the increments.
Main definitions #
TauCeti.Probability.arrival— then-th arrival time∑ i ∈ Finset.range n, T i.TauCeti.Probability.renewalCount— the extended number of arrivals with indexn ≥ 1in[0, t].
Main results #
TauCeti.Probability.natCast_le_renewalCount_iff—n ≤ N t ↔ arrival n ≤ t.TauCeti.Probability.renewalCount_eq_natCast_iff—N t = n ↔ arrival n ≤ t < arrival (n + 1).TauCeti.Probability.continuousWithinAt_renewalCount_Ici— right continuity of the count.TauCeti.Probability.tendsto_arrival_atTop_iff— nonexplosion is finiteness of every count.TauCeti.Probability.ae_tendsto_arrival_atTop,TauCeti.Probability.ae_renewalCount_lt_top— i.i.d. increments that are not almost surely zero do not explode.TauCeti.Probability.hasLaw_arrival— for i.i.d. increments with lawF, then-th arrival time has law the convolution powerF^{∗n}, andTauCeti.Probability.hasLaw_arrival_shift, the same for the process restarted at them-th arrival.TauCeti.Probability.map_renewalCount_eq_infinitePi_map— the law of a count is computed on the canonical product space.
References #
- William Feller, An Introduction to Probability Theory and Its Applications, vol. II, 2nd edition, Wiley, 1971, Chapter XI, §1.
Arrival times #
The (m + k)-th arrival time is the m-th one plus the k-th arrival time of the renewal
process restarted at the m-th arrival, whose increments are T m, T (m + 1), ….
The n-th arrival time is measurable as soon as the increments T 0, …, T (n - 1) are.
If every increment is almost-everywhere measurable, so is every arrival time.
If two increment sequences agree almost everywhere at each index, then almost everywhere all of their arrival times agree.
The counting process #
The number #{n ≥ 1 | arrival T n ω ≤ t} of arrivals in [0, t], counted with multiplicity,
as an extended nonnegative number. The artificial arrival arrival T 0 = 0 is not counted.
Instances For
A finite count is a natural number.
The count is nondecreasing in time.
The count is locally constant to the right of every time.
The count is right-continuous in time.
The process does not explode at ω, i.e. its arrival times tend to infinity, exactly when
every count is finite.
If infinitely many increments are at least a > 0, the arrival times tend to infinity.
Nonexplosion for i.i.d. increments #
Nonexplosion of a renewal process. If the increments are independent, identically distributed and not almost surely zero, then almost surely the arrival times tend to infinity.
Finiteness of the renewal counts. For independent, identically distributed increments
that are not almost surely zero, almost surely every count renewalCount T t is finite. The
almost-sure quantifier is outside the quantifier over all times.
For independent increments with common law F = P.map (T 0), the n-th arrival time
arrival T n has law the convolution power F^{∗n}.
For independent increments with common law F = P.map (T 0), the renewal process restarted at
the m-th arrival, with increments T m, T (m + 1), …, has the same arrival-time laws: its k-th
arrival time arrival T (m + k) - arrival T m has law F^{∗k}.
Transfer to the canonical product space. For independent, identically distributed
increments, the law of renewalCount T t is the law of the count of the coordinate process under
the product measure whose factors are the common law of the increments.