MindFormal v1.0.0One Mind

MathFin.Foundations.ItoIntegralBrownian

The Itô integral of Brownian motion: ∫₀ᵀ B dB = ½(B_T² − B₀² − T) via the CLM #

This is the keystone consumer of the continuous Itô integral ItoIntegralCLM.itoIntegralCLM_T. Until now the library held two unconnected notions of ∫₀ᵀ B dB: the abstract CLM (built at 733 LOC) and the concrete quadratic-variation limit ½(B_T² − B₀² − T) (itoSquared_L2_tendsto_div2), with no theorem bridging them — and the CLM had zero consumers. This file bridges them: the CLM, evaluated on the Itô-L² realisation of the integrand s ↦ B_s, equals ½(B_T² − B₀² − T).

The boundedness obstruction (and its honest resolution) #

Degenne's SimpleProcess requires uniformly bounded coefficients (bounded_value). The natural left-endpoint integrand coefficient B_{t_k} is an unbounded Gaussian, so ∑ B_{t_k}·ΔB_k is not the elementary integral of any simple process. We therefore work with the truncated left-endpoint process ∑ clamp_M(B_{t_k})·𝟙_{(t_k,t_{k+1}]} (a genuine bounded simple process), and recover the untruncated Riemann sum in the L² limit via the unbounded-L² discrete isometry (ItoIsometryAdapted.ito_isometry_discrete, which needs only adapted + L², not boundedness). This truncation is not a device — it is exactly how the Itô integral is defined for unbounded integrands.

Architecture #

  1. clampM — truncation to [−M, M]; bounded, measurable, 𝓕-preserving.
  2. stepSP — a single bounded adapted step φ·𝟙_{(a,b]} as a TBoundedSP.
  3. truncStep n M — the truncated left-endpoint process over unifPart T n.
  4. itoSimple (truncStep n M) = ∑ clamp_M(B_{t_k})·ΔB_k — the truncated sum.
  5. CLM evaluates: itoIntegralCLM_T (simpleAssembly_T (truncStep n M)) is that sum's L² class (extendOfNorm_eq + the assembly isometry).
  6. The truncated sums converge in L² to ½(B_T² − B₀² − T) (itoSquared_L2_tendsto_div2 + the truncation error → 0).
  7. By the isometry the embeddings are Cauchy in the predictable L²; their limit g_B is the Itô-L² realisation of s ↦ B_s.
  8. itoIntegralCLM_T g_B = ½·⟦B_T² − B₀² − T⟧ — the keystone.

Truncation to [−M, M] #

noncomputable def MathFin.ItoIntegralBrownian.clampM (M x : ℝ) :

Truncation of a real to [−M, M].

