MindFormal v1.0.0One Mind

MindFormal.Tools.LoadedBrownian

A constant loading of independent Brownian sources, one coordinate at a time. When the sources' whole paths are independent, a row Σⱼ aⱼ Bʲ of a constant loading divided by its Euclidean norm is a standard Brownian motion; its excursion over a horizon therefore has a single source's exponential bound with variance the row's squared norm, 2·exp(−b²/(2‖a‖²H)). Summed over the coordinates of a loading matrix this is the per-coordinate bound of a correlated sum, the certificate (C8)/(OC4)/(SI2) charges; no stochastic integral enters.

def MindFormal.loadedSum {Ω : Type u_1} {J : Type u_2} [Fintype J] (a : J → ℝ) (B : J → NNReal → Ω → ℝ) (t : NNReal) (z : Ω) :

A row of a constant loading: Σⱼ aⱼ Bʲ_t at the sample z.

Equations
Instances For
    def MindFormal.loadNormSq {J : Type u_2} [Fintype J] (a : J → ℝ) :

    The squared Euclidean norm of a loading row.

    Equations
    Instances For
      theorem MindFormal.loadNormSq_nonneg {J : Type u_2} [Fintype J] (a : J → ℝ) :
      theorem MindFormal.eq_zero_of_loadNormSq_eq_zero {J : Type u_2} [Fintype J] {a : J → ℝ} (h : loadNormSq a = 0) (j : J) :
      a j = 0

      A loading row with zero squared norm is zero.

      theorem MindFormal.loaded_isGaussianProcess {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} {B : J → NNReal → Ω → ℝ} (hB : ∀ (j : J), ProbabilityTheory.IsBrownianReal (B j) μ) (hind : ProbabilityTheory.iIndepFun (fun (j : J) (z : Ω) (t : NNReal) => B j t z) μ) (a : J → ℝ) (c : ℝ) :
      ProbabilityTheory.IsGaussianProcess (fun (t : NNReal) (z : Ω) => c * loadedSum a B t z) μ

      Any multiple of a row of independent Brownian sources is a Gaussian process: its values at finitely many times are a linear image of the sources' values there, which are jointly Gaussian because the sources are independent and each is Gaussian.

      The time-t value of a Brownian source is square integrable.

      theorem MindFormal.loaded_covariance {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : J → NNReal → Ω → ℝ} (hB : ∀ (j : J), ProbabilityTheory.IsBrownianReal (B j) μ) (hind : ProbabilityTheory.iIndepFun (fun (j : J) (z : Ω) (t : NNReal) => B j t z) μ) (a : J → ℝ) {s t : NNReal} (hst : s ≤ t) :

      The covariance of two values of a loaded row: for s ≤ t, Cov(Σaⱼ Bʲ_s, Σaⱼ Bʲ_t) = ‖a‖²s, the cross terms of different sources vanishing by independence.

      theorem MindFormal.loaded_isBrownianReal {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : J → NNReal → Ω → ℝ} (hB : ∀ (j : J), ProbabilityTheory.IsBrownianReal (B j) μ) (hind : ProbabilityTheory.iIndepFun (fun (j : J) (z : Ω) (t : NNReal) => B j t z) μ) (a : J → ℝ) (ha : 0 < loadNormSq a) :
      ProbabilityTheory.IsBrownianReal (fun (t : NNReal) (z : Ω) => (√(loadNormSq a))⁻¹ * loadedSum a B t z) μ

      A row of a constant loading of independent Brownian sources, divided by its Euclidean norm, is a standard Brownian motion.

      theorem MindFormal.loaded_excursion {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} {B : J → NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hB : ∀ (j : J), ProbabilityTheory.IsBrownianReal (B j) μ) (hind : ProbabilityTheory.iIndepFun (fun (j : J) (z : Ω) (t : NNReal) => B j t z) μ) (a : J → ℝ) (H : NNReal) (hH : 0 < H) {b : ℝ} (hb : 0 < b) :
      μ.real {z : Ω | ∃ t ≤ H, b ≤ |loadedSum a B t z|} ≤ if loadNormSq a = 0 then 0 else 2 * Real.exp (-(b ^ 2 / (2 * loadNormSq a * ↑H)))

      The per-coordinate excursion bound of a constant loading: for independent Brownian sources, a row a, a positive horizon H and a positive level b, the chance that |Σⱼ aⱼ Bʲ| reaches b by H is at most 2·exp(−b²/(2‖a‖²H)) (no chance at all for a zero row).

      theorem MindFormal.loaded_excursion_union {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} {D : Type u_3} [Fintype D] {B : J → NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hB : ∀ (j : J), ProbabilityTheory.IsBrownianReal (B j) μ) (hind : ProbabilityTheory.iIndepFun (fun (j : J) (z : Ω) (t : NNReal) => B j t z) μ) (M : D → J → ℝ) (H : NNReal) (hH : 0 < H) (b G : D → ℝ) (hb : ∀ (d : D), 0 < b d) (hG : ∀ (d : D), √(loadNormSq (M d)) ≤ G d) :
      μ.real {z : Ω | ∃ (d : D), ∃ t ≤ H, b d ≤ |loadedSum (M d) B t z|} ≤ ∑ d : D with M d ≠ 0, 2 * Real.exp (-(b d ^ 2 / (2 * G d ^ 2 * ↑H)))

      The certificate over every coordinate of a constant loading matrix: for independent Brownian sources, a horizon H > 0, positive levels b_d and bounds G_d ≥ ‖M_d‖ on the rows' Euclidean norms, the chance that some coordinate's loaded sum reaches its level by H is at most Σ over the rows that are not zero of 2·exp(−b_d²/(2G_d²H)). Correlations between rows are allowed: the union bound needs no independence between coordinates.