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.

MCMC diagnostics and finite-run limitations

1 · Prerequisites

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

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

Blom rank-normal scores for pooled draws

Definition

Let x1,…,xS∈R be a nonempty finite pooled collection, where S≥1. Give each observation its average rank ri among all S 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

zi=Φ−1 ⁣(ri−3/8S+1/4).

The standard-normal CDF is continuous, strictly increasing, and has limits 0 and 1 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 (0,1). Since 1≤ri≤S, the displayed Blom fraction lies strictly between 0 and 1, so each score is well defined. This convention averages ties before applying the score transform.

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

Left empirical quantile of finite draws

Definition

Let x1,…,xS∈R with S≥1, and let x(1)≤⋯≤x(S) be these values in nondecreasing order, retaining multiplicities. For 0<u≤1, the left empirical u-quantile is

QS(u):=x(⌈Su⌉).

Thus ties are retained, and the empirical CDF is FS(t)=S−1#{i:xi≤t}. In particular, for 0<u<1, QS(u)=inf⁡{t:FS(t)≥u}. No interpolation between adjacent order statistics is performed.

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

Standard Cauchy probability law

Definition

Let λ be Lebesgue measure on R and put f(x)=1/(π(1+x2)). Define the standard Cauchy law to be the measure μC=f dλ given by The measure with density f 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 R and the function f(x)=1/(π(1+x2)).

[A1]

Assume the Axiom of Countable Choice, inherited by the Borel-to-Lebesgue and continuous-function measurability interfaces. The Axiom of Countable Choice (ACω)

[F2]

The function f is continuous because polynomials, constants, scalar multiples, and quotients with nonzero denominator preserve continuity; a continuous function R→R 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

[F3]

A nonnegative Lebesgue-measurable density f defines the measure f dλ(A)=∫Af dλ. The measure with density f relative to μ

[F4]

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 [a,b] 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

[F6]

The principal inverse tangent is a strictly increasing bijection from R onto (−π/2,π/2). The principal inverse tangent arctan⁡:R→(−π/2,π/2)

[F7]

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

[F8]

If nonnegative measurable functions gn increase pointwise to g, then ∫gn dλ↑∫g dλ. Monotone convergence for the integral

[F9]

A measure is a probability measure when its total mass is one. Probability measures and probability spaces Also, π>0. Pi as twice the smallest positive zero of cosine

[F10]

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 r, a natural n with n>r.

[F11]

If E is measurable and g is nonnegative measurable, then g1E is measurable. Closure properties of measurable functions used by the integral

Proof

1.1A1F1F2F3F9given

Since 1+x2≥1 and π>0 by [F9], the denominator in f is positive. By [F2], f is continuous and Borel measurable; [A1] and [F1] make it Lebesgue measurable. It is nonnegative, so [F3] defines the measure μC=f dλ.

1.2A1F4F5F7given

For each integer n≥1, f is continuous on [−n,n], so [F4] permits evaluation of its Lebesgue integral by the Riemann integral. By [F5] and the evenness of (1+x2)−1, μC([−n,n])=π−1∫−nn(1+x2)−1dx=(arctan⁡n−arctan⁡(−n))/π=2arctan⁡(n)/π; the last equality follows from [F7].

1.3givenF6F10algebra

The sequence arctan⁡(n) is increasing and bounded above by π/2 by [F6]. For any 0<ε<π, put u=π/2−ε and r=tan⁡u. By [F10], all sufficiently large natural n satisfy n>r, so strict increase and the inverse identity in [F6] give π/2−ε=u<arctan⁡(n)<π/2. This is the epsilon definition of arctan⁡(n)→π/2.

2.1F1F8F9F11step 1.2step 1.3∎

The interval [−n,n] is Borel and hence Lebesgue measurable by [F1]; [F11] makes f1[−n,n] measurable. These nonnegative functions increase pointwise to f. By [F8], step 1.2, and step 1.3, μC(R)=∫Rf dλ=lim⁡n→∞μC([−n,n])=1. Thus μC is a probability measure by [F9].

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Functional-specific effective sample size

