Documentation

SHSLib.Category.Hespanha

Hespanha's SHS in the categorical organization #

The SHS presentation and its Lévy form #

def SHS.presOn {Q : Type u} {n m : ℕ} (S : SHS Q n m) {T : Type u} (ι : T → TestFunction Q n) :

The generator presentation of an SHS on the time-augmented state, for the test functions indexed by ι.

Equations
Instances For
    def SHS.levyDataOn {Q : Type u} {n m : ℕ} [MeasurableSpace Q] [MeasurableSingletonClass Q] (S : SHS Q n m) {T : Type u} (ι : T → TestFunction Q n) :

    The Lévy-system data of an SHS (Bect's Example 18) on the time-augmented state: drift ⟨∇ψ, f⟩ + ∂ₜψ, total intensity Σ λ_ℓ, reset kernel K = Σ (λ_ℓ/λ) δ_{φ_ℓ} on Q × ℝⁿ, landing a reset while keeping the clock.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem SHS.extendedGenerator_eq_levyData_gen {Q : Type u} {n m : ℕ} [MeasurableSpace Q] [MeasurableSingletonClass Q] (S : SHS Q n m) {T : Type u} (ι : T → TestFunction Q n) (φ : T) (z : DavisState Q n) :
      S.extendedGenerator (ι φ) z.1 z.2.1 z.2.2 = (S.levyDataOn ι).gen φ z

      The generator of the SHS equals the Lévy-system generator (Bect, Example 18).

      def SHS.levyIso {Q : Type u} {n m : ℕ} [MeasurableSpace Q] [MeasurableSingletonClass Q] (S : SHS Q n m) {T : Type u} (ι : T → TestFunction Q n) :

      Hespanha's SHS presentation is isomorphic to its Lévy-system form (Example 18 of Bect 2010, as an isomorphism in GenPres).

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Test functions with correct derivative data along the flow #

        def SHS.IsFlowDerivative {Q : Type u} {n m : ℕ} (S : SHS Q n m) (hflow : S.HasGlobalFlow) (ψ : TestFunction Q n) :

        The derivative data (∇ₓψ, ∂ₜψ) of ψ gives the true right derivative of ψ along the SHS flow: d⁺/du ψ(q, x(t+u), t+u)|_{u=0} = ⟨∇ₓψ, f⟩ + ∂ₜψ.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          structure SHS.GenTest {Q : Type u} {n m : ℕ} [MeasurableSpace Q] (S : SHS Q n m) (hflow : S.HasGlobalFlow) :

          A test function of the SHS generator domain: measurable on the augmented state, with derivative data correct along the flow.

          Instances For
            def SHS.genPres {Q : Type u} {n m : ℕ} [MeasurableSpace Q] (S : SHS Q n m) (hflow : S.HasGlobalFlow) :

            The generator presentation of an SHS with flow hflow.

            Equations
            Instances For
              def SHS.GenTest.ofClock {Q : Type u} {n m : ℕ} [MeasurableSpace Q] (S : SHS Q n m) (hflow : S.HasGlobalFlow) (h : ℝ → ℝ) (hd : Differentiable ℝ h) :
              S.GenTest hflow

              A clock-only test function ψ(q, x, t) = h(t) for differentiable h: an explicit element of the SHS generator domain (its declared derivative data is correct along every flow line).

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem SHS.genPres_gen_ofClock {Q : Type u} {n m : ℕ} [MeasurableSpace Q] (S : SHS Q n m) (hflow : S.HasGlobalFlow) (h : ℝ → ℝ) (hd : Differentiable ℝ h) (z : DavisState Q n) :
                (S.genPres hflow).gen (GenTest.ofClock S hflow h hd) z = deriv h z.2.2

                The SHS generator of a clock-only test function is h'(t): resets do not change the clock, so the jump part vanishes.

                def SHS.DavisCompatible.hom {Q : Type u} {n m : ℕ} [MeasurableSpace Q] {S : SHS Q n m} {hflow : S.HasGlobalFlow} {pdp : Davis.PDP (DavisState Q n)} (h : S.DavisCompatible hflow pdp) :

                The Davis bridge as a morphism. A Davis PDP compatible with the SHS (SHS.DavisCompatible) intertwines the two generators: SHS test functions pull back to Davis test functions (with flow derivative S.flowGenerator ψ), and the Davis generator of the pulled-back test is the SHS extended generator (DavisCompatible.pdpGenerator_eq_extendedGenerator).

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem SHS.DavisCompatible.satisfiesDynkin {Q : Type u} {n m : ℕ} [MeasurableSpace Q] {S : SHS Q n m} {hflow : S.HasGlobalFlow} {pdp : Davis.PDP (DavisState Q n)} (h : S.DavisCompatible hflow pdp) {Ω : Type u_1} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {X : ℝ → Ω → DavisState Q n} (hX : (Davis.genPres pdp).SatisfiesDynkin P X) :
                  (S.genPres hflow).SatisfiesDynkin P X

                  Transfer along the Davis bridge: if a process satisfies Dynkin's formula for a compatible Davis PDP, it satisfies Dynkin's formula for the SHS.

                  Hespanha's Theorem 2 for a concrete Davis realization #

                  def SHS.RealizedTest {Q : Type u} {n m : ℕ} [MeasurableSpace Q] [MeasurableSingletonClass Q] {S : SHS Q n m} {hflow : S.HasGlobalFlow} {hf : S.DavisFlowRegular hflow} {hr : S.DavisResetRegular} [S.IntensitiesMeasurable] {hli : S.DavisLocallyIntegrable hflow} {hne : S.DavisNonExplosive hflow hf hr} (R : S.DavisProcessRealization hflow hf hr hli hne) :

                  The test functions for which the hypotheses of Hespanha's Theorem 2 (SHS.theorem2_PDP_generator) hold for the realization R.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def SHS.realizationPres {Q : Type u} {n m : ℕ} [MeasurableSpace Q] [MeasurableSingletonClass Q] {S : SHS Q n m} {hflow : S.HasGlobalFlow} {hf : S.DavisFlowRegular hflow} {hr : S.DavisResetRegular} [S.IntensitiesMeasurable] {hli : S.DavisLocallyIntegrable hflow} {hne : S.DavisNonExplosive hflow hf hr} (R : S.DavisProcessRealization hflow hf hr hli hne) :

                    The SHS presentation restricted to the test functions realized by R.

                    Equations
                    Instances For
                      def SHS.DavisProcessRealization.augProc {Q : Type u} {n m : ℕ} [MeasurableSpace Q] [MeasurableSingletonClass Q] {S : SHS Q n m} {hflow : S.HasGlobalFlow} {hf : S.DavisFlowRegular hflow} {hr : S.DavisResetRegular} [S.IntensitiesMeasurable] {hli : S.DavisLocallyIntegrable hflow} {hne : S.DavisNonExplosive hflow hf hr} (R : S.DavisProcessRealization hflow hf hr hli hne) :
                      ℝ → R.Omega → DavisState Q n

                      The time-augmented state process of a realization, indexed by ℝ (negative times are clamped to 0).

                      Equations
                      Instances For
                        theorem SHS.realization_satisfiesDynkin {Q : Type u} {n m : ℕ} [MeasurableSpace Q] [MeasurableSingletonClass Q] {S : SHS Q n m} {hflow : S.HasGlobalFlow} {hf : S.DavisFlowRegular hflow} {hr : S.DavisResetRegular} [S.IntensitiesMeasurable] {hli : S.DavisLocallyIntegrable hflow} {hne : S.DavisNonExplosive hflow hf hr} [Fintype Q] (R : S.DavisProcessRealization hflow hf hr hli hne) :

                        Hespanha's Theorem 2 as a GenPres property: the time-augmented state process of a Davis realization satisfies Dynkin's formula for every realized (time-dependent) test function.

                        theorem SHS.realization_weakDynkin {Q : Type u} {n m : ℕ} [MeasurableSpace Q] [MeasurableSingletonClass Q] {S : SHS Q n m} {hflow : S.HasGlobalFlow} {hf : S.DavisFlowRegular hflow} {hr : S.DavisResetRegular} [S.IntensitiesMeasurable] {hli : S.DavisLocallyIntegrable hflow} {hne : S.DavisNonExplosive hflow hf hr} [Fintype Q] (R : S.DavisProcessRealization hflow hf hr hli hne) (D : GSHS.FPKData (DavisState Q n) (RealizedTest R)) (hX : Measurable (Function.uncurry R.augProc)) (hev : D.ev = fun (ψ : RealizedTest R) => (↑ψ).toDavisFunction) (hdrift : D.gen = fun (ψ : RealizedTest R) => S.flowGenerator ↑ψ) (hK : ∀ (ψ : RealizedTest R) (z : DavisState Q n), ∫ (y : DavisState Q n), (↑ψ).toDavisFunction y ∂D.K z = ∫ (y : Q × EuclideanSpace ℝ (Fin n)), (↑ψ).toFun y.1 y.2 z.2.2 ∂S.resetKernel z.1 z.2.1 z.2.2) (hlaw : ∀ (s : ℝ), 0 ≤ s → MeasureTheory.Measure.map (R.augProc s) R.P = D.law s) {genBound : RealizedTest R → ℝ} (hgen_le : ∀ (ψ : RealizedTest R) (z : DavisState Q n), |S.flowGenerator (↑ψ) z| ≤ genBound ψ) (hdrift_meas : ∀ (ψ : RealizedTest R), Measurable (S.flowGenerator ↑ψ)) (hrate_meas : Measurable S.totalIntensity) {rateBound : ℝ} (hrate_le : ∀ (z : DavisState Q n), S.totalIntensity z ≤ rateBound) (hrD : ∀ (s : ℝ), D.r s = (D.law s).withDensity fun (z : DavisState Q n) => ENNReal.ofReal (S.totalIntensity z)) :

                        A transferred result: Bect's generalized Dynkin formula (13) for the time-augmented state of a Davis realization of an SHS.

                        Hespanha's Theorem 2 (realization_satisfiesDynkin) is transported along the Lévy isomorphism levyIso (Bect's Example 18) and fed to LevyData.weakDynkin_of_satisfiesDynkin. Here D is Bect's data on the augmented state (q, x, t), indexed by the realized test functions, with the SHS test functions as test functions (hev), the flow part of the generator as drift (hdrift), a Markov kernel with the averages of the SHS reset kernel (hK), the laws of the augmented process (hlaw) and mean jump intensity λ μ_s (hr). Unlike SHS.weakDynkin_of_davis, the test functions may depend on time.