OctoInform Beta

OpenAI preprint, September 2026 · §2. Pair resamplings

§2 (setting): Bijections between pair fibers and subset assignments, together with kernel and positivity of the fiberwise fluctuation operator hah_a

Pair fibers, neighbor trades, and fluctuation operators.

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

Fix a natural number n∈ℕn \in \mathbb{N} and vertex set V={1,…,n}V = \{1, \ldots, n\}. For a simple undirected graph GG on VV and a vertex v∈Vv \in V, let deg⁡G(v)\deg_G(v) denote the degree of vv in GG.✦ Given a degree vector d=(d1,…,dn)∈ℕnd = (d_1, \ldots, d_n) \in \mathbb{N}^n, 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✦, and Ωd\Omega_d denotes the set of all simple undirected graphs on VV realizing dd.✦

A local resampling move on Ωd\Omega_d fixes two distinct vertices i,j∈Vi, j \in V and redistributes the edges between {i,j}\{i, j\} and the remaining vertices without changing any vertex degree. Grouping graphs in Ωd\Omega_d that agree outside {i,j}\{i, j\}, on the edge {i,j}\{i, j\} itself, and on the number of neighbors each outside vertex has in {i,j}\{i, j\} partitions Ωd\Omega_d into fibers. Each fiber is in bijection with fixed-size subsets of the outside vertices adjacent to exactly one of ii and jj, and projecting orthogonal to the fiberwise constant functions defines the local fluctuation operator on real-valued functions on Ωd\Omega_d.

Pair fibers and neighbor trades

For a vertex set VV and vertices i,j∈Vi, j \in V, a vertex w∈Vw \in V is outside {i,j}\{i, j\} if w≠iw \neq i and w≠jw \neq j.✦ For a simple undirected graph GG on VV and u,v∈Vu, v \in V, let 𝟏G(u,v)∈{0,1}\mathbf{1}_G(u, v) \in \{0, 1\} be the edge indicator equal to 11 when uu and vv are adjacent in GG and 00 otherwise.✦ The pair-fiber invariant κi,j(G)\kappa_{i,j}(G) is the triple consisting of the adjacency relation of GG restricted to pairs of vertices outside {i,j}\{i, j\}, the truth value of whether ii and jj are adjacent in GG, and the map w↦𝟏G(i,w)+𝟏G(j,w)w \mapsto \mathbf{1}_G(i, w) + \mathbf{1}_G(j, w) on VV.✦

Given a simple undirected graph GG on VV and i,j∈Vi, j \in V, let Ci,j(G)C_{i,j}(G) denote the set of common neighbors of ii and jj outside {i,j}\{i, j\}✦, let Li,j(G)L_{i,j}(G) denote the set of exclusive neighbors of ii (vertices outside {i,j}\{i, j\} adjacent to ii and not to jj)✦, and let Si,j(G)S_{i,j}(G) denote the singleton set of vertices outside {i,j}\{i, j\} adjacent to exactly one of ii and jj.✦ The set of valid neighbor assignments 𝒜i,j(G)\mathcal{A}_{i,j}(G) consists of all subsets T⊆Si,j(G)T \subseteq S_{i,j}(G) satisfying |T|=|Li,j(G)||T| = |L_{i,j}(G)|.✦

For distinct vertices i,j∈Vi, j \in V and finite subsets A,B⊆VA, B \subseteq V of vertices outside {i,j}\{i, j\}, the graph assembled from GG on {i,j}\{i, j\} with neighbor sets AA and BB is the simple undirected graph on VV in which u,v∈Vu, v \in V are adjacent if and only if both lie outside {i,j}\{i, j\} and are adjacent in GG, or {u,v}={i,j}\{u, v\} = \{i, j\} and ii is adjacent to jj in GG, or one of u,vu, v is ii and the other lies in AA, or one of u,vu, v is jj and the other lies in BB.✦ For a subset T⊆Si,j(G)T \subseteq S_{i,j}(G), the neighbor trade τG,i,j(T)\tau_{G,i,j}(T) is the simple undirected graph on VV obtained from GG by reassigning the singleton neighbors so that Li,j(τG,i,j(T))=TL_{i,j}(\tau_{G,i,j}(T)) = T while preserving κi,j\kappa_{i,j}.✦

