MindFormal v1.0.0One Mind

MindFormal.Tools.BoxNoise

The exponential stray bound for an integrand bounded up to a stopping time, and noise that depends on the state stopped where the state leaves a box, as a case of the noise interface whose failure is the exponential one.

An integrand whose entries' squares sum to at most σ² almost everywhere has, on almost every path, squared size at most σ² H over (0, H]; so by the exponential bound (ItoExponential) its vector integral reaches a in absolute value by H with chance at most 2 exp(-a²/(2σ²H)). The integral stopped at a stopping time is the integral of the integrand cut there (ItoStopping), so the same holds when the bound is only up to the stopping time.

The box: a half-width wᵢ for each coordinate. Its exit is the native event of the guards |Xᵢ| - wᵢ read from the state of StateNoise (NativeTimes), a stopping time; at positive times up to it the state is in the box. When the amplitude's row i has squared size at most Gᵢ² on the box, the driver stopped at the exit meets NoiseDriver with failure Σᵢ 2 exp(-allow(a)ᵢ²/(2 Gᵢ² H)), and up to the exit it is the state's own driver.

theorem MindFormal.ItoFiltration.sqIntegral_le_of_path {Ω : Type u_1} {J : Type u_2} [Fintype J] (f : NNReal × Ω → J → ℝ) {H : NNReal} {σ : ℝ} (ω : Ω) (hf : ∀ᵐ (s : NNReal) ∂MathFin.ItoIntegralL2.timeMeasure.restrict (Set.Ioc 0 H), ∑ k : J, f (s, ω) k ^ 2 ≤ σ ^ 2) :
sqIntegral H f ω ≤ ENNReal.ofReal (σ ^ 2 * ↑H)

A loading bound along one path bounds its bracket. No bound outside that path, or conditioning on a future enclosure, is involved.

theorem MindFormal.ItoFiltration.sqIntegral_le_of_ae {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] {T : NNReal} (f : J → ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))) {σ : ℝ} (hf : ∀ᵐ (z : NNReal × Ω) ∂predMeasure ℱ μ T, ∑ k : J, ↑↑(f k) z ^ 2 ≤ σ ^ 2) {H : NNReal} (hH : H ≤ T) :
∀ᵐ (ω : Ω) ∂μ, sqIntegral H (fun (z : NNReal × Ω) (k : J) => ↑↑(f k) z) ω ≤ ENNReal.ofReal (σ ^ 2 * ↑H)

A bound holding almost everywhere for the integrand measure bounds the squared size over (0, H] on almost every path.

theorem MindFormal.ItoFiltration.itoVecCont_exp_bounded {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) {T : NNReal} (f : J → ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))) {σ : ℝ} (hσ : 0 < σ) (hf : ∀ᵐ (z : NNReal × Ω) ∂predMeasure ℱ μ T, ∑ k : J, ↑↑(f k) z ^ 2 ≤ σ ^ 2) (H : NNReal) {a : ℝ} (ha : 0 < a) :
μ.real {ω : Ω | ∃ t ≤ H, a ≤ |itoVecCont B T f t ω|} ≤ 2 * Real.exp (-a ^ 2 / (2 * (σ ^ 2 * ↑H)))

The exponential stray bound for a bounded integrand: when the squares of the integrand's entries sum to at most σ² almost everywhere, |Σₖ ∫₀ᵗ fₖ dBᵏ| reaches a > 0 by H with chance at most 2 exp(-a²/(2σ²H)).

theorem MindFormal.ItoFiltration.itoVecCont_exp_stopped {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) {T : NNReal} (f : J → ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))) {τ : Ω → WithTop NNReal} (hτ : MeasureTheory.IsStoppingTime ℱ τ) {σ : ℝ} (hσ : 0 < σ) (hf : ∀ᵐ (z : NNReal × Ω) ∂predMeasure ℱ μ T, z ∈ stopSet τ → ∑ k : J, ↑↑(f k) z ^ 2 ≤ σ ^ 2) (H : NNReal) {a : ℝ} (ha : 0 < a) :
μ.real {ω : Ω | ∃ t ≤ H, a ≤ |MeasureTheory.stoppedProcess (itoVecCont B T f) τ t ω|} ≤ 2 * Real.exp (-a ^ 2 / (2 * (σ ^ 2 * ↑H)))

The exponential stray bound up to a stopping time: when the squares of the integrand's entries sum to at most σ² up to a stopping time τ, the integral stopped at τ reaches a > 0 in absolute value by H with chance at most 2 exp(-a²/(2σ²H)).

The box and its exit #

structure MindFormal.ItoFiltration.BoxNoise {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) (ℱ : MeasureTheory.Filtration NNReal mΩ) (I : Type u_3) (J : Type u_4) [Fintype I] [Fintype J] :
Type (max (max u_1 u_3) u_4)