Definition

Let (Xn)n≥0 be random elements of a measurable space (E,E) on a common probability space, and let h:E→R be measurable. Suppose Yn:=h(Xn) is a strictly stationary real process in the sense of Stationary process and canonical path shift, and suppose 0<σh2:=Var⁡(Y0)<∞ using Moments, variance, and covariance on a probability space. For k≥1, put

ρh(k):=Cov⁡(Y0,Yk)σh2.

If ∑k≥1∣ρh(k)∣<∞ and τh:=1+2∑k≥1ρh(k)>0, define the theoretical functional-specific effective sample size for an integer n≥1 draws by ESS⁡h(n):=n/τh. Here Yn is the scalar functional whose Monte Carlo average is being assessed. When a central limit theorem for that average has asymptotic variance σh2τh, 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 τh≤0, this definition does not assign a finite positive effective sample size.

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

Split R-hat from multiple chains

Definition

Inputs: M≥2 scalar chains xm,1,…,xm,L of equal length L≥4.

  1. Let N=⌊L/2⌋. Replace each original chain by two chains: its first N observations and its last N observations. If L is odd, discard the middle observation. There are now M′=2M chains of length N≥2.
  2. For each split chain j, compute its mean xˉj and sample variance sj2=(N−1)−1∑i=1N(xj,i−xˉj)2. Put xˉ⋅=M′−1∑jxˉj, W=M′−1∑jsj2, and B=N(M′−1)−1∑j(xˉj−xˉ⋅)2.
  3. If W=0, return not estimable. Otherwise return R^split=V^+W,V^+=N−1NW+BN.

This finite-sample formula is not clamped below at 1; identical split-chain means can therefore give a value slightly below 1. Its interpretation as a convergence diagnostic requires more than the arithmetic procedure itself.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Split multi-chain autocorrelation effective sample size

Definition

Inputs: M≥2 scalar chains ym,1,…,ym,L of equal length L≥4. 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.

  1. Split every input chain into its first and last N=⌊L/2⌋ observations. If L is odd, discard its middle observation. Denote the resulting M′=2M chains by zj,1,…,zj,N and set S′=M′N.
  2. Compute their means zˉj, sample variances sj2=(N−1)−1∑i=1N(zj,i−zˉj)2, their average W=M′−1∑jsj2, grand mean zˉ⋅=M′−1∑jzˉj, between-chain term B=N(M′−1)−1∑j(zˉj−zˉ⋅)2, and V^+=(N−1)W/N+B/N. If any sj2=0 or V^+=0, return not estimable.
  3. For 0≤t<N, compute the biased autocovariances γ^t,j=N−1∑i=1N−t(zj,i−zˉj)(zj,i+t−zˉj), the within-chain autocorrelations r^t,j=γ^t,j/γ^0,j, and the between/within adjusted combined autocorrelation ρ^t=1−W−M′−1∑jsj2r^t,jV^+.
  4. For 0≤k≤⌊(N−2)/2⌋, form Pk=ρ^2k+ρ^2k+1. If P0≤0, return not estimable. Let K be the largest k for which P1,…,Pk are all positive; K=0 if P1≤0 or no P1 is available. Put P~k=min⁡0≤j≤kPj and τ^odd=−1+2∑k=0KP~k. If the next even lag 2K+2<N is available, put τ^even=τ^odd+2ρ^2K+2; otherwise put τ^even=τ^odd. Set τ^=(τ^odd+τ^even)/2.
  5. If τ^≤0, return not estimable. Otherwise return ESS⁡^=min⁡{S′τ^, S′log⁡10S′}. 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 S′ retained split draws, subject to that software cap. The output is an estimator, not a guarantee about the target law.

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

Rank-normalized folded split R-hat

