The setting
Fix a natural number and vertex set . For a simple undirected graph on and a vertex , let denote the degree of in .✦ Given a degree vector , a simple undirected graph on realizes if for every ✦, and denotes the set of all simple undirected graphs on realizing .✦
A local resampling move on fixes two distinct vertices and redistributes the edges between and the remaining vertices without changing any vertex degree. Grouping graphs in that agree outside , on the edge itself, and on the number of neighbors each outside vertex has in partitions into fibers. Each fiber is in bijection with fixed-size subsets of the outside vertices adjacent to exactly one of and , and projecting orthogonal to the fiberwise constant functions defines the local fluctuation operator on real-valued functions on .
Pair fibers and neighbor trades
For a vertex set and vertices , a vertex is outside if and .✦ For a simple undirected graph on and , let be the edge indicator equal to when and are adjacent in and otherwise.✦ The pair-fiber invariant is the triple consisting of the adjacency relation of restricted to pairs of vertices outside , the truth value of whether and are adjacent in , and the map on .✦
Given a simple undirected graph on and , let denote the set of common neighbors of and outside ✦, let denote the set of exclusive neighbors of (vertices outside adjacent to and not to )✦, and let denote the singleton set of vertices outside adjacent to exactly one of and .✦ The set of valid neighbor assignments consists of all subsets satisfying .✦
For distinct vertices and finite subsets of vertices outside , the graph assembled from on with neighbor sets and is the simple undirected graph on in which are adjacent if and only if both lie outside and are adjacent in , or and is adjacent to in , or one of is and the other lies in , or one of is and the other lies in .✦ For a subset , the neighbor trade is the simple undirected graph on obtained from by reassigning the singleton neighbors so that while preserving .✦
The graph pair fiber is the set of all simple undirected graphs on with and .✦ For distinct , the map is a bijection from onto whose inverse is .✦
Specializing to and , the state pair fiber is the set of all with .✦ For distinct , forgetting the degree realization maps bijectively onto , because fixing together with is equivalent to fixing and and determines every vertex degree.✦ Composing these two bijections yields the state fiber bijection .✦
Fiberwise fluctuation operators
For any subset , two simple undirected graphs on lie in the same -fiber, written , if they agree on all edges with both endpoints outside , agree on all edges with both endpoints in , and satisfy (1) for every . Restricting the relation defined by (1) to gives an equivalence relation on .✦
Let denote the finite-dimensional real Euclidean space of real-valued functions on , equipped with the standard inner product . In general, for an equivalence relation on a finite index set , the subspace of -constant functions in consists of all satisfying whenever ✦, and the deviation operator is the orthogonal projection of onto the orthogonal complement of this subspace.✦
Applying this construction to on produces the subspace of -fiberwise constant functions in , (2)✦ The -fluctuation operator is the orthogonal projection onto the orthogonal complement of the subspace in (2).✦
The claim
Definition. Let , , and . For any subset and any function , the -fluctuation operator vanishes on if and only if is constant on -fibers: (3)✦ Moreover, is positive semidefinite on : for every , (4)✦ For any graph , distinct vertices , and graph , the state fiber bijection evaluates to the exclusive neighbors of in : (5)✦
In the paper, the result reads: for each unordered vertex pair , the conditional expectation on the partition into -fibers defines the fluctuation operator and the pair-resampling operator on real-valued functions on . The Lean library realizes directly as the self-adjoint orthogonal projection onto on the finite-dimensional real Euclidean space for an arbitrary subset .
What is checked
The definition above is stated over simple undirected graphs on realizing a degree vector , the state pair fibers and valid neighbor assignments for distinct vertices , the -fiber relation for any subset , and the orthogonal projection on . For these constructions, the Lean library establishes that is an equivalence relation on , that is a linear subspace of , that graph assembly produces a simple undirected graph, and that the neighbor trade inverts the exclusive-neighbor map to give bijections from through to .