Noise that depends on the state, stopped where the state leaves a box: the data of StateNoise, a half-width for each coordinate, and for each row of the amplitude a bound Gᵢ > 0 on its squared size over the box.

  • base : StateNoise μ ℱ I J
  • box : I → ℝ

    The half-width of the box in each coordinate.

  • bound : I → ℝ

    The bound on each row of the amplitude over the box.

  • bound_pos (i : I) : 0 < self.bound i
  • amp_le (z : NNReal × Ω) (x : I → ℝ) : (∀ (i : I), |x i| ≤ self.box i) → ∀ (i : I), ∑ k : J, self.base.coeff.amp z x i k ^ 2 ≤ self.bound i ^ 2
Instances For
    noncomputable def MindFormal.ItoFiltration.BoxNoise.guard {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) (t : NNReal) (ω : Ω) (i : I) :

    The guards of the box: |Xᵢ| - wᵢ, nonnegative where coordinate i reaches the box's edge.

    Equations
    Instances For
      noncomputable def MindFormal.ItoFiltration.BoxNoise.exit {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) :

      The exit from the box: the native event of the box's guards after time 0.

      Equations
      Instances For
        theorem MindFormal.ItoFiltration.BoxNoise.continuous_guard {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) [MeasureTheory.IsProbabilityMeasure μ] (ω : Ω) (i : I) :
        Continuous fun (t : NNReal) => N.guard t ω i

        The exit from the box is a stopping time.

        theorem MindFormal.ItoFiltration.BoxNoise.mem_box {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) [MeasureTheory.IsProbabilityMeasure μ] {ω : Ω} {s : NNReal} (hs0 : 0 < s) (hs : ↑s ≤ N.exit ω) (i : I) :
        |N.base.state s ω i| ≤ N.box i

        Up to the exit, at positive times, the state is in the box.

        noncomputable def MindFormal.ItoFiltration.BoxNoise.cutRow {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) [MeasureTheory.IsProbabilityMeasure μ] (i : I) (k : J) :

        The amplitude's row i, cut at the exit from the box.

        Equations
        Instances For
          theorem MindFormal.ItoFiltration.BoxNoise.cutRow_le {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) [MeasureTheory.IsProbabilityMeasure μ] (i : I) :
          ∀ᵐ (z : NNReal × Ω) ∂predMeasure ℱ μ N.base.horizon, ∑ k : J, ↑↑(N.cutRow i k) z ^ 2 ≤ N.bound i ^ 2

          Up to the exit, each row of the amplitude has squared size at most its bound.

          noncomputable def MindFormal.ItoFiltration.BoxNoise.driverPath {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) [MeasureTheory.IsProbabilityMeasure μ] (t : NNReal) (ω : Ω) (i : I) :

          The driver stopped at the exit from the box: coordinate i is the continuous version of Σₖ ∫₀^{t ∧ T} 1{s ≤ exit} σᵢₖ(s, X_s) dBᵏ; a row whose amplitude is identically zero drives nothing.

          Equations
          Instances For
            theorem MindFormal.ItoFiltration.BoxNoise.driverPath_of_amp_zero {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) [MeasureTheory.IsProbabilityMeasure μ] {i : I} (hi : ∀ (z : NNReal × Ω) (x : I → ℝ) (k : J), N.base.coeff.amp z x i k = 0) (t : NNReal) (ω : Ω) :
            N.driverPath t ω i = 0

            A row whose amplitude is identically zero drives nothing, on every path.

            theorem MindFormal.ItoFiltration.BoxNoise.driverPath_eq_of_le_exit {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) [MeasureTheory.IsProbabilityMeasure μ] :
            ∀ᵐ (ω : Ω) ∂μ, ∀ (t : NNReal) (i : I), ↑t ≤ N.exit ω → N.driverPath t ω i = N.base.driverPath t ω i

            Up to the exit, the stopped driver is the state's own driver, almost surely at all times.

            noncomputable def MindFormal.ItoFiltration.BoxNoise.driver {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {I : Type u_3} [Fintype I] [Fintype J] (N : BoxNoise μ ℱ I J) :
            NoiseDriver μ ℱ I J

            The stopped driver meets the noise interface with the exponential failure Σᵢ 2 exp(-allow(a)ᵢ²/(2 Gᵢ² H)).

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              @[reducible, inline]
              noncomputable abbrev MindFormal.ItoFiltration.boxCase (Ω : Type u_3) (I : Type u_4) (J : Type u_5) [MeasurableSpace Ω] [Fintype I] [Fintype J] :
              NoiseCase Ω I J

              The case of state-dependent noise stopped at a box's exit: its data are BoxNoise, its driver the state's noise stopped where the state leaves the box.

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