OctoInform Beta

OpenAI preprint, September 2026 · §7. From pair resampling to the switch chain

Lemma 7.4: An upper bound of 2n22n^2 on the quadratic form of the pair-resampling operator HH relative to the switch Laplacian LL

Bounding pair-resampling energy by the switch Laplacian.

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

The switch chain is a reversible Markov chain on the set of simple undirected graphs with a prescribed degree sequence, moving between graphs by replacing two disjoint edges on four vertices with two other disjoint edges on the same four vertices. A coarser reversible dynamic on the same graph space is pair resampling, which selects an unordered pair of vertices and resamples all edges incident to that pair while holding fixed the rest of the graph and the number of edges from each external vertex into the pair. Lemma 7.4 bounds the quadratic form of the pair-resampling operator by 2n22n^2 times the quadratic form of the unnormalized switch Laplacian, transferring spectral-gap lower bounds from pair resampling to the switch chain.

Graphs and the switch Laplacian

Fix a natural number nn and write V={1,…,n}V = \{1, \ldots, n\} for the nn-element vertex set. 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 neighbors of vv in GG.✦ Given a degree sequence d:V→ℕd : V \to \mathbb{N}, a simple undirected graph GG on VV realizes dd if deg⁡G(v)=d(v)\deg_G(v) = d(v) for every v∈Vv \in V.✦ Let Ωd\Omega_d denote the finite set of all simple undirected graphs on VV that realize dd.✦

A 44-element vertex subset is a subset S⊆VS \subseteq V of cardinality 44.✦ For any subset S⊆VS \subseteq V, a simple undirected graph MM on VV is a perfect matching on SS if every vertex v∈Sv \in S is adjacent in MM to a unique vertex w∈Vw \in V, and no vertex outside SS is adjacent in MM to any vertex.✦ A switch proposal is a triple p=(S,M,N)p = (S, M, N) consisting of a 44-element vertex subset S⊆VS \subseteq V together with an ordered pair (M,N)(M, N) of distinct perfect matchings on SS, where MM is the removed matching of pp and NN is the added matching of pp.✦

For simple undirected graphs GG, MM, and NN 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 adjacent in MM, or they are adjacent in NN.✦ A switch proposal p=(S,M,N)p = (S, M, N) is valid for GG if every pair of vertices adjacent in MM is adjacent in GG, and no pair of vertices adjacent in NN is adjacent in GG.✦ The result of a switch proposal p=(S,M,N)p = (S, M, N) applied to GG is the graph (G\M)∪N(G \setminus M) \cup N if pp is valid for GG, and GG otherwise.✦ Two graphs G,G′∈ΩdG, G' \in \Omega_d are related by a single switch transition, written G∼G′G \sim G', if there exists a valid switch proposal pp for GG whose result equals G′G'.✦

The switch Laplacian LL maps a real-valued function f:Ωd→ℝf : \Omega_d \to \mathbb{R} to the function Lf:Ωd→ℝL f : \Omega_d \to \mathbb{R} given by (Lf)(G)=∑G′∈ΩdG∼G′(f(G)−f(G′))(L f)(G) = \sum_{\substack{G' \in \Omega_d \\ G \sim G'}} \bigl(f(G) - f(G')\bigr)(1)✦ for every G∈ΩdG \in \Omega_d.

Pair-resampling operators

The resampling state space L2(Ωd)L^2(\Omega_d) is the real Euclidean space ℝΩd\mathbb{R}^{\Omega_d} of real-valued functions on Ωd\Omega_d, equipped with the standard inner product ⟨f,g⟩=∑G∈Ωdf(G)g(G).\langle f, g \rangle = \sum_{G \in \Omega_d} f(G) g(G).(2)✦ For a subset a⊆Va \subseteq V, two simple undirected graphs GG and G′G' on VV lie in the same resampling fiber for aa if they have the same adjacencies on pairs of vertices both outside aa, the same adjacencies on pairs of vertices both inside aa, and for every vertex w∉aw \notin a, the same number of neighbors in aa.✦

For each subset a⊆Va \subseteq V, the space of fiberwise constant functions ℱa⊆L2(Ωd)\mathcal{F}_a \subseteq L^2(\Omega_d) is the real linear subspace consisting of all functions f∈L2(Ωd)f \in L^2(\Omega_d) such that f(G)=f(G′)f(G) = f(G') whenever G,G′∈ΩdG, G' \in \Omega_d lie in the same resampling fiber for aa.✦ The fluctuation operator ha:L2(Ωd)→L2(Ωd)h_a : L^2(\Omega_d) \to L^2(\Omega_d) is the orthogonal projection onto the orthogonal complement ℱa⟂\mathcal{F}_a^\perp in L2(Ωd)L^2(\Omega_d) with respect to the inner product in (2).✦

Let (V2)\binom{V}{2} denote the finite set of all 22-element subsets of VV.✦ The pair-resampling operator H:L2(Ωd)→L2(Ωd)H : L^2(\Omega_d) \to L^2(\Omega_d) is the real-linear operator defined by H=∑a∈(V2)ha.H = \sum_{a \in \binom{V}{2}} h_a.(3)✦

The claim

Lemma 7.4. Let nn be a natural number, let d:V→ℕd : V \to \mathbb{N} be a degree sequence on V={1,…,n}V = \{1, \ldots, n\}, and let f∈L2(Ωd)f \in L^2(\Omega_d). Then the pair-resampling operator HH from (3) and the switch Laplacian LL from (1) satisfy ⟨f,Hf⟩≤2n2∑G∈Ωdf(G)(Lf)(G).\langle f, H f \rangle \le 2 n^2 \sum_{G \in \Omega_d} f(G) (L f)(G).(4)✦

What is checked

For every natural number nn, every degree sequence d:V→ℕd : V \to \mathbb{N}, and every function ff in the resampling state space L2(Ωd)L^2(\Omega_d), the Lean library states the energy comparison (4) between the pair-resampling operator HH and the switch Laplacian LL, constructed from the finite set Ωd\Omega_d of simple undirected graphs realizing dd, single switch transitions induced by valid switch proposals on 44-element vertex subsets, and the orthogonal fluctuation projections hah_a on resampling fibers over all 22-element vertex subsets.