OctoInform Beta

OpenAI preprint, September 2026 · §1. Introduction

Theorem 1.1: For every graphical degree vector on n≥4n \ge 4 vertices, tmix(d)≤2n8t_{\mathrm{mix}}(d) \le 2n^8 and, when |Ωd|>1|\Omega_d| > 1, the spectral gap is at least [24n2(n4)]−1[24n^2\binom{n}{4}]^{-1}

Polynomial mixing and spectral gap of the switch chain.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Let n≥4n \ge 4 be an integer and let V={1,…,n}V = \{1, \ldots, n\}. For a simple undirected graph GG on VV and a vertex v∈Vv \in V, the vertex degree deg⁡G(v)\deg_G(v) is the number of vertices adjacent to vv in GG.✦ Given a vector d=(d1,…,dn)d = (d_1, \ldots, d_n) of nonnegative integers, a simple undirected graph GG on VV realizes dd if deg⁡G(v)=dv\deg_G(v) = d_v for every v∈Vv \in V.✦ Let Ωd\Omega_d be the finite set of all simple undirected graphs on VV realizing dd, with cardinality |Ωd||\Omega_d|. The degree vector dd is graphical if Ωd\Omega_d is nonempty, in which case πd\pi_d denotes the uniform probability distribution on Ωd\Omega_d.✦

Sampling uniformly from Ωd\Omega_d is a central problem in combinatorial probability. The switch chain is a finite reversible Markov chain on Ωd\Omega_d whose transitions replace two disjoint edges by a different pair of edges on the same four vertices, preserving simplicity and every vertex degree. A basic question is whether this chain mixes in polynomial time for every graphical degree vector, uniformly in dd.

The lazy switch chain

A four-element subset S⊆VS \subseteq V is a subset of VV of cardinality 44.✦ A simple undirected graph MM on VV is a perfect matching on a subset S⊆VS \subseteq V if every vertex v∈Sv \in S has a unique neighbor in MM and no vertex v∉Sv \notin S is adjacent to any vertex in MM.✦

A switch proposal is a triple p=(S,F,F′)p = (S, F, F') consisting of a four-element subset S⊆VS \subseteq V and an ordered pair (F,F′)(F, F') of distinct perfect matchings on SS, where FF is the removed matching and F′F' is the added matching of pp.✦ Let 𝒫n\mathcal{P}_n be the finite set of all switch proposals on VV.✦ A switch proposal p=(S,F,F′)p = (S, F, F') is valid at a simple undirected graph GG on VV if every edge of FF is an edge of GG and no edge of F′F' is an edge of GG.✦

