OctoInform Beta

OpenAI preprint, September 2026 · §4. Adjoints in moment coordinates · §4

Hessian identity (4.7): For compactly supported smooth ff under a smooth gradient homeomorphism pushing weighted measures forward, 𝔼[(Af)(Af−f)]=𝔼[tr((τD2f)2)]\mathbb{E}[(Af)(Af - f)] = \mathbb{E}[\mathrm{tr}((\tau D^2 f)^2)]

Moment coordinates give a Hessian identity.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

When the gradient of a smooth potential pushes forward a weighted source measure onto a target measure, the pulled-back Hessian of the potential defines a second-order differential operator on the target space. For a compactly supported smooth function, the question is how a quadratic expectation of this operator reduces to an expectation involving the pulled-back Hessian and the function’s Hessian matrix.

Coordinate calculus

Given an index set ι\iota, the coordinate space ℝι\mathbb{R}^\iota is the real vector space of all real-valued functions on ι\iota with pointwise addition and scalar multiplication, where a point xx has coordinates xix_i for i∈ιi \in \iota.✦ For each i∈ιi \in \iota, the standard basis vector eie_i of ℝι\mathbb{R}^\iota is the vector whose coordinate at ii is 11 and whose other coordinates are 00.✦

The directional derivative DvfD_v f of a real function ff on a real normed space EE along a vector v∈Ev \in E is the real function on EE whose value at x∈Ex \in E is the Fréchet derivative of ff at xx applied to vv.✦ The partial derivative ∂if\partial_i f of a real function ff on ℝι\mathbb{R}^\iota in coordinate i∈ιi \in \iota is the directional derivative DeifD_{e_i} f along the standard basis vector eie_i.✦

The gradient ∇f\nabla f of a real function ff on ℝι\mathbb{R}^\iota is the map from ℝι\mathbb{R}^\iota to itself sending each point xx to ∇f(x)=(∂if(x))i∈ι\nabla f(x) = (\partial_i f(x))_{i \in \iota}.✦ At each point x∈ℝιx \in \mathbb{R}^\iota, the Hessian matrix D2f(x)D^2 f(x) of a real function ff on ℝι\mathbb{R}^\iota is the real square matrix indexed by ι\iota whose entry in row ii and column jj is the second partial derivative ∂j∂if(x)\partial_j \partial_i f(x).✦

Weighted integration

The weight function of a real function VV on a space EE is the real function on EE assigning to each x∈Ex \in E the value e−V(x)e^{-V(x)}.✦ Given a finite index set ι\iota, a measure μ\mu on ℝι\mathbb{R}^\iota, and a real function φ\varphi on ℝι\mathbb{R}^\iota, the weighted source measure is the measure on ℝι\mathbb{R}^\iota with density z↦e−φ(z)z \mapsto e^{-\varphi(z)} with respect to μ\mu, valued in [0,∞][0,\infty].✦ For a finite index set ι\iota, a measure μ\mu on ℝι\mathbb{R}^\iota, real function VV on ℝι\mathbb{R}^\iota, and a real number ZZ, the target measure is the measure on ℝι\mathbb{R}^\iota with density x↦max⁡(e−V(x)/Z,0)x \mapsto \max(e^{-V(x)}/Z, 0) with respect to μ\mu, valued in [0,∞][0,\infty].✦

Given a measure μ\mu on a measurable space EE and real functions VV and ff on EE, the unnormalized expectation ∫Efe−Vdμ\int_E f e^{-V}\,d\mu is the integral ∫Ef(x)e−V(x)dμ(x)\int_E f(x)e^{-V(x)}\,d\mu(x).✦ With a finite index set ι\iota, a measure μ\mu on ℝι\mathbb{R}^\iota, real functions VV and FF on ℝι\mathbb{R}^\iota, and a real number ZZ, the normalized expectation 𝔼[F]\mathbb{E}[F] is the unnormalized expectation of FF with respect to VV and μ\mu divided by ZZ.✦

The moment operator

