Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Gaussian integration by parts after a linear transformation

Proved
HighDimProb.RandomProcesses.gaussian_linear_integration_by_parts

by raresbuhai · Oct 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

gaussian-processesintegration-by-partsprobability

Let G=(G0,…,Gn)G=(G_0,\ldots,G_n)G=(G0​,…,Gn​) have independent standard normal coordinates, let L:Rn+1→EL:\mathbb R^{n+1}\to EL:Rn+1→E be a continuous real-linear map into a real normed space, and let f:E→Rf:E\to\mathbb Rf:E→R be continuously differentiable. Suppose fff and the operator norm of its derivative are bounded. For the iiith standard basis vector eie_iei​,

E[Df(LG)[Lei]]=E[Gif(LG)].\mathbb E[Df(LG)[Le_i]]=\mathbb E[G_i f(LG)].E[Df(LG)[Lei​]]=E[Gi​f(LG)].

This chain-rule form is useful for Gaussian vectors with arbitrary covariance, including singular covariance: the linear map need not be injective or surjective. It is a reusable input for Gaussian interpolation.

Preamble
import Mathlib
open MeasureTheory ProbabilityTheory Filter
Formal statement
theorem HighDimProb.RandomProcesses.gaussian_linear_integration_by_parts {n : ℕ}
    {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    (L : (Fin (n + 1) → ℝ) →L[ℝ] E) (i : Fin (n + 1))
    (f : E → ℝ) (hf : ContDiff ℝ 1 f) {C D : ℝ}
    (hf_bound : ∀ x, ‖f x‖ ≤ C) (hdf_bound : ∀ x, ‖fderiv ℝ f x‖ ≤ D) :
    (∫ x, fderiv ℝ f (L x) (L (Pi.single i 1))
      ∂Measure.pi (fun _ : Fin (n + 1) => gaussianReal 0 1)) =
    ∫ x, x i * f (L x)
      ∂Measure.pi (fun _ : Fin (n + 1) => gaussianReal 0 1) := by sorry
Source
Vershynin, High-Dimensional Probability (first edition), Lemma 7.2.5 and Exercise 7.2.6, p. 163 (PDF p. 171). https://www.math.uci.edu/~rvershyn/papers/HDP-book/HDP-1.pdf. Explicit regularity and integrability hypotheses specify the analytic form used here.
Human review
  • Endorsed by Shuze Chen · Nov 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by WillR · Nov 15, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me