Section 3.3.2 -- stationarity of the Glauber dynamics
ProvedMarkovMixing.glauber_stationaryLet be a probability distribution on the space of configurations , which assign a spin from a finite set to each site of a finite nonempty set . The Glauber dynamics (single-site heat bath) for makes one step as follows: pick a site uniformly at random, and replace the spin at by a sample from conditioned on agreeing with the current configuration at every site other than .
The theorem asserts four things about the resulting transition matrix . First, all entries are nonnegative. Second, for every configuration in the support of (i.e. with ) the row of at sums to one — so restricted to the support, is a genuine Markov chain. (Positivity of is not assumed, and at a configuration of zero mass the conditioning that defines a step can be vacuous, so row sums are claimed only on the support.) Third, satisfies the detailed balance equations for all configurations — reversibility with respect to . Fourth, is a stationary distribution: for every . This is Exercise 3.2 (§3.3.2) of Levin–Peres–Wilmer.
import Definitions.Def_mm_mcmc
namespace MarkovMixing
/-- **§3.3.2, Exercise 3.2** (LPW): the Glauber dynamics for a distribution
`π` on configurations is reversible with respect to `π` and has stationary
distribution `π`; its entries are nonnegative and every row at a
configuration in the support of `π` sums to `1`. -/
theorem glauber_stationary {Vv S : Type*} [Fintype Vv] [DecidableEq Vv]
[Fintype S] [DecidableEq S] [Nonempty Vv]
(π : (Vv → S) → ℝ) (hπ : IsDist π) :
(∀ x y : Vv → S, 0 ≤ glauber π x y) ∧
(∀ x : Vv → S, 0 < π x → ∑ y, glauber π x y = 1) ∧
DetailedBalance (glauber π) π ∧
IsStationary (glauber π) π := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be a finite nonempty type of "sites" and a finite type of "spins" (both with decidable equality; is allowed to be empty, in which case the configuration space below is empty and the distribution hypothesis becomes unsatisfiable). The state space is the set of configurations , i.e. functions . Let be a distribution: for every configuration , and . Note that strict positivity of is not assumed. Define the Glauber (heat-bath) matrix on by
that is: average over the sites ; the summand for site is nonzero only when agrees with everywhere except possibly at , in which case it equals divided by the total -mass of all configurations agreeing with off . Division is the total real division returning when the denominator is (so a site whose conditional mass vanishes contributes ). When , the agreement condition holds for every site , so every term of the average contributes. The theorem asserts the conjunction of four claims:
- Nonnegativity of all entries: for all configurations ;
- Conditional row sums: for every configuration with , the row of at sums to one, . (Nothing is claimed about the row sums at configurations with ; in particular, full stochasticity of is not claimed.)
- Detailed balance: for all configurations , ;
- Stationarity: the predicate bundles two parts — is a distribution (nonnegative, summing to ; a restatement of the hypothesis), and the row vector is fixed under right-multiplication by : for every configuration . This last identity is claimed for all , with no positivity restriction.
Confirmed by the mission captain (proposal self-audit).