Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Hamiltonian Monte Carlo and leapfrog correction

1 · Prerequisites

2 · Summary

This page defines the Gaussian-momentum Hamiltonian target and the finite leapfrog Metropolis update. It proves shear-based volume preservation, momentum-flip reversibility, and exact target invariance after the Metropolis correction. The finite integrator can have energy error; the acceptance correction restores invariance without implying mixing or convergence. Exact-flow energy and volume claims require a complete C1 Hamiltonian flow, supplied under C2 regularity and a complete vector field; a globally Lipschitz force is a sufficient completeness condition, and Countable Choice is used for the change-of-variables step that turns determinant one into volume preservation. The HMC definition assumes AC, which supplies that weaker axiom. The shear volume proof uses translations and product integration when U∈C1; classical Jacobian matrices are asserted only when U∈C2. Neal's dimension-scaling discussion uses replicated independent-coordinate targets and is not asserted as a general HMC scaling theorem here.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

One-step leapfrog map as force and drift shears

Definition

Let d≥1, let U:Rd→R be continuously differentiable, and let M be a real symmetric positive-definite d×d matrix. Write ∇U for its Euclidean gradient, and let ϵ>0.

For a,b∈R, define the force kick and drift shear Ka(q,p)=(q,p−a∇U(q)),Db(q,p)=(q+bM−1p,p). The one-step leapfrog map is Φϵ=Kϵ/2∘Dϵ∘Kϵ/2, where composition is read right to left. For a finite integer L≥1, its L-step map is ΦϵL. Define the momentum flip R(q,p)=(q,−p) and the flipped proposal map Tϵ,L=R∘ΦϵL.

Each kick and drift is a continuous bijection with inverse K−a or D−b, respectively. These finite maps use only ∇U and do not require a solution of Hamilton's ODE. The classical derivative of a force kick is not part of this definition: for merely U∈C1, ∇U need not be differentiable.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

A complete Hamiltonian flow for a C2 potential preserves energy and phase volume

Statement

Let d≥1, let U∈C2(Rd,R), and let M be real symmetric positive definite. Set H(q,p)=U(q)+12pTM−1p,F(q,p)=(M−1p,−∇U(q)). Assume Countable Choice. Call this vector field complete when the solution through every (q,p) exists for all t∈R. If F is complete, it has a unique global C1 flow Φt, which conserves H and satisfies det⁡DΦt(q,p)=1(t∈R). Thus it preserves phase-space Lebesgue volume. Completeness is an explicit hypothesis. In particular, if ∇U is globally L-Lipschitz, then F is globally Lipschitz with constant C=max⁡{∥M−1∥F,L}, so the global-existence and stability corollaries apply and ∥Φt(z)−Φt(w)∥2≤eC∣t∣∥z−w∥2.

Facts & Assumptions

Given: Countable Choice, d, U, M, the stated complete Hamiltonian vector field, and, for the sufficient condition, a global Lipschitz constant L for ∇U.

[A1]

Countable Choice is the set-theoretic assumption used by the C1 change-of-variables theorem. The Axiom of Countable Choice (ACω)

[F1]

A C1 Euclidean vector field has a unique maximal flow that is jointly C1; its time slices have inverse given by the negative-time flow, and its derivative in initial data solves the variational equation. C¹ Euclidean maximal flows, variational dependence and the finite C² upgrade

[F2]

The total-derivative chain rule gives ddtH(z(t))=DH(z(t))z′(t) and differentiates compositions by D(g∘f)=Dg(f)Df. The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a)

[F3]

For an invertible differentiable matrix curve A(t), Jacobi's formula is (det⁡A)′=det⁡(A)tr⁡(A−1A′). The determinant differential is Ddet⁡(A)[H]=tr⁡(adj⁡(A)H) at every matrix, and Jacobi's formula holds on the invertible locus

[F4]

A continuous vector field on R×Rn with one global state-Lipschitz constant has a unique global solution for every initial condition. A globally state-Lipschitz vector field on R×Rn has global solutions

[F5]

Two solutions for a state-Lipschitz field with constant C obey ∥x(t)−y(t)∥2≤eC∣t−t0∣∥x(t0)−y(t0)∥2. The Grönwall estimate for two solutions of a Lipschitz ODE

