Curie--Weiss: fast mixing for
ProvedMarkovMixing.ising_complete_graph_fastThe Curie–Weiss model is the Ising model on the complete graph : spins on vertices, every pair interacting, with Gibbs distribution at inverse temperature — the scaling that makes the total interaction per site of constant order, with the effective temperature parameter. The Glauber dynamics re-samples a uniformly chosen site from the conditional distribution; the mixing time is the first with , where .
The theorem (Theorem 15.3(i) of Levin–Peres–Wilmer) asserts: for every , every , and every ,
Below the critical value the mean-field dynamics mixes in order steps. The proof is one line from the high-temperature theorem of this mission: on the degree is and . The companion theorem shows that above the same dynamics needs exponentially many steps — the dynamical phase transition.
import Definitions.Def_mm_ising import Mathlib.Analysis.SpecialFunctions.Log.Basic
namespace MarkovMixing
/-- **Theorem 15.3(i)** (LPW): for the Glauber dynamics of the Ising model
on the complete graph on `n` vertices at `β = α/n` with `α < 1`,
`t_mix(ε) ≤ ⌈n(log n + log(1/ε))/(1−α)⌉` (the ceiling absorbs integer
rounding). -/
theorem ising_complete_graph_fast (n : ℕ) (hn : 2 ≤ n)
(α : ℝ) (hα0 : 0 < α) (hα : α < 1) (ε : ℝ) (hε : 0 < ε) (hε1 : ε < 1) :
(mixingTime (glauber (isingDist (⊤ : SimpleGraph (Fin n)) (α / n)))
(isingDist (⊤ : SimpleGraph (Fin n)) (α / n)) ε : ℝ) ≤
⌈(n : ℝ) * (Real.log n + Real.log (1 / ε)) / (1 - α)⌉₊ := by
sorry
end MarkovMixingRead-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: ising_complete_graph_fast
Let with , let be a real number with , and let be a real number with . The state space is the set of spin configurations ( states). Write if and otherwise.
The measure. is the Ising distribution on the complete graph (the top simple graph on vertices, whose adjacency is exactly ) at parameter :
where the double sum ranges over all ordered pairs of distinct vertices (each unordered pair counted twice, so the exponent equals over unordered pairs). The division defining is total real division, but the denominator is a sum of strictly positive exponentials, so no division-by-zero junk arises here.
The chain. is the Glauber (single-site heat-bath) dynamics associated with : for configurations ,
where " off " means for all (so the inner sum has exactly two terms, the two choices of value at ). If differs from at two or more sites, every summand is ; if differs from at exactly one site , only that contributes; if , all sites contribute. The inner division is again total but its denominator is positive.
The claim. With the mixing distance measured against this same ,
the suprema running over all starting configurations and all subsets of the (finite) configuration space, and with the least natural number such that (the infimum of the empty set of naturals being the junk value if no such existed), the theorem asserts
where is the real natural logarithm and is the natural-number ceiling, which sends every nonpositive real to (under the given hypotheses , , , the argument is strictly positive, so no clamping occurs). The left-hand side is the mixing time, a natural number, cast to .
Nothing else is hypothesized or asserted: in particular the statement does not include any assumption that is stationary for — the distribution simply appears both as the input to the Glauber construction and as the reference measure inside the mixing-time definition.
Confirmed by the mission captain (proposal self-audit).