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.

Gibbs sampling, exact coupling and finite-error certificates

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, postulates, theorems and proofs

AlgorithmAlgorithm: AI-adaptedProof: Not applicableprecheck passverified 2026-10-22 (gpt-6.1-sol)Open item page →

Finite-spin random-scan heat-bath update

Definition

Input a finite nonempty site set V, a finite nonempty spin set S with a fixed total order s1≺⋯≺sr, a strictly positive finite weight w:SV→(0,∞), an initial configuration x0∈SV, an integer t≥0, a site schedule i1,…,it∈V, numbers u1,…,ut∈[0,1], and a finite family of observables f1,…,fm:SV→R (the family may be empty). Put Z=∑x∈SVw(x) and π(x)=w(x)/Z. For i∈V, an exterior configuration η∈SV∖{i}, and s∈S, let ηi,s∈SV agree with η away from i and have spin s at i, and set qi(s∣η)=w(ηi,s)∑a∈Sw(ηi,a). The denominator is finite and strictly positive. For k=1,…,t, set η=xk−1∣V∖{ik}, put c0=0 and cj=∑ℓ=1jqik(sℓ∣η), and replace the spin at ik by the first sj for which uk<cj; when uk=1, replace it by sr. Leave every other spin unchanged to obtain xk. Thus the intervals are [cj−1,cj) for j<r and [cr−1,1] for j=r. Return the trajectory (x0,…,xt) and the values fa(xk) for a=1,…,m and k=0,…,t. For the random-scan heat-bath chain, take the ik independently uniform on V and the uk independently uniform on [0,1], with all site and uniform draws mutually independent. The procedure makes no independence claim about successive configurations or observable values.

Remarks

For a separately proved finite-time bias bound under explicit influence hypotheses, see Finite Dobrushin bound for random-scan heat-bath sampling. A finite run can still have initialization bias, and its outputs are generally dependent; this definition gives no confidence interval, independent-sample guarantee, or central limit theorem.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-10-22 (gpt-6.1-sol)Open item page →

Finite Dobrushin bound for random-scan heat-bath sampling

Statement

Let V be a finite nonempty set with n=∣V∣, let S be a finite nonempty set, and let w:SV→(0,∞) be a finite positive weight. Let π(x)=w(x)/∑y∈SVw(y) and let qi(s∣η) be the one-site conditional law defined by the finite-spin heat-bath update. For i≠j, define cij=sup⁡η,η′∈SV∖{i}ηk=ηk′ for all k≠j12∑s∈S∣qi(s∣η)−qi(s∣η′)∣,cii=0. Assume that for some c∈[0,1), both max⁡i∑jcij≤c and max⁡j∑icij≤c. Define P(x,y) as the one-step transition probability of the random-scan heat-bath update, and let Xt be the resulting chain started at x∈SV. For every integer t≥0, ∥Lx(Xt)−π∥TV≤n(1−1−cn)t≤nexp⁡ ⁣(−(1−c)tn),∥μ−ν∥TV:=12∑z∈SV∣μ(z)−ν(z)∣. Consequently, for every a≤b and every f:SV→[a,b], ∣Exf(Xt)−∑z∈SVπ(z)f(z)∣≤(b−a)nexp⁡ ⁣(−(1−c)tn). This is a deterministic bias certificate for the expectation under the specified finite model. It is not a per-realization guarantee, an independent-sample confidence bound, or a claim about critical systems.

Facts & Assumptions

Given: A finite nonempty V, a finite nonempty S, a strictly positive weight w:SV→(0,∞), and the random-scan update.

[F1]

Finite-spin random-scan heat-bath update: each step selects a site uniformly and resamples its spin from qi(s∣η)=w(ηi,s)/∑a∈Sw(ηi,a), leaving every other spin fixed.

[A1]

The finite influence coefficients in the Statement have row and column sums at most c<1.

Proof

Given: The finite weight, conditional laws, and hypotheses [F1] and [A1].

1.1givenF1algebra

For any fixed site i, a configuration sampled from π has conditional distribution qi(⋅∣η) at i given its exterior η. Replacing its spin by a fresh draw from that same conditional leaves the joint law unchanged: for each η and s, the resulting mass is πV∖{i}(η)qi(s∣η)=π(ηi,s). Averaging these invariant updates over the uniform site choice proves that π is invariant for P.