[F8]

Under Countable Choice, a C1 diffeomorphism between open Euclidean sets satisfies the change-of-variables formula for every nonnegative Lebesgue-measurable function. A C^1 diffeomorphism satisfies the change-of-variables formula for nonnegative Lebesgue measurable functions

[F9]

The Euclidean gradient is the transpose-Jacobian convention, so U∈C2 makes F a C1 field with DF(q,p)=(0M−1−∇2U(q)0). The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case

Proof

technique · direct energy differentiation and the variational equation
1.1givenF1F2F7F9

By [F7], M=LLT where L is lower triangular with strictly positive diagonal. Thus det⁡L is the positive product of its diagonal entries, and det⁡M=det⁡Ldet⁡(LT)=(det⁡L)2>0; [F7] implies that M is invertible, so M−1 is well-defined and symmetric. Since U∈C2, [F9] makes F a C1 vector field. By [F1] it has a unique maximal C1 flow, and completeness as defined in the Statement makes every time slice Φt global with inverse Φ−t. Differentiating Φ−t∘Φt=I by [F2] shows DΦt(z) is invertible. The derivative A(t):=DΦt(z) satisfies A′(t)=DF(Φt(z))A(t) by [F1].

1.2givenF2algebra

Along a solution z(t)=(q(t),p(t)), [F2] and the displayed Hamilton equations give ddtH(q(t),p(t))=∇U(q(t))TM−1p(t)+(M−1p(t))T(−∇U(q(t)))=0, where symmetry of M−1 identifies the derivative of the kinetic energy. Hence H(Φt(z))=H(z).

1.3F6givenalgebra

Suppose ∇U is globally L-Lipschitz. For z=(q,p) and w=(q′,p′), [F6] gives ∥F(z)−F(w)∥22≤∥M−1∥F2∥p−p′∥22+L2∥q−q′∥22≤C2∥z−w∥22. Thus the time-independent field on R×R2d has global state-Lipschitz constant C.

2.1F1F3F9step 1.1algebra

By [F9], the variational matrix is DF(q,p)=(0M−1−∇2U(q)0), whose trace is zero. Since A(t) is invertible by step 1.1, [F3] and the finite-sum trace identity tr⁡(XY)=∑i,jXijYji=tr⁡(YX) give ddtdet⁡A(t)=det⁡A(t)tr⁡(A(t)−1DF(Φt(z))A(t))=det⁡A(t)tr⁡(DF(Φt(z)))=0. Since A(0)=I2d, det⁡A(0)=1, so det⁡DΦt(z)=1 for all t.

2.2F4F5step 1.3

Apply [F4] to obtain completeness and uniqueness in this globally Lipschitz case, and apply [F5] with the same C to obtain the stated Gronwall stability estimate. This supplies a sufficient condition; no completeness is inferred from merely local Lipschitz continuity of ∇U.

3.1A1F8step 1.1step 2.1∎

For each t∈R, step 1.1 makes Φt:R2d→R2d a global C1 diffeomorphism. For any Lebesgue-measurable E⊆R2d, apply [F8] to 1E and use step 2.1 to get λ2d(Φt−1(E))=∫R2d1E(Φt(z))∣det⁡DΦt(z)∣ dz=λ2d(E). Hence the exact flow preserves phase-space Lebesgue volume.

Remarks

Energy conservation and phase-volume preservation here concern the exact ODE flow. They do not assert that a finite leapfrog map conserves H.

LemmaStatement: AI-adaptedProof: AI-generatedOpen item page →

The real-line exponential tail is Lebesgue integrable

Statement

Assume Countable Choice and let f(x)=exp⁡(−∣x∣) on R. Then f is nonnegative and Lebesgue measurable, and ∫Rf(x) dλ1(x)<∞.

Facts & Assumptions

Given: Countable Choice, the natural numbers N, and the function f(x)=exp⁡(−∣x∣).

[A1]

Countable Choice is the set-theoretic assumption used by the continuous-to-Borel and box-measure results. The Axiom of Countable Choice (ACω)

[F1]

