The setting
Consider a smooth potential on a finite-dimensional coordinate space, with associated weight , and a smooth compactly supported vector field on that space. The formal adjoint of the gradient under the weight is the weighted divergence of , and the weighted Bochner identity expresses the integral of its square against in terms of the second derivatives of along and the first derivatives of .
Weighted expectation
For a real function on a space , the weight function is the real function on taking each to .✦ Given a measure on and a potential , the unnormalized expectation of a real function is (1)✦
Weighted divergence
Let be a real normed space. For a vector and a function , the directional derivative of along is the function whose value at is the Fréchet derivative of at evaluated at .✦ For a potential and a vector , the weighted adjoint of a function is defined at each by (2)✦ which is the formal adjoint of with respect to the weight .
For a potential , a finite index set , a family of vectors in , and a family of real functions on , the weighted divergence of along for the weight is defined at each using the weighted adjoint (2) by (3)✦
Coordinate derivatives
For an index set , the coordinate space is the real vector space of all functions from to with pointwise addition and scalar multiplication; a point is the family of its coordinates for .✦ For an index , the standard basis vector is the vector whose coordinate at is and whose other coordinates are .✦
For a finite index set , is a real normed space; for and a function , the partial derivative is the directional derivative along .✦ For a function and a point , the Hessian matrix is the real matrix whose -entry is .✦
Along the standard basis of , the weighted divergence (3) of a vector field for the weight is denoted , the subscript standing for the weight , and is given at by (4)
Tensor quantities
Let be a finite index set, let be a potential, and let be a vector field on . The Hessian quadratic form is defined at each by (5)✦
The Jacobian matrix of at is the real matrix whose -entry is .✦ The Jacobian square trace is the function assigning to each the trace of the matrix square .✦
The claim
Theorem. Let be a finite index set, let be any Haar measure on (a translation-invariant measure, finite on compact sets and positive on open sets, that is, any positive multiple of Lebesgue measure), let be smooth (), and let be a vector field on whose components are smooth () and compactly supported. Then (6)✦
What is checked
The identity (6) is stated over the coordinate space with its standard basis for a finite index set , the unnormalized expectation (1) with respect to a measure and weight function , the weighted divergence (4) built from directional derivatives and weighted adjoints, the Hessian quadratic form (5) defined from partial derivatives and the Hessian matrix, and the Jacobian square trace of the Jacobian matrix , for a smooth () potential and a vector field with smooth () compactly supported components.