1.2givenalgebra

For probability vectors p,q on a finite set, put rs=min⁡{ps,qs} and α=∑srs. Assign joint mass rs to (s,s). If α<1, add mass (ps−rs)(qa−ra)/(1−α) to each pair (s,a). The residual supports are disjoint, so this added mass is off the diagonal; summing rows and columns gives marginals p and q, and the disagreement probability is 1−α=12∑s∣ps−qs∣. If α=1, the diagonal masses alone give the required joint law.

2.1A1step 1.2algebra

If configurations x,y differ on the set D={j:xj≠yj}, then for each site i the triangle inequality, applied while changing the differing exterior coordinates one at a time, gives ∥qi(⋅∣x−i)−qi(⋅∣y−i)∥TV≤∑j∈Dcij. Use the joint law from step 1.2 to resample the updated spins maximally, and choose the same uniformly random update site in both chains. If dH is the number of differing coordinates, the expected new Hamming distance is therefore at most dH(x,y)−dH(x,y)n+1n∑j∈D∑icij≤(1−1−cn)dH(x,y). The last inequality uses the column-sum bound in [A1]; the row-sum bound is retained as a stated hypothesis but is not needed for this estimate.

3.1step 1.1step 2.1algebra

Repeat this joint construction at each update. Conditional expectation and induction give E[dH(Xt,Yt)]≤n(1−(1−c)/n)t when one chain starts at x and the other starts with law π: initially dH≤n, and the second marginal remains π by step 1.1.

4.1step 3.1algebra

Since 1{Xt≠Yt}≤dH(Xt,Yt), for every event A⊆SV the difference ∣Pr⁡(Xt∈A)−Pr⁡(Yt∈A)∣ is at most Pr⁡(Xt≠Yt). For finite laws of equal mass, the supremum of this event difference equals half the ℓ1 distance: the positive and negative parts of their signed difference have equal mass, each half the sum of absolute values. Taking the supremum over A therefore proves the first total-variation bound in the Statement. For t=0 the exponential bound is equality; for t≥1, (1−u)t≤e−ut with u=(1−c)/n∈(0,1] gives the stated exponential estimate.

5.1step 4.1algebra∎

If a=b, the observable bound is immediate. Otherwise set g=(f−a)/(b−a), so 0≤g≤1. For the signed measure Δ=Lx(Xt)−π, the positive and negative masses both equal ∥Δ∥TV because Δ(SV)=0; hence ∣∑zg(z)Δ(z)∣≤∥Δ∥TV. Multiplying by b−a and using step 4.1 proves the asserted bias bound.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-10-22 (gpt-6.1-sol)Open item page →

Additive composition of finite sampling error budgets

Statement

Let θ,θT,m,m^,m~∈R be, respectively, a target quantity, a finite/truncated target, the exact mean under the specified finite sampling law, one realized sample statistic, and its rounded computed value. Let ϵtr,ϵmix,ϵstat,ϵarith≥0 have the same units as these quantities. If ∣θT−θ∣≤ϵtr,∣m−θT∣≤ϵmix,∣m^−m∣≤ϵstat,∣m~−m^∣≤ϵarith, then ∣m~−θ∣≤ϵtr+ϵmix+ϵstat+ϵarith. Here the statistical inequality is conditional on the explicitly supplied realized-error event; the statement assigns no probability to that event. The four terms respectively record truncation, finite-sampling bias or mixing, statistical deviation, and arithmetic rounding. If a corresponding discrepancy is separately proved to vanish, its budget term can be omitted. Using only the four assumed bounds, omitting any strictly positive budget term is not valid uniformly over the admissible quantities: the additive bound can be attained with all four discrepancies equal to their respective bounds and having the same sign.

Facts & Assumptions

Given: The five real quantities, four nonnegative error bounds, and the four inequalities in the Statement.

[A1]

The statistical deviation bound is an explicit event assumption for the realized sample; it is not a deductive consequence of the sampling algorithm.

Proof

Given: [A1] and the four stated error inequalities.

1.1givenalgebra