The exponential is continuous, positive and strictly increasing, and satisfies exp⁡(−x)=1/exp⁡(x) for every real x. Continuous real functions on R are Borel measurable under Countable Choice. The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x), The exponential function is strictly increasing, Continuous functions on Euclidean spaces are Borel measurable

[F3]

The nonnegative Lebesgue integral is monotone, additive on nonnegative measurable functions, and satisfies monotone convergence. Monotonicity and nonnegative homogeneity of the nonnegative integral, Additivity of the nonnegative Lebesgue integral, Monotone convergence for the integral

[F5]

Arithmetic combinations of measurable real functions are measurable. Arithmetic and lattice operations preserve measurability whenever they are defined

[F6]

The exponential addition formula, induction, and recursive integer-power definition give exp⁡(−k)=exp⁡(−1)k for every natural k. The exponential addition formula exp⁡(x+y)=exp⁡(x)exp⁡(y), The principle of mathematical induction, Integer powers am

[F7]

The nonnegative Lebesgue integral of a nonnegative measurable function is the supremum of the integrals of its nonnegative simple minorants. The nonnegative Lebesgue integral

[F8]

The natural numbers N start at 0 and are closed under successor. The natural numbers N (von Neumann)

[F9]

A natural index used as a real endpoint is read through its canonical embedding into R. The canonical natural ι(n)=n⋅1F of a field

[F10]

For a nonnegative measurable function and a measurable set E, ∫Ef dλ means ∫f1E dλ. Integral over a measurable subset

[F11]

Under Countable Choice, every Borel subset of R is Lebesgue measurable. Assuming countable choice, every Borel subset of Rn is Lebesgue measurable

[F12]

The canonical naturals are cofinal in R. Every complete ordered field is Archimedean

[F13]

A nonnegative simple function has the same nonnegative Lebesgue and simple integrals; in particular, ∫c1E dλ1=cλ1(E) for c≥0 and measurable E of finite measure. The integral of a nonnegative simple function, The nonnegative integral agrees with the simple integral on simple functions

Proof

technique · compare on a countable partition with a summable geometric envelope
1.1A1F1F4F11givenalgebra

The elementary inequalities ∣x∣≤∣x−y∣+∣y∣ and ∣y∣≤∣x−y∣+∣x∣ give ∣∣x∣−∣y∣∣≤∣x−y∣, so x↦−∣x∣ is continuous. Together with exponential continuity [F1], this makes f continuous, hence Borel measurable by [F1] and Lebesgue measurable by [F11]; also f>0. Set a=exp⁡(0)>0. The reciprocal identity at zero gives a=1/a, hence (a−1)(a+1)=0 and a=1. Put r=exp⁡(−1). Strict increase gives 0<r<exp⁡(0)=1, so [F4] gives ∑k=0∞rk=1/(1−r)<∞.

2.1A1F1F2F3F4F6F8F9F10F12F13step 1.1algebra

For each k,n∈N with n≥1, read as real endpoints via [F9], set Ik=[k,k+1) and Jk=[−k−1,−k). These intervals are pairwise disjoint and, by [F12], partition R; each has measure one by [F2]. On either interval ∣x∣≥k, so monotonicity of the exponential and [F6] give f(x)≤exp⁡(−k)=rk. For each such n, the union of Ik,Jk over k<n is [−n,n), and the integral notation is that of [F10]; [F3] and [F13] yield ∫[−n,n)f dλ1≤2∑k<nrk≤21−r.

3.1F1F2F3F5F7F10F12step 1.1step 2.1algebra∎

The measurable functions fn=f1[−n,n) increase pointwise to f by [F12]; their measurability follows from [F1], [F2], and [F5]. By [F7] and [F10], their nonnegative integrals are defined, and monotone convergence [F3] gives ∫Rf dλ1=lim⁡n→∞∫[−n,n)f dλ1≤21−r<∞. This proves the claimed integrability.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Leapfrog is reversible and volume-preserving

Statement

Assume Countable Choice. Use the notation of One-step leapfrog map as force and drift shears on Rd×Rd, equipped with full Euclidean Lebesgue measure λ2d. Every kick Ka and drift Db preserves that measure. Consequently ΦϵL and Tϵ,L=R∘ΦϵL preserve phase volume, and Tϵ,L2=I. For U∈C2, the classical Jacobian matrices of the kick and drift are block triangular with determinant one; under only U∈C1, the volume conclusion means measure preservation and does not presume a classical Jacobian exists.

