Samplinglib
Lean gate not recorded for this source state main · 9bb7a7394ab0
Samplinglib mathematical lesson

Dyadic scalar Brownian quadratic variation converges in mean square

AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.BrownianQuadraticVariationL2.tendsto_integral_dyadic_quadraticVariationError_sq · theorem · Teaching coverage

Read this first

Mathematical statement

Let B be a real pre-Brownian process and T≥0. On the regular partition of [0,T] into 2^m equal cells, the expected square of the sum of squared increments minus their cell lengths tends to zero as m tends to infinity.

\[\lim_{m\to\infty}\mathbb E\left[\left(\sum_{i=0}^{2^m-1}((B_{(i+1)T/2^m}-B_{iT/2^m})^2-T/2^m)\right)^2\right]=0\]
Lean statement · tendsto_integral_dyadic_quadraticVariationError_sq

The theorem quantifies over every nonnegative horizon and uses the canonical regular grid with 2^level cells, keeping IsPreBrownianReal explicit.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem tendsto_integral_dyadic_quadraticVariationError_sq
    (hB : IsPreBrownianReal B mu) (T : ℝ≥0) :
    Tendsto
      (fun level =>
        ∫ omega,
          (quadraticVariationError B
            (regularGridTimes (dyadicMesh T level) (2 ^ level)) omega) ^ 2 ∂mu)
      atTop (nhds 0)

Exact module and namespace context

Proof roadmap

  1. 1Specialize the finite-grid identity

    Apply the exact finite-grid L² theorem to the regular grid with 2^m cells and mesh δ_m=T/2^m.

  2. 2Evaluate equal cell lengths

    Every adjacent difference in the regular grid is exactly δ_m. The sum of 2^m equal squared lengths simplifies to Tδ_m.

  3. 3Let the dyadic mesh vanish

    The canonical dyadic mesh tends to zero. Multiplication by the fixed nonnegative scalar 2T preserves the limit, so the exact error moment tends to zero.

Full assumptions and notation

All objects and hypotheses

  • B satisfies Samplinglib's real pre-Brownian contract under μ.
  • T is an arbitrary nonnegative real horizon; the theorem includes T=0.
  • The grids are canonical deterministic dyadic regular grids. No filtration, adaptedness, usual conditions, or positive-horizon assumption is required.

Mathematical proof

1. Specialize the finite-grid identity

Apply the exact finite-grid L² theorem to the regular grid with 2^m cells and mesh δ_m=T/2^m.

\[\mathbb E[Q_m^2]=2\sum_{i=0}^{2^m-1}\delta_m^2\]
Corresponding Lean step

Use integral_quadraticVariationError_sq with regularGridTimes_monotone.

2. Evaluate equal cell lengths

Every adjacent difference in the regular grid is exactly δ_m. The sum of 2^m equal squared lengths simplifies to Tδ_m.

\[\sum_{i=0}^{2^m-1}\delta_m^2=T\delta_m\]
Corresponding Lean step

Use regularGridTimes_cellLength and sum_dyadic_cellLengths_sq.

3. Let the dyadic mesh vanish

The canonical dyadic mesh tends to zero. Multiplication by the fixed nonnegative scalar 2T preserves the limit, so the exact error moment tends to zero.

\[2T\delta_m\longrightarrow 0\]
Corresponding Lean step

Apply FiniteTimeGrid.dyadicMesh_tendsto_zero T and Tendsto.const_mul.

Lean verification

The exact proof begins folded immediately after the mathematical argument; the statement is folded beside the claim above.

Lean proof · tendsto_integral_dyadic_quadraticVariationError_sq

The proof rewrites the exact finite-grid second moment as 2T times the dyadic mesh and passes to the known zero-mesh limit.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

Download module (.lean)
theorem tendsto_integral_dyadic_quadraticVariationError_sq
    (hB : IsPreBrownianReal B mu) (T : ℝ≥0) :
    Tendsto
      (fun level =>
        ∫ omega,
          (quadraticVariationError B
            (regularGridTimes (dyadicMesh T level) (2 ^ level)) omega) ^ 2 ∂mu)
      atTop (nhds 0) := by
  have hexact : ∀ level : ℕ,
      (∫ omega,
          (quadraticVariationError B
            (regularGridTimes (dyadicMesh T level) (2 ^ level)) omega) ^ 2 ∂mu) =
        2 * (T : ℝ) * ((dyadicMesh T level : ℝ≥0) : ℝ) := by
    intro level
    rw [integral_quadraticVariationError_sq hB
      (regularGridTimes_monotone
        (dyadicMesh T level) (2 ^ level))]
    rw [sum_dyadic_cellLengths_sq]
    ring
  have hlimit := (FiniteTimeGrid.dyadicMesh_tendsto_zero T).const_mul (2 * (T : ℝ))
  have hfun :
      (fun level =>
        ∫ omega,
          (quadraticVariationError B
            (regularGridTimes (dyadicMesh T level) (2 ^ level)) omega) ^ 2 ∂mu) =
        fun level => 2 * (T : ℝ) * ((dyadicMesh T level : ℝ≥0) : ℝ) := by
    funext level
    exact hexact level
  rw [hfun]
  simpa using hlimit

end BrownianQuadraticVariationL2
end StochasticProcesses
end TechnicalLemmas
end AutoSamplingTheory

Exact module and namespace context

Scope and omitted-condition boundaries
  • This is scalar mean-square convergence on deterministic dyadic grids only. Almost-sure or ucp convergence, predictable weights, vector cross-variation, stochastic integration, Taylor localization, and a complete Ito formula remain separate obligations.
Sources, dependencies, and reuse

Source and reuse

Samplinglib parents called

Mathlib API called (external library)

  • Filter.Tendsto
  • Finset.sum_const
  • NNReal.coe_div

Mathematical sources

Samplinglib prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.