MathFin
Map / Probability · Brownian calculus / MathFin.Probability.Brownian.UnifPart

The uniform partition of `[0, T]`

MathFin.Probability.Brownian.UnifPartMSC 60H05 source

The library's one equipartition: unifPart T n k = (k/n)·T, the k-th of the n + 1 nodes 0 = t₀ ≤ … ≤ tₙ = T that cut [0, T] into n cells of length T/n. Every Riemann sum, Riemann–Stieltjes sum and quadratic-variation sum of the Itô stack runs along it, so the facts about it are proved here once: monotone, ≤ T, endpoints, cell length, the telescoping ∑ (t_{k+1} − t_k) = T.

unifPartIcc s t is the same partition of [s, t], shifted to start at s.

Main definitions

  • unifPart: the uniform partition of [0, T] into n cells, unifPart T n k = (k/n)·T.
  • unifPartIcc: the uniform partition of [s, t] into n cells, unifPart (t − s) n k shifted to start at s.

Main results

  • unifPart_mono, unifPart_le_T, unifPart_zero, unifPart_self — monotone, bounded by T, and the endpoints 0 and T.
  • unifPart_succ_sub, unifPart_mesh_sum — every cell has length T/n, and the lengths telescope to T.
  • tendsto_inv_sqrt_nat_add, one_div_sqrt_le_two — the 1/√n mesh rate of the O(√mesh) bounds: a null sequence, and the shift comparison 1/√n ≤ 2/√(n+1).

Tags

uniform partition, equipartition, mesh size, Riemann sum grid, time discretisation, MSC 60H05

Import neighbourhood

Above: what it imports. Below: what imports it.

Declarations 14

defMathFin.unifPartsource
NNReal → ℕ → ℕ → NNReal

The uniform partition of [0, T]: the n-th refinement places its k-th node at kT/n.

theoremMathFin.unifPart_zero @[simp]source
∀ (T : NNReal) (n : ℕ), unifPart T n 0 = 0
theoremMathFin.unifPart_selfsource
∀ (T : NNReal) {n : ℕ}, n ≠ 0 → unifPart T n n = T

The last node of the uniform partition into n ≠ 0 cells is T.

theoremMathFin.unifPart_monosource
∀ (T : NNReal) (n : ℕ), Monotone (unifPart T n)

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

theoremMathFin.unifPart_le_Tsource
∀ {T : NNReal} {n j : ℕ}, j ≤ n → unifPart T n j ≤ T

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

theoremMathFin.unifPart_succ_subsource
∀ (T : NNReal) (n k : ℕ), ↑(unifPart T n (k + 1)) - ↑(unifPart T n k) = ↑T / ↑n

The cells of the uniform partition have length T/n.

theoremMathFin.unifPart_mesh_sumsource
∀ (T : NNReal) {n : ℕ}, n ≠ 0 → ∑ k ∈ Finset.range n, (↑(unifPart T n (k + 1)) - ↑(unifPart T n k)) = ↑T

The uniform-partition mesh telescopes: ∑_{k<n} (t_{k+1} − t_k) = T for n ≠ 0.

defMathFin.unifPartIccsource
NNReal → NNReal → ℕ → ℕ → NNReal

The uniform partition of [s, t] into n cells: the library's unifPart of [0, t − s], shifted to start at s.

theoremMathFin.unifPartIcc_monosource
∀ (s t : NNReal) (n : ℕ), Monotone (unifPartIcc s t n)
theoremMathFin.unifPartIcc_zerosource
∀ (s t : NNReal) (n : ℕ), unifPartIcc s t n 0 = s
theoremMathFin.unifPartIcc_selfsource
∀ {s t : NNReal}, s ≤ t → ∀ {n : ℕ}, n ≠ 0 → unifPartIcc s t n n = t
theoremMathFin.unifPartIcc_succ_subsource
∀ {s t : NNReal}, s ≤ t → ∀ (n k : ℕ), ↑(unifPartIcc s t n (k + 1)) - ↑(unifPartIcc s t n k) = (↑t - ↑s) / ↑n
theoremMathFin.tendsto_inv_sqrt_nat_addsource
Filter.Tendsto (fun n => 1 / √(↑n + 1)) Filter.atTop (nhds 0)

The 1/√(n+1) null sequence over the naturals: the square root of Mathlib's tendsto_one_div_add_atTop_nhds_zero_nat.

theoremMathFin.one_div_sqrt_le_twosource
∀ {n : ℕ}, 0 < n → 1 / √↑n ≤ 2 / √(↑n + 1)

The 1/√n ≤ 2/√(n+1) comparison for n ≥ 1.