ℝ → ℝ → ℝ
Truncation of a real to [−M, M].
This is the keystone consumer of the continuous Itô integral ItoIntegralCLM.itoIntegralCLM. 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).
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.
1. clampM — truncation to [−M, M]; bounded, measurable, 𝓕-preserving. 2. stepSP — a single bounded adapted step φ·𝟙_{(a,b]} as a TBoundedSP. 3. stepσ — the left-endpoint step process of an adapted bounded θ over unifPart T n; the truncated one is stepσ at clampPath B M. 4. itoSimple (stepσ θ) = ∑ θ(t_k)·ΔB_k (itoSimple_stepσ) — at clampPath B M the truncated sum. 5. CLM evaluates: itoIntegralCLM (simpleAssemblyHorizon (stepσ θ)) (itoIntegralCLM_stepσ) 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 g_B = ½·⟦B_T² − B₀² − T⟧ — the keystone.
clampM: truncation of a real to [−M, M].clampPath: the Brownian path clamped to [−m, m].stepSP: the single-step simple process φ · 𝟙_{(a,b]} with φ bounded and 𝓕_a-measurable.stepσ: the bounded left-endpoint step process ∑_{k<n} θ(t_k) · 𝟙_{(t_k, t_{k+1}]} of an adapted θ.itoIntegralCLM_brownian: there is an Itô L² integrand gB with itoIntegralCLM gB = ½(B_T² − B₀² − T) (the proof takes gB as the trim_T-limit of the truncated left-endpoint approximations of s ↦ B_s; the statement does not name it).itoIntegralCLM_stepσ: the CLM evaluated on the bounded left-endpoint step process stepσ is the L² class of the corresponding Riemann sum.tendsto_clampM_sub_sq_integral: for X ∈ L²(μ), ∫ (clamp_m(X) − X)² ∂μ → 0 as m → ∞.integral_truncRiemann_sub_sq, tendsto_integral_truncRiemann_sub_sq: the truncation error of the Riemann sum is a variance sum, and for each n it tends to 0 as m → ∞.∫ B dB, Itô integral of Brownian motion, stochastic integral, quadratic variation, Riemann sums, truncation, MSC 60H05, MSC 60J65
Above: what it imports. Below: what imports it.
ℝ → ℝ → ℝ
Truncation of a real to [−M, M].
∀ {M : ℝ}, 0 ≤ M → ∀ (x : ℝ), |clampM M x| ≤ M∀ (M : ℝ), Measurable (clampM M)
The clamp map clampM M is measurable (a composition of continuous truncations).
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} {a : NNReal} (hBmeas : ∀ (t : NNReal), Measurable (B t)) {M : ℝ} {f : Ω → ℝ}, Measurable f → Measurable fun ω => clampM M (f ω)clamp_M(B_a) is 𝓕_a-measurable when B_a is.
{Ω : Type u_1} → (NNReal → Ω → ℝ) → ℕ → NNReal → Ω → ℝThe Brownian path clamped to [−m, m]: the integrand (s, ω) ↦ clamp_m(B_s ω) of the truncated Riemann–Itô sums.
{Ω : Type u_1} → [mΩ : MeasurableSpace Ω] → {B : NNReal → Ω → ℝ} → {T : NNReal} → (hBmeas : ∀ (t : NNReal), Measurable (B t)) → {a b : NNReal} → a ≤ b → b ≤ T → {φ : Ω → ℝ} → Measurable φ → {M : ℝ} → (∀ (ω : Ω), |φ ω| ≤ M) → ↥(TBoundedSP T hBmeas)The single-step simple process φ · 𝟙_{(a,b]} with φ bounded by M and 𝓕_a-measurable. Its terminal Itô integral is φ·(B_b − B_a).
∀ {Ω : 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) (ω : Ω), 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).
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) {φ : ℝ → ℝ}, Measurable φ → ∀ (t : NNReal), StronglyMeasurable fun ω => φ (B t ω)φ(B_t) is 𝓕_t-strongly measurable for measurable φ.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) (m : ℕ) (t : NNReal), StronglyMeasurable (clampPath B m t)The clamped path is adapted: clamp_m(B_t) is 𝓕_t-strongly measurable.
∀ {Ω : Type u_1} {B : NNReal → Ω → ℝ} (m : ℕ) (s : NNReal) (ω : Ω), |clampPath B m s ω| ≤ ↑mThe clamped path is bounded by m.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) {ι' : Type u_2} (s : Finset ι') (V : ι' → SimpleProcess ℝ (natFiltration hBmeas)), itoSimple hBmeas (∑ i ∈ s, V i) = ∑ i ∈ s, itoSimple hBmeas (V i)The elementary Itô integral is additive over a finite sum of simple processes.
{Ω : Type u_1} → [mΩ : MeasurableSpace Ω] → {B : NNReal → Ω → ℝ} → (hBmeas : ∀ (t : NNReal), Measurable (B t)) → {θ : NNReal → Ω → ℝ} → (∀ (t : NNReal), StronglyMeasurable (θ t)) → {C : ℝ} → (∀ (t : NNReal) (ω : Ω), |θ t ω| ≤ C) → (T : NNReal) → ℕ → ↥(TBoundedSP T hBmeas)The bounded left-endpoint step process for a general adapted θ: ∑_{k<n} θ(tₖ) · 𝟙_{(tₖ, t_{k+1}]}. A TBoundedSP — each coefficient θ(tₖ) is 𝓕_{tₖ}-measurable (adaptedness) and bounded by C.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)) {θ : NNReal → Ω → ℝ} (hadap : ∀ (t : NNReal), StronglyMeasurable (θ t)) {C : ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |θ t ω| ≤ C) (T : NNReal) (n : ℕ) (ω : Ω), itoSimple hBmeas (↑(stepσ hBmeas hadap hbdd T n)) ω = riemannσ θ T n ωThe step process integrates to the θ-Riemann sum.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ (s : NNReal), MemLp (B s) 2 μB s is in L²(μ) (a centered Gaussian).
∀ {M x : ℝ}, |x| ≤ M → clampM M x = xclamp_M(x) = x once |x| ≤ M.
∀ {M : ℝ}, 0 ≤ M → ∀ (x : ℝ), |clampM M x - x| ≤ |x|clampM is nonexpansive toward 0: |clamp_M(x) − x| ≤ |x|.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} {X : Ω → ℝ}, 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|).
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → (∀ (t : NNReal), Measurable (B t)) → ∀ (T : NNReal) (n : ℕ), MemLp (riemannσ B T n) 2 μMemLp of the untruncated Riemann sum.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → (∀ (t : NNReal), Measurable (B t)) → ∀ (T : NNReal) (n m : ℕ), MemLp (riemannσ (clampPath B m) T n) 2 μMemLp of the truncated Riemann sum: memLp_riemannσ at the bounded integrand clampPath B m.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) {θ : NNReal → Ω → ℝ} (hadap : ∀ (t : NNReal), StronglyMeasurable (θ t)) {C : ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |θ t ω| ≤ C) (T : NNReal) (n : ℕ), (itoIntegralCLM hB T hBmeas) ((simpleAssemblyHorizon T hBmeas) (stepσ hBmeas hadap hbdd T n)) = MemLp.toLp (riemannσ θ T n) ⋯The CLM evaluated on stepσ is the θ-Riemann sum's L² class.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → (∀ (t : NNReal), Measurable (B t)) → ∀ (T : NNReal) (n m : ℕ), ∫ (ω : Ω), (riemannσ (clampPath B m) T n ω - riemannσ B T n ω) ^ 2 ∂μ = ∑ k ∈ Finset.range n, (∫ (ω : Ω), (clampM (↑m) (B (unifPart T n k) ω) - B (unifPart T n k) ω) ^ 2 ∂μ) * (↑(unifPart T n (k + 1)) - ↑(unifPart T n k))The truncation error as a variance sum (Itô isometry).
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → (∀ (t : NNReal), Measurable (B t)) → ∀ (T : NNReal) (n : ℕ), Filter.Tendsto (fun m => ∫ (ω : Ω), (riemannσ (clampPath B m) T n ω - riemannσ B 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).
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → (∀ (t : NNReal), Measurable (B t)) → B 0 =ᵐ[μ] 0B 0 = 0 a.s. (its second moment ∫ (B 0)² = 0).
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → (∀ (t : NNReal), Measurable (B t)) → ∀ (T : NNReal), 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².
∀ {α : Type u_2} {m : MeasurableSpace α} {ν : Measure α} {f g : α → ℝ} (hf : MemLp f 2 ν) (hg : MemLp g 2 ν), ‖MemLp.toLp f hf - MemLp.toLp g hg‖ ^ 2 = ∫ (z : α), (f z - g z) ^ 2 ∂νThe squared L²-distance of two toLp classes is the integral of the squared difference, for any measure ν.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} {F G : ℕ → Ω → ℝ} (hF : ∀ (n : ℕ), MemLp (F n) 2 μ) (hG : ∀ (n : ℕ), MemLp (G n) 2 μ), Filter.Tendsto (fun n => ∫ (ω : Ω), (F n ω - G n ω) ^ 2 ∂μ) Filter.atTop (nhds 0) → Filter.Tendsto (fun n => ‖MemLp.toLp (F n) ⋯ - MemLp.toLp (G n) ⋯‖) Filter.atTop (nhds 0)If ∫ (Fₙ − Gₙ)² → 0 then the L² classes converge: ‖⟦Fₙ⟧ − ⟦Gₙ⟧‖ → 0.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (T : NNReal), ∃ gB, (itoIntegralCLM hB T hBmeas) gB = 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 gB equals ½(B_T² − B₀² − T). This gives the 733-LOC itoIntegralCLM 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.