Facts & Assumptions

Given: The inputs and maps in One-step leapfrog map as force and drift shears, finite L≥1, and Countable Choice for the stated Lebesgue-measure supplier.

[A1]

Countable Choice supplies the measure construction used by the cited reflection result. The Axiom of Countable Choice (ACω)

[F1]

For U∈C1, the kick and drift have the formulas in One-step leapfrog map as force and drift shears; ∇U is continuous, and their inverses are K−a and D−b.

[F2]

Translating a Lebesgue-measurable set preserves its Lebesgue measure. Lebesgue outer measure, Lebesgue measurability and Lebesgue measure are unchanged by translation

[F3]

Sections of product-measurable sets are measurable; a continuous map pulls Borel sets back to Borel sets. Every section of a product-measurable function is measurable, A continuous map has Borel preimages of Borel sets

[F4]

Under Countable Choice, Lebesgue measure is sigma-finite: the increasing finite boxes (−n,n]d cover Rd, and Borel sets are Lebesgue measurable. A box in Rn with parameters ai≤bi is Lebesgue measurable of measure ∏i<n(bi−ai), whichever of its faces are included, Assuming countable choice, every Borel subset of Rn is Lebesgue measurable

[F5]

The product of sigma-finite Lebesgue measures exists with the rectangle formula, and Tonelli applies to nonnegative product-measurable functions. For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique, Tonelli's theorem for nonnegative measurable functions on a sigma-finite product

[F6]
[F7]

The determinant of a triangular matrix is the product of its diagonal entries. The determinant of a triangular matrix is the product of its diagonal entries

[F8]

Under Countable Choice, the Borel sigma-algebra of R2d is the product of the Borel sigma-algebras of the two factors, and the product of their Borel-restricted Lebesgue measures agrees with full Euclidean measure λ2d. The Borel product of R^m and R^n is the Borel sigma-algebra of R^{m+n}, On Borel subsets of R^{m+n}, the product lambda_m times lambda_n agrees with lambda_{m+n}

[F9]

Under Countable Choice, every Lebesgue-measurable subset of R2d differs from a Borel set by a subset of a Borel null set, and λ2d is the completion of its Borel restriction. L(Rn) is exactly the completion of the restriction of λn to the Borel sets

Proof

technique · slice the shears and use the symmetric composition
1.1A1F1F2F3F4F5F8construct

Fix a∈R and a Borel set E⊆Rd×Rd. Continuity of Ka makes Ka−1(E) Borel, and [F3, F8] make these sets product-measurable with measurable sections Eq. For fixed q, the momentum section of Ka−1(E) is Eq+a∇U(q), a translate of Eq, so [F2] gives equal λd-measures. Tonelli [F5] on the product measure from [F4] gives equal product measures, and [F8] identifies them with full Euclidean measures: λ2d(Ka−1(E))=λ2d(E).

1.2A1F1F2F3F4F5F6F8algebra

For each fixed p, continuity of Db from [F1] and [F3, F8] make the position section of Db−1(E) measurable; it is Ep−bM−1p, also a translate. The same [F2] and Tonelli calculation, with [F8], gives λ2d(Db−1(E))=λ2d(E). The map R preserves full phase volume because it reflects each momentum section, so [A1, F5, F6] apply. Thus every kick, drift, and flip preserves phase volume on Borel sets.

2.1F1F3F9step 1.1step 1.2

Let E⊆R2d be Lebesgue measurable. By [F9], choose Borel sets A,Z and N⊆Z with E=A∪N and λ2d(Z)=0. For any kick, drift, or flip S, [F1] and [F3] make S−1(A) and S−1(Z) Borel; steps 1.1 and 1.2 give λ2d(S−1(A))=λ2d(A) and λ2d(S−1(Z))=0. Thus S−1(E) differs from S−1(A) by a subset of the null Borel set S−1(Z), so [F9] gives its measurability and λ2d(S−1(E))=λ2d(E). This proves preservation for every Lebesgue-measurable set.

