MindFormal v1.0.0One Mind

StochasticCalculus.QuadraticVariationGrid

Quadratic variation on a common rational grid #

Terminal quadratic variation at several horizons does not automatically put the corresponding sums on one partition. This file introduces the prefix sum on a common uniform grid and proves the exact rescaling identity. As a first coherent-process consequence, every fixed rational prefix converges in probability along common refinements of that grid.

Deterministic stopping of a natural Itô integral inherits quadratic variation from the time-restricted predictable integrand. This is the representative-level bridge needed to obtain prefix limits on arbitrary uniform grids, rather than only on common refinements.

The bracket of a deterministically restricted integrand is the original bracket stopped at the same deterministic time.

A natural Itô integral stopped at a has its original bracket stopped at a, on arbitrary uniform partitions of any terminal horizon t.

noncomputable def StochasticCalculus.quadraticVariationBeforeStopApprox {W : Type u_1} (X : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (a : NNReal) (omega : W) :

The squared increments whose right endpoints lie before a deterministic stopping time.

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

    Fixed-time measurability of a process makes its completed-cell stopped quadratic sum measurable.

    theorem StochasticCalculus.quadraticVariationBeforeStop_uniform_blocks_eq_weighted_cells {W : Type u_1} (X : NNReal → W → ℝ) (t : NNReal) (n k : ℕ) (c : ℕ → W → ℝ) (omega : W) :
    ∑ j ∈ Finset.range k, c j omega * (quadraticVariationBeforeStopApprox X t n (uniformPartitionTime t k (j + 1)) omega - quadraticVariationBeforeStopApprox X t n (uniformPartitionTime t k j) omega) = ∑ i ∈ Finset.range n, (∑ j ∈ Finset.range k, if uniformPartitionTime t k j < uniformPartitionTime t n (i + 1) ∧ uniformPartitionTime t n (i + 1) ≤ uniformPartitionTime t k (j + 1) then c j omega else 0) * (X (uniformPartitionTime t n (i + 1)) omega - X (uniformPartitionTime t n i) omega) ^ 2

    A completed coarse-block sum is exactly a fine-cell weighted quadratic sum. A fine cell is assigned to the unique coarse block containing its right endpoint; using the right endpoint is what removes boundary cells.

    theorem StochasticCalculus.uniformPartition_rightEndpoint_blocks_sum_one (t r : NNReal) (k : ℕ) (hk : 0 < k) (hr0 : 0 < r) (hrt : r ≤ t) :
    (∑ j ∈ Finset.range k, if uniformPartitionTime t k j < r ∧ r ≤ uniformPartitionTime t k (j + 1) then 1 else 0) = 1

    The half-open right-endpoint blocks of a positive uniform partition form a partition of (0,t], expressed as a real-valued indicator identity.

    theorem StochasticCalculus.abs_sub_uniformPartition_rightEndpoint_step_sum_le (t r : NNReal) (k : ℕ) (hk : 0 < k) (hr0 : 0 < r) (hrt : r ≤ t) (weight : ℝ) (c : ℕ → ℝ) (K : ℝ) (hclose : ∀ j ∈ Finset.range k, uniformPartitionTime t k j < r ∧ r ≤ uniformPartitionTime t k (j + 1) → |weight - c j| ≤ K) :
    |weight - ∑ j ∈ Finset.range k, if uniformPartitionTime t k j < r ∧ r ≤ uniformPartitionTime t k (j + 1) then c j else 0| ≤ K

    If a scalar is close to every active coarse right-endpoint block value, then it is close to their indicator sum. The preceding partition identity means no factor depending on the number of coarse blocks is lost.

    theorem StochasticCalculus.dist_uniformPartition_left_to_active_coarse_left_le (t : NNReal) (n k i j : ℕ) (hn : 0 < n) (hk : 0 < k) (hactive : uniformPartitionTime t k j < uniformPartitionTime t n (i + 1) ∧ uniformPartitionTime t n (i + 1) ≤ uniformPartitionTime t k (j + 1)) :
    dist (uniformPartitionTime t n i) (uniformPartitionTime t k j) ≤ ↑(t / ↑n) + ↑(t / ↑k)

    If a fine right endpoint lies in a coarse right-endpoint block, then its fine left endpoint is within one fine mesh plus one coarse mesh of the coarse left endpoint.

    theorem StochasticCalculus.abs_weightedQuadraticVariation_sub_completedBlocks_le {W : Type u_1} (X : NNReal → W → ℝ) (t : NNReal) (n k : ℕ) (weight c : ℕ → W → ℝ) (K : ℝ) (omega : W) (hweight : ∀ i ∈ Finset.range n, |weight i omega - ∑ j ∈ Finset.range k, if uniformPartitionTime t k j < uniformPartitionTime t n (i + 1) ∧ uniformPartitionTime t n (i + 1) ≤ uniformPartitionTime t k (j + 1) then c j omega else 0| ≤ K) :
    |∑ i ∈ Finset.range n, weight i omega * (X (uniformPartitionTime t n (i + 1)) omega - X (uniformPartitionTime t n i) omega) ^ 2 - ∑ j ∈ Finset.range k, c j omega * (quadraticVariationBeforeStopApprox X t n (uniformPartitionTime t k (j + 1)) omega - quadraticVariationBeforeStopApprox X t n (uniformPartitionTime t k j) omega)| ≤ K * quadraticVariationApprox X t n omega

    Once the fine-cell weight is uniformly close to its right-endpoint coarse-step freezing, the actual weighted quadratic sum is close to the completed coarse-block sum. The error is controlled by the unweighted quadratic variation and has no separate boundary term.

    Cells of a uniform partition whose left endpoint is at or before a and whose right endpoint is strictly after a. Monotonicity of the grid implies that this finset contains at most one cell.

    Equations
    Instances For

      A monotone uniform grid has at most one cell crossing a fixed time.

      theorem StochasticCalculus.continuousOn_uniformPartition_crossing_increments_tendsto (g : NNReal → ℝ) (t a : NNReal) (ha : a ∈ Set.Icc 0 t) (hg : ContinuousOn g (Set.Icc 0 t)) (delta : ℝ) :
      0 < delta → ∀ᶠ (n : ℕ) in Filter.atTop, ∀ i ∈ uniformPartitionCrossingCells t (n + 1) a, |g a - g (uniformPartitionTime t (n + 1) i)| < delta

      On a continuous path, the partial increment in the unique cell crossing a fixed time tends uniformly to zero as the uniform mesh vanishes.

      noncomputable def StochasticCalculus.quadraticVariationCrossingStopApprox {W : Type u_1} (X : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (a : NNReal) (omega : W) :

      The sole possible partial-cell contribution when a deterministic stop does not coincide with a partition point.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem StochasticCalculus.quadraticVariationApprox_stop_eq_before_add_crossing {W : Type u_1} (X : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (a : NNReal) (omega : W) :

        A stopped quadratic-variation sum is exactly the sum of its completed cells and its (at most one) boundary-cell contribution.

        theorem StochasticCalculus.quadraticVariationCrossingStopApprox_tendsto_zero_of_continuousOn {W : Type u_1} (X : NNReal → W → ℝ) (t a : NNReal) (omega : W) (ha : a ∈ Set.Icc 0 t) (hcontinuous : ContinuousOn (fun (s : NNReal) => X s omega) (Set.Icc 0 t)) :

        The boundary-cell term in the stopped-sum decomposition vanishes along uniform partitions for every path continuous on the time interval.

        Fixed-time measurability of a process makes the boundary-cell quadratic increment measurable.

        Boundary-cell quadratic increments are unchanged almost everywhere when the process is replaced by any fixed-time modification.

        theorem StochasticCalculus.tendstoInMeasure_finset_sum_mul_fixed_real {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] {I : Type u_2} (S : Finset I) (u : I → ℕ → W → ℝ) (U c : I → W → ℝ) (hu : ∀ i ∈ S, MeasureTheory.TendstoInMeasure P (u i) Filter.atTop (U i)) (humeas : ∀ i ∈ S, ∀ (n : ℕ), MeasureTheory.AEStronglyMeasurable (u i n) P) (hcmeas : ∀ i ∈ S, MeasureTheory.AEStronglyMeasurable (c i) P) :
        MeasureTheory.TendstoInMeasure P (fun (n : ℕ) (omega : W) => ∑ i ∈ S, c i omega * u i n omega) Filter.atTop fun (omega : W) => ∑ i ∈ S, c i omega * U i omega

        A finite sum of sequences converging in measure may be multiplied by fixed measurable random coefficients term by term.