Insert the intermediate real quantities in the order m~,m^,m,θT,θ and apply the real triangle inequality repeatedly: ∣m~−θ∣≤∣m~−m^∣+∣m^−m∣+∣m−θT∣+∣θT−θ∣. This bounds the total error by the sum of its four intermediate discrepancies.

2.1givenA1step 1.1algebra

Substitute the four assumed bounds into step 1.1 to obtain ∣m~−θ∣≤ϵarith+ϵstat+ϵmix+ϵtr. The proof is conditional on the statistical event in [A1] and asserts no confidence level or probability for it.

3.1givenstep 1.1step 2.1algebra∎

A discrepancy known to vanish contributes zero in step 1.1, so its budget term can be omitted. For any prescribed nonnegative budgets, set θ=0, θT=ϵtr, m=ϵtr+ϵmix, m^=ϵtr+ϵmix+ϵstat, and m~=ϵtr+ϵmix+ϵstat+ϵarith. All four signed increments are their respective nonnegative budgets, all four hypotheses hold with equality, and the total error equals their sum. Omitting any strictly positive term would make the proposed right-hand side smaller than this attained error, proving the uniform non-omission claim. This does not exclude a smaller bound in a particular instance with cancellations or additional information.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableprecheck passverified 2026-10-22 (gpt-6.1-sol)Open item page →

Monotone coupling from the past for finite ferromagnetic Ising weights

Definition

Input a finite nonempty set V, a set E⊆[V]2 of unordered pairs of distinct sites, finite dimensionless couplings Ke≥0, finite dimensionless fields hi∈R, and a two-sided iid stream (Is,Us)s∈Z in which Is is uniform on V, Us is uniform on [0,1], and all these variables are mutually independent. On Ω={−1,+1}V, define σ≤τ by σi≤τi for every i∈V, using −1<+1; its least and greatest elements are − and +. For the finite-spin heat-bath update, use the total sampling order +1≺−1, which is distinct from ≤. Define the strictly positive finite weight w(σ)=exp⁡ ⁣(∑{i,j}∈EK{i,j}σiσj+∑i∈Vhiσi). At time s, let Fs:Ω→Ω be the one-site finite-spin heat-bath update at site Is with uniform value Us, leaving every other spin unchanged; explicitly, site i is set to +1 exactly when Us<exp⁡(Hi(η))exp⁡(Hi(η))+exp⁡(−Hi(η)),Hi(η)=hi+∑{i,j}∈EK{i,j}ηj, where η is the exterior configuration at i, and otherwise is set to −1. For T=1,2,4,…, initialize lower and upper configurations at time −T to − and +, respectively, and apply in chronological order the same stored maps F−T+1,…,F0 to both. If their time-zero outputs agree, return that common configuration. Otherwise double T and replay all maps in the enlarged interval, reusing the already stored maps at every overlapping time. This is a random procedure; no finite running-time bound is part of its definition.

Remarks

The order-preserving update is part of the specified coupling. Replacing a previously stored seed when a horizon is doubled changes the procedure. Termination and exactness are proved separately.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-10-22 (gpt-6.1-sol)Open item page →

Exactness and almost-sure termination of finite monotone CFTP

Statement

For every finite nonempty V, finite interaction set E⊆[V]2, finite couplings Ke≥0, and finite fields hi∈R in the monotone coupling-from-the-past procedure, the doubling algorithm terminates almost surely under its stated iid seed law. Its returned configuration has exactly the Gibbs distribution π(σ)=w(σ)∑τ∈{−1,+1}Vw(τ),w(σ)=exp⁡ ⁣(∑{i,j}∈EK{i,j}σiσj+∑i∈Vhiσi). Let P(x,y) be the one-update random-scan heat-bath transition probability, and for every integer m≥0 let Pm denote its m-step transition matrix. Define total variation on Ω={−1,+1}V by ∥μ−ν∥TV=12∑x∈Ω∣μ(x)−ν(x)∣. This exactness claim gives no bound on expected or worst-case runtime.

Facts & Assumptions

Given: A finite ferromagnetic Ising weight, the common iid seed stream, and the monotone CFTP procedure.

[F1]

Monotone coupling from the past for finite ferromagnetic Ising weights: each update uses the same stored site and uniform seed at a given time in every horizon; all Ke≥0; the state space is {−1,+1}V with minimum − and maximum +.