3.1F1step 2.1algebra

Since Φϵ=Kϵ/2∘Dϵ∘Kϵ/2, its finite powers and their composition with R preserve volume by step 2.1.

4.1F1step 3.1algebra

Direct substitution gives RKaR=K−a and RDbR=D−b. Hence RΦϵR=K−ϵ/2∘D−ϵ∘K−ϵ/2=Φϵ−1. For Tϵ,L=RΦϵL, this yields Tϵ,L2=RΦϵLRΦϵL=Φϵ−LΦϵL=I. This proves reversibility by momentum flip and the involution claim.

5.1F1F7step 2.1step 4.1algebra∎

If U∈C2, differentiation gives DKa=(I0−a∇2U(q)I),DDb=(IbM−10I); by [F7] both determinants are one, and ∣det⁡DR∣=1. Under merely C1 regularity these derivative matrices need not exist, but steps 1.1–4.1 already prove measure preservation without them.

Remarks

The statement “unit Jacobian” is classical only when the Hessian exists. For the design's base C1 potential, the slice-translation proof is the volume-preservation argument.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Hamiltonian Monte Carlo

Definition

Assume AC. Let d≥1, let U:Rd→R be continuously differentiable, and suppose ZU:=∫Rde−U(q) dq∈(0,∞). The position target is the Borel probability with density π(q)=ZU−1e−U(q). Let M be a real symmetric positive-definite d×d mass matrix. Define the kinetic energy and Hamiltonian by K(p)=12pTM−1p,H(q,p)=U(q)+K(p). At each iteration, refresh the momentum independently from p∼Nd(0,M), the multivariate normal law of mean zero and covariance M (Multivariate normal law, including singular covariance). The corresponding Hamilton equations are q˙=M−1p,p˙=−∇U(q), where ∇U is the Euclidean gradient of the objective under the convention of The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case and the BCS-20 gradient-descent input contract Gradient descent.

For finite leapfrog integration, choose ϵ>0 and an integer L≥1, use the map from One-step leapfrog map as force and drift shears for L steps, and flip the final momentum. If z=(q,p), write (q~,p~)=ΦϵL(z) and define the flipped proposal z∗=(q~,−p~). The Metropolis acceptance probability is α(z,z∗)=min⁡{1,exp⁡(−H(z∗)+H(z))}. The general accepted-flow and rejected-self-transition convention is the Metropolis-Hastings procedure Metropolis–Hastings kernel.

Remarks

The finite leapfrog procedure is defined by finitely many evaluations of ∇U and does not require the Hamilton ODE to be complete. An exact-flow version requires U∈C2 and a complete Hamiltonian vector field; under AC, which supplies Countable Choice by AC supplies countable selections and prescribed serial paths, A complete Hamiltonian flow for a C2 potential preserves energy and phase volume proves its energy and volume properties.

Neal's high-dimensional scaling analysis uses a replicated independent-coordinate target of the form U(q)=∑iui(qi) (with the coordinate contributions independently replicated). This definition makes no scaling claim outside that regime.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Leapfrog Hamiltonian Monte Carlo

Definition

Assume the inputs of Hamiltonian Monte Carlo and fix a current position q, a step size ϵ>0, and a finite integer L≥1.

  1. Independently refresh p∼Nd(0,M) and set z=(q,p).
  2. Compute zL=ΦϵL(z) by the finite recursion in One-step leapfrog map as force and drift shears, then set z∗=R(zL), where R(q,p)=(q,−p).
  3. Form the deterministic proposal kernel QT(z,A)=1A(z∗) on phase space and apply Metropolis–Hastings kernel with target ν(dq,dp)=π(dq)Nd(0,M)(dp). Equivalently, accept z∗ with probability min⁡{1,exp⁡(−H(z∗)+H(z))} and otherwise retain z.
  4. Return the position coordinate of the accepted or retained phase point.

The finite recursion is defined for every (q,p)∈R2d. No exact ODE solution, energy conservation by the discrete map, or convergence guarantee is part of this procedure.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

The Metropolized Hamiltonian chain preserves its target

Statement

