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.
MCMC diagnostics and finite-run limitations
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conjugate families and Gaussian conditioning
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Detection and quantification limits
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Equivalent Forms of Completeness
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Further Trigonometric Identities and Inverse Functions
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Infinite Product Measures and Kolmogorov Extension
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measure-Preserving Systems and Mixing Criteria
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Polyhedral selective inference
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Reeb Stability and Global Foliation Constructions
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Stationary Markov Chains and Ergodic Limits
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Inverse and Implicit Function Theorems
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Real Gamma and Beta Functions
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Convergence Tightness and Representation
2 · Summary
This page defines finite-array procedures for split R-hat, Blom rank normalization, folding, bulk and tail ESS, and indicator-based quantile MCSE. It separately defines theoretical functional-specific ESS under strict stationarity, positive finite variance, absolute autocorrelation summability, and positive long-run variance. The finite-array procedures return finite estimates or not estimable on their stated inputs; they do not prove stationarity or convergence. The suggested R-hat value 1.01 and ESS value 400 are empirical recommendations, not universal theorem thresholds. The paper’s Cauchy and eight-schools simulation findings are empirical evidence; the local Cauchy moment and finite-array calculations are proved. A short chain can miss a region shared by every chain.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Blom rank-normal scores for pooled draws
Definition
Let be a nonempty finite pooled collection, where . Give each observation its average rank among all values; equal values receive the average of the ranks they occupy. Let be the standard-normal CDF from Standard normal and normal laws. Define the Blom normal score
The standard-normal CDF is continuous, strictly increasing, and has limits and at the two infinities by The standard normal CDF is continuous and strictly increasing. The published quantile result The standard normal CDF has unique symmetric quantiles supplies the existence and uniqueness of a finite inverse for every probability in . Since , the displayed Blom fraction lies strictly between and , so each score is well defined. This convention averages ties before applying the score transform.
Left empirical quantile of finite draws
Definition
Let with , and let be these values in nondecreasing order, retaining multiplicities. For , the left empirical -quantile is
Thus ties are retained, and the empirical CDF is . In particular, for , . No interpolation between adjacent order statistics is performed.
Standard Cauchy probability law
Definition
Let be Lebesgue measure on and put . Define the standard Cauchy law to be the measure given by The measure with density relative to . The proof below verifies that this measure has total mass one, so it is a probability law.
Facts & Assumptions
Given: Lebesgue measure on and the function .
Assume the Axiom of Countable Choice, inherited by the Borel-to-Lebesgue and continuous-function measurability interfaces. The Axiom of Countable Choice ()
On , Lebesgue measure is the restriction of Lebesgue outer measure to the Lebesgue sigma-algebra. Under Countable Choice this is a complete measure space, and every Borel set is Lebesgue measurable. Lebesgue measurable sets, the family , and the restricted set function Assuming countable choice, is a sigma-algebra containing every elementary set and is a complete measure extending elementary volume Assuming countable choice, every Borel subset of is Lebesgue measurable
The function is continuous because polynomials, constants, scalar multiples, and quotients with nonzero denominator preserve continuity; a continuous function is Borel measurable under Countable Choice. 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 Continuous functions on Euclidean spaces are Borel measurable
A nonnegative Lebesgue-measurable density defines the measure . The measure with density relative to
A continuous function on a closed bounded interval is bounded and Riemann integrable; under Countable Choice its Lebesgue integral there equals its Riemann integral. A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion A bounded Riemann integrable function on a closed bounded interval is Lebesgue measurable and has the same integral
for every real , and oriented integrals are additive over adjacent intervals. Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz series For : is integrable on if and only if it is integrable on and on , and then ; with the oriented form for arbitrary
The principal inverse tangent is a strictly increasing bijection from onto . The principal inverse tangent
Tangent is odd on its domain, so its inverse on the symmetric principal interval is odd. Pythagorean and parity identities for all six trigonometric functions on their natural domains
If nonnegative measurable functions increase pointwise to , then . Monotone convergence for the integral
A measure is a probability measure when its total mass is one. Probability measures and probability spaces Also, . Pi as twice the smallest positive zero of cosine
By The real numbers and The Cauchy-sequence reals have the least-upper-bound property, the real numbers are a complete ordered field. Thus Every complete ordered field is Archimedean gives, for every real , a natural with .
If is measurable and is nonnegative measurable, then is measurable. Closure properties of measurable functions used by the integral
Proof
Since and by [F9], the denominator in is positive. By [F2], is continuous and Borel measurable; [A1] and [F1] make it Lebesgue measurable. It is nonnegative, so [F3] defines the measure .
For each integer , is continuous on , so [F4] permits evaluation of its Lebesgue integral by the Riemann integral. By [F5] and the evenness of , ; the last equality follows from [F7].
The sequence is increasing and bounded above by by [F6]. For any , put and . By [F10], all sufficiently large natural satisfy , so strict increase and the inverse identity in [F6] give . This is the epsilon definition of .
The interval is Borel and hence Lebesgue measurable by [F1]; [F11] makes measurable. These nonnegative functions increase pointwise to . By [F8], step 1.2, and step 1.3, . Thus is a probability measure by [F9].
Functional-specific effective sample size
Definition
Let be random elements of a measurable space on a common probability space, and let be measurable. Suppose is a strictly stationary real process in the sense of Stationary process and canonical path shift, and suppose using Moments, variance, and covariance on a probability space. For , put
If and , define the theoretical functional-specific effective sample size for an integer draws by . Here is the scalar functional whose Monte Carlo average is being assessed. When a central limit theorem for that average has asymptotic variance , this definition is the iid sample size with the same asymptotic variance. It does not assert that such a central limit theorem holds. If the covariance series is not absolutely summable or , this definition does not assign a finite positive effective sample size.
Split R-hat from multiple chains
Definition
Inputs: scalar chains of equal length .
- Let . Replace each original chain by two chains: its first observations and its last observations. If is odd, discard the middle observation. There are now chains of length .
- For each split chain , compute its mean and sample variance . Put , , and .
- If , return not estimable. Otherwise return
This finite-sample formula is not clamped below at ; identical split-chain means can therefore give a value slightly below . Its interpretation as a convergence diagnostic requires more than the arithmetic procedure itself.
Split multi-chain autocorrelation effective sample size
Definition
Inputs: scalar chains of equal length . This estimator targets the functional-specific quantity in Functional-specific effective sample size from finite arrays; it does not test stationarity or a central limit theorem.
- Split every input chain into its first and last observations. If is odd, discard its middle observation. Denote the resulting chains by and set .
- Compute their means , sample variances , their average , grand mean , between-chain term , and . If any or , return not estimable.
- For , compute the biased autocovariances , the within-chain autocorrelations , and the between/within adjusted combined autocorrelation
- For , form . If , return not estimable. Let be the largest for which are all positive; if or no is available. Put and . If the next even lag is available, put ; otherwise put . Set .
- If , return not estimable. Otherwise return The second term is the paper's finite software cap for very short, strongly antithetic chains.
Negative serial correlation can make the estimate exceed the retained split draws, subject to that software cap. The output is an estimator, not a guarantee about the target law.
Rank-normalized folded split R-hat
Definition
Inputs: equal-length scalar chains with at least four observations each. Let be the total number of pooled draws.
- Apply Blom rank-normal scores for pooled draws to all pooled draws, split the transformed chains as in Split R-hat from multiple chains, and calculate the split statistic on the transformed values.
- Compute the pooled median by sorting all draws and averaging the two central order statistics when is even (using the central order statistic when is odd). Fold each original draw to , apply the same pooled rank-normal transformation to these folded values, split each folded chain, and calculate the split statistic .
- If either split calculation is not estimable, return not estimable. Otherwise return .
The rank-normalized component addresses location and trend differences in a finite output array; folding the absolute deviations makes the reported maximum sensitive to scale differences as well. It is a diagnostic procedure, not a proof of stationarity or convergence.
Bulk effective sample size
Definition
Inputs: equal-length scalar chains with observations each. Output: A finite bulk effective-sample-size estimate or not estimable.
- If , return not estimable. This procedure calls Split multi-chain autocorrelation effective sample size, whose input chains must have length at least .
- Pool all draws and apply Blom rank-normal scores for pooled draws. Apply Split multi-chain autocorrelation effective sample size to the resulting transformed chains and return its output.
Rank normalization gives finite transformed values for every finite real-valued draw array, including arrays whose target distribution might have infinite mean or variance. It is an efficiency diagnostic for the transformed values and is not, by itself, a Monte Carlo standard error for the original posterior mean.
Tail effective sample size
Definition
Inputs: equal-length chains of scalar draws with observations each. Output: The minimum of the two tail ESS estimates or not estimable.
- If , return not estimable. This procedure calls Split multi-chain autocorrelation effective sample size, whose input chains must have length at least .
- Pool the draws and calculate and using Left empirical quantile of finite draws. For each , form the bounded indicator chains , pool their values, apply Blom rank-normal scores for pooled draws, and apply Split multi-chain autocorrelation effective sample size to the transformed indicator chains.
- If either indicator ESS is not estimable, return not estimable. Otherwise return the minimum of the two values.
This is a tail-focused efficiency diagnostic; it does not establish that a quantile estimate has a specified error bound.
Quantile Monte Carlo standard error
Definition
Inputs: equal-length scalar chains with observations each, a quantile level , and the fixed levels and used for a one-standard-error approximation. Output: The approximate error interval and MCSE below, or not estimable.
- If , return not estimable. This procedure calls Split multi-chain autocorrelation effective sample size, whose input chains must have length at least .
- Pool the draws and compute by Left empirical quantile of finite draws. Form the indicator chains , Blom-normalize their pooled values by Blom rank-normal scores for pooled draws, and compute with Split multi-chain autocorrelation effective sample size. If the indicator chains are constant or is not estimable, return not estimable.
- Set and . For , define the lower Beta quantile , where and Beta distribution supplies the probability measure. Let and . For integers , the sets in decrease to the empty set. By The real numbers, is the Cauchy-sequence real field, and The Cauchy-sequence reals have the least-upper-bound property says it is a complete ordered field. Thus For every in a complete ordered field there is a natural with gives, for every , an with . The sets have finite Beta measure because the Beta law is a probability measure. Thus Continuity from above when one set has finite measure gives . Since is nondecreasing by Measures are monotone and , for each there is an with ; no then belongs to the defining level set, while does. Hence , so and both calls to lie in its domain. Also makes the upper level set a subset of the lower one, so . The order-statistic definition makes nondecreasing, hence .
- Return the approximate Monte Carlo error interval and the estimate
All Beta shape parameters are positive because and . This is a finite-run approximation, not a theorem that the interval has a prescribed coverage probability. Its statistical interpretation requires conditions for the relevant quantile and indicator-chain limit behavior; none are asserted here.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Aki Vehtari et al., Rank-normalization, folding, and localization, §4.1, equation (14), arXiv v5
- Aki Vehtari et al., Rank-normalization, folding, and localization, §4.3
- Aki Vehtari et al., Rank-normalization, folding, and localization, §5.1
- Art B. Owen, Monte Carlo Theory, Methods and Examples, Chapter 11, §11.11
- Aki Vehtari et al., Rank-normalization, folding, and localization, §3.2
- Art B. Owen, Monte Carlo Theory, Methods and Examples, Chapter 11, §11.12
- Aki Vehtari et al., Rank-normalization, folding, and localization, §3.1
- Aki Vehtari et al., Rank-normalization, folding, and localization, §3.2, equations (10)–(13)
- Aki Vehtari et al., Rank-normalization, folding, and localization, §§3.1 and 4.1–4.2
- Aki Vehtari et al., Rank-normalization, folding, and localization, §4.1
- posterior package reference, Bulk effective sample size
- Aki Vehtari et al., Rank-normalization, folding, and localization, §4.4, equation (20)