Definition

Inputs: M≥2 equal-length scalar chains with at least four observations each. Let S be the total number of pooled draws.

  1. 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 Rz on the transformed values.
  2. Compute the pooled median m by sorting all S draws and averaging the two central order statistics when S is even (using the central order statistic when S is odd). Fold each original draw to ∣xm,n−m∣, apply the same pooled rank-normal transformation to these folded values, split each folded chain, and calculate the split statistic Rf.
  3. If either split calculation is not estimable, return not estimable. Otherwise return R^=max⁡{Rz,Rf}.

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.

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

Bulk effective sample size

Definition

Inputs: M≥2 equal-length scalar chains with N≥2 observations each. Output: A finite bulk effective-sample-size estimate or not estimable.

  1. If N<4, return not estimable. This procedure calls Split multi-chain autocorrelation effective sample size, whose input chains must have length at least 4.
  2. Pool all draws and apply Blom rank-normal scores for pooled draws. Apply Split multi-chain autocorrelation effective sample size to the resulting M 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.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Tail effective sample size

Definition

Inputs: M≥2 equal-length chains of scalar draws with N≥2 observations each. Output: The minimum of the two tail ESS estimates or not estimable.

  1. If N<4, return not estimable. This procedure calls Split multi-chain autocorrelation effective sample size, whose input chains must have length at least 4.
  2. Pool the draws and calculate q.05=QS(.05) and q.95=QS(.95) using Left empirical quantile of finite draws. For each p∈{.05,.95}, form the bounded indicator chains Im,n(p)=1{xm,n≤qp}, 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.
  3. 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.

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

Quantile Monte Carlo standard error

Definition

Inputs: M≥2 equal-length scalar chains with N≥2 observations each, a quantile level α∈(0,1), and the fixed levels u−=.16 and u+=.84 used for a one-standard-error approximation. Output: The approximate error interval and MCSE below, or not estimable.

  1. If N<4, return not estimable. This procedure calls Split multi-chain autocorrelation effective sample size, whose input chains must have length at least 4.
  2. Pool the draws and compute q^α=QS(α) by Left empirical quantile of finite draws. Form the indicator chains Im,n=1{xm,n≤q^α}, Blom-normalize their pooled values by Blom rank-normal scores for pooled draws, and compute Eα with Split multi-chain autocorrelation effective sample size. If the indicator chains are constant or Eα is not estimable, return not estimable.
  3. Set a=Eαα+1 and b=Eα(1−α)+1. For u∈(0,1), define the lower Beta quantile Qa,b(u)=inf⁡{t∈[0,1]:Fa,b(t)≥u}, where Fa,b(t)=Beta⁡(a,b)((0,t]) and Beta distribution supplies the probability measure. Let v−=Qa,b(u−) and v+=Qa,b(u+). For integers n≥1, the sets En=(0,1/n] in (0,1) decrease to the empty set. By The real numbers, R 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 ε>0 in a complete ordered field there is a natural n≥1 with 1/n<ε gives, for every p∈(0,1), an n with 1/n<p. 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 Fa,b(1/n)=Beta⁡(a,b)(En)→0. Since Fa,b is nondecreasing by Measures are monotone and Fa,b(1)=1, for each u∈{u−,u+}⊂(0,1) there is an n with Fa,b(1/n)<u; no t≤1/n then belongs to the defining level set, while t=1 does. Hence 0<1/n≤Qa,b(u)≤1, so v−,v+∈(0,1] and both calls to QS lie in its domain. Also u−<u+ makes the upper level set a subset of the lower one, so v−≤v+. The order-statistic definition makes QS nondecreasing, hence QS(v−)≤QS(v+).
  4. Return the approximate Monte Carlo error interval [QS(v−),QS(v+)] and the estimate MCSE⁡^(q^α)=QS(v+)−QS(v−)2.

All Beta shape parameters are positive because Eα>0 and 0<α<1. 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