Assume AC. Let d≥1, U∈C1(Rd,R) with 0<ZU<∞, and let M be real symmetric positive definite. For any ϵ>0 and finite integer L≥1, use the leapfrog map and momentum flip of One-step leapfrog map as force and drift shears, and let P be the phase-space Metropolis kernel correcting T=R∘ΦϵL with acceptance min⁡{1,exp⁡(−H(Tz)+H(z))} as in Leapfrog Hamiltonian Monte Carlo. Its target is ν(dq,dp)=π(dq)Nd(0,M)(dp) where π(dq)=ZU−1e−U(q)dq. The HMC position transition first refreshes momentum independently, applies P, and projects to position. Both are probability kernels, and the resulting position kernel leaves π invariant. The finite leapfrog map need not conserve H; no irreducibility, uniqueness, convergence, mixing-rate, or CLT conclusion is asserted.

Facts & Assumptions

Given: AC, d,U,ZU,M,ϵ,L as in the Statement and the finite leapfrog HMC procedure.

[A1]

AC states that every family of nonempty sets has a choice function. The Axiom of Choice

[A2]

AC implies Countable Choice, as used by the volume-preservation supplier. AC supplies countable selections and prescribed serial paths

[F1]

Hamiltonian Monte Carlo defines π, K, H, and the refreshed momentum law Nd(0,M).

[F2]

Leapfrog Hamiltonian Monte Carlo uses the flipped deterministic proposal and the acceptance probability min⁡{1,exp⁡(−H(z∗)+H(z))}.

[F3]

For SPD M, Nd(0,M) has Lebesgue density (2π)−d/2det⁡(M)−1/2exp⁡(−pTM−1p/2). A positive-definite multivariate normal law has its Gaussian density

[F4]

The Borel space of finite-dimensional Euclidean phase space is standard Borel. Finite-dimensional Euclidean space with its Borel sigma-algebra is standard Borel

[F5]

The kick, drift, and momentum flip maps are continuous; their composition T=R∘ΦϵL is continuous, involutive, and volume-preserving. One-step leapfrog map as force and drift shears, Leapfrog is reversible and volume-preserving

[F6]

A measurable map T gives the deterministic probability kernel QT(z,A)=δTz(A); continuous preimages of Borel sets are Borel. Measure kernel and probability kernel, The Dirac set function at a point, A continuous map has Borel preimages of Borel sets

[F7]

The coordinate swap on a finite product is measurable, so transposing the proposal flow defines a measure. Coordinate maps and permutations are measurable on finite products

[F8]

For a target probability ν and proposal kernel Q, the general Metropolis-Hastings construction uses the greatest common submeasure of the forward flow and its transpose; its acceptance function is a version of the Radon-Nikodym derivative. Metropolis–Hastings kernel

[F9]

If two finite measures have densities f,g with respect to one sigma-finite measure, their greatest common submeasure has density min⁡{f,g}. The common submeasure of two finite densities

[F10]

The general Metropolis-Hastings output kernel is reversible and invariant for its target probability. Metropolis–Hastings flow is reversible and invariant

[F11]

Each λd is Lebesgue measure from Lebesgue measurable sets, the family L(Rn), and the restricted set function λn, restricted to Borel sets. Under Countable Choice, the Borel product agrees with Euclidean Lebesgue measure on Borel phase sets; finite products of sigma-finite measures exist, are unique on measurable rectangles, and obey Tonelli, while finite sums of measures are measures. On Borel subsets of R^{m+n}, the product lambda_m times lambda_n agrees with lambda_{m+n}, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique, Tonelli's theorem for nonnegative measurable functions on a sigma-finite product, Nonnegative scalar multiples and countable weighted sums of measures are measures

[F12]

Scalar multiples, pointwise-defined sums, products, absolute values, and finite maxima and minima of measurable real-valued functions are measurable. Arithmetic and lattice operations preserve measurability whenever they are defined

[F13]

A probability measure and a probability kernel define a probability measure on their product space by iterated integration. A prior and model kernel define a joint law

[F14]

A measurable measure-preserving map T satisfies ∫h∘T dλ=∫h dλ for every nonnegative measurable h. Measure-preserving transformations and systems, Integral invariance under measure-preserving maps

[F15]

