MindFormal v1.0.0One Mind

MindFormal.Tools.ReflectedPaths

Pathwise pieces of the reflected equation on nonnegative time. A reflection of paths (PathReflection) is a map on continuous vector paths over each horizon, causal and Lipschitz in the sup norm with a constant lip, fixing the zero path: the zero-floor product reflection (productReflection, constant two) or the reflection at declared floors and caps (IntervalReflection, constant four). A continuous vector path is restricted to [0,T], reflected there and read back on nonnegative time, frozen after T; the result is a continuous path, and the reflection reads its input only up to the reading time, through a map continuous on paths. So the reflection of an adapted process with almost surely continuous paths is adapted when every null set is known at time 0. The drift path ∫_{(0, t ∧ T]} β(s, ω) ds of a predictable β is adapted (the predictable σ-algebra read up to t lies in the product of the Borel sets and the information at t) and continuous in t wherever β(·, ω) is integrable. A coefficient predictable in (s, ω) and continuous in the state, composed with a predictable state, is predictable.

The reflected path on nonnegative time #

A time of nonnegative time read in [0,T], frozen after T.

Equations
Instances For
    def MindFormal.toHorizon {I : Type u_1} (T : NNReal) (p : NNReal → I → ℝ) (hp : Continuous p) :
    C(↑(HorizonTime ↑T), I → ℝ)

    A continuous path on nonnegative time, restricted to [0,T].

    Equations
    Instances For
      theorem MindFormal.toHorizon_horizonPoint {I : Type u_1} (T : NNReal) (p : NNReal → I → ℝ) (hp : Continuous p) (t : NNReal) :
      (toHorizon T p hp) (horizonPoint T t) = p (min t T)
      structure MindFormal.PathReflection (I : Type u_2) [Fintype I] :
      Type u_2

      A reflection of paths: on continuous vector paths over every finite horizon, a map that is causal and Lipschitz in the sup norm with constant lip, and fixes the zero path. The zero-floor product reflection is one (PathReflection.floor, constant two); reflection at declared floors and caps is another (Boundary.pathReflection, IntervalReflection).

      Instances For
        noncomputable def MindFormal.PathReflection.floor {I : Type u_1} [Fintype I] (reflect : I → Bool) :

        The zero-floor product reflection at the coordinates marked by reflect, with constant two.

        Equations
        Instances For
          noncomputable def MindFormal.reflectPath {I : Type u_1} [Fintype I] (R : PathReflection I) (T : NNReal) (p : NNReal → I → ℝ) :
          NNReal → I → ℝ

          The reflected path: a reflection of a continuous path restricted to [0,T], read on nonnegative time and frozen after T; the zero path when the input is not continuous.

          Equations
          Instances For
            theorem MindFormal.reflectPath_of_continuous {I : Type u_1} [Fintype I] (R : PathReflection I) (T : NNReal) {p : NNReal → I → ℝ} (hp : Continuous p) (t : NNReal) :
            reflectPath R T p t = (R.map (toHorizon T p hp)) (horizonPoint T t)
            theorem MindFormal.continuous_reflectPath {I : Type u_1} [Fintype I] (R : PathReflection I) (T : NNReal) (p : NNReal → I → ℝ) :

            The reflected path is continuous, whatever its input.

            theorem MindFormal.reflectPath_min {I : Type u_1} [Fintype I] (R : PathReflection I) (T : NNReal) (p : NNReal → I → ℝ) (t : NNReal) :
            reflectPath R T p (min t T) = reflectPath R T p t

            The reflected path is frozen after T.

            theorem MindFormal.reflectPath_error {I : Type u_1} [Fintype I] (R : PathReflection I) (T : NNReal) {p q : NNReal → I → ℝ} (hp : Continuous p) (hq : Continuous q) (t : NNReal) {δ : ℝ} (hd : 0 ≤ δ) (h : ∀ s ≤ t, ‖p s - q s‖ ≤ δ) :
            ‖reflectPath R T p t - reflectPath R T q t‖ ≤ ↑R.lip * δ

            The reflection is Lipschitz and causal: if two continuous inputs differ by at most δ up to t, their reflected paths differ by at most lip · δ at t.

            theorem MindFormal.reflectPath_norm_le {I : Type u_1} [Fintype I] (R : PathReflection I) (T : NNReal) {p : NNReal → I → ℝ} (hp : Continuous p) (t : NNReal) {δ : ℝ} (hd : 0 ≤ δ) (h : ∀ s ≤ t, ‖p s‖ ≤ δ) :
            ‖reflectPath R T p t‖ ≤ ↑R.lip * δ

            The reflected path of a continuous input that stays within δ up to t is within lip · δ at t.

            theorem MindFormal.continuous_map_eval {I : Type u_1} [Fintype I] (R : PathReflection I) (T : NNReal) (u : ↑(HorizonTime ↑T)) :
            Continuous fun (F : C(↑(HorizonTime ↑T), I → ℝ)) => (R.map F) u

            A reflection is continuous on the continuous paths of a horizon.

            theorem MindFormal.stronglyAdapted_reflectPath {I : Type u_1} [Fintype I] {Ω : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (R : PathReflection I) (T : NNReal) {U : NNReal → Ω → I → ℝ} (hU : MeasureTheory.StronglyAdapted ℱ U) (hcont : ∀ᵐ (ω : Ω) ∂μ, Continuous fun (s : NNReal) => U s ω) :
            MeasureTheory.StronglyAdapted ℱ fun (t : NNReal) (ω : Ω) => reflectPath R T (fun (s : NNReal) => U s ω) t

            The reflection of an adapted process is adapted, when its paths are continuous almost surely and every null set is known at time 0: at each time the reflected path reads the input only up to that time, through a map continuous on paths.

            The drift path #

            theorem MindFormal.measurable_clampTime {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (ℱ : MeasureTheory.Filtration NNReal mΩ) (t : NNReal) :
            Measurable fun (z : NNReal × Ω) => (min z.1 t, z.2)

            Clamping time at t is measurable from the product of the Borel sets and the information at t to the predictable σ-algebra: a predictable function read up to t is known at t.

            noncomputable def MindFormal.driftPath {Ω : Type u_1} {I : Type u_2} [NormedAddCommGroup I] [NormedSpace ℝ I] (β : NNReal × Ω → I) (T t : NNReal) (ω : Ω) :
            I

            The drift path ∫_{(0, t ∧ T]} β(s, ω) ds.

            Equations
            Instances For

              The drift path of a predictable rate is adapted.

              theorem MindFormal.continuous_driftPath {Ω : Type u_1} {I : Type u_2} [NormedAddCommGroup I] [NormedSpace ℝ I] {β : NNReal × Ω → I} (T : NNReal) {ω : Ω} (hβ : MeasureTheory.IntegrableOn (fun (s : NNReal) => β (s, ω)) (Set.Ioc 0 T) MathFin.ItoIntegralL2.timeMeasure) :
              Continuous fun (t : NNReal) => driftPath β T t ω

              The drift path is continuous wherever the rate is integrable over (0,T].

              theorem MindFormal.enorm_driftPath_le {Ω : Type u_1} {I : Type u_2} [NormedAddCommGroup I] [NormedSpace ℝ I] (β : NNReal × Ω → I) (T t : NNReal) (ω : Ω) :

              The drift path is at most the integral of the rate's size.

              theorem MindFormal.enorm_driftPath_sub_le {Ω : Type u_1} {I : Type u_2} [NormedAddCommGroup I] [NormedSpace ℝ I] {β β' : NNReal × Ω → I} (T t : NNReal) {ω : Ω} (hβ : MeasureTheory.IntegrableOn (fun (s : NNReal) => β (s, ω)) (Set.Ioc 0 T) MathFin.ItoIntegralL2.timeMeasure) (hβ' : MeasureTheory.IntegrableOn (fun (s : NNReal) => β' (s, ω)) (Set.Ioc 0 T) MathFin.ItoIntegralL2.timeMeasure) :

              Two drift paths differ by at most the integral of the size of the difference of the rates, where both rates are integrable.

              theorem MindFormal.stronglyMeasurable_coeff_comp {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {E : Type u_3} {F : Type u_4} [TopologicalSpace E] [TopologicalSpace.MetrizableSpace E] [MeasurableSpace E] [SecondCountableTopology E] [OpensMeasurableSpace E] [TopologicalSpace F] [TopologicalSpace.PseudoMetrizableSpace F] {c : NNReal × Ω → E → F} (hmeas : ∀ (x : E), MeasureTheory.StronglyMeasurable fun (z : NNReal × Ω) => c z x) (hcont : ∀ (z : NNReal × Ω), Continuous (c z)) {X : NNReal × Ω → E} (hX : Measurable X) :
              MeasureTheory.StronglyMeasurable fun (z : NNReal × Ω) => c z (X z)

              A coefficient predictable in (s, ω) and continuous in the state, composed with a predictable state, is predictable.