[F2]

Finite-spin random-scan heat-bath update: at a selected site the new spin is sampled from its exact conditional probability under the finite positive weight.

[L1]

For this proof, a law ρ on Ω is called invariant for P when ∑x∈Ωρ(x)P(x,y)=ρ(y) for every y∈Ω.

Proof

Given: The finite nonempty set V, the couplings and fields in [F1], and the iid seed stream.

1.1F1F2algebra

Every one-site conditional probability of either sign is strictly positive, because it is a ratio of positive finite weights and a positive finite sum. There are only finitely many sites and exterior configurations, so δ=min⁡i∈V, η∈{−1,+1}V∖{i}, s∈{−1,+1}qi(s∣η)>0.

1.2F1F2algebra

For a fixed site i, the log odds of the plus conditional are log⁡qi(+1∣η)qi(−1∣η)=2hi+2∑{i,j}∈EK{i,j}ηj. If η≤ζ coordinatewise, the right side for η is at most the right side for ζ because each K{i,j}≥0; hence qi(+1∣η)≤qi(+1∣ζ). Using the same Us in both updates therefore preserves coordinatewise order.

1.3F2algebra

The finite Gibbs law π is invariant under each heat-bath update: conditional on the spins off site i, the original spin and its replacement have the same conditional law qi(⋅∣η). Thus replacing the spin preserves every joint probability, and the uniform mixture over sites preserves π.

2.1F1step 1.1algebra

Fix an ordering of the n=∣V∣ sites. A block of n successive seeds selects these sites in that order and has every uniform value below δ with probability θ=n−nδn>0. On that event each update sets its selected spin to +1, whatever the other spins are, so the block maps every starting configuration to +. Disjoint blocks in the past are independent; the probability that none of the first m blocks has this event is (1−θ)m→0. Thus with probability one a forcing block lies inside some explored horizon. The two extremes then have the same time-zero image, so the doubling procedure terminates almost surely.

2.2F1step 1.2

Every state lies between − and +. By step 1.2, applying a shared sequence of update maps preserves these inequalities. If the lower and upper outputs agree, every state started at the same horizon has that common output. The algorithm's returned state is therefore the image of every possible initial state under that finite composition.

3.1F1L1step 2.1step 1.3construct

For each integer time t, almost-sure forcing blocks define Xt as the common image at time t of all initial states started sufficiently far in the past. Intersecting these probability-one events over the countably many integer times defines all Xt simultaneously. The construction is consistent because once a composition maps all states to one value, every earlier extension followed by that composition has the same value. The variable Xt−1 depends only on seeds through time t−1, so it is independent of the seed at time t, and Xt=Ft(Xt−1). The two-sided iid stream is shift-invariant and this construction uses the same rule at every time, so the law ρ of Xt does not depend on t. It follows from the definition [L1] that ρ is invariant for P.

4.1L1step 2.1step 1.3step 3.1algebra

Put N=∣Ω∣=2n. From any state x to any state y, the chain can select the fixed site ordering from step 2.1 and set each spin to its value in y; this has probability at least n−nδn>0. Hence every entry of the n-step transition matrix Pn is positive. Let κ=min⁡x,yPn(x,y)>0 and λ=Nκ∈(0,1]. If λ<1, each row of Pn is λ times the uniform law on Ω plus (1−λ) times a probability law Rx. For any laws μ,ν, the positive and negative parts of μ−ν each have mass ∥μ−ν∥TV; because 0≤Rx(A)≤1, ∣(μR)(A)−(νR)(A)∣≤∥μ−ν∥TV for every event A. Thus Pn contracts total variation by at most 1−λ. If λ=1, all rows are uniform. In either case two invariant laws for P must coincide. Since π is invariant by step 1.3 and ρ is invariant by step 3.1, ρ=π.

5.1step 2.1step 2.2step 3.1step 4.1∎

At time zero, the algorithm returns the common image whenever its explored interval contains a forcing block. By the definition of X0 in step 3.1, this is exactly X0 on the probability-one termination event. Its law is ρ=π by step 4.1, proving exactness.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableprecheck passverified 2026-10-22 (gpt-6.1-sol)Open item page →

Finite Potts Swendsen–Wang update

Definition