For an index set ι\iota, a homeomorphism Φ\Phi of ℝι\mathbb{R}^\iota, and a real function φ\varphi on ℝι\mathbb{R}^\iota, the pulled-back Hessian τ\tau is the field of real square matrices indexed by ι\iota given at each point x∈ℝιx \in \mathbb{R}^\iota by τ(x)=D2φ(Φ−1(x))\tau(x) = D^2\varphi(\Phi^{-1}(x)).✦

The moment operator is the negative of the moment-Hessian diffusion generator studied by Klartag. Given a finite index set ι\iota, a homeomorphism Φ\Phi of ℝι\mathbb{R}^\iota, and real functions φ\varphi and ff on ℝι\mathbb{R}^\iota, the moment operator AA maps ff to the real function AfAf on ℝι\mathbb{R}^\iota given at each point x∈ℝιx \in \mathbb{R}^\iota by Af(x)=∑i∈ιxi∂if(x)−∑i,j∈ιτij(x)∂j∂if(x).Af(x) = \sum_{i \in \iota} x_i \, \partial_i f(x) - \sum_{i,j \in \iota} \tau_{ij}(x) \, \partial_j \partial_i f(x).(1)✦

The claim

Theorem. Let ι\iota be a finite index set, let μ\mu be a measure on ℝι\mathbb{R}^\iota, let φ\varphi, VV, and ff be smooth real functions on ℝι\mathbb{R}^\iota with ff compactly supported, and let Z>0Z > 0 be a real number. Suppose that μ\mu is an additive Haar measure on ℝι\mathbb{R}^\iota, that is, a translation-invariant measure that is finite on compact sets and positive on nonempty open sets (a positive multiple of Lebesgue measure), and that Φ\Phi is a homeomorphism of ℝι\mathbb{R}^\iota equal to ∇φ\nabla\varphi such that the pushforward of the weighted source measure for μ\mu and φ\varphi under ∇φ\nabla\varphi equals the target measure for μ\mu, VV, and ZZ. Then, for the moment operator AA of (1), the pulled-back Hessian τ\tau, and the normalized expectation 𝔼\mathbb{E} for μ\mu, VV, and ZZ, 𝔼[(Af)(Af−f)]=𝔼[tr((τD2f)2)].\mathbb{E}\bigl[(Af)(Af - f)\bigr] = \mathbb{E}\bigl[\mathrm{tr}\bigl((\tau D^2 f)^2\bigr)\bigr].(2)✦

In the paper, the result reads: 𝔼[(Af)(A−1)f]=𝔼[∇f⋅W]=𝔼[h:B]=𝔼[∥τ1/2D2fτ1/2∥HS2]\mathbb{E}[(Af)(A-1)f] = \mathbb{E}[\nabla f \cdot W] = \mathbb{E}[h : B] = \mathbb{E}\bigl[\|\tau^{1/2} D^2 f \, \tau^{1/2}\|_{\mathrm{HS}}^2\bigr], where h=D2fh = D^2 f, ∥⋅∥HS\|\cdot\|_{\mathrm{HS}} is the Hilbert-Schmidt norm, and ∇f\nabla f and D2fD^2 f stand for the paper’s ∇xf\nabla_x f and Dx2fD_x^2 f. Identity (2) equates the two outer expectations directly, writing (Af)(Af−f)(Af)(Af - f) for (Af)(A−1)f(Af)(A-1)f and tr((τD2f)2)\mathrm{tr}\bigl((\tau D^2 f)^2\bigr) for ∥τ1/2D2fτ1/2∥HS2\|\tau^{1/2} D^2 f \, \tau^{1/2}\|_{\mathrm{HS}}^2.

What is checked

The theorem is stated over a finite index set ι\iota, the coordinate space ℝι\mathbb{R}^\iota with its standard basis vectors, directional and partial derivatives, gradients, and Hessian matrices, a base measure μ\mu on ℝι\mathbb{R}^\iota, smooth potentials φ\varphi and VV with a normalization constant Z>0Z > 0, the corresponding weight functions, weighted source and target measures, unnormalized and normalized expectations, a homeomorphism Φ=∇φ\Phi = \nabla\varphi pushing the weighted source measure forward to the target measure, the pulled-back Hessian τ\tau, the moment operator AA of (1), and a compactly supported smooth test function ff.