MindFormal v1.0.0One Mind

MindFormal.Tools.BrownianMaximal

02.20 RP6, RP9--RP10: constant additive Brownian amplitudes only. Continuous Brownian existence is the external standard theorem described in BrownianData; Brownian bounds here take supplied IsBrownianReal data. Countable measurable versions handle evaluations without assuming a complete realization measure. The exponential martingale is proved from the increment laws and independence, before using the discrete maximal inequality.

theorem MindFormal.gaussian_exponential_integrable {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {X : Ω → ℝ} {v : NNReal} (hX : ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal 0 v) μ) (z c : ℝ) :
MeasureTheory.Integrable (fun (ω : Ω) => Real.exp (z * X ω - c)) μ

02.20 RP6. For a real random variable of centered Gaussian law with nonnegative variance v under any measure, and arbitrary real parameters z,c, exp(z X-c) is integrable. The Gaussian law is supplied; no exponential integrability conclusion is a hypothesis.

theorem MindFormal.gaussian_exponential_mean {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {X : Ω → ℝ} {v : NNReal} (hX : ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal 0 v) μ) (z c : ℝ) :
∫ (ω : Ω), Real.exp (z * X ω - c) ∂μ = Real.exp (↑v * z ^ 2 / 2 - c)

02.20 RP6. Under a supplied centered real Gaussian law of nonnegative variance v, the expectation of exp(z X-c), for arbitrary real z,c, equals exp(v z^2/2-c). No probability or completeness instance beyond that law is needed for this expectation identity.

