NNReal → ℕ → ℕ → NNReal
The uniform partition of [0, T]: the n-th refinement places its k-th node at kT/n.
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.
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.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).uniform partition, equipartition, mesh size, Riemann sum grid, time discretisation, MSC 60H05
Above: what it imports. Below: what imports it.
NNReal → ℕ → ℕ → NNReal
The uniform partition of [0, T]: the n-th refinement places its k-th node at kT/n.
∀ (T : NNReal) (n : ℕ), unifPart T n 0 = 0
∀ (T : NNReal) {n : ℕ}, n ≠ 0 → unifPart T n n = TThe last node of the uniform partition into n ≠ 0 cells is T.
∀ (T : NNReal) (n : ℕ), Monotone (unifPart T n)
The partition points unifPart T n = (k/n)·T are monotone in k.
∀ {T : NNReal} {n j : ℕ}, j ≤ n → unifPart T n j ≤ TA partition point unifPart T n j ≤ T whenever j ≤ n.
∀ (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.
∀ (T : NNReal) {n : ℕ}, n ≠ 0 → ∑ k ∈ Finset.range n, (↑(unifPart T n (k + 1)) - ↑(unifPart T n k)) = ↑TThe uniform-partition mesh telescopes: ∑_{k<n} (t_{k+1} − t_k) = T for n ≠ 0.
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.
∀ (s t : NNReal) (n : ℕ), Monotone (unifPartIcc s t n)
∀ (s t : NNReal) (n : ℕ), unifPartIcc s t n 0 = s
∀ {s t : NNReal}, s ≤ t → ∀ {n : ℕ}, n ≠ 0 → unifPartIcc s t n n = t∀ {s t : NNReal}, s ≤ t → ∀ (n k : ℕ), ↑(unifPartIcc s t n (k + 1)) - ↑(unifPartIcc s t n k) = (↑t - ↑s) / ↑nFilter.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.
∀ {n : ℕ}, 0 < n → 1 / √↑n ≤ 2 / √(↑n + 1)The 1/√n ≤ 2/√(n+1) comparison for n ≥ 1.