GaussianAnalysisRocq library documentation
Main resultsGlossary
On this page

gaussian/

GaussianAnalysis.gaussian9 files3,637 lines156 lemmas and theorems, 10 definitions

The measurable structure and the norm of real matrices, Lebesgue measure and the standard Gaussian measure on 'rV[R]_n, marginals and Fubini, moments, Gaussian integration by parts (Stein's identity) in one and several dimensions, differentiability from continuous partial derivatives, continuity of parameter integrals, Gaussian interpolation between two covariances.

Guide

Written for this documentation from the sources and the README, and checked against the Rocq statements. The file headers and the statements are the reference.

This directory builds Gaussian analysis on row vectors. It defines a measurable structure on matrices, the standard Gaussian measure gauss n and Lebesgue measure lebesgue_rV n on 'rV[R]_n, and proves the calculus the rest of the library relies on: Fubini, marginals, moments, Gaussian integration by parts and interpolation.

It starts from MathComp-Analysis's normal law normal_prob m s and its product measures. A matrix carries the sigma-algebra generated by its entries, and gauss n and lebesgue_rV n are built one coordinate at a time. Vectors are rows and matrices act on the right: if x has law gauss n, then x *m A has covariance A^T *m A.

Conventions: |x| is MathComp's norm, the largest absolute value of an entry; frobenius (matrix/euclidean.v) is the Euclidean norm. Polynomial growth means |F x| <= C (1 + |x|^k) everywhere. The partial derivative d_i F is the derivative along delta_mx 0 i.

Reading order

  1. measurable_matrix.v: the sigma-algebra of matrices, uniqueness of measures from boxes, and the max-entry norm.
  2. normal_integral.v: integrals against normal_prob m s through its density, and integrability of polynomially growing functions against normal_prob 0 1.
  3. parameter_integral.v: continuity of an integral depending on a parameter in a pseudometric space.
  4. gauss.v: the measure gauss n, boxes, Fubini, permutations, blocks and coordinates.
  5. gauss_ibp.v: Stein's identity and Gaussian integration by parts of orders one and two.
  6. gauss_moments.v: moments of the normal law, and covariances under gauss n.
  7. partial_derivative.v: continuous partial derivatives imply differentiability.
  8. gauss_interpolation.v: Gaussian interpolation along a path of matrices, and Kahane's comparison inequality.
  9. lebesgue_rV.v: Lebesgue measure on 'rV[R]_n, its invariances, the density of gauss n and the volume of balls.

Core definitions

Main results

Matrices.

The normal law and gauss n.