theorem MindFormal.brownian_sample_increment_independent {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (t : ℕ → NNReal) (ht : Monotone t) (Y : ℕ → Ω → ℝ) (he : ∀ (n : ℕ), Y n =ᵐ[μ] B (t n)) (n : ℕ) :
ProbabilityTheory.IndepFun (fun (ω : Ω) => Y (n + 1) ω - Y n ω) (fun (ω : Ω) (k : ↑(Set.Iic n)) => Y (↑k) ω) μ

02.20 RP6. For a supplied Brownian process, a nondecreasing sequence of nonnegative sample times, and real evaluations Y equal almost surely to the sampled process at each index, every next increment of Y is independent of its entire sampled past through the current natural index. The versions are arbitrary; neither measure completeness nor a martingale assumption is required.

theorem MindFormal.brownian_sample_exponential_martingale {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (t : ℕ → NNReal) (ht : Monotone t) (Y : ℕ → Ω → ℝ) (hY : ∀ (n : ℕ), Measurable (Y n)) (he : ∀ (n : ℕ), Y n =ᵐ[μ] B (t n)) (z : ℝ) :
MeasureTheory.Martingale (fun (n : ℕ) (ω : Ω) => Real.exp (z * Y n ω - z ^ 2 * ↑(t n) / 2)) (MeasureTheory.Filtration.natural Y ⋯) μ

02.20 RP6. On a probability space with a supplied Brownian process, any nondecreasing sequence of nonnegative times and measurable versions Y of its evaluations produce the exponential martingale exp(z Y_n-z^2 t_n/2) in Y's natural filtration, for every real z. Versions are specified only by measurability and equality almost surely; the martingale property is derived from Gaussian increment laws and independence. The amplitude is constant.

theorem MindFormal.discrete_maximal_mul_measure {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] {ℱ : MeasureTheory.Filtration ℕ inst✝} {f : ℕ → Ω → ℝ} (hf : MeasureTheory.Submartingale f ℱ μ) (hn : 0 ≤ f) {e : ℝ} (he : 0 < e) (n : ℕ) :
e * μ.real {ω : Ω | ∃ k ≤ n, e ≤ f k ω} ≤ ∫ (ω : Ω), f n ω ∂μ

02.20 RP6, discrete step. For any nonnegative real submartingale on a finite measure space, any strictly positive real threshold e and any natural terminal index n, e times the probability (real measure) of reaching e by n is at most the terminal expectation. This is derived from Mathlib's audited discrete maximal_ineq and does not assert a continuous-time maximum.

theorem MindFormal.brownian_sample_maximal {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (t : ℕ → NNReal) (ht : Monotone t) (n : ℕ) (H : NNReal) (hH : ∀ k ≤ n, t k ≤ H) (a z : ℝ) (hz : 0 < z) :
μ.real {ω : Ω | ∃ k ≤ n, a ≤ B (t k) ω} ≤ Real.exp (-z * a + z ^ 2 * ↑H / 2)

02.20 RP6, finite-grid step for a constant amplitude. On a probability space with a supplied Brownian process, any nondecreasing nonnegative sample times t, horizon H bounding t through index n, arbitrary real level a and positive exponential parameter z satisfy P(exists k<=n, a<=B(t_k)) <= exp(-z a+z^2 H/2). Measurable versions are constructed internally; no complete measure, maximum inequality or martingale property is assumed.

theorem MindFormal.brownian_finset_maximal {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (s : Finset NNReal) (H : NNReal) (hH : ∀ t ∈ s, t ≤ H) (a z : ℝ) (hz : 0 < z) :
μ.real {ω : Ω | ∃ t ∈ s, a ≤ B t ω} ≤ Real.exp (-z * a + z ^ 2 * ↑H / 2)

02.20 RP6, arbitrary finite grids. A supplied Brownian process on a probability space, a finite set s of nonnegative times bounded by H, an arbitrary real level a and a positive real z obey the exponential one-sided maximum bound on s. The proof sorts s, extends the time list constantly, and uses the proved sampled exponential martingale and discrete maximal bound.

theorem MindFormal.brownian_countable_maximal {Ω : Type u_1} {C : Type u_2} [MeasurableSpace Ω] [Countable C] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (d : C → NNReal) (H : NNReal) (hH : ∀ (c : C), d c ≤ H) (a z : ℝ) (hz : 0 < z) :
μ.real {ω : Ω | ∃ (c : C), a ≤ B (d c) ω} ≤ Real.exp (-z * a + z ^ 2 * ↑H / 2)

02.20 RP6, limit of grids. For a supplied Brownian process on a probability space, any countable family d of nonnegative times bounded by H, an arbitrary real level a and positive z obey the same one-sided exponential bound. No independence between sampled times is assumed. Continuity of measure over the directed union of finite subgrids proves this limit.

02.20 RP6: rational sample times clipped to the finite horizon [0,H].

Equations
Instances For
    theorem MindFormal.continuous_crossing_rational_grid {f : NNReal → ℝ} (hf : Continuous f) (H : NNReal) (a : ℝ) :
    (∃ t ≤ H, a < f t) ↔ ∃ (q : ℚ), a < f (rationalGridTime H q)

    02.20 RP6, density step. For a continuous real path on nonnegative time, a nonnegative horizon H and any real level a, a strict crossing through H occurs exactly when it occurs on a rational grid clipped at 0 and H. No probabilistic premise or uniform continuity hypothesis is needed.

    theorem MindFormal.brownian_continuous_exponential_bound {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (H : NNReal) (a z : ℝ) (hz : 0 < z) :
    μ.real {ω : Ω | ∃ t ≤ H, a ≤ B t ω} ≤ Real.exp (-z * a + z ^ 2 * ↑H / 2)

    02.20 RP6, continuous-time one-sided exponential estimate. On a probability space with supplied IsBrownianReal data, for any nonnegative H, real a and positive real z, P(exists t<=H, a<=B_t) <= exp(-z a+z^2 H/2). The proof passes through finite rational grids, continuity of measure and almost-sure path continuity; the closed threshold is obtained as levels increase to a. No completeness or continuous-time maximal theorem is assumed.

    theorem MindFormal.brownian_continuous_one_sided {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (H : NNReal) (hH : 0 < H) (a : ℝ) (ha : 0 < a) :
    μ.real {ω : Ω | ∃ t ≤ H, a ≤ B t ω} ≤ Real.exp (-a ^ 2 / (2 * ↑H))

    02.20 RP6. For a supplied Brownian process on a probability space, positive horizon H and positive real level a, the probability of reaching a before H is at most exp(-a^2/(2H)). Optimization of the proved continuous-time exponential estimate supplies the bound; no passage probability is assumed.

    theorem MindFormal.brownian_continuous_absolute {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (H : NNReal) (hH : 0 < H) (a : ℝ) (ha : 0 < a) :
    μ.real {ω : Ω | ∃ t ≤ H, a ≤ |B t ω|} ≤ 2 * Real.exp (-a ^ 2 / (2 * ↑H))

    02.20 RP6. For a supplied Brownian process on a probability space, positive horizon H and positive level a, P(exists t<=H, abs(B_t)>=a) is at most 2 exp(-a^2/(2H)). The two signs use the proved one-sided bound and the union bound, without an independence premise between them.

    noncomputable def MindFormal.pathSupAbs {Ω : Type u_1} (B : NNReal → Ω → ℝ) (H : NNReal) (G : ℝ) (ω : Ω) :

    02.20 RP6: supremum of a constantly loaded scalar path on [0,H].

    Equations
    Instances For
      theorem MindFormal.continuous_sup_crossing_iff {f : NNReal → ℝ} (hf : Continuous f) (H : NNReal) (a : ℝ) :
      a ≤ sSup (f '' Set.Icc 0 H) ↔ ∃ t ≤ H, a ≤ f t

      02.20 RP6, compact maximum. For any continuous real path on nonnegative time, a nonnegative horizon H and real level a, the interval supremum reaches a exactly when the path reaches a at some time through H. Continuity supplies boundedness and attainment, including the zero horizon.

      theorem MindFormal.brownian_maximal_bound {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsBrownianReal B μ) (H : NNReal) (hH : 0 < H) (G a : ℝ) (hG : 0 < G) (ha : 0 < a) :
      μ.real {ω : Ω | a ≤ pathSupAbs B H G ω} ≤ 2 * Real.exp (-a ^ 2 / (2 * G ^ 2 * ↑H))

      02.20 RP6, requested constant-loading bound. On a probability space with a supplied continuous Brownian coordinate, positive horizon H, positive constant loading G and positive level a, P(sup_[0,H] abs(G B)>=a) is at most 2 exp(-a^2/(2 G^2 H)). The supremum is over all nonnegative times through H. No completeness, coordinate independence, or maximal estimate is assumed.