∀ (v : NNReal), ∫ (x : ℝ), x ^ 2 ∂gaussianReal 0 v = ↑v
Second moment of a centered real Gaussian: ∫ x, x² ∂(gaussianReal 0 v) = v. For a mean-zero law the second moment is the variance (variance_id_gaussianReal).
Small, shared moment facts for real Gaussians used across the Brownian-motion foundations (BrownianMartingale, BrownianQuadraticVariation, the L² quadratic variation). Kept in one place so each identity is proved exactly once.
The fourth moment reuses Degenne's (2n)-th central-moment formula (ProbabilityTheory.centralMoment_two_mul_gaussianReal) rather than re-deriving the Gaussian integral — coherence with the upstream brownian-motion package.
integral_sq_gaussianReal, integral_pow3_gaussianReal, integral_pow4_gaussianReal, integral_pow6_gaussianReal: the second, third, fourth and sixth moments of N(0, v) are v, 0, 3 v² and 15 v³.integral_sq_sub_var_sq_gaussianReal, integral_sq_sub_var_gaussianReal: for N(0, v), ∫ (x² − v)² = 2 v² and ∫ (x² − v) = 0.integral_sq_of_hasLaw_gaussianReal: X ~ N(m, v) gives 𝔼[X²] = m² + v.hasLaw_increment: for s ≤ t, the increment B t − B s of a pre-Brownian motion has law N(0, t − s).hasLaw_sum_range_gaussianReal: a sum of n independent N(m, v) variables has law N(n m, n v).hasLaw_sub_div_of_gaussianReal: if X ~ N(μ, v) with v = s², s > 0, then (X − μ)/s ~ N(0, 1).Gaussian moments, fourth moment, central moments, normal distribution, variance, MSC 60E05, MSC 60J65
Above: what it imports. Below: what imports it.
∀ (v : NNReal), ∫ (x : ℝ), x ^ 2 ∂gaussianReal 0 v = ↑v
Second moment of a centered real Gaussian: ∫ x, x² ∂(gaussianReal 0 v) = v. For a mean-zero law the second moment is the variance (variance_id_gaussianReal).
∀ (v : NNReal), ∫ (x : ℝ), x ^ 3 ∂gaussianReal 0 v = 0
Third moment of a centered real Gaussian (odd moment, by density symmetry).
∀ (v : NNReal), ∫ (x : ℝ), x ^ 4 ∂gaussianReal 0 v = 3 * ↑v ^ 2
Fourth moment of a centered real Gaussian: ∫ x, x⁴ ∂(gaussianReal 0 v) = 3 v² (the kurtosis identity E[X⁴] = 3·Var², the source of the 2(Δt)² variance of squared Brownian increments). Via the (2n)-th central-moment formula centralMoment_two_mul_gaussianReal at n = 2 ((2·2−1)!! = 3!! = 3).
∀ (v : NNReal), ∫ (x : ℝ), x ^ 6 ∂gaussianReal 0 v = 15 * ↑v ^ 3
Sixth moment of a centered real Gaussian: ∫ x, x⁶ ∂(gaussianReal 0 v) = 15 v³ (E[X⁶] = 15·Var³). It controls the L² size of the Itô–Taylor remainder (E[(ΔB)⁶] = 15(Δt)³, so ‖|ΔB|³‖_{L²} = √15·(Δt)^{3/2} sums to O(n^{-1/2})). Via the (2n)-th central-moment formula centralMoment_two_mul_gaussianReal at n = 3 ((2·3−1)!! = 5!! = 15).
∀ (v : NNReal), ∫ (x : ℝ), (x ^ 2 - ↑v) ^ 2 ∂gaussianReal 0 v = 2 * ↑v ^ 2
Mean-square fluctuation of a squared centered Gaussian: ∫ (x² − v)² ∂N(0,v) = 2v², i.e. Var(X²) = 2·Var(X)² for X ~ N(0,v). This is the kurtosis E[X⁴] = 3v² minus (E[X²])² = v². It is exactly the per-interval term E[((ΔB)² − Δt)²] = 2(Δt)² whose sum gives the 2t²/n rate of the L² quadratic variation.
∀ (v : NNReal), ∫ (x : ℝ), x ^ 2 - ↑v ∂gaussianReal 0 v = 0
A centered squared Gaussian has mean zero: ∫ (x² − v) ∂N(0,v) = 0, i.e. E[X² − Var] = 0 for X ~ N(0,v). (E[X²] = v.)
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {X : Ω → ℝ} {m : ℝ} {v : NNReal}, HasLaw X (gaussianReal m v) μ → ∫ (ω : Ω), X ω ^ 2 ∂μ = m ^ 2 + ↑vThe second moment of a Gaussian random variable: X ~ N(m, v) gives 𝔼[X²] = m² + v (variance_eq_sub on the law).
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ {s t : NNReal}, s ≤ t → HasLaw (fun ω => B t ω - B s ω) (gaussianReal 0 (t - s)) μFor s ≤ t : ℝ≥0, the increment B t − B s of a pre-Brownian motion has law gaussianReal 0 (t - s). Degenne's hasLaw_sub states the variance as nndist; this is the same fact with the ℝ≥0 subtraction the time-indexed towers actually carry, which is the only reason the conversion keeps reappearing.
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ (s t : NNReal), MemLp (fun ω => B t ω - B s ω) 2 μA pre-Brownian increment B t − B s lies in L²(μ), for any two times.
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {J : ℕ → Ω → ℝ} {m : ℝ} {v : NNReal}, (∀ (i : ℕ), HasLaw (J i) (gaussianReal m v) Q) → iIndepFun J Q → ∀ (n : ℕ), HasLaw (∑ i ∈ Finset.range n, J i) (gaussianReal (↑n * m) (↑n * v)) QA sum of n independent N(m, v) variables is N(n·m, n·v).
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {X : Ω → ℝ} {μ s : ℝ} {v : NNReal}, HasLaw X (gaussianReal μ v) Q → 0 < s → ↑v = s ^ 2 → HasLaw (fun ω => (X ω - μ) / s) (gaussianReal 0 1) QStandardizing a Gaussian: if X ∼ N(μ, s²) with s > 0, then (X − μ)/s ∼ N(0, 1).