For simple undirected graphs G,M,NG, M, N on VV, the edge replacement (G\M)∪N(G \setminus M) \cup N is the simple undirected graph on VV in which two vertices u,v∈Vu, v \in V are adjacent if and only if they are adjacent in GG and not in MM, or they are adjacent in NN.✦ The result of applying a switch proposal p=(S,F,F′)p = (S, F, F') to GG is the edge replacement (G\F)∪F′(G \setminus F) \cup F' when pp is valid at GG, and GG itself otherwise.✦

The lazy switch chain transition kernel PdP_d on Ωd\Omega_d stays at the current graph G∈ΩdG \in \Omega_d with probability 1/21/2, and with probability 1/21/2 chooses a switch proposal p∈𝒫np \in \mathcal{P}_n uniformly at random and moves to the result of applying pp to GG.✦ For each nonnegative integer tt, the tt-step transition kernel PdtP_d^t on Ωd\Omega_d is the tt-fold iterate of PdP_d, with Pd0P_d^0 the identity kernel.✦

Mixing time

For a nonnegative integer tt and a starting graph G∈ΩdG \in \Omega_d, the total variation distance between the tt-step distribution Pdt(G,⋅)P_d^t(G, \cdot) and πd\pi_d is given by ∥Pdt(G,⋅)−πd∥TV=12∑H∈Ωd|Pdt(G,H)−1|Ωd||.\|P_d^t(G, \cdot) - \pi_d\|_{\mathrm{TV}} = \frac{1}{2} \sum_{H \in \Omega_d} \left| P_d^t(G, H) - \frac{1}{|\Omega_d|} \right|.(1)✦ The lazy switch chain is mixed at time tt if ∥Pdt(G,⋅)−πd∥TV≤1/4\|P_d^t(G, \cdot) - \pi_d\|_{\mathrm{TV}} \le 1/4 for every G∈ΩdG \in \Omega_d. Whenever there exists a nonnegative integer tt at which the chain is mixed, the total-variation mixing time tmix(d)t_{\mathrm{mix}}(d) is the least nonnegative integer tt at which the chain is mixed.✦

Spectral gap

For real-valued functions f,g:Ωd→ℝf, g : \Omega_d \to \mathbb{R}, the uniform expectation 𝔼[f]\mathbb{E}[f], the uniform inner product ⟨f,g⟩\langle f, g \rangle, and the uniform variance Var⁡(f)\operatorname{Var}(f) are defined by 𝔼[f]=1|Ωd|∑G∈Ωdf(G),⟨f,g⟩=𝔼[fg],Var⁡(f)=𝔼[(f−𝔼[f])2].\begin{aligned} \mathbb{E}[f] &= \frac{1}{|\Omega_d|} \sum_{G \in \Omega_d} f(G), \\ \langle f, g \rangle &= \mathbb{E}[f g], \\ \operatorname{Var}(f) &= \mathbb{E}\bigl[(f - \mathbb{E}[f])^2\bigr]. \end{aligned}(2)

The Markov operator PdP_d acts on f:Ωd→ℝf : \Omega_d \to \mathbb{R} by (Pdf)(G)=∑H∈ΩdPd(G,H)f(H)(P_d f)(G) = \sum_{H \in \Omega_d} P_d(G, H) f(H)(3)✦ for every G∈ΩdG \in \Omega_d, and the Dirichlet form of PdP_d at ff is ℰ(f,f)=⟨f,f−Pdf⟩.\mathcal{E}(f, f) = \langle f, f - P_d f \rangle.(4)✦ For a real number γ\gamma, the transition kernel PdP_d has spectral gap at least γ\gamma if γVar⁡(f)≤ℰ(f,f)\gamma \operatorname{Var}(f) \le \mathcal{E}(f, f)(5)✦ for every f:Ωd→ℝf : \Omega_d \to \mathbb{R}.

The claim

Theorem 1.1. Let n≥4n \ge 4 be an integer and let d=(d1,…,dn)∈{0,…,n−1}nd = (d_1, \ldots, d_n) \in \{0, \ldots, n-1\}^n be a graphical degree vector. Then there exists a nonnegative integer tt at which the lazy switch chain is mixed, and the mixing time and spectral gap of PdP_d satisfy tmix(d)≤2n8,124n2(n4)Var⁡(f)≤ℰ(f,f),\begin{aligned} t_{\mathrm{mix}}(d) &\le 2n^8, \\ \frac{1}{24n^2\binom{n}{4}}\operatorname{Var}(f) &\le \mathcal{E}(f, f), \end{aligned}(6)✦ where the second inequality holds for every f:Ωd→ℝf : \Omega_d \to \mathbb{R} whenever |Ωd|>1|\Omega_d| > 1. Moreover, if |Ωd|=1|\Omega_d| = 1, then the chain is mixed at t=0t = 0 and tmix(d)=0t_{\mathrm{mix}}(d) = 0.

What is checked

In the Lean library, Theorem 1.1 is stated for every integer n≥4n \ge 4 and every graphical degree vector d=(d1,…,dn)d = (d_1, \ldots, d_n) with dv≤n−1d_v \le n - 1 for all v∈Vv \in V, over the finite set Ωd\Omega_d of simple undirected graphs on VV realizing dd, the lazy switch chain transition kernel PdP_d and its iterates PdtP_d^t, the total-variation mixing time tmix(d)t_{\mathrm{mix}}(d), and the Dirichlet form ℰ(f,f)\mathcal{E}(f, f) and uniform variance Var⁡(f)\operatorname{Var}(f) on Ωd\Omega_d.