Probability kernels compose by integration; the composition is a probability kernel and is associative. Composition of probability kernels, Kernel composition is well defined and associative

[F16]

For product-measurable C, the refresh formula S(q,C)=∫1C(q,p)Nd(0,M)(dp) defines a probability kernel from positions to phase space: for fixed q the section measure is countably additive with mass one, and kernel integration makes its evaluation measurable in q. The product sigma-algebra and its finite iterates, Probability measures and probability spaces, Every section of a product-measurable function is measurable, Measurability of integration against a kernel

[F17]

The continuous position projection pr⁡q(q,p)=q defines the deterministic probability kernel J((q,p),A)=1A(q). The Dirac set function at a point, Measure kernel and probability kernel, A continuous map has Borel preimages of Borel sets

[F18]

The phase density ρ is finite-valued, strictly positive, and Borel on E=R2d. Write Pq(q,p)=q, Pp(q,p)=p, and K(p)=12∑i,j=1d(M−1)ijpipj. The Euclidean coordinate projections Pq,Pp and scalar coordinate maps pi:E→R are continuous (each projection does not increase Euclidean distance). Since U is continuous, for each Borel B⊆R the set (U∘Pq)−1(B)=Pq−1(U−1(B)) is Borel by the continuous-preimage theorem. The finite coordinate formula and [F12] make K∘Pp Borel. The same inverse-image identity, using continuity of the exponential, shows that e−U∘Pq and e−K∘Pp are Borel. Their product with the positive normalizing constant in [F1] and [F3] is ρ; it is finite and strictly positive because U,K are real-valued and the exponential is positive. Hamiltonian Monte Carlo, A positive-definite multivariate normal law has its Gaussian density, Arithmetic and lattice operations preserve measurability whenever they are defined, A continuous map has Borel preimages of Borel sets, The exponential function is strictly increasing, The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x)

[F19]

For a probability measure m and probability kernel K, (mK)(A)=∫K(x,A)m(dx); invariance means mK=m. Invariant and stationary distribution for a Markov kernel

[F20]

If τ is measurable, then C↦μ(τ−1C) is a measure, since inverse images preserve disjoint unions and countable unions. Measures on sigma-algebras, A measurable function between measurable spaces

[F21]

Integrating a nonnegative measurable function against a Dirac probability measure evaluates it at the point. Integration against a Dirac measure evaluates at its point

[F22]

For every product-measurable C⊆E×E, the graph map GT(z)=(z,Tz) is measurable: z↦z and the continuous map T are measurable, so the finite-product coordinate-map lemma applies. Hence z↦1C(z,Tz)ρ(Tz) is nonnegative Borel by [F12] and [F18]. Also, on E×E, the first-coordinate projection is measurable because the preimage of each Borel A⊆E is A×E. It follows that u(x,y)=ρ(x) and v(x,y)=ρ(Tx) are positive Borel functions. Their sum u+v is positive Borel; viewed as a map into the subspace (0,∞), it is measurable. The one-dimensional continuity-algebra result applied to 1 and the identity on (0,∞) makes t↦1/t continuous there, so its composition with u+v is Borel. Therefore u/(u+v) and v/(u+v) are Borel by multiplication, without using a quotient-closure claim. Coordinate maps and permutations are measurable on finite products, The product sigma-algebra and its finite iterates, Arithmetic and lattice operations preserve measurability whenever they are defined, Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, A continuous map has Borel preimages of Borel sets

Proof

technique · identify the accepted-flow density on the graph of the involution, then compose invariant kernels
1.1A1A2F1F3F11F13F18given

Let λ=λd⊗λd on the product Borel phase space, where λd denotes the Borel restriction of Lebesgue measure. Put ϕ(q)=ZU−1e−U(q) and ψ(p)=(2π)−d/2det⁡(M)−1/2e−K(p). By [F1] and [F3], these are probability densities for π and Nd(0,M). For every product-measurable C⊆E, Tonelli in [F11] and these density identities give ∫E1C(q,p)ϕ(q)ψ(p) dλ=∫Rdϕ(q)(∫Rd1C(q,p)ψ(p) dλd(p))dλd(q)=∫RdNd(0,M)(Cq) π(dq)=ν(C), where the final equality is the product-law formula (equivalently [F13] for the constant momentum-refresh kernel). Taking C=E also gives ∫ϕ(q)ψ(p) dλ=1. Thus ρ(q,p)=ϕ(q)ψ(p) is a density of ν with respect to λ. The Borel product agrees with Euclidean phase-space Lebesgue measure by [F11], and [F18] gives strict positivity of ρ. The Countable Choice hypothesis of [F11] follows from [A2].