The graph pair fiber 𝒢i,j(G)\mathcal{G}_{i,j}(G) is the set of all simple undirected graphs G′G' on VV with κi,j(G′)=κi,j(G)\kappa_{i,j}(G') = \kappa_{i,j}(G) and |Li,j(G′)|=|Li,j(G)||L_{i,j}(G')| = |L_{i,j}(G)|.✦ For distinct i,j∈Vi, j \in V, the map G′↦Li,j(G′)G' \mapsto L_{i,j}(G') is a bijection from 𝒢i,j(G)\mathcal{G}_{i,j}(G) onto 𝒜i,j(G)\mathcal{A}_{i,j}(G) whose inverse is T↦τG,i,j(T)T \mapsto \tau_{G,i,j}(T).✦

Specializing to V={1,…,n}V = \{1, \ldots, n\} and G∈ΩdG \in \Omega_d, the state pair fiber ℱi,j(G)\mathcal{F}_{i,j}(G) is the set of all G′∈ΩdG' \in \Omega_d with κi,j(G′)=κi,j(G)\kappa_{i,j}(G') = \kappa_{i,j}(G).✦ For distinct i,j∈Vi, j \in V, forgetting the degree realization maps ℱi,j(G)\mathcal{F}_{i,j}(G) bijectively onto 𝒢i,j(G)\mathcal{G}_{i,j}(G), because fixing κi,j\kappa_{i,j} together with deg⁡G′(i)=di\deg_{G'}(i) = d_i is equivalent to fixing κi,j\kappa_{i,j} and |Li,j(G′)|=|Li,j(G)||L_{i,j}(G')| = |L_{i,j}(G)| and determines every vertex degree.✦ Composing these two bijections yields the state fiber bijection ΦG,i,j:ℱi,j(G)→𝒜i,j(G)\Phi_{G,i,j} : \mathcal{F}_{i,j}(G) \to \mathcal{A}_{i,j}(G).✦

Fiberwise fluctuation operators

For any subset a⊆Va \subseteq V, two simple undirected graphs G,G′G, G' on VV lie in the same aa-fiber, written G∼aG′G \sim_a G', if they agree on all edges with both endpoints outside aa, agree on all edges with both endpoints in aa, and satisfy |{u∈a:u is adjacent to w in G}|=|{u∈a:u is adjacent to w in G′}|\begin{aligned} |\{u \in a : u \text{ is adjacent to } w \text{ in } G\}| &= |\{u \in a : u \text{ is adjacent to } w \text{ in } G'\}| \end{aligned}(1) for every w∈V\aw \in V \setminus a. Restricting the relation defined by (1) to Ωd\Omega_d gives an equivalence relation on Ωd\Omega_d.✦

Let ℝΩd\mathbb{R}^{\Omega_d} denote the finite-dimensional real Euclidean space 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). In general, for an equivalence relation RR on a finite index set α\alpha, the subspace of RR-constant functions in ℝα\mathbb{R}^{\alpha} consists of all f∈ℝαf \in \mathbb{R}^{\alpha} satisfying f(x)=f(y)f(x) = f(y) whenever xRyx R y✦, and the deviation operator is the orthogonal projection of ℝα\mathbb{R}^{\alpha} onto the orthogonal complement of this subspace.✦

Applying this construction to ∼a\sim_a on Ωd\Omega_d produces the subspace MaM_a of aa-fiberwise constant functions in ℝΩd\mathbb{R}^{\Omega_d}, Ma={f∈ℝΩd:f(G)=f(G′)for all G,G′∈Ωd with G∼aG′}.\begin{aligned} M_a = \{f \in \mathbb{R}^{\Omega_d} : {}& f(G) = f(G') \\ &\text{for all } G, G' \in \Omega_d \text{ with } G \sim_a G'\}. \end{aligned}(2)✦ The aa-fluctuation operator ha:ℝΩd→ℝΩdh_a : \mathbb{R}^{\Omega_d} \to \mathbb{R}^{\Omega_d} is the orthogonal projection onto the orthogonal complement Ma⟂M_a^\perp of the subspace in (2).✦

The claim

Definition. Let n∈ℕn \in \mathbb{N}, V={1,…,n}V = \{1, \ldots, n\}, and d=(d1,…,dn)∈ℕnd = (d_1, \ldots, d_n) \in \mathbb{N}^n. For any subset a⊆Va \subseteq V and any function f∈ℝΩdf \in \mathbb{R}^{\Omega_d}, the aa-fluctuation operator hah_a vanishes on ff if and only if ff is constant on aa-fibers: haf=0⇔f(G)=f(G′)for all G,G′∈Ωd with G∼aG′.\begin{aligned} h_a f = 0 \iff {}& f(G) = f(G') \\ &\text{for all } G, G' \in \Omega_d \text{ with } G \sim_a G'. \end{aligned}(3)✦ Moreover, hah_a is positive semidefinite on ℝΩd\mathbb{R}^{\Omega_d}: for every f∈ℝΩdf \in \mathbb{R}^{\Omega_d}, 0≤⟨f,haf⟩.0 \le \langle f, h_a f \rangle.(4)✦ For any graph G∈ΩdG \in \Omega_d, distinct vertices i,j∈Vi, j \in V, and graph G′∈ℱi,j(G)G' \in \mathcal{F}_{i,j}(G), the state fiber bijection ΦG,i,j:ℱi,j(G)→𝒜i,j(G)\Phi_{G,i,j} : \mathcal{F}_{i,j}(G) \to \mathcal{A}_{i,j}(G) evaluates to the exclusive neighbors of ii in G′G': ΦG,i,j(G′)=Li,j(G′).\Phi_{G,i,j}(G') = L_{i,j}(G').(5)✦

In the paper, the result reads: for each unordered vertex pair a∈(V2)a \in \binom{V}{2}, the conditional expectation EaE_a on the partition into aa-fibers defines the fluctuation operator ha=I−Eah_a = I - E_a and the pair-resampling operator H=∑a∈(V2)haH = \sum_{a \in \binom{V}{2}} h_a on real-valued functions on Ωd\Omega_d. The Lean library realizes hah_a directly as the self-adjoint orthogonal projection onto Ma⟂M_a^\perp on the finite-dimensional real Euclidean space ℝΩd\mathbb{R}^{\Omega_d} for an arbitrary subset a⊆Va \subseteq V.

What is checked

The definition above is stated over simple undirected graphs on V={1,…,n}V = \{1, \ldots, n\} realizing a degree vector d∈ℕnd \in \mathbb{N}^n, the state pair fibers ℱi,j(G)\mathcal{F}_{i,j}(G) and valid neighbor assignments 𝒜i,j(G)\mathcal{A}_{i,j}(G) for distinct vertices i,j∈Vi, j \in V, the aa-fiber relation ∼a\sim_a for any subset a⊆Va \subseteq V, and the orthogonal projection hah_a on ℝΩd\mathbb{R}^{\Omega_d}. For these constructions, the Lean library establishes that ∼a\sim_a is an equivalence relation on Ωd\Omega_d, that MaM_a is a linear subspace of ℝΩd\mathbb{R}^{\Omega_d}, that graph assembly produces a simple undirected graph, and that the neighbor trade inverts the exclusive-neighbor map to give bijections from ℱi,j(G)\mathcal{F}_{i,j}(G) through 𝒢i,j(G)\mathcal{G}_{i,j}(G) to 𝒜i,j(G)\mathcal{A}_{i,j}(G).