OctoInform Beta

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

Row adjoint and Stein kernel (4.1): For a smooth row field PP and homeomorphism Φ=∇φ\Phi=\nabla\varphi with smooth inverse, δμ(Pτ)(∇φ(z))\delta_\mu(P\tau)(\nabla\varphi(z)) equals ∑k∈ι∂k*Pk(z)\sum_{k\in\iota}\partial_k^* P_k(z)

Weighted divergence equals source adjoint under the moment equation.

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

Take smooth real-valued potentials VV and φ\varphi on a finite-dimensional coordinate space such that the gradient of φ\varphi is a homeomorphism with smooth inverse and the pair satisfies the moment equation log⁡det⁡D2φ(z)=V(∇φ(z))+c−φ(z)\log\det D^2\varphi(z) = V(\nabla\varphi(z)) + c - \varphi(z) for some constant cc.

Coordinate calculus

Given an index type ι\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; a point x∈ℝιx \in \mathbb{R}^\iota is the family of its coordinates (xj)j∈ι(x_j)_{j\in\iota}.✦ When ι\iota is finite, the standard basis vector eie_i associated with an index i∈ιi \in \iota is the vector in ℝι\mathbb{R}^\iota whose coordinate at ii is 11 and whose other coordinates are 00.✦

On a real normed vector space EE, the directional derivative DvfD_v f of a function f:E→ℝf : E \to \mathbb{R} 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.✦ On ℝι\mathbb{R}^\iota for a finite index type ι\iota, the partial derivative ∂if\partial_i f of f:ℝι→ℝf : \mathbb{R}^\iota \to \mathbb{R} in the coordinate direction i∈ιi \in \iota is the directional derivative DeifD_{e_i} f. At a point x∈ℝιx \in \mathbb{R}^\iota, the gradient ∇f(x)\nabla f(x) of a function f:ℝι→ℝf : \mathbb{R}^\iota \to \mathbb{R} is the vector in ℝι\mathbb{R}^\iota whose coordinate at each i∈ιi \in \iota is ∂if(x)\partial_i f(x).✦ The Hessian matrix D2f(x)D^2 f(x) of a function f:ℝι→ℝf : \mathbb{R}^\iota \to \mathbb{R} at x∈ℝιx \in \mathbb{R}^\iota is the real square matrix indexed by ι\iota whose entry in row ii and column jj is ∂j(∂if)(x)\partial_j(\partial_i f)(x).✦

Weighted divergence

Given a potential V:E→ℝV : E \to \mathbb{R} on a real normed vector space EE, a vector v∈Ev \in E, and a function f:E→ℝf : E \to \mathbb{R}, the weighted adjoint DV,v*fD_{V,v}^* f is the real function on EE defined by DV,v*f(x)=DvV(x)f(x)−Dvf(x).D_{V,v}^* f(x) = D_v V(x)\,f(x) - D_v f(x).(1)✦ On ℝι\mathbb{R}^\iota for a finite index type ι\iota, the source adjoint ∂k*f\partial_k^* f in the coordinate direction eke_k for the weight e−φe^{-\varphi} of a potential φ:ℝι→ℝ\varphi : \mathbb{R}^\iota \to \mathbb{R} is the weighted adjoint Dφ,ek*fD_{\varphi, e_k}^* f from (1).

For a finite index type ι\iota, a family of vectors e=(ei)i∈ιe = (e_i)_{i\in\iota} in EE, and a family of real functions W=(Wi)i∈ιW = (W_i)_{i\in\iota} on EE, the weighted divergence δV,eW\delta_{V,e} W with respect to a potential V:E→ℝV : E \to \mathbb{R} is the real function on EE defined by δV,eW(x)=∑i∈ιDV,ei*Wi(x).\delta_{V,e} W(x) = \sum_{i\in\iota} D_{V, e_i}^* W_i(x).(2)✦ When E=ℝιE = \mathbb{R}^\iota and ee is the standard basis, the weighted divergence (2) for the weight e−Ve^{-V} is denoted δμW\delta_\mu W, where μ\mu is the measure with density e−Ve^{-V}.

Target coordinates

For an index type ι\iota, a homeomorphism Φ:ℝι→ℝι\Phi : \mathbb{R}^\iota \to \mathbb{R}^\iota, and a function g:ℝι→ℝg : \mathbb{R}^\iota \to \mathbb{R}, the transported function g∘Φ−1g \circ \Phi^{-1} is the composition of gg with Φ−1\Phi^{-1}, a real function on ℝι\mathbb{R}^\iota.✦ For a finite index type ι\iota and a smooth potential φ:ℝι→ℝ\varphi : \mathbb{R}^\iota \to \mathbb{R} whose gradient Φ=∇φ:ℝι→ℝι\Phi = \nabla\varphi : \mathbb{R}^\iota \to \mathbb{R}^\iota is a homeomorphism, the target-coordinate Hessian field τ\tau maps each x∈ℝιx \in \mathbb{R}^\iota to τ(x)=D2φ(Φ−1(x))\tau(x) = D^2\varphi(\Phi^{-1}(x)). Given a source row field P=(Pk)k∈ιP = (P_k)_{k\in\iota} of functions Pk:ℝι→ℝP_k : \mathbb{R}^\iota \to \mathbb{R}, the transported row field PτP\tau is the target-coordinate family whose jj-th component is the transported function (Pτ)j=(∑k∈ιPk(D2φ)kj)∘Φ−1.(P\tau)_j = \Bigl(\sum_{k\in\iota} P_k\,(D^2\varphi)_{kj}\Bigr) \circ \Phi^{-1}.(3)

The claim

Theorem. Let ι\iota be a finite index type, let φ,V:ℝι→ℝ\varphi, V : \mathbb{R}^\iota \to \mathbb{R} be smooth functions, and suppose that Φ=∇φ:ℝι→ℝι\Phi = \nabla\varphi : \mathbb{R}^\iota \to \mathbb{R}^\iota is a homeomorphism with smooth inverse. Assume there is a constant c∈ℝc \in \mathbb{R} such that for every z∈ℝιz \in \mathbb{R}^\iota, det⁡D2φ(z)≠0\det D^2\varphi(z) \neq 0 and log⁡det⁡D2φ(z)=V(∇φ(z))+c−φ(z)\log\det D^2\varphi(z) = V(\nabla\varphi(z)) + c - \varphi(z). Then for every family P=(Pk)k∈ιP = (P_k)_{k\in\iota} of smooth functions Pk:ℝι→ℝP_k : \mathbb{R}^\iota \to \mathbb{R} and every z∈ℝιz \in \mathbb{R}^\iota, the transported row field PτP\tau of (3) satisfies δμ(Pτ)(∇φ(z))=∑k∈ι∂k*Pk(z),\delta_\mu(P\tau)(\nabla\varphi(z)) = \sum_{k\in\iota} \partial_k^* P_k(z),(4)✦ where δμ\delta_\mu is taken with respect to VV and ∂k*\partial_k^* with respect to φ\varphi.

What is checked

The identity (4) in the theorem is stated over the coordinate space ℝι\mathbb{R}^\iota for a finite index type ι\iota, standard basis vectors, directional and partial derivatives, the gradient, the Hessian matrix, transported functions, weighted adjoints, and weighted divergences, for smooth potentials VV and φ\varphi coupled by the moment equation and a gradient homeomorphism Φ=∇φ\Phi = \nabla\varphi with smooth inverse.