1.2A2F4F5F6construct

Write T=R∘ΦϵL. By [F5], T is continuous, involutive, and volume-preserving. For each z, QT(z,⋅)=δTz is a probability measure by [F6]; for each Borel A, z↦QT(z,A)=1A(Tz) is measurable by [F6]. Thus QT is a probability kernel on the standard-Borel phase space [F4]. Countable Choice needed for [F5] follows from [A2].

2.1A2F5F6F7F11F13F14F18F20F21F22step 1.1algebra

Let μ(dz,dw)=ν(dz)QT(z,dw) and τ(z,w)=(w,z). By [F13], μ is a probability measure; [F7] makes τ measurable, so [F20] makes its pushforward μT(C):=μ(τ−1C) a measure. For product-measurable C, [F6] and [F21] give μ(C)=∫1C(z,Tz)ρ(z) dλ(z),μT(C)=∫1C(Tz,z)ρ(z) dλ(z). The second formula is the definition of transpose. Put h(x)=1C(x,Tx)ρ(Tx), which is nonnegative Borel by [F22]. Since T2=I, h(Tz)=1C(Tz,z)ρ(z), so [F14] gives μT(C)=∫1C(z,Tz)ρ(Tz) dλ(z). Therefore [F11] makes λ0:=μ+μT a finite measure λ0(C)=∫1C(z,Tz)(ρ(z)+ρ(Tz)) dλ(z).

3.1F1F3F9F11F12F18F22step 1.1step 2.1algebra

For all (x,y) set f(x,y)=ρ(x)ρ(x)+ρ(Tx),g(x,y)=ρ(Tx)ρ(x)+ρ(Tx). They are Borel by [F22], using the product closure in [F12]. By the graph integral formula in step 2.1, ∫Cf dλ0=∫1C(z,Tz)ρ(z) dλ(z)=μ(C); similarly ∫Cg dλ0=μT(C). Thus they are densities. By [F9], the common accepted flow has density min⁡{f,g}. Since ρ(z)>0 by [F18], its derivative relative to the forward flow on that graph is min⁡{f,g}f=min⁡{1,ρ(Tz)/ρ(z)}=min⁡{1,e−H(Tz)+H(z)}, where the Gaussian and target normalizing constants cancel.

4.1F2F8F10step 3.1

Thus the acceptance formula in [F2] is a version of the accepted-flow derivative in [F8]. Applying [F10] to target ν and proposal kernel QT shows that the Metropolized phase-space kernel preserves ν.

5.1A2F1F11F13F15F16F17F19step 4.1algebra∎

Let S be the refresh kernel of [F16] and J the position kernel of [F17]. With P the phase-space Metropolis kernel from step 4.1, [F15] makes K:=SPJ a probability kernel on positions. By [F13], refreshing a π-distributed position defines a probability law m on phase space. On Borel rectangles A×B, this law is m(A×B)=∫ANd(0,M)(B) π(dq)=π(A)Nd(0,M)(B); [A2, F11] and uniqueness on rectangles give m=ν. Thus mP=νP=ν by step 4.1, and (νJ)(A)=ν(A×Rd)=π(A) since Nd(0,M) is a probability. By the kernel-composition definition [F15] and the measure action [F19], the output law under K=SPJ is πK=mPJ=νPJ=νJ=π. This proves invariance of the HMC position kernel.

Remarks

The plan inventory names the BCS-30 result as thm-metropolis-hastings-kernel-preserves-target. The current authored BCS-30 manifest/body instead supplies thm-metropolis-hastings-kernel-is-reversible-and-invariant; the proof above uses that actual body, whose statement includes general-state target invariance under AC.

5 · Examples, counterexamples and false statements

None yet.

Sources