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.
Metropolis–Hastings kernels — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Complete Metrizability, Čech-Completeness, and Baire Category
- Completeness, Completion, and Uniform Continuity
- Conditional Distributions and Regular Conditional Probability
- Conformal Prediction and Exchangeable Ranks
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Domination and Likelihood Ratios
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- General-state Markov kernels, invariance, and reversibility
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Infinite Product Measures and Kolmogorov Extension
- limsup, liminf, and Subsequential Limits
- Loss, Risk and Decision Theory
- Markov Kernels and Markov Chains
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Metropolis–Hastings kernels
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Recurrence Transience and Hitting Times for Markov Chains
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Stationary Markov Chains and Ergodic Limits
- Statistical Experiments, Models and Identifiability
- Suprema and Infima
- The Lebesgue Integral and the Convergence Theorems
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
2 · Summary
These finite-state examples compute acceptance probabilities for a symmetric random walk, an independence proposal, a proposal with disconnected support, and a rejected self-transition. They verify the detailed-balance flow in each case and show concretely that invariance does not by itself ensure irreducibility or uniqueness.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
A three-state random-walk Metropolis kernel
Example
Assume AC. Let with arithmetic modulo , target masses , , , and proposal probabilities . This is a random walk on the three-cycle, and its proposal matrix is symmetric. The common-density Metropolis–Hastings rule gives Its detailed-balance flows are , , and ; hence is invariant by Metropolis–Hastings flow is reversible and invariant.
Verification
Given: AC, the finite target and the three-cycle proposal in the Example.
[A1] The Axiom of Choice: AC states that every family of nonempty sets has a choice function.
[F1] Standard Borel spaces and Polish spaces are separable completely metrizable spaces: the discrete metric on a finite set is complete and separable, every subset is open, and the Borel sigma-algebra is the full power set; the definition therefore makes it standard Borel.
[F2] Counting measure on an arbitrary set and Counting measure is a measure: counting measure is a positive measure and assigns mass one to each singleton. Since this state space is finite, its total counting measure is finite and the one-set cover makes it sigma-finite by Finite, sigma-finite, and semifinite measures. Thus the target and proposal masses are densities with respect to counting measure.
[F3] Transition matrices and n-step probabilities: the entry is .
[F4] Probability measures and probability spaces: a probability measure has total mass one.
[F5] Measure kernel and probability kernel: a probability kernel is a measurable family of probability measures with mass one at each current state. Each row's nonnegative singleton masses sum to one, so it defines a probability measure by finite addition; all event evaluations are measurable because the finite discrete state space has the full power-set sigma-algebra.
[F6] The common-density Metropolis–Hastings ratio: a common-density version is when the forward mass is positive and is chosen as when that mass is zero.
[F7] Metropolis–Hastings kernel: for , and rejected mass is retained at .
[F8] Metropolis–Hastings flow is reversible and invariant: the Metropolis–Hastings joint flow is symmetric and its target is invariant.
The finite discrete metric is complete and the three-point space is separable; its Borel sigma-algebra is therefore the full power set, so [F1] gives a standard-Borel state space.
The target masses sum to one by [F4], and [F2] makes them densities with respect to counting measure.
For each state, and are distinct modulo and the two proposal probabilities sum to one. Thus each row is a probability measure, and every event-evaluation function is measurable on the finite discrete space; [F3] and [F5] give a probability kernel.
Since for distinct states, [F6] gives , , , , and . The rejected masses are at state , at state , and at state .
Multiplying each accepted proposal probability by its acceptance probability and retaining the rejected mass as in [F7] gives the three rows , , and . Each row sums to one.
Direct multiplication gives the three off-diagonal flow pairs , , and listed in the Example; diagonal flows are unchanged by transposition. Thus the joint flow is symmetric, and [F8] yields target invariance.
A two-state independence sampler
Example
Assume AC. On the finite discrete space , let , , and use the independence proposal for both current states . Relative to counting measure, the common-density rule gives and . The transition matrix is and the two off-diagonal target flows are both .
Verification
Given: AC, the two-state target and the state-independent proposal in the Example.
[A1] The Axiom of Choice: AC states that every family of nonempty sets has a choice function.
[F1] Standard Borel spaces and Polish spaces are separable completely metrizable spaces: the discrete metric on a finite set is complete and separable, every subset is open, and the Borel sigma-algebra is the full power set; the definition therefore makes it standard Borel.
[F2] Counting measure on an arbitrary set and Counting measure is a measure: counting measure is a positive measure and assigns mass one to each singleton. Since this state space is finite, its total counting measure is finite and the one-set cover makes it sigma-finite by Finite, sigma-finite, and semifinite measures. Thus the target and proposal masses are densities with respect to counting measure.
[F3] Transition matrices and n-step probabilities: the entry is .
[F4] Probability measures and probability spaces: a probability measure has total mass one.
[F5] Measure kernel and probability kernel: a probability kernel is a measurable family of probability measures with mass one at every current state. Each row's nonnegative singleton masses sum to one, so it defines a probability measure by finite addition; all event evaluations are measurable because the finite discrete state space has the full power-set sigma-algebra.
[F6] The common-density Metropolis–Hastings ratio: a common-density version is when the forward mass is positive and is chosen as when that mass is zero.
[F7] Metropolis–Hastings kernel: accepted proposal mass is retained at the proposed state and rejected mass is added to the current-state self-transition.
[F8] Metropolis–Hastings flow is reversible and invariant: the constructed kernel is reversible and its target is invariant.
The target masses sum to one, and the discrete metric makes the finite state space standard Borel.
For each current state, the two proposal masses sum to one, so the row is a probability measure. Every event-evaluation function is measurable on the finite discrete space, hence [F3] and [F5] give a probability kernel. By [F2], target and proposal masses are their counting-measure densities.
The proposal masses cancel in [F6]. Hence and .
From state , the accepted mass to is and the remaining stays at . From state , the proposal to is accepted with mass , and the proposal to has mass . Applying [F7] gives the displayed matrix.
The off-diagonal flows are and . Diagonal flows agree with themselves, so [F8] gives reversibility and invariance.
A proposal with disconnected support
Example
Assume AC. On the finite discrete space , let be uniform and propose deterministically , , and . The proposal has no transitions between and . Every proposal with positive mass has a reverse proposal of the same mass, so the Metropolis acceptance probability is one and . The target is invariant, but the distinct probability is also invariant; the chain cannot move from or to .
Verification
Given: AC, the uniform target and the deterministic proposal in the Example.
[A1] The Axiom of Choice: AC states that every family of nonempty sets has a choice function.
[F1] Standard Borel spaces and Polish spaces are separable completely metrizable spaces: the discrete metric on a finite set is complete and separable, every subset is open, and the Borel sigma-algebra is the full power set; the definition therefore makes it standard Borel.
[F2] Counting measure on an arbitrary set and Counting measure is a measure: counting measure is a positive measure and assigns mass one to each singleton. Since this state space is finite, its total counting measure is finite and the one-set cover makes it sigma-finite by Finite, sigma-finite, and semifinite measures. Thus the target and proposal masses are densities with respect to counting measure.
[F3] Transition matrices and n-step probabilities: the entry is .
[F4] Probability measures and probability spaces: a probability measure has total mass one.
[F5] Measure kernel and probability kernel: a probability kernel is a measurable family of probability measures with mass one at each current state. Each row's nonnegative singleton masses sum to one, so it defines a probability measure by finite addition; all event evaluations are measurable because the finite discrete state space has the full power-set sigma-algebra.
[F6] The common-density Metropolis–Hastings ratio: a common-density version is when the forward mass is positive and is chosen as when that mass is zero.
[F7] Metropolis–Hastings kernel: the algorithm accepts using the common-flow ratio and retains rejected proposals at the current state.
[F8] Metropolis–Hastings flow is reversible and invariant: the constructed kernel leaves its target invariant.
The target masses sum to one, and the discrete metric makes the finite state space standard Borel.
Every row of the proposal matrix has one entry equal to one and the rest zero, so it defines a probability measure. Every event-evaluation function is measurable on the finite discrete space, hence [F3] and [F5] give a probability kernel; [F2] identifies its entries and target masses with counting-measure densities.
The positive proposal transitions are and . In each case the forward and reverse proposal masses and target masses agree, so [F6] gives acceptance probability one.
Hence [F7] gives The matrix is a permutation matrix, so its column sums are one and the uniform target is invariant; [F8] gives the same conclusion from reversibility. The point mass is invariant because state never leaves. The two invariant probabilities differ, and no transition path connects to .
Rejection creates a self-transition
Example
Assume AC. On the finite discrete space , let , , and let the proposal deterministically switch to the other state. Then and , so The rejected proposal from state is recorded as a self-transition of probability .
Verification
Given: AC, the two-state target and the deterministic switch proposal in the Example.
[A1] The Axiom of Choice: AC states that every family of nonempty sets has a choice function.
[F1] Standard Borel spaces and Polish spaces are separable completely metrizable spaces: a finite discrete space is standard Borel because its discrete metric is complete and the space is separable.
[F2] Counting measure on an arbitrary set and Counting measure is a measure: counting measure is a positive measure and assigns mass one to each singleton. Since this state space is finite, its total counting measure is finite and the one-set cover makes it sigma-finite by Finite, sigma-finite, and semifinite measures. Thus the target and proposal masses are densities with respect to counting measure.
[F3] Transition matrices and n-step probabilities: the entry is .
[F4] Probability measures and probability spaces: a probability measure has total mass one.
[F5] Measure kernel and probability kernel: a probability kernel is a measurable family of probability measures with mass one at every current state. Each row's nonnegative singleton masses sum to one, so it defines a probability measure by finite addition; all event evaluations are measurable because the finite discrete state space has the full power-set sigma-algebra.
[F6] The common-density Metropolis–Hastings ratio: a common-density version is when the forward mass is positive and is chosen as when that mass is zero.
[F7] Metropolis–Hastings kernel: the rule adds rejected proposal mass to the current state's self-transition.
[F8] Metropolis–Hastings flow is reversible and invariant: the constructed kernel is reversible and its target is invariant.
The target masses sum to one, and the discrete metric makes the finite state space standard Borel.
The proposal switches state with probability one in each row, so each row defines a probability measure. Every event-evaluation function is measurable on the finite discrete space, hence [F3] and [F5] give a probability kernel. By [F2], the displayed target and proposal masses are densities with respect to counting measure.
The reverse proposal masses are both one. Formula [F6] gives and . Thus the accepted mass from state to is , leaving rejected mass .
Applying the rejection rule [F7] gives , , , and . The off-diagonal target flows are both , so detailed balance holds and [F8] gives invariance.