Documentation

SHSLib.Core.DavisResetOccupationBridge

Reset occupation density and the endpoint/time bridge #

The density used after averaging over a holding time contains a survivor factor. The compensator accumulated on an actually occupied flow segment does not: it uses total intensity times normalized expected reset increment, and is stopped at the sampled holding time. This module records that distinction and the algebraic bridge between the two densities.

def SHS.davisSegmentResetOccupationDensity {Q : Type u_1} {n m : ℕ} (S : SHS Q n m) (hflow : S.HasGlobalFlow) (g : DavisState Q n → ℝ) (z : DavisState Q n) (s : ℝ) :

Predictable reset density accumulated while a deterministic segment is actually occupied.

Equations
Instances For
    theorem SHS.davisSegmentResetOccupationDensity_eq_sum {Q : Type u_1} [MeasurableSpace Q] [MeasurableSingletonClass Q] {n m : ℕ} (S : SHS Q n m) (hflow : S.HasGlobalFlow) (g : DavisState Q n → ℝ) (z : DavisState Q n) (s : ℝ) :
    S.davisSegmentResetOccupationDensity hflow g z s = ∑ ℓ : Fin m, (g (S.resetDavisState ℓ (S.davisFlow hflow s.toNNReal z)) - g (S.davisFlow hflow s.toNNReal z)) * S.intensity ℓ (S.davisFlow hflow s.toNNReal z).1 (S.davisFlow hflow s.toNNReal z).2.1 (S.davisFlow hflow s.toNNReal z).2.2

    The occupation density is the finite-channel reset part of the extended generator, before multiplication by a survivor probability.

    Averaging occupation at elapsed time s against survival to s gives the one-segment expected reset density from the preceding modules.

    def SHS.davisSegmentResetOccupationCompensator {Q : Type u_1} {n m : ℕ} (S : SHS Q n m) (hflow : S.HasGlobalFlow) (g : DavisState Q n → ℝ) (z : DavisState Q n) (u : NNReal) :

    Reset compensator accumulated along the actually occupied part of one segment, stopped at elapsed duration u.

    Equations
    Instances For

      The earlier deterministic expected-reset compensator is the survivor-weighted integral of the occupation density.

      theorem SHS.abs_davisSegmentResetOccupationDensity_le {Q : Type u_1} [MeasurableSpace Q] [MeasurableSingletonClass Q] {n m : ℕ} (S : SHS Q n m) (hflow : S.HasGlobalFlow) (g : DavisState Q n → ℝ) (C : ℝ) (hg : ∀ (y : DavisState Q n), |g y| ≤ C) (z : DavisState Q n) (s : ℝ) :

      For bounded g, the raw occupation density is bounded by 2C times the total intensity. Unlike the survivor-weighted density, its integral over a deterministic interval need not have a cap independent of the interval.

      The stopped occupation compensator is controlled by the accumulated total hazard on the occupied interval.