Input a finite simple graph G=(V,E), an integer Q≥2, finite activities ve≥0 for e∈E, and a spin configuration σ:V→[Q], using the Potts and FK conventions of the finite Potts/FK weight definition. For each edge e={u,v}, if σ(u)≠σ(v) set e absent. If σ(u)=σ(v), draw an independent uniform Ue∈[0,1] and place e in A exactly when Ue<ve/(1+ve). For each connected component of (V,A), draw an independent uniform UC∈[0,1] and assign its vertices the common color 1+⌊QUC⌋, with the value Q used when UC=1. Return the resulting spin configuration σ′. The finite graph has finitely many edges and components, so the procedure uses finitely many draws and operations. At ve=0 the edge is never activated; finite ve ensures the activation probability is less than one.

Remarks

The algorithm defines one full update of a finite-state chain. Its definition asserts neither rapid mixing nor any bound uniform in graph size, temperature, or critical parameters.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-10-22 (gpt-6.1-sol)Open item page →

Finite Swendsen–Wang update preserves the Potts law

Statement

For a finite simple graph G=(V,E), integer Q≥2, and finite activities ve≥0, let πP(σ)=wP(σ)/ZP be the normalized finite Potts law and let the Swendsen–Wang update be the two-stage procedure of activating equal-spin edges with probabilities ve/(1+ve) and independently recoloring each resulting component uniformly from [Q]. Its transition kernel preserves πP. The procedure always terminates after finitely many edge and component operations. No irreducibility, uniqueness, convergence-rate, or critical-mixing claim is made.

Facts & Assumptions

Given: The finite graph, integer Q≥2, and finite nonnegative edge activities.

[F1]

Finite Potts and Fortuin–Kasteleyn weights: wP(σ)=∏e={u,v}∈E(1+ve1{σ(u)=σ(v)}), ZP=∑σwP(σ)>0, and the FK edge weight is wFK(A)=QkG(A)∏e∈Ave.

[F2]

Finite Edwards–Sokal coupling and correlation identity: for W(σ,A)=∏e∉A1∏e∈Ave1{σ(ue)=σ(we)}, the normalized joint law ν(σ,A)=W(σ,A)/∑τ,BW(τ,B) has Potts spin marginal wP/ZP, FK edge marginal wFK/ZFK, and, conditional on any positive-probability edge set, independent uniform colors on its connected components. These are the exact current supplier interfaces used below.

[F3]

Finite Potts Swendsen–Wang update: edges with unequal endpoint spins are absent; equal-spin edges are independently activated with probability ve/(1+ve); each component is then recolored independently and uniformly.

Proof

Given: [F1]–[F3], with the exact finite conventions stated above.

1.1F1F2F3algebra

For each fixed spin configuration σ, summing W(σ,A) over A⊆E factors over edges. An unequal-spin edge must be absent and contributes 1; an equal-spin edge contributes either 1 or ve. Thus ∑AW(σ,A)=∏e∈E(1+ve1{σ(ue)=σ(we)})=wP(σ), which is positive by [F1]. Dividing by this conditional normalizer shows that under ν, given σ, unequal-spin edges are forced absent and equal-spin edges are independent Bernoulli variables with activation probabilities ve/(1+ve), including probability zero when ve=0. This is exactly the first stage of [F3].

2.1F2F3step 1.1

Every edge set produced in step 1.1 has W(σ,A)>0: all active edges have ve>0 and equal endpoint spins, while inactive edges contribute 1. Therefore ν(A)>0. By [F2], conditional on this edge set, its components receive independent uniform colors. This is exactly the second stage of [F3].

3.1F1F2step 1.1step 2.1algebra

Start with σ distributed as the spin marginal πP of ν. By step 1.1, after the first stage the pair (σ,A) has joint law ν. By step 2.1, the new configuration σ′ is then drawn from the spin conditional law ν(⋅∣A). Summing over the finite edge-set space shows that its marginal is the spin marginal of ν, namely πP. Hence the update preserves πP.

4.1F1F3∎

The graph has finitely many edges, so the first stage performs one draw per edge; the second stage performs one draw per connected component of a finite graph. Both stages therefore terminate after finitely many operations.

5 · Examples, experiments and counterexamples

None yet.

Sources