Integration by parts.

  • normal_ibp: E[X f(X)] = E[f'(X)] for X of law normal_prob 0 1, when f has the derivative f' everywhere, f' is continuous, and f and f' have polynomial growth.
  • gauss_ibp: E[x_i F(x)] = E[dF(x)] under gauss n, when dF is the derivative of F along delta_mx 0 i everywhere, and F and dF are continuous and of polynomial growth. gauss_ibp_line only needs F and dF measurable and dF continuous along the lines parallel to the i-th axis.
  • gauss_ibp2: E[(x_i^2 - 1) F(x)] = E[d2F(x)] for F measurable with derivatives dF and d2F along delta_mx 0 i, d2F continuous, all three of polynomial growth; dF need not be continuous.

Interpolation. Here x has law gauss n, F : 'rV[R]_k -> R and its partial derivatives d_j F are differentiable, the d_l d_j F are continuous, and all are bounded by one C (1 + |z|^p).

  • gauss_interpolation: if M has the derivative M' on an open interval, with |M s| <= K and |M' s| <= K there, then on that interval the derivative of t |-> E[F(x *m M t)] is \sum_(j, l) ((M' t)^T *m M t)_(j, l) E[d_l d_j F(x *m M t)].
  • gauss_comparison: Kahane's inequality. If \sum_(j, l) (A^T A - B^T B)_(j, l) d_l d_j F z <= 0 for every z, then E[F(x *m A)] <= E[F(y *m B)] for y of law gauss m.

Lebesgue measure.

How the proofs go

Connections

Files

FileTitleLinesLemmasDefsRequires in this directory
measurable_matrix.vMeasurable structure on matrices500363none
normal_integral.vIntegrals against the normal law17560none
gauss.vThe standard Gaussian measure on row vectors519282measurable_matrix, normal_integral
gauss_ibp.vGaussian integration by parts541160measurable_matrix, normal_integral, gauss
gauss_moments.vMoments of the standard Gaussian measures16270measurable_matrix, normal_integral, gauss, gauss_ibp
partial_derivative.vContinuous partial derivatives173111measurable_matrix, gauss_ibp
parameter_integral.vContinuity of a parameter integral9920none
gauss_interpolation.vGaussian interpolation and Kahane's comparison inequality545120measurable_matrix, gauss, gauss_ibp, partial_derivative
lebesgue_rV.vLebesgue measure on row vectors923384measurable_matrix, normal_integral, gauss

Table of main results39 rows of the README

FileResultsStatementUsed by theories/
measurable_matrix.vA map into 'M[T]_(m, n) is measurable if and only if each of its entries is. Matrices carry the sigma-algebra generated by their entries.Gaussian/Law/LibraryBridge
Two measures on matrices (or row vectors) that agree on the boxes with measurable sides, the first of them finite, agree on every measurable set.through gauss_unique
A continuous real function of a real matrix is measurable: the open sets of 'M[R]_(m, n) are measurable.Gaussian/Orthogonal/EqualCovariance
For the norm of a real matrix: every entry is bounded by the norm, |A B| <= n |A| |B| when A has n columns, |col_mx P Q| <= |P| + |Q|, and permuting the columns does not increase the norm.Gaussian/Law/LibraryBridge
A map into real matrices is continuous if each of its entries is, and the matrix product is continuous in each factor.
normal_integral.vIntegrating against normal_prob m s is integrating against Lebesgue measure with the density normal_pdf m s, for nonnegative or integrable functions.
Every power |x|^k, hence every measurable function bounded by C (1 + |x|^k), is integrable against the standard normal law.
gauss.vgauss n, the standard Gaussian measure on 'rV[R]_n: the law of n independent standard normal coordinates, a probability.Gaussian/Law/LibraryBridge, Gaussian/Orthogonal/EqualCovariance, Gaussian/Lipschitz/Concentration, Gaussian/Lipschitz/Variance, Projected/BulkLaw
gauss n gives the box with sides A i the measure \prod_i normal_prob 0 1 (A i), and it is the only measure on 'rV[R]_n that does.Gaussian/Law/LibraryBridge
Fubini for the first coordinate: the integral against gauss n.+1 is the iterated integral against normal_prob 0 1 and gauss n, and integrability against gauss n.+1 is integrability against the product of the two.Gaussian/Law/LibraryBridge, for Gaussian/Iterated/PolynomialGrowth
Independent blocks: the image of gauss n \x gauss m under (x, y) |-> row_mx x y is gauss (n + m).
gauss n, and the integral of every integrable function against it, are invariant under permutations of the coordinates.Gaussian/Law/LibraryBridge, for Gaussian/Iterated/BlockRotation
Marginals of the blocks: if x has law gauss (n + m), then lsubmx x has law gauss n and rsubmx x has law gauss m.
If nu is the image of the measure mu under a measurable g, then \int[mu] f (g x) = \int[nu] f y for every nu-integrable f.
Each coordinate of a vector of law gauss n has law normal_prob 0 1.
Independent coordinates: the integral of \prod_i f i (x 0 i) against gauss n is \prod_i of the integrals of f i against normal_prob 0 1, for nonnegative measurable f i.
Every measurable function bounded by C (1 + |x|^k) is integrable against gauss n. The constant of such a bound is nonnegative, and multiplying the function by a coordinate raises k by one and doubles C.Gaussian/Law/LibraryBridge
gauss_ibp.vStein's identity: E[X f(X)] = E[f'(X)] for X of law normal_prob 0 1 and f differentiable with a continuous derivative, f and f' of polynomial growth.
Gaussian integration by parts: E[x_i F(x)] = E[d_i F(x)] for x of law gauss n, F continuous with a continuous partial derivative d_i F (along delta_mx 0 i), both of polynomial growth.Gaussian/Law/LibraryBridge, for Gaussian/Iterated/Stein
The same identity when F and d_i F are only measurable and d_i F is continuous along the lines parallel to the i-th axis.
If a measurable function on 'rV[R]_n has at every point x a derivative dF x along a fixed vector v, then dF is measurable.
Gaussian integration by parts of order two: E[(x_i^2 - 1) F(x)] = E[d_i d_i F(x)] for x of law gauss n, F measurable, d_i d_i F continuous, and F, d_i F and d_i d_i F of polynomial growth; d_i F need not be continuous.Gaussian/Law/LibraryBridge, for Gaussian/Iterated/Stein
If F i increases to U and g is integrable on U, the integrals of g over F i converge to its integral over U.
gauss_moments.vMoments of the standard normal law: E[X^(k+2)] = (k + 1) E[X^k], so the odd moments vanish and E[X^(2k)] = 1 * 3 * ... * (2k - 1).
A vector x of law gauss n has mean 0 and covariance the identity, and x *m A has covariance A^T *m A.
partial_derivative.vA function on 'rV[R]_n whose partial derivatives exist everywhere and are continuous is differentiable, with differential v |-> \sum_j v_j d_j F x.
parameter_integral.vSequential criterion for a limit at a point x0 of a pseudometric space: f x tends to l as x tends to x0 as soon as f (u n) tends to l for every sequence u that tends to x0.
Continuity of a parameter integral at a point x0 of a pseudometric space: if f x y is continuous in x at x0 for every y in B, and bounded by an integrable g y for x near x0, then x |-> \int_B f x y dmu(y) is continuous at x0. MathComp-Analysis states this for a real parameter in an open interval.Gaussian/Law/LibraryBridge, for Gaussian/Iterated/PolynomialGrowth
gauss_interpolation.vIntegration by parts through a linear map: E[x_i d_j F (x *m M)] = \sum_l M_(i, l) E[d_l d_j F (x *m M)].
Gaussian interpolation: let x have law gauss n, let the path of matrices M t be differentiable on an open interval with derivative M' t, with |M t| <= K and |M' t| <= K on the interval, and let F be of class C^2 with F and its partial derivatives of order 1 and 2 all bounded by one C (1 + |z|^p). Then at every t of the interval the derivative of t |-> E[F (x *m M t)] is \sum_(j, l) ((M' t)^T M t)_(j, l) E[d_l d_j F (x *m M t)].
Kahane's comparison inequality, for F of class C^2 with the same growth hypothesis: if \sum_(j, l) (A^T A - B^T B)_(j, l) d_l d_j F <= 0 everywhere, then E[F (x *m A)] <= E[F (y *m B)] for x of law gauss n and y of law gauss m.
The same comparison for F given by its partial derivatives of order 1 and 2, those of order 2 continuous.
lebesgue_rV.vlebesgue_rV n, Lebesgue measure on 'rV[R]_n, a sigma-finite measure built as gauss n is. A box with measurable sides A i has measure \prod_i lebesgue_measure (A i), and every measure on 'rV[R]_n that gives the boxes these values agrees with lebesgue_rV n on all measurable sets.
Fubini: the integral against lebesgue_rV n.+1 is the iterated integral over the first coordinate and the others, and the integral against lebesgue_rV (n + m) is the iterated integral over the blocks x and y of row_mx x y, for nonnegative measurable or for integrable functions. The integral of \prod_i f i (x_i) is \prod_i of the integrals of the f i against Lebesgue measure.
lebesgue_rV n is invariant under translations and permutations of the coordinates, and the preimage of X under x |-> a x, a != 0, has measure |a|^-n times that of X; the same for integrals (\int f (a x) dx = |a|^-n \int f), for nonnegative measurable and for integrable f.
If the preimage of every box under a measurable phi has c > 0 times the measure of the box, then so has the preimage of every measurable set, and \int f (phi x) dx = c \int f.
gauss n has the density gauss_pdf x = (2 pi)^(-n/2) exp (- mxdot x x / 2) with respect to lebesgue_rV n: E[f(x)] = \int f gauss_pdf, and \int f = E[f(x) / gauss_pdf x].
\int exp (- mxdot (x - z) (x - z) / (2 s^2)) dx = (sqrt (2 pi) s)^n over 'rV[R]_n, for s > 0.
The closed Euclidean ball [set x | frobenius (x - z) <= r] of 'rV[R]_n, r > 0, has measure at most (sqrt (2 pi e / n) r)^n.
Generated from commit 9046883 (tag phase12) of the ellipsoid fitting repository. Signatures are printed by Rocq 9.1.1; links in the source statements come from the compiled .glob files. The source links open the files on GitHub at this commit, in the now-public repository.