Equations
Instances For
    @[simp]
    theorem MathFin.ItoIntegralBrownian.clampM_abs_le {M : ℝ} (hM : 0 ≤ M) (x : ℝ) :

    The clamp map clampM M is measurable (a composition of continuous truncations).

    theorem MathFin.ItoIntegralBrownian.measurable_clampM_comp {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} {a : NNReal} (hBmeas : ∀ (t : NNReal), Measurable (B t)) {M : ℝ} {f : Ω → ℝ} (hf : Measurable f) :
    Measurable fun (ω : Ω) => clampM M (f ω)

    clamp_M(B_a) is 𝓕_a-measurable when B_a is.

    A single bounded adapted step φ·𝟙_{(a,b]} #

    noncomputable def MathFin.ItoIntegralBrownian.stepSP {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} {T : NNReal} (hBmeas : ∀ (t : NNReal), Measurable (B t)) {a b : NNReal} (hab : a ≤ b) (hbT : b ≤ T) {φ : Ω → ℝ} (hφ : Measurable φ) {M : ℝ} (hφM : ∀ (ω : Ω), |φ ω| ≤ M) :

    The single-step simple process φ · 𝟙_{(a,b]} with φ bounded by M and 𝓕_a-measurable. Its terminal Itô integral is φ·(B_b − B_a).

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MathFin.ItoIntegralBrownian.itoSimple_stepSP {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} {T : NNReal} (hBmeas : ∀ (t : NNReal), Measurable (B t)) {a b : NNReal} (hab : a ≤ b) (hbT : b ≤ T) {φ : Ω → ℝ} (hφ : Measurable φ) {M : ℝ} (hφM : ∀ (ω : Ω), |φ ω| ≤ M) (ω : Ω) :
      ItoIntegralL2.itoSimple hBmeas (↑(stepSP hBmeas hab hbT hφ hφM)) ω = φ ω * (B b ω - B a ω)

      The terminal Itô integral of a single step is φ·(B_b − B_a).

      The uniform partition and adaptedness of B to its own filtration #

      The uniform partition points unifPart T n = (k/n)·T are monotone in k.

      A partition point unifPart T n j ≤ T whenever j ≤ n.

      theorem MathFin.ItoIntegralBrownian.measurable_eval_natFiltration {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) (s : NNReal) :

      B s is measurable with respect to the natural filtration at s: the natural filtration at s is ⨆ j ≤ s, comap (B j), which contains comap (B s).

      The truncated left-endpoint process #

      noncomputable def MathFin.ItoIntegralBrownian.truncStep {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n m : ℕ) :

      The truncated left-endpoint step process over the uniform partition of [0,T] into n pieces, with coefficients clamped to [−m, m]: ∑_{k<n} clamp_m(B_{t_k}) · 𝟙_{(t_k, t_{k+1}]}, t_k = unifPart T n k. A genuine bounded TBoundedSP (the clamp is what makes it bounded — B_{t_k} itself is not). Indexed over (range n).attach so each step sees k < n for t_{k+1} ≤ T.

      Equations
      Instances For
        noncomputable def MathFin.ItoIntegralBrownian.truncRiemannFn {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (_hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n m : ℕ) (ω : Ω) :

        The truncated left-endpoint Riemann sum as a function: ∑_{k<n} clamp_m(B_{t_k})·(B_{t_{k+1}} − B_{t_k}).

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MathFin.ItoIntegralBrownian.itoSimple_sum {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) {ι' : Type u_2} (s : Finset ι') (V : ι' → ProbabilityTheory.SimpleProcess ℝ (ItoIntegralL2.natFiltration hBmeas)) :
          ItoIntegralL2.itoSimple hBmeas (∑ i ∈ s, V i) = ∑ i ∈ s, ItoIntegralL2.itoSimple hBmeas (V i)

          The elementary Itô integral is additive over a finite sum of simple processes.

          theorem MathFin.ItoIntegralBrownian.itoSimple_truncStep {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n m : ℕ) (ω : Ω) :
          ItoIntegralL2.itoSimple hBmeas (↑(truncStep hBmeas T n m)) ω = truncRiemannFn hBmeas T n m ω

          The truncated step process integrates to the truncated Riemann sum.

          L² truncation primitives #

          B s is in L²(μ) (a centered Gaussian).

          theorem MathFin.ItoIntegralBrownian.adaptedAt_clampM {Ω : Type u_1} {B : NNReal → Ω → ℝ} {t₀ : NNReal} {φ : Ω → ℝ} (M : ℝ) (hφ : ItoIsometryAdapted.AdaptedAt B t₀ φ) :
          ItoIsometryAdapted.AdaptedAt B t₀ fun (ω : Ω) => clampM M (φ ω)

          clampM preserves adaptedness: clamping an 𝓕_{t₀}-adapted coefficient keeps it adapted.

          clamp_M(x) = x once |x| ≤ M.

          clampM is nonexpansive toward 0: |clamp_M(x) − x| ≤ |x|.

          theorem MathFin.ItoIntegralBrownian.tendsto_clampM_sub_sq_integral {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {X : Ω → ℝ} (hX : MeasureTheory.MemLp X 2 μ) :
          Filter.Tendsto (fun (m : ℕ) => ∫ (ω : Ω), (clampM (↑m) (X ω) - X ω) ^ 2 ∂μ) Filter.atTop (nhds 0)

          The truncation error vanishes in L². For X ∈ L²(μ), ∫ (clamp_m(X) − X)² ∂μ → 0 as m → ∞. Dominated convergence: the integrand is dominated by X² and tends pointwise to 0 (clamp_m(X) = X once m ≥ |X|).

          Convergence of the truncated Riemann sums to ½(B_T² − B₀² − T) #

          noncomputable def MathFin.ItoIntegralBrownian.riemannFn {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (_hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n : ℕ) (ω : Ω) :

          The untruncated left-endpoint Riemann sum ∑_{k<n} B_{t_k}·ΔB_k.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MathFin.ItoIntegralBrownian.memLp_truncRiemannFn {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n m : ℕ) :

            MemLp of the truncated Riemann sum (finite sum of adapted·increment L² terms).

            theorem MathFin.ItoIntegralBrownian.memLp_riemannFn {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n : ℕ) :
            MeasureTheory.MemLp (riemannFn hBmeas T n) 2 μ

            MemLp of the untruncated Riemann sum.

            The CLM evaluated on truncStep is the truncated Riemann sum's L² class. This is where itoIntegralCLM_T gets a genuine consumer: the continuous Itô integral of the bounded step process is, by construction (extendOfNorm_eq + the assembly isometry), the L² class of ∑ clamp_m(B_{t_k})·ΔB_k.

            theorem MathFin.ItoIntegralBrownian.truncRiemannFn_sub_riemannFn {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n m : ℕ) (ω : Ω) :
            truncRiemannFn hBmeas T n m ω - riemannFn hBmeas T n ω = ∑ k ∈ Finset.range n, (clampM (↑m) (B (QuadraticVariationL2.unifPart T n k) ω) - B (QuadraticVariationL2.unifPart T n k) ω) * (B (QuadraticVariationL2.unifPart T n (k + 1)) ω - B (QuadraticVariationL2.unifPart T n k) ω)

            The truncated minus untruncated Riemann sum is the increment sum of the clamp errors.

            theorem MathFin.ItoIntegralBrownian.integral_truncRiemann_sub_sq {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n m : ℕ) :
            ∫ (ω : Ω), (truncRiemannFn hBmeas T n m ω - riemannFn hBmeas T n ω) ^ 2 ∂μ = ∑ k ∈ Finset.range n, (∫ (ω : Ω), (clampM (↑m) (B (QuadraticVariationL2.unifPart T n k) ω) - B (QuadraticVariationL2.unifPart T n k) ω) ^ 2 ∂μ) * (↑(QuadraticVariationL2.unifPart T n (k + 1)) - ↑(QuadraticVariationL2.unifPart T n k))

            The truncation error as a variance sum (Itô isometry).

            theorem MathFin.ItoIntegralBrownian.tendsto_integral_truncRiemann_sub_sq {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) (n : ℕ) :
            Filter.Tendsto (fun (m : ℕ) => ∫ (ω : Ω), (truncRiemannFn hBmeas T n m ω - riemannFn hBmeas T n ω) ^ 2 ∂μ) Filter.atTop (nhds 0)

            For each n, the truncation error → 0 as m → ∞ (a finite sum of clamp-error integrals, each vanishing by tendsto_clampM_sub_sq_integral).

            The limit ½(B_T² − B₀² − T) as an L² element #

            theorem MathFin.ItoIntegralBrownian.eval_zero_ae {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) :
            B 0 =ᵐ[μ] 0

            B 0 = 0 a.s. (its second moment ∫ (B 0)² = 0).

            theorem MathFin.ItoIntegralBrownian.memLp_halfD {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) :
            MeasureTheory.MemLp (fun (ω : Ω) => 1 / 2 * (B T ω ^ 2 - B 0 ω ^ 2 - ↑T)) 2 μ

            MemLp of the keystone limit ½(B_T² − B₀² − T) (= ½(B_T² − T) a.s. since B₀ = 0), via the centered squared increment (B_T − B₀)² − T ∈ L².

            theorem MathFin.ItoIntegralBrownian.lp_dist_sq {α : Type u_2} {m : MeasurableSpace α} {ν : MeasureTheory.Measure α} {f g : α → ℝ} (hf : MeasureTheory.MemLp f 2 ν) (hg : MeasureTheory.MemLp g 2 ν) :

            The squared L²-distance of two toLp classes is the integral of the squared difference, for any measure ν.

            theorem MathFin.ItoIntegralBrownian.tendsto_norm_toLp_sub {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {F G : ℕ → Ω → ℝ} (hF : ∀ (n : ℕ), MeasureTheory.MemLp (F n) 2 μ) (hG : ∀ (n : ℕ), MeasureTheory.MemLp (G n) 2 μ) (h : Filter.Tendsto (fun (n : ℕ) => ∫ (ω : Ω), (F n ω - G n ω) ^ 2 ∂μ) Filter.atTop (nhds 0)) :

            If ∫ (Fₙ − Gₙ)² → 0 then the L² classes converge: ‖⟦Fₙ⟧ − ⟦Gₙ⟧‖ → 0.

            theorem MathFin.ItoIntegralBrownian.itoIntegralCLM_T_brownian {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal) :
            ∃ (gB : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))), (ItoIntegralCLM.itoIntegralCLM_T hB T hBmeas) gB = MeasureTheory.MemLp.toLp (fun (ω : Ω) => 1 / 2 * (B T ω ^ 2 - B 0 ω ^ 2 - ↑T)) ⋯

            Keystone: ∫₀ᵀ B dB = ½(B_T² − B₀² − T) through the CLM. There is an Itô-L² integrand gB — the trim_T-limit of the truncated left-endpoint approximations of s ↦ Bₛ — whose continuous Itô integral itoIntegralCLM_T gB equals ½(B_T² − B₀² − T). This gives the 733-LOC itoIntegralCLM_T its first genuine consumer and bridges the abstract CLM integral to the concrete quadratic-variation limit (itoSquared_L2_tendsto_div2). The unbounded Gaussian coefficients B_{t_k} are handled by clamp-truncation; the truncation error vanishes by the unbounded-L² discrete isometry.