The setting
Let be an integer and let . For a simple undirected graph on and a vertex , the vertex degree is the number of vertices adjacent to in .✦ Given a vector of nonnegative integers, a simple undirected graph on realizes if for every .✦ Let be the finite set of all simple undirected graphs on realizing , with cardinality . The degree vector is graphical if is nonempty, in which case denotes the uniform probability distribution on .✦
Sampling uniformly from is a central problem in combinatorial probability. The switch chain is a finite reversible Markov chain on 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 .
The lazy switch chain
A four-element subset is a subset of of cardinality .✦ A simple undirected graph on is a perfect matching on a subset if every vertex has a unique neighbor in and no vertex is adjacent to any vertex in .✦
A switch proposal is a triple consisting of a four-element subset and an ordered pair of distinct perfect matchings on , where is the removed matching and is the added matching of .✦ Let be the finite set of all switch proposals on .✦ A switch proposal is valid at a simple undirected graph on if every edge of is an edge of and no edge of is an edge of .✦
For simple undirected graphs on , the edge replacement is the simple undirected graph on in which two vertices are adjacent if and only if they are adjacent in and not in , or they are adjacent in .✦ The result of applying a switch proposal to is the edge replacement when is valid at , and itself otherwise.✦
The lazy switch chain transition kernel on stays at the current graph with probability , and with probability chooses a switch proposal uniformly at random and moves to the result of applying to .✦ For each nonnegative integer , the -step transition kernel on is the -fold iterate of , with the identity kernel.✦
Mixing time
For a nonnegative integer and a starting graph , the total variation distance between the -step distribution and is given by (1)✦ The lazy switch chain is mixed at time if for every . Whenever there exists a nonnegative integer at which the chain is mixed, the total-variation mixing time is the least nonnegative integer at which the chain is mixed.✦
Spectral gap
For real-valued functions , the uniform expectation , the uniform inner product , and the uniform variance are defined by (2)
The Markov operator acts on by (3)✦ for every , and the Dirichlet form of at is (4)✦ For a real number , the transition kernel has spectral gap at least if (5)✦ for every .
The claim
Theorem 1.1. Let be an integer and let be a graphical degree vector. Then there exists a nonnegative integer at which the lazy switch chain is mixed, and the mixing time and spectral gap of satisfy (6)✦ where the second inequality holds for every whenever . Moreover, if , then the chain is mixed at and .
What is checked
In the Lean library, Theorem 1.1 is stated for every integer and every graphical degree vector with for all , over the finite set of simple undirected graphs on realizing , the lazy switch chain transition kernel and its iterates , the total-variation mixing time , and the Dirichlet form and uniform variance on .