Majority dynamicsProof atlas
Current PDFPre-AI PDFLean proof

Majority Dynamics on sparse random graphs

Gopal Goel

Ashwin Sah

Abstract

Consider a simple undirected graph \(G\) on \(N\) vertices, with each vertex holding an opinion from one of two options. Starting from the initial opinions on day \(1\), we run majority dynamics: on each subsequent day, all vertices simultaneously adopt the majority opinion among their neighbors, retaining their current opinion in case of a tie. A well-studied conjecture of Benjamini, Chan, O’Donnell, Tamuz, and Tan states that if \(G\) is drawn from the random binomial model \(\mathbb{G}(N, p)\), and if the starting opinions are chosen uniformly at random, then as long as \(pN\to\infty\) the network will converge to \(99\%\) consensus with high probability.

We confirm this conjecture as long as \(pN\ge N^\varepsilon\) for any fixed \(\varepsilon> 0\), showing that full unanimity is reached with high probability in \(O(1/\varepsilon)\) days. This result improves on a line of results by Fountoulakis, Kang, and Makai, who achieve \(\varepsilon= 1/2\); Chakraborti, Kim, Lee, and Tran, who achieve \(\varepsilon= 2/5\); and Jaffe, who achieves \(\varepsilon= 1/3\).

The proof technique involves iteratively revealing the “opinion histories” for each vertex through time, keeping track of the degrees between every vertex and each of \(2^k\) opinion history classes on day \(k\). Our analysis of this process requires intricate estimates for degree-constrained random graph models using graph enumeration tools from the work of McKay and Wormald as well as Canfield, Greenhill, and McKay, and their extensions by Liebenau and Wormald. In doing so, we connect the discrete dynamics to a deterministic idealized process, whose leading-order behavior is described by conditional Gaussian probabilities and expectations.

Proof atlas86-page paper · every statement linked to both PDFs and to Lean

The paper is reproduced in full below. Statements are open; proofs fold away. Each statement carries its place in the current paper, its counterpart in the August 2025 manuscript, and the declarations that formalize it in the Lean repository, pinned to one revision. PaperCompletion.lean and UniformCompletion.lean check that the two main theorems have exactly the stated types and depend only on Lean's standard axioms.

1 Introduction

Context & expositionfull paper text

The evolution of opinions held by a network of individuals has been studied extensively because of its central role in social systems. Even natural mathematical models of opinion dynamics exhibit complex behavior. One of the most basic is majority dynamics, which has been studied in fields such as biophysics (McCulloch and Pitts 1943) and psychology (Cartwright and Harary 1956) since the mid-twentieth century; see the survey of Mossel and Tamuz (Mossel and Tamuz 2017) for broader context.

Explicitly, let \(G\) be a simple graph on a finite vertex set \(V\), and give every vertex an initial opinion in \(\{\pm1\}\). We call the resulting pair \(\mathfrak g=(G,c)\) a politicized graph, write \(\operatorname{gr}(\mathfrak g)=G\), and write \(c_1(\mathfrak g)=c\) for its initial coloring. The opinions evolve in discrete time: on every day, all vertices simultaneously adopt the majority opinion among their neighbors, retaining their current opinion in case of a tie. Thus, for \(k\ge1\), \[c_{k+1}(\mathfrak g)[x]= \begin{cases} +1 & \text{if }\sum_{y\sim_{\operatorname{gr}(\mathfrak g)}x}c_k(\mathfrak g)[y]>0,\\ -1 & \text{if }\sum_{y\sim_{\operatorname{gr}(\mathfrak g)}x}c_k(\mathfrak g)[y]<0,\\ c_k(\mathfrak g)[x] & \text{if }\sum_{y\sim_{\operatorname{gr}(\mathfrak g)}x}c_k(\mathfrak g)[y]=0. \end{cases}\] It follows from a theorem of Goles and Olivos (Goles and Olivos 1980) that on every finite graph this process eventually reaches either a fixed point or a cycle of period two.

The geometry of the underlying network can affect the outcome in subtle ways, and a substantial literature studies this interaction. Tran and Vu (L. Tran and Vu 2023) discovered a striking power of few phenomenon: in a dense random network, a constant-sized discrepancy in the initial opinion counts is likely to grow rapidly to consensus. Berkowitz and Devlin (Berkowitz and Devlin 2022) sharpened the size of the required discrepancy, and Sah and Sawhney (Sah and Sawhney 2025) established a power of one.

The first systematic study of majority dynamics on the Erdős–Rényi random graph was undertaken by Benjamini, Chan, O’Donnell, Tamuz, and Tan (Benjamini et al. 2016). For a finite set \(V\) and \(p\in[0,1]\), let \(\mathbb G(V,p)\) denote the random graph on \(V\) in which every pair of vertices is an edge independently with probability \(p\). Benjamini, Chan, O’Donnell, Tamuz, and Tan posed the following conjecture.

Conjecture 1 ((Benjamini et al. 2016, Conjecture 1.5)). Suppose that \(pN\to\infty\), and fix any constant \(\eta>0\). Run majority dynamics on \(G\sim\mathbb G(V,p)\), where \(|V|=N\), from a uniformly random initial coloring \(c\). Then, with probability tending to \(1\) as \(N\to\infty\), we have \[\bigl|\sum_{x\in V}c_t((G,c))[x]\bigr|\ge(1-2\eta)N\] for all sufficiently large \(t\).

They proved that for \(p\ge CN^{-1/2}\), unanimity is reached by day four with probability at least \(0.4\). Much of the intervening work has aimed either to prove this conjecture or to understand how a prescribed initial lead grows. A uniformly random initial coloring typically has a lead of order \(\sqrt N\).

Fountoulakis, Kang, and Makai (Fountoulakis, Kang, and Makai 2020) improved the unanimity probability for \(p\ge CN^{-1/2}\) to \(1-\varepsilon\), where \(\varepsilon=\varepsilon(C)\to0\) as \(C\to\infty\). Chakraborti, Kim, Lee, and Tran (Chakraborti et al. 2023) extended the range to \(p\ge CN^{-3/5}\log N\), Jaffe (Jaffe 2025) reached \(p\ge CN^{-2/3}\), and Kim and Tran (Kim and Tran 2025) obtained a related density threshold \(p\gg N^{-2/3}\log^{2/3}N\). These arguments follow the random process for at most three days and then use pseudorandom properties of the graph to amplify the lead. As observed in (Kim and Tran 2025), reaching lower densities requires following the random process for additional days.

There is also a parallel line of work on fixed initial leads. Write \(2\Delta\) for the difference between the initial opinion counts. Extending their dense power of few result, Tran and Vu (B. Tran and Vu 2025) showed that above the connectivity threshold, the conditions \(p\Delta\ge10\) and \(p\Delta^2\to\infty\) suffice for the initial majority to reach unanimity with high probability. Jaffe (Jaffe 2025) showed, in the same density range, that for suitable constants \(A,B>0\) it is enough to have \[\Delta\ge\max\left\{p^{-1/2}\exp\left(A\sqrt{\log(1/p)}\right),\,Bp^{-3/2}N^{-1/2}\right\}.\] For \(N^{-1}\log^2N\ll p\ll N^{-1/2}\log^{1/4}N\), Kim and Tran (Kim and Tran 2025) showed that \(p^{3/2}\Delta\gg N^{-1/2}\log N\) suffices. Our theorem instead starts from the \(\sqrt N\) scale corresponding to a uniformly random initial condition and follows its evolution through every fixed power-law density. Its linear-response description also suggests the possibility of treating smaller leads, but this would require control of the error terms at a correspondingly smaller scale.

1.1 Main result

For a finite set \(V\), let \(\mathrm{Polit}(V)\) denote the set of politicized graphs on \(V\). We first state our result for a deterministic initial coloring.

Theorem 1.1. Fix a real parameter \(\theta\in(1/2,1)\) and a constant \(T>1\). For all sufficiently large \(N\in\mathbb Z\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and all \(\tau\in[T^{-1},T]\), the following holds.

Let \(V\) be a vertex set with \(|V|=N\), and let \(c:V\to\{\pm1\}\) be a coloring such that \[|c^{-1}(1)|=\lfloor N/2\rfloor+\lfloor\tau\sqrt N\rfloor.\] Sample \(G\sim\mathbb G(V,p)\), and let \(\mathfrak g=(G,c)\). If \[k=2\left\lfloor\frac1{1-\theta}\right\rfloor+3,\] then with probability \(1-o(1)\) we have \(c_k(\mathfrak g)[x]=1\) for every \(x\in V\).

We also prove a uniform-density result, with one threshold for every \(p\) from a power-law lower bound through \(p=1\).

Theorem 1.2 (Uniform density range). Fix \(\theta\in(1/2,1)\) and \(T>1\). For every \(\eta>0\) there exists \(N_0=N_0(\theta,T,\eta)\) such that, for every integer \(N\ge N_0\), every \[T^{-1}N^{-\theta}\le p\le1,\] every \(\tau\in[T^{-1},T]\), and every deterministic coloring \(c\) of a vertex set \(V\) with \(|V|=N\) and \[|c^{-1}(1)|=\lfloor N/2\rfloor+\lfloor\tau\sqrt N\rfloor,\] the graph \(G\sim\mathbb G(V,p)\) satisfies \[\mathbb P\bigl[c_{k_{\rm u}}((G,c))[x]=1\text{ for every }x\in V\bigr]\ge1-\eta, \qquad k_{\rm u}=2\left\lfloor\frac1{1-\theta}\right\rfloor+3.\]

The density quantifier in Theorem 1.2 is simultaneous: \(N_0\) is chosen before \(p\) and applies to every density in the displayed interval. Section 6.3 gives a proof sketch, including the response-dependent stopping argument and the use of the dense-range estimates of Fountoulakis, Kang, and Makai (Fountoulakis, Kang, and Makai 2020); a complete Lean proof accompanies the paper, in the repository https://github.com/gopalkgoel/sparse-majority-dynamics-lean.

In both theorems the probability bound is uniform over the density, bias parameter, and initial coloring in the displayed ranges. The exponent \(\theta\) is fixed before \(N\) tends to infinity, and the threshold for \(N\) may depend on \(\theta\) and \(T\). Once all vertices agree, they agree forever.

For uniformly random initial opinions, elementary binomial estimates place the absolute initial lead between two fixed positive multiples of \(\sqrt N\) with probability arbitrarily close to one, by taking the lower multiple small and the upper multiple large. We may therefore apply Theorem 1.1 uniformly in such a fixed window, reversing the two opinions if necessary, and then let the window expand.

Corollary 1.3 (Uniformly random initial opinions). Fix a real parameter \(\theta\in(1/2,1)\) and a constant \(T>1\), and let \[k=2\left\lfloor\frac1{1-\theta}\right\rfloor+3.\] For all sufficiently large \(N\in\mathbb Z\) and all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), the following holds. Let \(V\) be a vertex set with \(|V|=N\), let \(c:V\to\{\pm1\}\) be a uniformly random coloring, and let \(G\sim\mathbb G(V,p)\) be independent of \(c\). Then with probability \(1-o(1)\) the coloring \(c_t((G,c))\) is constant for every \(t\ge k\).

Applying the same conditioning and color-flip argument to Theorem 1.2 gives unanimity from uniformly random initial opinions, uniformly over \(T^{-1}N^{-\theta}\le p\le1\), by day \(k_{\rm u}\). In particular, for every fixed \(\varepsilon>0\), uniformly over \(pN\ge N^\varepsilon\), unanimity is reached with probability \(1-o(1)\) in \(O(1/\varepsilon)\) days. The binomial window argument is given in Section 6.3. This confirms the conjecture of (Benjamini et al. 2016) throughout the polynomial average-degree regime, with unanimity in place of near-unanimity. The regime in which \(pN\) grows more slowly than every positive power of \(N\) remains outside these results.

1.2 Overview of key ideas

We now describe the main ideas of the proof. The argument views majority dynamics as an iteratively revealed degree-constrained random graph process. We transfer the relevant properties of this dependent process to a tilted independent model, and then compare its evolution with deterministic parameters governed by conditional expectations of multivariate Gaussians.

The heuristic is that a small lead grows by a factor of order \(\sqrt{pN}\) per update. A typical neighborhood contains about \(pN\) vertices, and sampling it from a population with a lead of order \(\tau\sqrt N\) produces an excess probability of order \(\tau\sqrt N\sqrt{pN}/N\) for the leading opinion. Summed across the vertices, this predicts a lead of order \(\tau\sqrt N\sqrt{pN}\) on the next day. Since \(\sqrt{pN}\asymp N^{(1-\theta)/2}\), it takes roughly \(1/(1-\theta)\) updates for a lead of order \(\sqrt N\) to become macroscopic. This explains both why earlier analyses of only the first few days encounter a density barrier and why a bounded but arbitrarily long iterative argument is needed here. Throughout the paper, day \(1\) means the initial coloring.

1.2.1 Iterative degree revelation

On day \(k\), we distinguish vertices according to their full opinion histories. A history is a string \(s\in\{0,1\}^k\), where \(0\) represents opinion \(+1\) and \(1\) represents opinion \(-1\), and we write \[\Pi_k(\mathfrak g)[s] = \bigl\{x\in V:c_r(\mathfrak g)[x]=(-1)^{s[r-1]}\text{ for every }1\le r\le k\bigr\}.\] These \(2^k\) classes form the day-\(k\) partition of \(V\). The transition to day \(k+1\) depends only on each vertex’s degrees into the day-\(k\) classes: for \(x\in\Pi_k(\mathfrak g)[s]\), the next opinion is determined by the sign of \[\sum_{t\in\{0,1\}^k}(-1)^{t[k-1]} \deg^{\operatorname{gr}(\mathfrak g)}_{\Pi_k(\mathfrak g)[t]}x,\] together with the tie-breaking rule.

This observation lets us reveal only the randomness needed for the next update. The fine state consists of the opinion-history partition and the array recording every vertex’s degree into every class. Given this state, the unrevealed graph is uniform over graphs with the prescribed within-class and between-class degree sequences. Equivalently, its restrictions to the different class pairs are independent uniform graphs or bipartite graphs with prescribed degree sequences. This gives a universal one-step kernel \(K_k\), independent of \(p\) and of the initial coloring.

The fine state contains more information than the induction needs. We therefore pass to a coarse state, which retains the history partition, the total number of edges between every pair of classes, and whether the degree array satisfies the required regularity bounds. Different fine states with the same coarse data can have different next-step laws, so this projection is not a lumping of the fine chain. Conditioning on the coarse state instead averages the universal fine-state kernel over all compatible fine states. Analyzing this fiber-averaged transition, which is the exact conditional one-day law, is a key structural step in the proof.

1.2.2 Distributional transference through a solvability tilt

Context & expositionfull paper text

The main obstacle is that conditioning on the current histories and edge totals introduces substantial dependence. We compare the resulting degree-array law with a simpler row model in which, for a vertex in class \(s\), its degrees into the classes \(t\in\{0,1\}^k\) are independent binomial variables. Their edge probabilities are allowed a small tilt from \(p\), written \(\lambda[s,t]\), and the row is conditioned to satisfy the inequalities encoding the vertex’s opinion history.

The tilt is chosen to reproduce the prescribed edge totals in conditional expectation. The existence of such a tilt is the solvability condition. Once it holds, concentration may first be proved in the independent row model and then transferred back to the true coarse fiber law, after imposing the exact edge totals.

The analytic input enabling this transfer is the asymptotic enumeration of graphs with prescribed degree sequences, beginning with McKay and Wormald (McKay and Wormald 1990, 1997) and, in the bipartite setting, Canfield, Greenhill, and McKay (Canfield, Greenhill, and McKay 2008), and extended across the relevant densities by Liebenau and Wormald (Liebenau and Wormald 2024, 2023); see also the survey (Wormald 2018). These enumeration formulae compare the probability masses of individual degree arrays satisfying suitable regularity bounds in the graph and binomial models; conditioning on the histories and exact totals then gives the required transference. A polynomial lower bound for the probability of the exact totals allows us to add that conditioning without losing the concentration estimates. The multidimensional Berry–Esseen theorem of Bentkus (Bentkus 2005) enters the Fourier local limit estimate used to bound the probability of the exact totals.

The resulting local theorem says, roughly, that from any coarse state satisfying explicit admissibility conditions, the next class sizes and edge totals follow a deterministic local template with high probability, and the next degree array again satisfies the required regularity bounds. This is the probabilistic step that can be iterated.

1.2.3 Asymptotic evolution of the history classes

Context & expositionfull paper text

The majority decision for a vertex in a given history class is governed by an alternating sum of binomial degrees. After centering and scaling by \(\sqrt{pN}\), the degree row converges to a multivariate Gaussian conditioned on the inequalities recording the previous majority decisions. Consequently, the local template has a universal limiting description in terms of conditional Gaussian probabilities and expectations.

Suppose that opinion \(+1\) initially leads by \(2\tau\sqrt N+O(1)\). We construct deterministic idealized class sizes \(\widetilde n[s]\) and edge totals \(\widetilde m[s,t]\), depending on \((N,p)\), and universal response coefficients \(\varepsilon[s]\). The idealized quantities describe the evolution of the local template from balanced initial data, while \(\varepsilon[s]\) describes its first-order response to the initial lead. For every fixed day in the perturbative range, the actual class sizes satisfy \[\bigl|\Pi_k(\mathfrak g)[s]\bigr| = \widetilde n[s] + \tau\sqrt N\,(\sqrt{pN})^{k-1}\varepsilon[s] + \text{a smaller error}\] with high probability. The idealized sizes themselves have leading order \(\widetilde n[s]\sim N\nu[s]\). The proportions \(\nu[s]\) are defined together with edge-correction parameters \(\mu[s,t]\) and Gaussian mean parameters \(\gamma[s,t]\) by a universal recursion independent of \(N\) and \(p\). The response coefficients \(\varepsilon[s]\) evolve through a companion linearized recursion built from the same Gaussian data. Thus, for each fixed day, all four families consist of universal real constants.

We emphasize two key points. First, there is no random idealized dynamics that exactly realizes \(\widetilde n\) and \(\widetilde m\). They form a deterministic sequence obtained by iterating the local template from balanced initial data. Second, although \(\widetilde n[s]\sim N\nu[s]\), the available bound \[\bigl|\widetilde n[s]-N\nu[s]\bigr|\le \frac{N}{\sqrt{pN}}\log^\ell N\] is much larger than the lead scale \(\sqrt N(\sqrt{pN})^{k-1}\) on days \(k<1/(1-\theta)\). Replacing \(\widetilde n[s]\) by the simpler approximation \(N\nu[s]\) would therefore obscure the signal we need to track. To extract the lead at its correct scale, we use the exact color-flip symmetry \[\widetilde n[\overline s]=\widetilde n[s],\] so the idealized contributions cancel when the history classes are summed according to their current opinions. The remaining first-order contribution satisfies \[\varepsilon[s0]>0>\varepsilon[s1]\] for every history \(s\). Thus the initially leading opinion gains vertices coherently across all history classes, rather than suffering cancellation between them.

To turn this asymptotic description into an induction, we call a coarse state faithful when its sizes and edge totals lie within prescribed tolerances of the idealized parameters plus their linear response to the initial lead. The Gaussian recursion provides the limiting parameters; inverse-function arguments produce the tilted binomial parameters realizing the required edge totals; and the local theorem propagates faithfulness from one day to the next.

When \(k_0:=1/(1-\theta)\) is an integer, the perturbation reaches the boundary of the linear regime on day \(k_0\). A separate one-sided argument then supplies the needed macroscopic lead on day \(k_0+1\). In all cases, by day \[\left\lfloor\frac1{1-\theta}\right\rfloor+1\] the leading opinion has a lead of at least order \(N\log N/\sqrt{pN}\).

1.2.4 Contraction phase

At that point we leave the degree-revelation analysis. An argument of Chakraborti, Kim, Lee, and Tran (Chakraborti et al. 2023) shows how the jumbledness and minimum-degree properties of \(\mathbb G(V,p)\) force contraction toward unanimity once the lead is sufficiently large. Specifically, the lead becomes macroscopic after one further day, and thereafter the set of vertices holding the minority opinion shrinks by a factor \(O((pN)^{-1})\) on each day. After at most \(\lfloor1/(1-\theta)\rfloor+1\) additional days we reach unanimity, yielding the time bound in Theorem 1.1.

1.3 Organization

Section 2 encodes opinion histories as fine states, constructs the universal transition kernel, and passes to the coarse fiber law used by the induction. Section 3 proves the one-day local transition theorem by transferring concentration from a tilted independent row model and then controlling the resampled degree-constrained graph. Section 4 develops the universal Gaussian recursion and proves the coherence of its linear response. Section 5 constructs the idealized parameters, defines faithful states, and proves that the actual coarse trajectory remains faithful until the lead leaves the perturbative scale. Section 6 combines the resulting lead with the deterministic contraction phase to prove the fixed power-law theorem and its random-initial-opinions corollary, then sketches the uniform-density extension. Appendix A collects the comparison results of Liebenau and Wormald, together with the binomial, graphicality, concentration, and Gaussian-conditioning tools used throughout. Appendix B proves the comparison between the coarse fiber law and the conditioned row model. Appendix C derives the edge-splitting and degree-regularity estimates needed by the transition kernel from single-edge estimates of Liebenau and Wormald. Appendix D supplies the inverse-function results for the conditional-mean maps underlying the Gaussian and binomial tilts. Appendix E proves the existence, perturbation, and critical-day statements used in the idealized evolution.

1.4 Notation and conventions

All asymptotic notation is interpreted as the relevant size parameter tends to infinity. In a statement which first fixes constants and then quantifies over all sufficiently large \(N\) and over further choices depending on \(N\), the implicit constants and \(o(1)\)-terms may depend on the initially fixed constants but are uniform over all subsequently quantified choices. Thus, for example, the conclusion of Theorem 1.1 is uniform over \(p\) and \(\tau\) in the stated ranges.

A statement that asserts the existence of a constant names the constant after the statement and records the parameters on which it depends; for example, Theorem 3.3 produces \(C_{3.3}=C_{3.3}(\theta,k,T,\phi)\). Within that statement and its proof the constant is written without arguments. Every later use writes it as the function it is, evaluated at the parameters in force at that point. For instance, \(C_{C.2}(\theta,T_1)\) is the constant of Theorem C.2 for the parameter value \(T_1\) in place of \(T\); and the constant of Lemma A.10 with \(T^{1+\theta}\) in place of \(T\) and with input \(K\) is written \(C_{A.10}(\theta,T^{1+\theta},K)\). Constants named \(C_0,C_1,\ldots\) or \(c,c_0,\ldots\) inside a proof are internal to that proof.

Parentheses indicate map application, square brackets index structured data, and subscripts index families and parameters. For example, \(\Pi_k(\mathfrak g)[s]\) is the \(s\)-part of the partition \(\Pi_k(\mathfrak g)\); these objects are defined in Section 2. We retain the usual probabilistic notation \(\mathbb P[\cdot]\) and \(\mathbb E[\cdot]\).

1.5 Acknowledgments

We thank Mehtaab Sawhney for many valuable ideas and contributions to this project, including the ideation and early stages.

Statement on AI use. A complete manuscript containing the proof of Theorem 1.1 was written by the authors without AI assistance by August 2025, with further human revision continuing into early 2026. From August 2025 through August 2026, the authors used GPT-5.5, GPT-5.6, and Claude Fable to compare versions, trace dependencies, reorganize arguments, and assist with rewriting. In September 2026, these systems helped restructure the proof according to its logical dependencies and audit the argument line by line; the audit resolved several minor issues in the original presentation. Between September 6 and 10, GPT-6 Astra produced a complete Lean formalization of the proof under extensive direction from the authors. Claude Fable separately formalized the required results of Liebenau and Wormald (Liebenau and Wormald 2024, 2023) in a single session after being supplied the two papers. GPT-6 Astra and Claude Fable were subsequently used to prove and formalize the uniform-density strengthening, Theorem 1.2, including the dense-range argument based on Fountoulakis, Kang, and Makai (Fountoulakis, Kang, and Makai 2020). The authors reviewed and substantially revised the resulting mathematics and exposition. The mathematical content, final text, and any errors are the responsibility of the authors.

2 Setup

2.1 Politicized graphs and opinion histories

Context & expositionfull paper text

Throughout this section, fix a finite vertex set \(V\).

We index strings in \(\{0,1\}^k\) from \(0\) to \(k-1\), so if \(s\in\{0,1\}^k\), then \(s=s[0]\cdots s[k-1]\).

For \(s\in\{0,1\}^2\), define \[\ge_s:=\begin{cases} \ge & \text{if }s=00,\\ < & \text{if }s=01,\\ > & \text{if }s=10,\\ \le & \text{if }s=11. \end{cases}\]

For every \(k\ge 1\), define \[\mathrm{Part}_k(V):=\left\{\Pi:\{0,1\}^k\to 2^V:V=\bigsqcup_{s\in\{0,1\}^k}\Pi[s]\right\}.\] Thus an element of \(\mathrm{Part}_k(V)\) is a partition of \(V\) whose parts are indexed by \(\{0,1\}^k\).

For every \(k\ge 1\), the day-\(k\) partition of \(\mathfrak{g}\) is the element \(\Pi_k(\mathfrak{g})\in\mathrm{Part}_k(V)\) given by \[\Pi_k(\mathfrak{g})[s]:=\left\{x\in V:c_r(\mathfrak{g})[x]=(-1)^{s[r-1]}\text{ for all }1\le r\le k\right\}.\] In particular, \[V=\bigsqcup_{s\in\{0,1\}^k}\Pi_k(\mathfrak{g})[s]\] for every \(k\ge 1\), and \(\Pi_k(\mathfrak{g})[s]\) is exactly the set of vertices whose opinion history through day \(k\) is the binary string \(s\), with \(0\) representing \(+1\) and \(1\) representing \(-1\).

For any \(u\in\mathbb{R}^{\{0,1\}^k}\) and \(s\in\{0,1\}^k\), let \(\mathcal{I}_s(u)\) denote the assertion that \[\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}u[t]\ge_{s[r-1]s[r]}0\] for all \(1\le r\le k-1\). For any \(u\in\mathbb{R}^{\{0,1\}^k}\) and \(s\in\{0,1\}^{k+1}\), let \(\mathcal{J}_s(u)\) denote the assertion that \[\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}u[t]\ge_{s[r-1]s[r]}0\] for all \(1\le r\le k\).

For a graph \(H\) on \(V\), a vertex \(x\in V\), and a subset \(S\subseteq V\), write \(\deg^H_Sx\) for the number of neighbors of \(x\) in \(S\) in the graph \(H\). If \(u[t]=\deg^{\operatorname{gr}(\mathfrak{g})}_{\Pi_k(\mathfrak{g})[t]}x\), then the \(r\)th inequality above records the sign of the day-\(r\) neighbor imbalance around \(x\), with ties resolved according to the day-\(r\) opinion of \(x\). Consequently, for every \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\), \[\Pi_{k+1}(\mathfrak{g})[sb]=\left\{x\in \Pi_k(\mathfrak{g})[s]:\mathcal{J}_{sb}\left(\left(\deg^{\operatorname{gr}(\mathfrak{g})}_{\Pi_k(\mathfrak{g})[t]}x\right)_{t\in\{0,1\}^k}\right)\right\}.\]

2.2 State spaces and the iterative degree revelation process

For \(\Pi\in\mathrm{Part}_k(V)\) and a graph \(H\) on \(V\), define the degree array \(\delta(\Pi,H)\in\mathbb{Z}^{V\times\{0,1\}^k}\) by \[\delta(\Pi,H)[x,t]:=\deg^H_{\Pi[t]}x\] for \(x\in V\) and \(t\in\{0,1\}^k\). For \(\mathbf{d}\in\mathbb{Z}^{V\times\{0,1\}^k}\), write \(\mathbf{d}[x,\bullet]=(\mathbf{d}[x,t])_{t\in\{0,1\}^k}\) and define \[m(\Pi,\mathbf{d})[s,t]:=\sum_{x\in\Pi[s]}\mathbf{d}[x,t].\]

A finite sequence of nonnegative integers is graphical if it is the degree sequence of a simple graph, and a pair of such sequences is bipartite graphical if it is the pair of side-degree sequences of a simple bipartite graph. For \(\Pi\in\mathrm{Part}_k(V)\), let \(\mathcal{D}(\Pi)\subseteq\mathbb{Z}^{V\times\{0,1\}^k}\) be the set of graph-realizable degree arrays relative to \(\Pi\): \[\mathcal{D}(\Pi):=\left\{\delta(\Pi,H):H\text{ is a simple graph on }V\right\}.\] We also call the elements of \(\mathcal{D}(\Pi)\) graphical.

We fix some terminology, which recurs throughout. The parts \(\Pi[s]\) of a partition \(\Pi\in\mathrm{Part}_k(V)\) are called its blocks. A block pair of \(\Pi\) is an unordered pair \(\{s,t\}\) of indices \(s,t\in\{0,1\}^k\); it is internal if \(s=t\), in which case it refers to the edges inside the single block \(\Pi[s]\), and bipartite if \(s\ne t\), in which case it refers to the edges between \(\Pi[s]\) and \(\Pi[t]\). Every simple graph on \(V\) decomposes into its restrictions to the \(2^k\) internal block pairs and the \(\binom{2^k}{2}\) bipartite block pairs of \(\Pi\), and these restrictions involve disjoint sets of vertex pairs. When several partitions are in play, we say “block of \(\Pi\)” and “block pair of \(\Pi\)”. Graphicality of an array is a condition block pair by block pair:

Fact 2.1 (Graphicality is a block-pair condition). Let \(\Pi\in\mathrm{Part}_k(V)\) and \(\mathbf{d}\in\mathbb{Z}^{V\times\{0,1\}^k}\). Then \(\mathbf{d}\in\mathcal{D}(\Pi)\) if and only if, for each \(s\in\{0,1\}^k\), the sequence \((\mathbf{d}[x,s])_{x\in\Pi[s]}\) is graphical, and for each pair \(s,t\in\{0,1\}^k\) with \(s\ne t\), the pair of sequences \((\mathbf{d}[x,t])_{x\in\Pi[s]}\) and \((\mathbf{d}[y,s])_{y\in\Pi[t]}\) is bipartite graphical.

Read proofProof of Fact 2.1

Proof. If \(\mathbf{d}=\delta(\Pi,H)\), then the restriction of \(H\) to \(\Pi[s]\) realizes \((\mathbf{d}[x,s])_{x\in\Pi[s]}\) and the restriction of \(H\) to the pairs between \(\Pi[s]\) and \(\Pi[t]\) realizes the pair \((\mathbf{d}[x,t])_{x\in\Pi[s]}\), \((\mathbf{d}[y,s])_{y\in\Pi[t]}\). Conversely, given a graph on each \(\Pi[s]\) and a bipartite graph between each \(\Pi[s]\) and \(\Pi[t]\) realizing these sequences, their union \(H\) is a simple graph on \(V\), because the block pairs involve disjoint sets of vertex pairs, and \(\delta(\Pi,H)=\mathbf{d}\) by construction. ◻

The history constraints select the subset \[\mathcal{D}^\mathcal{I}(\Pi):=\left\{\mathbf{d}\in\mathcal{D}(\Pi):\mathcal{I}_s(\mathbf{d}[x,\bullet])\text{ for all }s\in\{0,1\}^k\text{ and }x\in\Pi[s]\right\}.\]

The day-\(k\) state space is \[\mathcal{S}_k(V):=\left\{(\Pi,\mathbf{d}):\Pi\in\mathrm{Part}_k(V)\text{ and }\mathbf{d}\in\mathcal{D}^\mathcal{I}(\Pi)\right\}.\] For \(\sigma=(\Pi,\mathbf{d})\in\mathcal{S}_k(V)\), we write \[\operatorname{part}(\sigma):=\Pi,\qquad \operatorname{deg}(\sigma):=\mathbf{d}.\] This is the convention we use throughout for structured objects: canonical components are accessed by named projection maps rather than repeated unpacking.

Every politicized graph \(\mathfrak{g}\) on \(V\) determines a state \[\sigma_k(\mathfrak{g}):=\left(\Pi_k(\mathfrak{g}),\delta(\Pi_k(\mathfrak{g}),\operatorname{gr}(\mathfrak{g}))\right)\in\mathcal{S}_k(V).\] This information determines the next partition.

Fact 2.2 (Reconstruction from a fine state). Let \(k\ge1\), let \(V\) be finite, and let \((\Pi,\mathbf d)\in\mathcal S_k(V)\). For every simple graph \(H\) on \(V\) with \(\delta(\Pi,H)=\mathbf d\) and every coloring \(c:V\to\{\pm1\}\) satisfying \(c[x]=(-1)^{s[0]}\) for \(x\in\Pi[s]\), the politicized graph \(\mathfrak g:=(H,c)\) satisfies \[c_r(\mathfrak g)[x]=(-1)^{s[r-1]}\qquad(1\le r\le k,\ s\in\{0,1\}^k,\ x\in\Pi[s]).\] In particular, \(\sigma_k(\mathfrak g)=(\Pi,\mathbf d)\), and every state in \(\mathcal S_k(V)\) is attainable.

Read proofProof of Fact 2.2

Proof. The assertion for \(r=1\) is the hypothesis on \(c\). If it holds for some \(r<k\), then for \(x\in\Pi[s]\), \[\sum_{y\sim_H x}c_r(\mathfrak g)[y] =\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}\deg^H_{\Pi[t]}x =\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}\mathbf d[x,t] \ge_{s[r-1]s[r]}0.\] The last relation is the \(r\)th constraint in \(\mathcal I_s(\mathbf d[x,\bullet])\). Together with \(c_r(\mathfrak g)[x]=(-1)^{s[r-1]}\), the tie-breaking rule gives \(c_{r+1}(\mathfrak g)[x]=(-1)^{s[r]}\). This proves the assertion by induction, hence \(\Pi_k(\mathfrak g)=\Pi\) and \(\sigma_k(\mathfrak g)=(\Pi,\mathbf d)\). A realizing graph \(H\) exists because \(\mathbf d\in\mathcal D(\Pi)\), which proves attainability. ◻

For \(\sigma\in\mathcal{S}_k(V)\), define its refinement \(\Phi_k(\sigma)\in\mathrm{Part}_{k+1}(V)\) by \[\Phi_k(\sigma)[sb]:=\left\{x\in\operatorname{part}(\sigma)[s]:\mathcal{J}_{sb}(\operatorname{deg}(\sigma)[x,\bullet])\right\}\] for every \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\). Because for each fixed \(x\in\operatorname{part}(\sigma)[s]\) exactly one of \(\mathcal{J}_{s0}(\operatorname{deg}(\sigma)[x,\bullet])\) and \(\mathcal{J}_{s1}(\operatorname{deg}(\sigma)[x,\bullet])\) holds, this is indeed a partition of \(V\). Moreover, if \(\sigma=\sigma_k(\mathfrak{g})\), then \(\Phi_k(\sigma)=\Pi_{k+1}(\mathfrak{g})\).

Definition 1 (The kernel \(K_k\)). For every \(\sigma=(\Pi,\mathbf{d})\in\mathcal{S}_k(V)\), define \(K_k(\sigma,\cdot)\) as follows. For each \(s\in\{0,1\}^k\), sample a uniformly random simple graph \(H_{s,s}\) on \(\Pi[s]\) with degree sequence \((\mathbf{d}[x,s])_{x\in\Pi[s]}\). For each unordered pair \(\{s,t\}\) of distinct elements \(s,t\in\{0,1\}^k\), sample a uniformly random simple bipartite graph \(H_{s,t}=H_{t,s}\) between \(\Pi[s]\) and \(\Pi[t]\) with degree sequences \((\mathbf{d}[x,t])_{x\in\Pi[s]}\) and \((\mathbf{d}[y,s])_{y\in\Pi[t]}\). Take all these sampled graphs and bipartite graphs to be mutually independent.

Given these sampled objects, define \(\mathbf{D}\in\mathbb{Z}^{V\times\{0,1\}^{k+1}}\) by setting, for \(x\in\Pi[s]\), \(t\in\{0,1\}^k\), and \(b\in\{0,1\}\), \[\mathbf{D}[x,tb]= \begin{cases} \deg^{H_{s,s}}_{\Phi_k(\sigma)[tb]}x,& t=s,\\ \deg^{H_{s,t}}_{\Phi_k(\sigma)[tb]}x,& t\ne s. \end{cases}\] Then, for every subset of states \(A\subseteq\mathcal{S}_{k+1}(V)\), set \[K_k(\sigma,A):=\mathbb{P}\left[(\Phi_k(\sigma),\mathbf{D})\in A\right].\] This is well-defined for every \(\sigma\in\mathcal{S}_k(V)\): the sampled objects exist by Fact 2.1, and the pair \((\Phi_k(\sigma),\mathbf{D})\) always lies in \(\mathcal{S}_{k+1}(V)\). Indeed, let \(H\) be the simple graph on \(V\) whose edge set is the union of the edge sets of the graphs \(H_{s,s}\) and the bipartite graphs \(H_{s,t}\); these edge sets are disjoint, so this is well defined. Then \(\mathbf{D}=\delta(\Phi_k(\sigma),H)\) by construction, so \(\mathbf{D}\in\mathcal{D}(\Phi_k(\sigma))\). Moreover, if \(x\in\Phi_k(\sigma)[sb]\), then for each \(1\le r\le k\), \[\sum_{u\in\{0,1\}^{k+1}}(-1)^{u[r-1]}\mathbf{D}[x,u] = \sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}\mathbf{d}[x,t],\] because \(\Phi_k(\sigma)[t0]\sqcup\Phi_k(\sigma)[t1]=\Pi[t]\) for each \(t\in\{0,1\}^k\), so that \(\mathbf{D}[x,t0]+\mathbf{D}[x,t1]=\mathbf{d}[x,t]\) and the two sums agree term by term. Since \(x\in\Phi_k(\sigma)[sb]\), the condition \(\mathcal{J}_{sb}(\mathbf{d}[x,\bullet])\) holds, and by the displayed identity this is the same as the condition \(\mathcal{I}_{sb}(\mathbf{D}[x,\bullet])\). As this holds for every \(x\in V\), we conclude that \(\mathbf{D}\in\mathcal{D}^{\mathcal I}(\Phi_k(\sigma))\), that is, \((\Phi_k(\sigma),\mathbf{D})\in\mathcal{S}_{k+1}(V)\).

Proposition 2.3. Fix \(p\in(0,1)\), a finite set \(V\), and a coloring \(c:V\to\{\pm1\}\). Sample \(G\sim\mathbb{G}(V,p)\), and let \(\mathfrak{g}=(G,c)\). Then \(\left(\sigma_k(\mathfrak{g})\right)_{k\ge 1}\) is a time-inhomogeneous Markov chain on the finite state spaces \(\mathcal{S}_k(V)\) with transition kernels \((K_k)_{k\ge1}\). Equivalently, for every \(\sigma\in\mathcal{S}_k(V)\) with \(\mathbb{P}[\sigma_k(\mathfrak{g})=\sigma]>0\) and every \(A\subseteq\mathcal{S}_{k+1}(V)\), \[\mathbb{P}\left[\sigma_{k+1}(\mathfrak{g})\in A\mid \sigma_k(\mathfrak{g})=\sigma\right]=K_k(\sigma,A).\]

Read proofProof of Proposition 2.3

Proof. We first explain why the displayed one-step statement, which conditions on the present state only, is equivalent to the Markov property, which conditions on the whole history \((\sigma_1(\mathfrak{g}),\ldots,\sigma_k(\mathfrak{g}))\). The reason is that \(\sigma_k(\mathfrak{g})\) determines the earlier states: for \(r<k\), the block \(\Pi_r(\mathfrak{g})[u]\) is the union of the blocks \(\Pi_k(\mathfrak{g})[s]\) over the strings \(s\) whose first \(r\) bits form \(u\), and \(\delta(\Pi_r(\mathfrak{g}),G)[x,u]\) is the sum of the entries \(\delta(\Pi_k(\mathfrak{g}),G)[x,s]\) over the same strings \(s\). Hence conditioning on \(\sigma_k(\mathfrak{g})\) is the same as conditioning on the whole history, and it suffices to prove the displayed identity.

Once \(\sigma_k(\mathfrak{g})=(\Pi,\mathbf{d})\) is known, the next partition is already determined: it is exactly \(\Phi_k(\sigma)\). The only remaining randomness in \(\sigma_{k+1}(\mathfrak{g})\) is the way the degree-constrained edge sets of the block pairs of \(\Pi\) split across the deterministic refinement \(\Phi_k(\sigma)\).

Condition on \(\sigma_k(\mathfrak{g})=(\Pi,\mathbf{d})\). Since this state has positive probability, \(\Pi\) is compatible with the fixed initial coloring \(c\), in the sense that \(x\in\Pi[s]\) implies \(c[x]=(-1)^{s[0]}\). Conversely, on the event \(\delta(\Pi,G)=\mathbf{d}\), Fact 2.2 gives \(\sigma_k(\mathfrak g)=\sigma\). Thus, for the present state \(\sigma\), the event \(\{\sigma_k(\mathfrak{g})=\sigma\}\) is exactly the event \(\{\delta(\Pi,G)=\mathbf{d}\}\).

The random edge sets of the internal and bipartite block pairs of \(\Pi\) are independent in \(\mathbb{G}(V,p)\), and the constraints recorded by \(\mathbf{d}\) involve these disjoint edge sets separately. Therefore the conditional law is a product over the block pairs of \(\Pi\). Inside \(\Pi[s]\), every simple graph with degree sequence \((\mathbf{d}[x,s])_{x\in\Pi[s]}\) has the same number of edges, and hence the same conditional probability; similarly, between \(\Pi[s]\) and \(\Pi[t]\), every simple bipartite graph with degree sequences \((\mathbf{d}[x,t])_{x\in\Pi[s]}\) and \((\mathbf{d}[y,s])_{y\in\Pi[t]}\) has the same number of edges. Thus the conditional distribution is exactly the product of uniformly random degree-constrained graphs and bipartite graphs used to define \(K_k(\sigma,\cdot)\).

It follows that the conditional law of \(\sigma_{k+1}(\mathfrak{g})\) given \(\sigma_k(\mathfrak{g})=\sigma\) is \(K_k(\sigma,\cdot)\), which depends only on the present state. This is the Markov property. ◻

2.3 Coarsening the state space

Context & expositionfull paper text

We next record the coarser information that will be propagated in the inductive estimates. For \(\Pi\in\mathrm{Part}_k(V)\), define the edge-count space \[\begin{aligned} \mathcal{M}(\Pi):=\Bigl\{m\in\mathbb{Z}^{\{0,1\}^k\times\{0,1\}^k}:{}& m[s,t]=m[t,s],\quad m[s,s]\in 2\mathbb{Z},\\ &0\le m[s,t]\le |\Pi[s]|\left(|\Pi[t]|-\mathbb{1}_{s=t}\right)\text{ for all }s,t\in\{0,1\}^k\Bigr\}. \end{aligned}\] Thus \(m[s,t]\) records the number of edge incidences from \(\Pi[s]\) to \(\Pi[t]\); for \(s\ne t\) this is the number of edges between the two parts, while \(m[s,s]\) is twice the number of edges inside \(\Pi[s]\). For every \(\mathbf{d}\in\mathcal{D}(\Pi)\), the array \(m(\Pi,\mathbf{d})\) defined above belongs to \(\mathcal{M}(\Pi)\).

For \(p\in(0,1)\) and \(\mathbf{d}\in\mathbb{Z}^{V\times\{0,1\}^k}\), let \(\kappa_p(\Pi,\mathbf{d})\) denote the assertion that \[\left|\mathbf{d}[x,t]-p|\Pi[t]|\right|\le (p|V|)^{4/7}\] for every \(x\in V\) and \(t\in\{0,1\}^k\).

The day-\(k\) coarse state space is the finite set \[\mathcal{Y}_k(V):=\left\{(\Pi,m,\eta):\Pi\in\mathrm{Part}_k(V),\; m\in\mathcal{M}(\Pi),\; \eta\in\{0,1\}\right\}.\] For \(y=(\Pi,m,\eta)\in\mathcal{Y}_k(V)\), we write \[\operatorname{part}(y):=\Pi,\qquad \operatorname{edge}(y):=m,\qquad \operatorname{reg}(y):=\eta.\] We use \(\mathcal{Y}_k(V)\) as a common codomain; not every element of \(\mathcal{Y}_k(V)\) need arise from a fine state. For each \(p\in(0,1)\), define the coarsening map \(\rho_k^{(p)}:\mathcal{S}_k(V)\to\mathcal{Y}_k(V)\) by \[\rho_k^{(p)}(\sigma):=\left(\operatorname{part}(\sigma),m(\operatorname{part}(\sigma),\operatorname{deg}(\sigma)),\mathbb{1}_{\kappa_p(\operatorname{part}(\sigma),\operatorname{deg}(\sigma))}\right).\] Thus \(\rho_k^{(p)}\) records the current partition, the edge counts between its parts, and whether the fine degree array is \(p\)-regular in the sense above.

Say that \(y\in\mathcal{Y}_k(V)\) is \(p\)-attainable if there exists \(\sigma\in\mathcal{S}_k(V)\) such that \(\rho_k^{(p)}(\sigma)=y\). We next define the fiber law \(\Lambda_y^{(p)}\) of a \(p\)-attainable coarse state \(y\): it is the law of a fine state sampled from the fiber \((\rho_k^{(p)})^{-1}(y)\), with the weights that the random graph \(\mathbb{G}(V,p)\) induces on that fiber. Sample \(G\sim\mathbb{G}(V,p)\) and set \[\widetilde\sigma_y(G):=\left(\operatorname{part}(y),\delta(\operatorname{part}(y),G)\right).\] Then \(\Lambda_y^{(p)}\) is the law of \(\widetilde\sigma_y(G)\) conditioned on the event that \(\widetilde\sigma_y(G)\) lies in \(\mathcal{S}_k(V)\) and, for this resulting fine state, \[\rho_k^{(p)}\left(\widetilde\sigma_y(G)\right)=y.\] Since \(p\in(0,1)\) and \(y\) is \(p\)-attainable, this conditioning event has positive probability.

Concretely, write \(\Pi:=\operatorname{part}(y)\) and \(m:=\operatorname{edge}(y)\). Choose independently a uniform graph with \(m[s,s]/2\) edges inside each \(\Pi[s]\) and a uniform bipartite graph with \(m[s,t]\) edges between each unordered pair of distinct blocks \(\Pi[s],\Pi[t]\). The fiber law \(\Lambda_y^{(p)}\) is the law of \((\Pi,\mathbf d)\) for the resulting degree array, conditioned on the vertexwise histories \(\mathcal I_s(\mathbf d[x,\bullet])\) and on \(\kappa_p(\Pi,\mathbf d)\) or its negation according to \(\operatorname{reg}(y)\). The local estimates use only \(\operatorname{reg}(y)=1\); Proposition 3.7 gives the formal identification with the auxiliary degree laws.

For a \(p\)-attainable coarse state \(y\in\mathcal{Y}_k(V)\) and every event \(B\subseteq\mathcal{Y}_{k+1}(V)\), define \[\overline{K}_k^{(p)}(y,B):=\mathbb{E}_{\sigma\sim\Lambda_y^{(p)}}\left[K_k\left(\sigma,\left(\rho_{k+1}^{(p)}\right)^{-1}(B)\right)\right].\] Equivalently, to sample from \(\overline{K}_k^{(p)}(y,\cdot)\), first sample \(\sigma\sim\Lambda_y^{(p)}\), then sample \(\sigma'\sim K_k(\sigma,\cdot)\), and output \(\rho_{k+1}^{(p)}(\sigma')\).

Remark 1 (The coarse one-step law is a fiber average). The refinement \(\Phi_k(\sigma)\) is decided vertex by vertex by the rows \(\mathbf{d}[x,\bullet]\), so fine states with the same coarse projection can have different next partitions. For instance, with \(k=1\) and suitable parameters, rows \((a,b)\) with \(a>b\) for every vertex of \(\Pi[0]\) send all of that block to \(00\), while replacing half the rows by \((a+c,b-c)\) and half by \((a-c,b+c)\), with \(c>a-b\), preserves the edge counts but sends only half of the block to \(00\). Thus the coarse process is not a lumping of the fine chain: no kernel \(Q_k\) satisfies \[K_k\left(\sigma,(\rho_{k+1}^{(p)})^{-1}(B)\right)=Q_k\left(\rho_k^{(p)}(\sigma),B\right) \qquad\text{for all }\sigma\in\mathcal S_k(V),\ B\subseteq\mathcal Y_{k+1}(V).\] The conditional one-step law instead averages over \(\Lambda_y^{(p)}\), as proved in Proposition 2.4; this identity supports induction by the law of total probability. The history constraints can couple the block pairs in \(\Lambda_y^{(p)}\). Section 3 controls this law and then \(K_k\) at a typical fine state.

Proposition 2.4 (One-step coarse conditioning). Fix \(p\in(0,1)\), a finite set \(V\), and a coloring \(c:V\to\{\pm1\}\). Sample \(G\sim\mathbb{G}(V,p)\), and let \(\mathfrak{g}=(G,c)\). If \(y\in\mathcal{Y}_k(V)\) satisfies \[\mathbb{P}\left[\rho_k^{(p)}(\sigma_k(\mathfrak{g}))=y\right]>0,\] then \(y\) is \(p\)-attainable, and for every \(B\subseteq\mathcal{Y}_{k+1}(V)\), \[\mathbb{P}\left[\rho_{k+1}^{(p)}(\sigma_{k+1}(\mathfrak{g}))\in B\mid \rho_k^{(p)}(\sigma_k(\mathfrak{g}))=y\right]=\overline{K}_k^{(p)}(y,B).\]

Read proofProof of Proposition 2.4

Proof. Let \(\Pi=\operatorname{part}(y)\) and write \[E_y:=\left\{\rho_k^{(p)}(\sigma_k(\mathfrak{g}))=y\right\},\qquad \widetilde\sigma:=\left(\Pi,\delta(\Pi,G)\right).\] Since \(\mathbb{P}[E_y]>0\), the partition \(\Pi\) is compatible with the fixed coloring \(c\): if \(x\in\Pi[s]\), then \(c[x]=(-1)^{s[0]}\).

We first identify the event \(E_y\). On \(E_y\) we have \(\Pi_k(\mathfrak{g})=\Pi\), hence \(\sigma_k(\mathfrak{g})=(\Pi,\delta(\Pi,G))=\widetilde\sigma\); in particular \(\widetilde\sigma\in\mathcal{S}_k(V)\) and \(\rho_k^{(p)}(\widetilde\sigma)=y\). Conversely, if \(\widetilde\sigma\in\mathcal S_k(V)\) and \(\rho_k^{(p)}(\widetilde\sigma)=y\), the compatibility of \(\Pi\) with \(c\) and Fact 2.2, applied to the graph \(G\), give \(\sigma_k(\mathfrak g)=\widetilde\sigma\). Thus \(\rho_k^{(p)}(\sigma_k(\mathfrak g))=y\), and therefore \[E_y=\left\{\widetilde\sigma\in\mathcal{S}_k(V),\; \rho_k^{(p)}(\widetilde\sigma)=y\right\}.\] In particular, \(y\) is \(p\)-attainable. Since \(\sigma_k(\mathfrak{g})=\widetilde\sigma\) on \(E_y\), conditional on \(E_y\) the state \(\sigma_k(\mathfrak{g})\) has law \(\Lambda_y^{(p)}\), which by definition is the law of \(\widetilde\sigma\) conditioned on the event displayed above.

Let \(A=(\rho_{k+1}^{(p)})^{-1}(B)\). Every state \(\sigma\) in the support of \(\Lambda_y^{(p)}\) satisfies \(\mathbb{P}[\sigma_k(\mathfrak{g})=\sigma]\ge\mathbb{P}[\sigma_k(\mathfrak{g})=\sigma,\,E_y]>0\), so Proposition 2.3 applies to it and gives \[\mathbb{P}\left[\sigma_{k+1}(\mathfrak{g})\in A\mid \sigma_k(\mathfrak{g})=\sigma\right]=K_k(\sigma,A).\] For such \(\sigma\) we also have \(\{\sigma_k(\mathfrak{g})=\sigma\}\subseteq E_y\), because \(\rho_k^{(p)}(\sigma)=y\). Hence, by the law of total probability over the value of \(\sigma_k(\mathfrak{g})\), whose conditional law given \(E_y\) is \(\Lambda_y^{(p)}\), \[\begin{aligned} \mathbb{P}\left[\rho_{k+1}^{(p)}(\sigma_{k+1}(\mathfrak{g}))\in B\mid E_y\right] &=\sum_{\sigma}\mathbb{P}\left[\sigma_k(\mathfrak{g})=\sigma\mid E_y\right]\mathbb{P}\left[\sigma_{k+1}(\mathfrak{g})\in A\mid\sigma_k(\mathfrak{g})=\sigma\right]\\ &=\mathbb{E}_{\sigma\sim\Lambda_y^{(p)}}\left[K_k\left(\sigma,(\rho_{k+1}^{(p)})^{-1}(B)\right)\right], \end{aligned}\] which is \(\overline K_k^{(p)}(y,B)\) by definition. ◻

3 The local coarse transition theorem

We prove a one-day estimate for the fiber-averaged law \(\overline K_k^{(p)}(y,\cdot)\): under the local admissibility conditions below, the next coarse state follows an explicit template up to the stated errors. The induction applies this estimate through Proposition 2.4.

Definition 3.1 (Local admissibility). Fix \(k\ge1\), a finite set \(V\), \(p\in(0,1)\), and constants \(T>1\) and \(\phi\in(0,1/2)\). Let \(y=(\Pi,m,\eta)\in\mathcal{Y}_k(V)\), write \(N:=|V|\) and \(n[s]:=|\Pi[s]|\), and let \[\lambda\in(0,1)^{\{0,1\}^k\times\{0,1\}^k}.\] We call \(\lambda\) a tilt. It prescribes, for each block \(\Pi[s]\) and each block \(\Pi[t]\), a binomial success probability \(\lambda[s,t]\) with which the degrees from vertices of \(\Pi[s]\) into \(\Pi[t]\) will be modeled; the name refers to the fact that replacing \(p\) by a nearby \(\lambda[s,t]\) amounts to an exponential tilt of the binomial law \(\mathrm{Bin}(\cdot,p)\), and the role of the tilt is to make an independent binomial model reproduce the prescribed edge counts \(m\) after conditioning on the history constraints (condition (LA8) below). For each fixed \(s\in\{0,1\}^k\), let \(A_{s,\bullet}\) denote the \(\{0,1\}^k\)-indexed random vector with independent coordinates \[A_{s,t}\sim\mathrm{Bin}\left(n[t]-\mathbb{1}_{s=t},\lambda[s,t]\right),\qquad t\in\{0,1\}^k,\] which models the row \(\mathbf{d}[x,\bullet]\) of a vertex \(x\in\Pi[s]\). We say that \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible if the following conditions hold:

  1. The regularity coordinate is true: \[\operatorname{reg}(y)=1.\]

  2. The current part sizes are of order \(N\), and the imbalances tested on earlier days are controlled: \[n[s]\ge T^{-1}N\] for every \(s\in\{0,1\}^k\), and \[\left|\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}n[t]\right|\le T\frac{N}{\sqrt{pN}}\] for every \(1\le r\le k-1\).

  3. The current edge counts have the expected scale: \[\left|m[s,t]-pn[s]n[t]\right|\le T\frac{N^2p}{\sqrt{pN}}\] for all \(s,t\in\{0,1\}^k\).

  4. The edge-count denominators are positive: \[m[s,t]>0\] for all \(s,t\in\{0,1\}^k\).

  5. The current edge-count imbalances are separated from their tie thresholds: \[\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}m[s,t] \ge_{s[r-1]s[r]} (-1)^{s[r]}T^{-1}\frac{N^2p}{\sqrt{pN}}\] for every \(s\in\{0,1\}^k\) and every \(1\le r\le k-1\).

  6. The tilt is controlled: \[\left|\lambda[s,t]-p\right|\le T\frac{p}{\sqrt{pN}}\] for all \(s,t\in\{0,1\}^k\).

  7. The conditioning event is nondegenerate: \[\mathbb{P}\left[\mathcal{I}_s(A_{s,\bullet})\right]\ge\phi\] for every \(s\in\{0,1\}^k\).

  8. The tilt solves the edge-count constraints: \[n[s]\mathbb{E}\left[A_{s,t}\mid \mathcal{I}_s(A_{s,\bullet})\right]=m[s,t]\] for all \(s,t\in\{0,1\}^k\).

  9. The next split is nondegenerate: \[\phi\le \mathbb{P}\left[\mathcal{J}_{sb}(A_{s,\bullet})\mid \mathcal{I}_s(A_{s,\bullet})\right] \le1-\phi\] for every \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\).

We refer to these conditions by their labels (LA1)–(LA9) throughout.

Definition 3.2 (The local template). Let \(k\ge1\), let \(n\in\mathbb{Z}_{\ge1}^{\{0,1\}^k}\), and let \(\lambda\in(0,1)^{\{0,1\}^k\times\{0,1\}^k}\). For each \(s\in\{0,1\}^k\) let \(A_{s,\bullet}=A_{s,\bullet}(n,\lambda)\) be the \(\{0,1\}^k\)-indexed random vector with independent coordinates \(A_{s,t}\sim\mathrm{Bin}(n[t]-\mathbb{1}_{s=t},\lambda[s,t])\); when \(n[t]=|\Pi[t]|\) for a coarse state \(y=(\Pi,m,\eta)\), this is the vector of Definition 3.1. Suppose that \(\mathbb{P}[\mathcal{I}_s(A_{s,\bullet})]>0\) for every \(s\in\{0,1\}^k\), and let \(m\in\mathbb{R}^{\{0,1\}^k\times\{0,1\}^k}\) satisfy \(m[s,t]\ne0\) for all \(s,t\). The local template of \((n,m,\lambda)\) is the triple \((n^{\mathrm{loc}},\ell^{\mathrm{loc}},m^{\mathrm{loc}})\) defined by \[n^{\mathrm{loc}}[sb]:=n[s]\mathbb{P}\left[\mathcal{J}_{sb}(A_{s,\bullet})\mid \mathcal{I}_s(A_{s,\bullet})\right]\] for \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\), \[\ell^{\mathrm{loc}}[sb,t] :=n[s]\mathbb{E}\left[A_{s,t}\mathbb{1}_{\mathcal{J}_{sb}(A_{s,\bullet})}\mid \mathcal{I}_s(A_{s,\bullet})\right]\] for \(s,t\in\{0,1\}^k\) and \(b\in\{0,1\}\), and \[m^{\mathrm{loc}}[sb,tc] :=\frac{\ell^{\mathrm{loc}}[sb,t] \ell^{\mathrm{loc}}[tc,s]}{m[s,t]}\] for \(s,t\in\{0,1\}^k\) and \(b,c\in\{0,1\}\). For a coarse state \(y=(\Pi,m,\eta)\) and a tilt \(\lambda\) such that \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible, the local template of \((y,\lambda)\) is the local template of \(((|\Pi[s]|)_{s\in\{0,1\}^k},m,\lambda)\); conditions (LA7) and (LA4) supply the two hypotheses. The template depends on \(y\) only through the sizes \(|\Pi[s]|\) and the edge counts \(m\); stating it for arbitrary size vectors \(n\) allows the same formulas to drive the idealized process of Section 5, whose sizes are not the block sizes of any partition.

Theorem 3.3 (Local coarse transition). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). There exists a constant \(C_{3.3}=C_{3.3}(\theta,k,T,\phi)>0\) such that the following holds for all sufficiently large \(N\). Let \(V\) be a finite set with \(|V|=N\), let \[p\in\left(T^{-1}N^{-\theta},TN^{-\theta}\right),\] and let \(y=(\Pi,m,\eta)\in\mathcal{Y}_k(V)\) be \(p\)-attainable. Suppose that \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible for some \[\lambda\in(0,1)^{\{0,1\}^k\times\{0,1\}^k}.\] Let \(n^{\mathrm{loc}}\), \(\ell^{\mathrm{loc}}\), and \(m^{\mathrm{loc}}\) be the local template from Definition 3.2. Let \(\mathcal{L}_{k+1}^{(p)}(y,\lambda)\subseteq\mathcal{Y}_{k+1}(V)\) be the set of all \(y'\in\mathcal{Y}_{k+1}(V)\) such that, writing \(\Pi':=\operatorname{part}(y')\) and \(m':=\operatorname{edge}(y')\), the following conditions hold:

  1. \(\Pi'\) refines \(\Pi\) one step, in the sense that \[\Pi'[s0]\sqcup \Pi'[s1] = \Pi[s]\] for every \(s\in\{0,1\}^k\).

  2. The next regularity coordinate is true: \[\operatorname{reg}(y')=1.\]

  3. The next part sizes follow the local template: \[\left||\Pi'[sb]|-n^{\mathrm{loc}}[sb]\right|\le C_{3.3}\sqrt{N}\log N\] for every \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\).

  4. The next edge counts follow the local template: \[\left|m'[sb,tc]-m^{\mathrm{loc}}[sb,tc]\right|\le C_{3.3} N^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N\] for every \(s,t\in\{0,1\}^k\) and \(b,c\in\{0,1\}\).

Then \[\overline K_k^{(p)}\left(y,\mathcal{L}_{k+1}^{(p)}(y,\lambda)\right)=1-o(1).\]

Theorem 3.3 is the only place in the argument where the degree-constrained random graph models have to be analyzed: its proof is where the transference machinery of Appendix B, which controls the fiber law \(\Lambda_y^{(p)}\), and the degree-constrained graph estimates of Appendix C, which control the kernel \(K_k\), enter; both rest on the imported enumeration theorems and elementary estimates collected in Appendix A. Once the theorem is available, the remainder of the analysis is independent of these tools: it consists of deterministic estimates showing that the local template of Definition 3.2 propagates the quantities we track, together with an induction over days through Proposition 2.4. The rest of this section is devoted to the proof of Theorem 3.3.

3.1 Ambient degree arrays and auxiliary laws

We next introduce the auxiliary objects used in the proof of Theorem 3.3. These objects are not part of the state space \(\mathcal{S}_k(V)\). They separate an ambient model of independent binomial rows, the row model \(\mathsf{R}_{\Pi,\lambda}\) of Definition 3.5 below, from the graphical degree-array model appearing in the fiber law \(\Lambda_y^{(p)}\).

Definition 3.4 (Ambient degree arrays). For \(\Pi\in\mathrm{Part}_k(V)\), define \[\mathcal{A}(\Pi):=\left\{\mathbf{d}\in\mathbb{Z}^{V\times\{0,1\}^k}:0\le \mathbf{d}[x,t]\le |\Pi[t]|-\mathbb{1}_{x\in\Pi[t]}\text{ for all }x\in V,\ t\in\{0,1\}^k\right\}.\] For \(\mathbf{d}\in\mathcal{A}(\Pi)\), let \(\mathcal{I}_\Pi(\mathbf{d})\) denote the assertion that \[\mathcal{I}_s(\mathbf{d}[x,\bullet])\] holds for every \(s\in\{0,1\}^k\) and every \(x\in\Pi[s]\). For \(C>0\), \(p\in(0,1)\), and \(m\in\mathcal{M}(\Pi)\), let \(\Gamma_{C,p}(\Pi,m,\mathbf{d})\) denote the assertion that, writing \(N:=|V|\), \[\frac{1}{pN^2}\sum_{x\in\Pi[s]}\left(\mathbf{d}[x,t]-\frac{m[s,t]}{|\Pi[s]|}\right)^2\le C\] for every \(s,t\in\{0,1\}^k\).

The ambient space \(\mathcal{A}(\Pi)\) should be distinguished from the graphical space \(\mathcal{D}(\Pi)\). The independent binomial model below lives on \(\mathcal{A}(\Pi)\); graphicality enters through comparison with the graphical law and through a support-compatibility lemma, Lemma B.1.

Definition 3.5 (Auxiliary degree-array laws). Fix \(\Pi\in\mathrm{Part}_k(V)\) and \(m\in\mathcal{M}(\Pi)\). The event \(m(\Pi,\delta(\Pi,G))=m\) has positive probability for \(G\sim\mathbb{G}(V,p)\), because the constraints defining \(\mathcal{M}(\Pi)\) are exactly those that make the edge counts \(m[s,s]/2\) inside \(\Pi[s]\) and \(m[s,t]\) between \(\Pi[s]\) and \(\Pi[t]\) realizable by a simple graph. Let \(\mathsf{G}_{\Pi,m}\) be the law of \(\delta(\Pi,G)\) conditioned on \[m(\Pi,\delta(\Pi,G))=m.\] We regard \(\mathsf{G}_{\Pi,m}\) as a probability measure on \(\mathcal{A}(\Pi)\), supported on \(\mathcal{D}(\Pi)\cap\{\mathbf{d}:m(\Pi,\mathbf{d})=m\}\). This law does not depend on the value of \(p\in(0,1)\). Equivalently, \(\mathsf{G}_{\Pi,m}\) is the product, over the block pairs of \(\Pi\), of the degree-array laws obtained from a uniformly random simple graph on \(\Pi[s]\) with \(m[s,s]/2\) edges for each internal block pair \(\{s,s\}\), and from a uniformly random simple bipartite graph between \(\Pi[s]\) and \(\Pi[t]\) with \(m[s,t]\) edges for each bipartite block pair \(\{s,t\}\).

For \(\lambda\in(0,1)^{\{0,1\}^k\times\{0,1\}^k}\), let \(\mathsf{R}_{\Pi,\lambda}\) be the product law on \(\mathcal{A}(\Pi)\) under which, independently for each \(x\in\Pi[s]\) and each \(t\in\{0,1\}^k\), \[\mathbf{D}[x,t]\sim\mathrm{Bin}\left(|\Pi[t]|-\mathbb{1}_{s=t},\lambda[s,t]\right).\] We call \(\mathsf{R}_{\Pi,\lambda}\) the row model: under it the rows \(\mathbf{D}[x,\bullet]\) are independent, and the law of the row of \(x\in\Pi[s]\) depends only on the block index \(s\).

The following fact, used in Section 3 and in Appendix B, says that conditioning the row model on the history constraints preserves its product structure. Here \(A_{s,\bullet}\) is the random row vector of Definition 3.1, whose law under \(\mathsf{R}_{\Pi,\lambda}\) is that of \(\mathbf{D}[x,\bullet]\) for any \(x\in\Pi[s]\).

Fact 3.6 (Rows of the conditioned row model). Let \(\Pi\in\mathrm{Part}_k(V)\) and \(\lambda\in(0,1)^{\{0,1\}^k\times\{0,1\}^k}\), and suppose \(\mathbb{P}[\mathcal{I}_s(A_{s,\bullet})]>0\) for every \(s\in\{0,1\}^k\). Under \(\mathsf{R}_{\Pi,\lambda}(\cdot\mid\mathcal{I}_\Pi)\), the rows \(\mathbf{D}[x,\bullet]\), \(x\in V\), are independent, and for \(x\in\Pi[s]\) the row \(\mathbf{D}[x,\bullet]\) has the law of \(A_{s,\bullet}\) conditioned on \(\mathcal{I}_s(A_{s,\bullet})\). In particular, for each \(s\) the rows \((\mathbf{D}[x,\bullet])_{x\in\Pi[s]}\) are \(n[s]\) independent copies of \(A_{s,\bullet}\mid\mathcal{I}_s(A_{s,\bullet})\).

Read proofProof of Fact 3.6

Proof. The event \(\mathcal{I}_\Pi=\bigcap_{x\in V}\mathcal{I}_{s(x)}(\mathbf{D}[x,\bullet])\), where \(s(x)\) denotes the block index of \(x\), is an intersection of one event per row, each depending on that row alone, and it has positive probability by the hypothesis. Since \(\mathsf{R}_{\Pi,\lambda}\) is a product over rows, for arrays \(\mathbf{d}\in\mathcal{A}(\Pi)\) satisfying \(\mathcal{I}_\Pi(\mathbf{d})\), \[\mathsf{R}_{\Pi,\lambda}\left(\mathbf{d}\mid\mathcal{I}_\Pi\right) =\frac{\prod_{x\in V}\mathbb{P}\left[A_{s(x),\bullet}=\mathbf{d}[x,\bullet]\right]}{\prod_{x\in V}\mathbb{P}\left[\mathcal{I}_{s(x)}(A_{s(x),\bullet})\right]} =\prod_{x\in V}\mathbb{P}\left[A_{s(x),\bullet}=\mathbf{d}[x,\bullet]\ \middle|\ \mathcal{I}_{s(x)}(A_{s(x),\bullet})\right],\] and \(\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\mathcal{I}_\Pi)=0\) when \(\mathcal{I}_\Pi(\mathbf{d})\) fails, which is also the value of the right-hand side. The right-hand side is a product law with the stated factors. ◻

Proposition 3.7 (Fiber law in auxiliary notation). Let \(p\in(0,1)\) and let \(y=(\Pi,m,1)\in\mathcal{Y}_k(V)\) be \(p\)-attainable. If \(\sigma\sim\Lambda_y^{(p)}\) and \(\mathbf{D}:=\operatorname{deg}(\sigma)\), then \(\mathbf{D}\), viewed as an \(\mathcal{A}(\Pi)\)-valued random array, has law \[\mathsf{G}_{\Pi,m}\left(\cdot\mid \mathcal{I}_\Pi,\kappa_p(\Pi,\cdot)\right).\] Equivalently, for every event \(E\subseteq\mathcal{A}(\Pi)\), \[\Lambda_y^{(p)}\left(\left\{\sigma:\operatorname{deg}(\sigma)\in E\right\}\right) = \mathsf{G}_{\Pi,m}\left(E\mid \mathcal{I}_\Pi,\kappa_p(\Pi,\cdot)\right).\]

Read proofProof of Proposition 3.7

Proof. By definition, \(\Lambda_y^{(p)}\) is obtained by sampling \(G\sim\mathbb{G}(V,p)\), forming \[\widetilde\sigma_y(G)=(\Pi,\delta(\Pi,G)),\] and conditioning on \[\widetilde\sigma_y(G)\in\mathcal{S}_k(V),\qquad \rho_k^{(p)}(\widetilde\sigma_y(G))=y.\] Writing \(\mathbf{D}=\delta(\Pi,G)\), the first condition says exactly that \(\mathbf{D}\in\mathcal{D}(\Pi)\) and \(\mathcal{I}_\Pi(\mathbf{D})\) holds, and the condition \(\mathbf{D}\in\mathcal{D}(\Pi)\) is automatic because \(\mathbf{D}\) is the degree array of the graph \(G\). Since \(y=(\Pi,m,1)\), the second condition imposes \[m(\Pi,\mathbf{D})=m,\qquad \kappa_p(\Pi,\mathbf{D}).\] Thus \(\Lambda_y^{(p)}\) is the law of \((\Pi,\mathbf{D})\) conditioned on the single event \(\{m(\Pi,\mathbf{D})=m\}\cap\mathcal{I}_\Pi\cap\kappa_p(\Pi,\cdot)\). Writing \(\mathcal{B}:=\mathcal{I}_\Pi\cap\kappa_p(\Pi,\cdot)\) and \(\{m\}:=\{\mathbf{d}\in\mathcal{A}(\Pi):m(\Pi,\mathbf{d})=m\}\), we therefore have, for every \(E\subseteq\mathcal{A}(\Pi)\), \[\begin{aligned} \Lambda_y^{(p)}\left(\left\{\sigma:\operatorname{deg}(\sigma)\in E\right\}\right) &=\frac{\mathbb{P}\left[\mathbf{D}\in E\cap\{m\}\cap\mathcal{B}\right]}{\mathbb{P}\left[\mathbf{D}\in\{m\}\cap\mathcal{B}\right]} =\frac{\mathbb{P}\left[\mathbf{D}\in E\cap\mathcal{B}\mid \mathbf{D}\in\{m\}\right]}{\mathbb{P}\left[\mathbf{D}\in\mathcal{B}\mid \mathbf{D}\in\{m\}\right]}\\ &=\frac{\mathsf{G}_{\Pi,m}(E\cap\mathcal{B})}{\mathsf{G}_{\Pi,m}(\mathcal{B})} =\mathsf{G}_{\Pi,m}\left(E\mid\mathcal{B}\right), \end{aligned}\] where the second equality divides numerator and denominator by \(\mathbb{P}[\mathbf{D}\in\{m\}]>0\), and the third is the definition of \(\mathsf{G}_{\Pi,m}\) as the law of \(\mathbf{D}=\delta(\Pi,G)\) conditioned on \(\{m\}\) (Definition 3.5). ◻

3.2 Local transference for a coarse fiber

The purpose of this subsection is the following transference principle: an event whose failure probability under the independent row model \(\mathsf{R}_{\Pi,\lambda}\), conditioned on the history constraints and on the exact block-pair edge counts, is small also has small failure probability under the fiber law \(\Lambda_y^{(p)}\), up to a constant factor and an additive \(e^{-N}\). This is what allows all subsequent probabilistic computations to be carried out in the row model, where the rows are independent, rather than in the graphical model. The proof relies on the enumeration comparison and the second-moment regularity results of Appendix B.

Proposition 3.8 (Local degree-array transference). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). There is a constant \(C_{3.8}=C_{3.8}(\theta,k,T,\phi)>0\) such that for all sufficiently large \(N\) the following holds. Let \(V\) be a finite set with \(|V|=N\), let \[p\in(T^{-1}N^{-\theta},TN^{-\theta}),\] and let \(y=(\Pi,m,1)\in\mathcal{Y}_k(V)\) be \(p\)-attainable. Suppose that \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible. Then for every event \(E\subseteq\mathcal{A}(\Pi)\), \[\Lambda_y^{(p)}\left(\sigma:\operatorname{deg}(\sigma)\notin E\right)\le e^{-N}+C_{3.8}\,\mathsf{R}_{\Pi,\lambda}\left(E^c\mid \mathcal{I}_\Pi,\ m(\Pi,\mathbf{D})=m\right).\] In particular, if \(\mathsf{R}_{\Pi,\lambda}(E\mid \mathcal{I}_\Pi,\ m(\Pi,\mathbf{D})=m)=1-o(1)\), then \(\Lambda_y^{(p)}(\sigma:\operatorname{deg}(\sigma)\in E)=1-o(1)\).

Read proofProof of Proposition 3.8

Proof. Throughout the proof we abbreviate \(\Gamma:=\Gamma_{C_{B.3}(\theta,k,T,\phi),p}(\Pi,m,\cdot)\), \(\kappa_p:=\kappa_p(\Pi,\cdot)\), and \(\{m\}:=\{\mathbf{D}\in\mathcal{A}(\Pi):m(\Pi,\mathbf{D})=m\}\). By Proposition 3.7, it suffices to prove \[\label{eq:transf-goal} \mathsf{G}_{\Pi,m}\left(E^c\mid \mathcal{I}_\Pi\cap\kappa_p\right)\le e^{-N}+C_{3.8}\,\mathsf{R}_{\Pi,\lambda}\left(E^c\mid\mathcal{I}_\Pi,\{m\}\right)\] for a suitable constant \(C_{3.8}\).

Step 1: restriction to \(\Gamma\). By Lemma B.3, \[\label{eq:transf-gamma} \mathsf{G}_{\Pi,m}\left(\Gamma^c\mid \mathcal{I}_\Pi\cap\kappa_p\right)\le e^{-N}.\] Since \(E^c\subseteq\Gamma^c\cup(E^c\cap\Gamma)\), and since \(\mathsf{G}_{\Pi,m}(\mathcal{I}_\Pi\cap\kappa_p)\ge\mathsf{G}_{\Pi,m}(\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p)\), Bayes’ rule and (3.2) give \[\label{eq:transf-split} \mathsf{G}_{\Pi,m}\left(E^c\mid \mathcal{I}_\Pi\cap\kappa_p\right) \le e^{-N}+\frac{\mathsf{G}_{\Pi,m}\left(E^c\cap\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\right)}{\mathsf{G}_{\Pi,m}\left(\mathcal{I}_\Pi\cap\kappa_p\right)} \le e^{-N}+\frac{\mathsf{G}_{\Pi,m}\left(E^c\cap\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\right)}{\mathsf{G}_{\Pi,m}\left(\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\right)}.\]

Step 2: comparison with the row model. The measure \(\mathsf{G}_{\Pi,m}\) is supported on \(\{m\}\), so the numerator and denominator in (3.3) are sums of \(\mathsf{G}_{\Pi,m}(\mathbf{d})\) over arrays \(\mathbf{d}\in\{m\}\cap\kappa_p\cap\Gamma\). By (LA2), (LA3), and Lemma B.1, every such array is graphical, and the restriction to \(\Gamma\) in Step 1 is exactly what makes the bounded-ratio comparison Lemma B.2(ii) available for every such array (on \(\kappa_p\) alone only the weak comparison (i) with the factor \(\exp\{O((pN)^{2/7})\}\) holds). Write \(C_1:=C'_{B.2}(\theta,k,T,C_{B.3}(\theta,k,T,\phi))\) for the constant of that comparison. Summing the upper bound \(\mathsf{G}_{\Pi,m}(\mathbf{d})\le C_1\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\{m\})\) over the arrays in the numerator and the lower bound \(\mathsf{G}_{\Pi,m}(\mathbf{d})\ge C_1^{-1}\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\{m\})\) over the arrays in the denominator, \[\label{eq:transf-compare} \frac{\mathsf{G}_{\Pi,m}\left(E^c\cap\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\right)}{\mathsf{G}_{\Pi,m}\left(\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\right)} \le C_1^2\, \frac{\mathsf{R}_{\Pi,\lambda}\left(E^c\cap\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\mid\{m\}\right)}{\mathsf{R}_{\Pi,\lambda}\left(\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\mid\{m\}\right)}.\]

Step 3: Bayes’ rule in the row model. The event \(\mathcal{I}_\Pi\cap\{m\}\) has positive \(\mathsf{R}_{\Pi,\lambda}\)-probability by Lemma B.6, so we may divide the numerator and the denominator of the right-hand side of (3.4) by \(\mathsf{R}_{\Pi,\lambda}(\mathcal{I}_\Pi\mid\{m\})\), which converts both into probabilities conditional on \(\mathcal{I}_\Pi\cap\{m\}\): \[\label{eq:transf-bayes} \frac{\mathsf{R}_{\Pi,\lambda}\left(E^c\cap\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\mid\{m\}\right)}{\mathsf{R}_{\Pi,\lambda}\left(\Gamma\cap\mathcal{I}_\Pi\cap\kappa_p\mid\{m\}\right)} = \frac{\mathsf{R}_{\Pi,\lambda}\left(E^c\cap\Gamma\cap\kappa_p\mid\mathcal{I}_\Pi,\{m\}\right)}{\mathsf{R}_{\Pi,\lambda}\left(\Gamma\cap\kappa_p\mid\mathcal{I}_\Pi,\{m\}\right)} \le \frac{\mathsf{R}_{\Pi,\lambda}\left(E^c\mid\mathcal{I}_\Pi,\{m\}\right)}{\mathsf{R}_{\Pi,\lambda}\left(\Gamma\cap\kappa_p\mid\mathcal{I}_\Pi,\{m\}\right)}.\] For the denominator, the chain rule together with Lemma B.7 and Lemma B.4 gives \[\label{eq:transf-denominator} \mathsf{R}_{\Pi,\lambda}\left(\Gamma\cap\kappa_p\mid\mathcal{I}_\Pi,\{m\}\right) =\mathsf{R}_{\Pi,\lambda}\left(\kappa_p\mid\mathcal{I}_\Pi,\{m\}\right)\, \mathsf{R}_{\Pi,\lambda}\left(\Gamma\mid\mathcal{I}_\Pi,\kappa_p,\{m\}\right) =(1-o(1))(1-o(1))\ge\frac12\] for all sufficiently large \(N\). Combining (3.3), (3.4), (3.5), and (3.6), \[\mathsf{G}_{\Pi,m}\left(E^c\mid \mathcal{I}_\Pi\cap\kappa_p\right)\le e^{-N}+2C_1^2\,\mathsf{R}_{\Pi,\lambda}\left(E^c\mid\mathcal{I}_\Pi,\{m\}\right),\] which is (3.1) with \(C_{3.8}:=2C_1^2=2\,C'_{B.2}(\theta,k,T,C_{B.3}(\theta,k,T,\phi))^2\); this constant depends only on \(\theta,k,T,\phi\). The final sentence of the statement follows because the bound holds uniformly in \(E\). ◻

3.3 Degree-array concentration in a coarse fiber

In this subsection we prove that a degree array sampled from the fiber law \(\Lambda_y^{(p)}\) is typical in the three respects that the kernel splitting step will need: individual degrees are concentrated, the sizes of the parts of the next partition are close to the local template \(n^{\mathrm{loc}}\), and the degree masses carried by these next parts are close to the local template \(\ell^{\mathrm{loc}}\). The proof works in the row model and transfers to the fiber by Proposition 3.8. We first name the two statistics of a degree array that determine the next partition and its degree masses.

For \(\Pi\in\mathrm{Part}_k(V)\), \(\mathbf{d}\in\mathcal{A}(\Pi)\), \(s\in\{0,1\}^k\), and \(b\in\{0,1\}\), define \[W_{\mathbf{d}}[sb]:=\left\{x\in\Pi[s]:\mathcal{J}_{sb}(\mathbf{d}[x,\bullet])\right\}.\] For \(s,t\in\{0,1\}^k\) and \(b\in\{0,1\}\), define \[L_{\mathbf{d}}[sb,t]:=\sum_{x\in W_{\mathbf{d}}[sb]}\mathbf{d}[x,t].\] For a fine state \((\Pi,\mathbf d)\), \(W_{\mathbf d}[sb]=\Phi_k((\Pi,\mathbf d))[sb]\) is the next part, and \(L_{\mathbf d}[sb,t]\) is its degree mass into \(\Pi[t]\), which \(K_k\) splits between the next parts \(t0\) and \(t1\). Both quantities are defined on all of \(\mathcal A(\Pi)\), including arrays that do not arise from a graph, because the row model lives on this ambient space.

Proposition 3.9 (Fiber degree-array estimates). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). There exists a constant \(C_{3.9}=C_{3.9}(\theta,k,T,\phi)>0\) such that the following holds for all sufficiently large \(N\).

Let \(V\) be a finite set with \(|V|=N\), let \[p\in(T^{-1}N^{-\theta},TN^{-\theta}),\] and let \(y=(\Pi,m,1)\in\mathcal{Y}_k(V)\) be \(p\)-attainable. Suppose that \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible, and let \(n^{\mathrm{loc}}\) and \(\ell^{\mathrm{loc}}\) be the local template from Definition 3.2. Sample \[(\Pi,\mathbf{d})\sim\Lambda_y^{(p)}.\] Then, with probability \(1-o(1)\), the following estimates hold simultaneously:

  1. Individual degrees are concentrated: \[\left|\mathbf{d}[x,t]-p|\Pi[t]|\right| \le \sqrt{pN}\,(\log N)^{2/3}\] for every \(x\in V\) and \(t\in\{0,1\}^k\).

  2. The next part sizes follow the local template: \[\left||W_{\mathbf{d}}[sb]|-n^{\mathrm{loc}}[sb]\right| \le C_{3.9}\sqrt N\log N\] for every \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\).

  3. The degree masses follow the local template: \[\left|L_{\mathbf{d}}[sb,t]-\ell^{\mathrm{loc}}[sb,t]\right| \le C_{3.9}\frac{N^2p}{\sqrt N}\log N\] for every \(s,t\in\{0,1\}^k\) and \(b\in\{0,1\}\).

Read proofProof of Proposition 3.9

Proof. We prove the proposition with \(C_{3.9}:=1\). Let \(\mathcal{E}\) denote the event that (R1), (R2), and (R3) hold. We first prove \[\mathsf{R}_{\Pi,\lambda}\left(\mathcal{E}\mid \mathcal{I}_\Pi,\ m(\Pi,\mathbf{D})=m\right)=1-o(1).\] By (LA7) the hypothesis of Fact 3.6 holds, so under \(\mathsf{R}_{\Pi,\lambda}(\cdot\mid\mathcal{I}_\Pi)\) the rows \(\mathbf{D}[x,\bullet]\) are independent, and if \(x\in\Pi[s]\) then the row has law \[A_{s,\bullet}\mid \mathcal{I}_s(A_{s,\bullet}).\] Conditions (LA7) and (LA6) give \(\mathbb{P}[\mathcal{I}_s(A_{s,\bullet})]\ge\phi\) and \(|\lambda[s,t]-p|\le T p/\sqrt{pN}\). For fixed \(x\in\Pi[s]\) and \(t\), the mean of \(A_{s,t}\) satisfies \[\begin{aligned} \left|\mathbb{E}A_{s,t}-p|\Pi[t]|\right| &=\left|\left(n[t]-\mathbb{1}_{s=t}\right)\lambda[s,t]-p\,n[t]\right| \le n[t]\left|\lambda[s,t]-p\right|+\lambda[s,t]\\ &\le T\sqrt{pN}+2p \le\tfrac12\sqrt{pN}(\log N)^{2/3} \end{aligned}\] for large \(N\), so Chernoff’s inequality gives \[\mathbb{P}\left[\left|A_{s,t}-p|\Pi[t]|\right|> \sqrt{pN}\,(\log N)^{2/3}\right]\le2\exp\left(-\frac{(\log N)^{4/3}}{24}\right)=N^{-\omega(1)}.\] After division by \(\mathbb{P}[\mathcal{I}_s(A_{s,\bullet})]\ge\phi\) and a union bound over the \(2^kN\) pairs \((x,t)\), estimate (R1) fails with probability \(N^{-\omega(1)}\) under \(\mathsf{R}_{\Pi,\lambda}(\cdot\mid\mathcal{I}_\Pi)\).

For fixed \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\), the random variables in the family \(\left(\mathbb{1}_{\mathcal{J}_{sb}(\mathbf{D}[x,\bullet])}\right)_{x\in\Pi[s]}\) are mutually independent under \(\mathsf{R}_{\Pi,\lambda}(\cdot\mid\mathcal{I}_\Pi)\), with common mean \[\mathbb{P}[\mathcal{J}_{sb}(A_{s,\bullet})\mid\mathcal{I}_s(A_{s,\bullet})].\] Therefore \(|W_{\mathbf{D}}[sb]|\) is binomial with \(n[s]\le N\) trials and mean \(n^{\mathrm{loc}}[sb]\) by Definition 3.2, and Chernoff’s inequality gives \[\mathbb{P}\left[\left||W_{\mathbf{D}}[sb]|-n^{\mathrm{loc}}[sb]\right|>\sqrt N\log N\right]\le2\exp\left(-\frac{N\log^2N}{2(N/4+\sqrt N\log N/3)}\right)=N^{-\omega(1)},\] which is estimate (R2) with \(C_{3.9}=1\).

For fixed \(s,t\in\{0,1\}^k\) and \(b\in\{0,1\}\), put \[X_x:=\mathbf{D}[x,t]\mathbb{1}_{\mathcal{J}_{sb}(\mathbf{D}[x,\bullet])},\qquad x\in\Pi[s].\] The random variables in the family \((X_x)_{x\in\Pi[s]}\) are mutually independent under \(\mathsf{R}_{\Pi,\lambda}(\cdot\mid\mathcal{I}_\Pi)\) and have mean \[\mathbb{E}\left[A_{s,t}\mathbb{1}_{\mathcal{J}_{sb}(A_{s,\bullet})}\mid\mathcal{I}_s(A_{s,\bullet})\right]=\frac{\ell^{\mathrm{loc}}[sb,t]}{n[s]},\] where the equality is the definition of \(\ell^{\mathrm{loc}}\) in Definition 3.2. On the high-probability event (R1) already proved, every \(X_x\) is at most \(\mathbf{D}[x,t]\le p|\Pi[t]|+\sqrt{pN}(\log N)^{2/3}\le2pN\), using \(|\Pi[t]|\le N\) and taking \(N\) sufficiently large. Therefore, replacing \(X_x\) by the truncated variable \(X_x':=X_x\mathbb{1}_{X_x\le2pN}\) changes the sum \(\sum_{x\in\Pi[s]}X_x\) with probability \(N^{-\omega(1)}\) only. The truncation also changes the means, but negligibly: since \(0\le X_x\le N\), \[0\le\mathbb{E}[X_x]-\mathbb{E}[X_x']=\mathbb{E}\left[X_x\mathbb{1}_{X_x>2pN}\right]\le N\,\mathbb{P}[X_x>2pN]=N^{-\omega(1)},\] so \(\left|\sum_{x\in\Pi[s]}\mathbb{E}[X_x']-\ell^{\mathrm{loc}}[sb,t]\right|\le n[s]N^{-\omega(1)}=N^{-\omega(1)}\), which is negligible against the error term below. Hoeffding’s inequality applied to the \(n[s]\le N\) independent variables \(X_x'\in[0,2pN]\) gives \[\begin{aligned} \mathbb{P}\left[\left|\sum_{x\in\Pi[s]}X_x'-\sum_{x\in\Pi[s]}\mathbb{E}[X_x']\right|>\frac12\frac{N^2p}{\sqrt N}\log N\right] &\le2\exp\left(-\frac{2\cdot\frac14N^3p^2\log^2N}{N(2pN)^2}\right)\\ &=2\exp\left(-\frac{\log^2N}{8}\right)=N^{-\omega(1)}, \end{aligned}\] and combining the three displays, \[\left|\sum_{x\in\Pi[s]}X_x-\ell^{\mathrm{loc}}[sb,t]\right| \le\frac12\frac{N^2p}{\sqrt N}\log N+N^{-\omega(1)}\le\frac{N^2p}{\sqrt N}\log N\] with failure probability \(N^{-\omega(1)}\); this is estimate (R3) with \(C_{3.9}=1\). A union bound over the at most \(2^{2k+1}\) choices of \(s,t,b\) gives \[\label{eq:E-unconditioned} \mathsf{R}_{\Pi,\lambda}(\mathcal{E}^c\mid\mathcal{I}_\Pi)=N^{-\omega(1)}.\] By Lemma B.6, \[\label{eq:exact-total-poly} \mathsf{R}_{\Pi,\lambda}\left(m(\Pi,\mathbf{D})=m\mid\mathcal{I}_\Pi\right)\ge (N^2p)^{-C_{B.6}(\theta,k,T,\phi)}.\] By Bayes’ rule, (3.8), and (3.7), \[\begin{aligned} \mathsf{R}_{\Pi,\lambda}\left(\mathcal{E}^c\mid\mathcal{I}_\Pi,m(\Pi,\mathbf{D})=m\right) &=\frac{\mathsf{R}_{\Pi,\lambda}\left(\mathcal{E}^c\cap\{m(\Pi,\mathbf{D})=m\}\mid\mathcal{I}_\Pi\right)}{\mathsf{R}_{\Pi,\lambda}\left(m(\Pi,\mathbf{D})=m\mid\mathcal{I}_\Pi\right)}\\ &\le\frac{\mathsf{R}_{\Pi,\lambda}\left(\mathcal{E}^c\mid\mathcal{I}_\Pi\right)}{(N^2p)^{-C_{B.6}(\theta,k,T,\phi)}} \le(N^2p)^{C_{B.6}(\theta,k,T,\phi)}N^{-\omega(1)}=N^{-\omega(1)}. \end{aligned}\] Hence Proposition 3.8, applied to the event \(\mathcal{E}\), gives \[\Lambda_y^{(p)}\left(\sigma:\operatorname{deg}(\sigma)\notin\mathcal{E}\right)\le e^{-N}+C_{3.8}(\theta,k,T,\phi)N^{-\omega(1)}=o(1),\] which is the claim. ◻

3.4 Splitting the block-pair graphs under the kernel

We now fix a typical degree array \(\mathbf{d}\) from the fiber, in the sense of Proposition 3.9, and study the second stage of the sampling procedure for \(\overline{K}_k^{(p)}\): the kernel \(K_k((\Pi,\mathbf{d}),\cdot)\) samples a uniformly random degree-constrained graph or bipartite graph on each block pair of \(\Pi\) and restricts it to the next partition. The next partition is deterministic given \(\mathbf{d}\), so what has to be shown is that the edges of each block-pair graph split between the next parts in proportion to the degree masses \(L_{\mathbf{d}}\), and that the new degree array is again regular. The first statement is a second-moment computation based on the edge probabilities in a random graph with prescribed degrees (Lemma C.1), and the second is a large-deviation estimate for a single degree into a subset (Theorem C.2); both are proved in Appendix C.

Proposition 3.10 (Kernel splitting estimates). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). There exists a constant \(C_{3.10}=C_{3.10}(\theta,k,T,\phi)>0\) such that the following holds for all sufficiently large \(N\).

Let \(V\) be a finite set with \(|V|=N\), let \[p\in(T^{-1}N^{-\theta},TN^{-\theta}),\] and let \((y,\lambda)\) be \((T,\phi,p)\)-locally admissible with \(y=(\Pi,m,1)\). Let \(\mathbf{d}\in\mathcal{D}^{\mathcal I}(\Pi)\) satisfy \[m(\Pi,\mathbf{d})=m\] together with the estimates (R1) and (R2) of Proposition 3.9. Sample \[\sigma'=(\Pi',\mathbf{D}')\sim K_k((\Pi,\mathbf{d}),\cdot).\] Then, with probability \(1-o(1)\), the following hold simultaneously:

  1. The next partition is the deterministic split: \[\Pi'[sb]=W_{\mathbf{d}}[sb]\] for every \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\).

  2. The next degree array is regular: \(\kappa_p(\Pi',\mathbf{D}')\) holds.

  3. The next edge counts split proportionally to the degree masses: \[\left| m(\Pi',\mathbf{D}')[sb,tc] - \frac{L_{\mathbf{d}}[sb,t]L_{\mathbf{d}}[tc,s]}{m[s,t]} \right| \le C_{3.10} N^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N\] for every \(s,t\in\{0,1\}^k\) and \(b,c\in\{0,1\}\).

Read proofProof of Proposition 3.10

Proof. Assertion (S1) is deterministic: by the definition of \(K_k\) we have \(\Pi'=\Phi_k((\Pi,\mathbf{d}))\), and \(\Phi_k((\Pi,\mathbf{d}))[sb]=W_{\mathbf{d}}[sb]\) by the definitions of \(\Phi_k\) and \(W_{\mathbf{d}}\).

We record two consequences of the hypotheses that are used repeatedly below. First, by (LA2), (LA9), and (R2), for all sufficiently large \(N\), \[\label{eq:W-sizes} \frac{\phi}{2T}N\le |W_{\mathbf{d}}[sb]|\le N\qquad\text{for all }s\in\{0,1\}^k\text{ and }b\in\{0,1\},\] since \(|W_{\mathbf{d}}[sb]|\ge n^{\mathrm{loc}}[sb]-C_{3.9}(\theta,k,T,\phi)\sqrt N\log N\ge\phi\,n[s]-C_{3.9}(\theta,k,T,\phi)\sqrt N\log N\) and \(n[s]\ge T^{-1}N\). Second, by (R1) and (LA2), for all sufficiently large \(N\), \[\label{eq:d-window} \left|\mathbf{d}[x,t]-p\,n[t]\right|\le\sqrt{pN}\,(\log N)^{2/3}\le\min_{u\in\{0,1\}^k}\left(p\,n[u]\right)^{4/7}\qquad\text{for all }x\in V\text{ and }t\in\{0,1\}^k,\] where the minimum over \(u\) is what allows the degrees on either side of a bipartite block pair \(\{s,t\}\) to be measured against the size of the other block. Finally, put \[\label{eq:T1} T_1:=\max\left\{T^{5/2},\,\frac{2T}{\phi}\right\},\] which is the value of the constant \(T\) with which Lemma C.1 and Theorem C.2 are applied below: since every block size \(n[u]\) lies in \([T^{-1}N,N]\), their hypothesis \(p\in(T_1^{-1}n^{-\theta},T_1n^{-\theta})\) holds because \(T_1\ge T^{1+\theta}\), the hypothesis \(\ell\in[T_1^{-1}n,T_1n]\) holds because \(T_1\ge T\), the edge-count hypothesis \(|m-p\ell n|\le T_1n^2p/\sqrt{pn}\) (respectively \(|m-pn(n-1)/2|\le T_1n^2p/\sqrt{pn}\)) follows from (LA3) because \(TN^2p/\sqrt{pN}\le T^{5/2}n^2p/\sqrt{pn}\) for \(n\ge T^{-1}N\) (in the internal case, where \(m=m[s,s]/2\), the additional term \(\tfrac12p\,n[s]\) from \(pn(n-1)/2\) versus \(pn^2/2\) is absorbed, since \(pn\le n^{3/2}\sqrt p\)), and the subset-size hypotheses hold by (3.9) because \(T_1\ge2T/\phi\).

We prove (S3). Suppose first that \(s\ne t\). Under \(K_k((\Pi,\mathbf{d}),\cdot)\), the bipartite graph between \(\Pi[s]\) and \(\Pi[t]\) is uniformly random among all bipartite graphs with side-degree sequences \((\mathbf{d}[x,t])_{x\in\Pi[s]}\) and \((\mathbf{d}[y,s])_{y\in\Pi[t]}\); it has exactly \(\sum_{x\in\Pi[s]}\mathbf{d}[x,t]=m(\Pi,\mathbf{d})[s,t]=m[s,t]\) edges. We apply Lemma C.1(iii) to this bipartite graph with \(\ell=n[s]\), \(n=n[t]\), \(U=W_{\mathbf{d}}[sb]\), \(U'=W_{\mathbf{d}}[tc]\), and with the constant \(T\) of that lemma equal to \(T_1\): the hypotheses on \(p\), on \(\ell\), on the edge count \(m[s,t]\), and on the subset sizes hold by the discussion following (3.11), and the degree hypotheses hold by (3.10) with \(u=t\) (the lemma measures the deviations of both degree sequences, of \((\mathbf{d}[x,t])_{x\in\Pi[s]}\) from \(p\,n[t]\) and of \((\mathbf{d}[y,s])_{y\in\Pi[t]}\) from \(p\,n[s]\), in units of \((pn)^{4/7}=(p\,n[t])^{4/7}\)). Since \(\sum_{x\in W_{\mathbf{d}}[sb]}\mathbf{d}[x,t]=L_{\mathbf{d}}[sb,t]\), \(\sum_{y\in W_{\mathbf{d}}[tc]}\mathbf{d}[y,s]=L_{\mathbf{d}}[tc,s]\), and \(m(\Pi',\mathbf{D}')[sb,tc]\) is the number of edges between \(W_{\mathbf{d}}[sb]\) and \(W_{\mathbf{d}}[tc]\), the lemma gives \[\left|m(\Pi',\mathbf{D}')[sb,tc]-\frac{L_{\mathbf{d}}[sb,t]L_{\mathbf{d}}[tc,s]}{m[s,t]}\right| \le C_1 N^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N\] with probability \(1-o(1)\), where \(C_1:=2T\): the lemma is stated with \(n=n[t]\in[T^{-1}N,N]\), and its error term \(n^2p\sqrt{(pn)^{1/7}/n}\log n\) is at most \(T^{3/7}N^2p\sqrt{(pN)^{1/7}/N}\log N\) because \(n^{-6/7}\le T^{6/7}N^{-6/7}\) (the factor \(2\) in \(C_1\) is not needed here; it is needed in the internal case with \(b=c\) below).

Now suppose \(s=t\). Under \(K_k((\Pi,\mathbf{d}),\cdot)\), the graph on \(\Pi[s]\) is uniformly random among all graphs with degree sequence \((\mathbf{d}[x,s])_{x\in\Pi[s]}\); it has exactly \(m[s,s]/2\) edges. The hypotheses of Lemma C.1(i) and (ii) are verified exactly as above, with \(n=n[s]\), \(U=W_{\mathbf{d}}[sb]\), and the constant \(T\) of the lemma equal to \(T_1\). If \(b=c\), the quantity \(m(\Pi',\mathbf{D}')[sb,sb]\) is twice the number \(X\) of edges inside \(W_{\mathbf{d}}[sb]\), and \(L_{\mathbf{d}}[sb,s]^2/m[s,s]\) is twice the centering \((\sum_{x\in W_{\mathbf{d}}[sb]}\mathbf{d}[x,s])^2/(4\cdot m[s,s]/2)\) of Lemma C.1(i), so that lemma gives \[\left|m(\Pi',\mathbf{D}')[sb,sb]-\frac{L_{\mathbf{d}}[sb,s]^2}{m[s,s]}\right| =2\left|X-\frac{\left(\sum_{x\in W_{\mathbf{d}}[sb]}\mathbf{d}[x,s]\right)^2}{4\cdot m[s,s]/2}\right| \le C_1 N^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N,\] where the factor \(2\) is absorbed by \(C_1=2T\). If \(b\ne c\), then \(W_{\mathbf{d}}[sc]=\Pi[s]\setminus W_{\mathbf{d}}[sb]\) and \(m(\Pi',\mathbf{D}')[sb,sc]\) is the number of edges between \(W_{\mathbf{d}}[sb]\) and \(W_{\mathbf{d}}[sc]\), so Lemma C.1(ii) gives \[\left|m(\Pi',\mathbf{D}')[sb,sc]-\frac{L_{\mathbf{d}}[sb,s]L_{\mathbf{d}}[sc,s]}{m[s,s]}\right| \le C_1 N^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N.\] A union bound over the at most \(2^{2k+2}\) choices of \(s,t,b,c\) proves (S3) with \(C_{3.10}:=C_1\).

It remains to prove (S2). Fix a vertex \(x\in\Pi[s]\) and a new part \(\Pi'[tc]=W_{\mathbf{d}}[tc]\). If \(t=s\), then \(\mathbf{D}'[x,tc]\) is the degree of \(x\) into the subset \(W_{\mathbf{d}}[sc]\) of \(\Pi[s]\) in the uniformly random graph on \(\Pi[s]\) with degree sequence \((\mathbf{d}[z,s])_{z\in\Pi[s]}\); if \(t\ne s\), it is the degree of \(x\) into the subset \(W_{\mathbf{d}}[tc]\) of \(\Pi[t]\) in the uniformly random bipartite graph between \(\Pi[s]\) and \(\Pi[t]\) with the side-degree sequences above. We apply Theorem C.2(i) in the first case and Theorem C.2(ii) in the second, with \(n=n[t]\) (and \(\ell=n[s]\) in the bipartite case), \(v=x\), \(S=W_{\mathbf{d}}[tc]\), and the constant \(T\) of that theorem equal to \(T_1\): the hypotheses on \(p\), on \(\ell\), on the edge count, and on the size of \(S\) hold by the discussion following (3.11), and the degree hypotheses \(|\alpha_i|,|\beta_j|\le\log n\) from (R1), because \(n[u]\ge T^{-1}N\) gives \(\sqrt{pN}\,(\log N)^{2/3}\le\sqrt{T}\sqrt{p\,n[u]}\,(\log N)^{2/3}\le\sqrt{p\,n[u]}\log n[t]\) for \(u\in\{s,t\}\) and all sufficiently large \(N\). Now the event that \(\kappa_p(\Pi',\mathbf{D}')\) fails at the entry \((x,tc)\) is the event that \(\mathbf{D}'[x,tc]=t'\) for some integer \(t'\) with \(|t'-p|W_{\mathbf{d}}[tc]||>(pN)^{4/7}\). Writing such a \(t'\) as \(t'=p|W_{\mathbf{d}}[tc]|+\tau\sqrt{p|W_{\mathbf{d}}[tc]|}\), we have \(|\tau|\ge(pN)^{4/7}/\sqrt{pN}=(pN)^{1/14}\ge\log^{100}N\) for all sufficiently large \(N\), so Theorem C.2, whose constant is \(C_{C.2}(\theta,T_1)\) here, bounds the probability of this event by \[\sum_{t'}\exp\left(-C_{C.2}(\theta,T_1)\tau^2\right)\le O(pN)\exp\left(-C_{C.2}(\theta,T_1)(pN)^{1/7}\right)=N^{-\omega(1)}\] for each fixed \(x\) and \(tc\). A union bound over all \(x\in V\) and the \(2^{k+1}\) choices of \(tc\) gives (S2) with probability \(1-o(1)\). ◻

3.5 Proof of the local coarse transition theorem

The proof assembles the two preceding propositions along the two-stage sampling procedure that defines \(\overline{K}_k^{(p)}(y,\cdot)\): a fiber sample \(\sigma\sim\Lambda_y^{(p)}\) is typical by Proposition 3.9, a kernel sample from a typical \(\sigma\) is well behaved by Proposition 3.10, and the conclusions of the two propositions combine into the four defining conditions of \(\mathcal{L}_{k+1}^{(p)}(y,\lambda)\). The only computation left is to replace the degree masses \(L_{\mathbf{d}}\) appearing in (S3) by their local templates \(\ell^{\mathrm{loc}}\).

Read proofFull argument

Proof of Theorem 3.3. We prove the theorem with \[C_{3.3}:=C_{3.9}(\theta,k,T,\phi)+C_{3.10}(\theta,k,T,\phi).\] By the definition of \(\overline K_k^{(p)}(y,\cdot)\), we may sample from it by first sampling \[\sigma=(\Pi,\mathbf{d})\sim\Lambda_y^{(p)},\] then sampling \[\sigma'=(\Pi',\mathbf{D}')\sim K_k(\sigma,\cdot),\] and finally setting \(y':=\rho_{k+1}^{(p)}(\sigma')\). We must show that \(y'\) satisfies (L1), (L2), (L3), and (L4) with probability \(1-o(1)\).

Step 1: the fiber sample. Every \(\sigma\) in the support of \(\Lambda_y^{(p)}\) lies in \(\mathcal{S}_k(V)\) and satisfies \(\rho_k^{(p)}(\sigma)=y\); hence \[\label{eq:fiber-support} \mathbf{d}\in\mathcal{D}^{\mathcal I}(\Pi)\qquad\text{and}\qquad m(\Pi,\mathbf{d})=m.\] By Proposition 3.9, with probability \(1-o(1)\) over \(\sigma\sim\Lambda_y^{(p)}\), the array \(\mathbf{d}\) also satisfies (R1), (R2), and (R3). Fix such a \(\mathbf{d}\) for the rest of the proof. Then (3.12), (R1), and (R2) are exactly the hypotheses on \(\mathbf{d}\) in Proposition 3.10.

Step 2: the kernel sample. By Proposition 3.10, with probability \(1-o(1)\) over \(\sigma'\sim K_k((\Pi,\mathbf{d}),\cdot)\), uniformly in the array \(\mathbf{d}\) fixed in Step 1, the conclusions (S1), (S2), and (S3) hold. Fix such a \(\sigma'\).

Step 3: verification of (L1)–(L4). By (S1), \(\Pi'[sb]=W_{\mathbf{d}}[sb]\) for all \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\). Since for each \(x\in\Pi[s]\) exactly one of \(\mathcal{J}_{s0}(\mathbf{d}[x,\bullet])\) and \(\mathcal{J}_{s1}(\mathbf{d}[x,\bullet])\) holds, we have \(W_{\mathbf{d}}[s0]\sqcup W_{\mathbf{d}}[s1]=\Pi[s]\), which is (L1). By (S2) and the definition of \(\rho_{k+1}^{(p)}\), we have \(\operatorname{reg}(y')=\mathbb{1}_{\kappa_p(\Pi',\mathbf{D}')}=1\), which is (L2). By (S1) and (R2), \[\left||\Pi'[sb]|-n^{\mathrm{loc}}[sb]\right| = \left||W_{\mathbf{d}}[sb]|-n^{\mathrm{loc}}[sb]\right| \le C_{3.9}(\theta,k,T,\phi)\sqrt N\log N\le C_{3.3}\sqrt N\log N,\] which is (L3).

It remains to prove (L4). Fix \(s,t\in\{0,1\}^k\) and \(b,c\in\{0,1\}\), and write \(m':=\operatorname{edge}(y')=m(\Pi',\mathbf{D}')\). Recall that \(m[s,t]>0\) by (LA4). By the definition of \(m^{\mathrm{loc}}\), the triangle inequality, and (S3), \[\label{eq:L4-split} \begin{aligned} \left|m'[sb,tc]-m^{\mathrm{loc}}[sb,tc]\right| &\le C_{3.10}(\theta,k,T,\phi)N^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N\\ &\quad+ \frac{\left|L_{\mathbf{d}}[sb,t]L_{\mathbf{d}}[tc,s]-\ell^{\mathrm{loc}}[sb,t]\ell^{\mathrm{loc}}[tc,s]\right|}{m[s,t]}. \end{aligned}\] We bound the last term. Since \(W_{\mathbf{d}}[tc]\subseteq\Pi[t]\) and \(m(\Pi,\mathbf{d})=m\) by (3.12), we have \[0\le L_{\mathbf{d}}[tc,s]\le\sum_{x\in\Pi[t]}\mathbf{d}[x,s]=m[t,s]=m[s,t],\] and since \(\mathbb{1}_{\mathcal{J}_{sb}(A_{s,\bullet})}\le1\), condition (LA8) gives \[0\le\ell^{\mathrm{loc}}[sb,t]\le n[s]\mathbb{E}\left[A_{s,t}\mid\mathcal{I}_s(A_{s,\bullet})\right]=m[s,t].\] Writing \[\begin{aligned} &L_{\mathbf{d}}[sb,t]L_{\mathbf{d}}[tc,s]-\ell^{\mathrm{loc}}[sb,t]\ell^{\mathrm{loc}}[tc,s]\\ &\qquad= \left(L_{\mathbf{d}}[sb,t]-\ell^{\mathrm{loc}}[sb,t]\right)L_{\mathbf{d}}[tc,s] + \ell^{\mathrm{loc}}[sb,t]\left(L_{\mathbf{d}}[tc,s]-\ell^{\mathrm{loc}}[tc,s]\right) \end{aligned}\] and applying (R3) to both differences, we obtain \[\begin{aligned} \frac{\left|L_{\mathbf{d}}[sb,t]L_{\mathbf{d}}[tc,s]-\ell^{\mathrm{loc}}[sb,t]\ell^{\mathrm{loc}}[tc,s]\right|}{m[s,t]} &\le \left|L_{\mathbf{d}}[sb,t]-\ell^{\mathrm{loc}}[sb,t]\right|+\left|L_{\mathbf{d}}[tc,s]-\ell^{\mathrm{loc}}[tc,s]\right|\\ &\le 2C_{3.9}(\theta,k,T,\phi)\frac{N^2p}{\sqrt N}\log N. \end{aligned}\] Finally, \[N^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N=(pN)^{1/14}\cdot\frac{N^2p}{\sqrt N}\log N,\] and \((pN)^{1/14}\ge2\) for all sufficiently large \(N\), so the bound just obtained is at most \[C_{3.9}(\theta,k,T,\phi)N^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N.\] Inserting this into (3.13) gives (L4) with \(C_{3.3}=C_{3.9}(\theta,k,T,\phi)+C_{3.10}(\theta,k,T,\phi)\).

Steps 1 and 2 each fail with probability \(o(1)\), so \(y'\in\mathcal{L}_{k+1}^{(p)}(y,\lambda)\) with probability \(1-o(1)\) under the sampling procedure defining \(\overline K_k^{(p)}(y,\cdot)\). This proves the theorem. ◻

4 The universal recursion

The local coarse transition theorem describes one day of the coarse process from an admissible state in terms of its local template, which is a functional of the current sizes, edge counts, and tilt. To run the theorem for a bounded number of days we need to know, ahead of time, states around which the template can be controlled uniformly: these are the faithful states of Section 5, defined by comparison with an idealized process. The idealized process is, to first order, governed by universal numbers that do not depend on \(N\) or \(p\): proportions \(\nu[s]\) of vertices in each history class, first-order corrections \(\mu[s,t]\) to the edge densities between classes, and linear responses \(\varepsilon[s]\) of the class sizes to the initial imbalance. This section defines these numbers through a recursion driven by conditioned Gaussian vectors, and proves the sign facts about them on which the whole argument rests: the responses are coherent, \(\varepsilon[s0]>0>\varepsilon[s1]\), so that the imbalance is amplified rather than washed out.

Nothing in this section depends on \(N\), \(p\), or the setup of Section 2 and Section 3, except through the assertions \(\mathcal{I}_s\) and \(\mathcal{J}_{sb}\) of Section 2, which are statements about real vectors. The analytic input is Appendix D. For a string \(s\in\{0,1\}^k\) we write \(\overline{s}\) for its bitwise complement.

4.1 Gaussian row models and the conditional-mean map

Definition 4.1 (Gaussian row model). Fix \(k\ge1\). For \(\nu\in\mathbb{R}_{>0}^{\{0,1\}^k}\) and \(\gamma\in\mathbb{R}^{\{0,1\}^k\times\{0,1\}^k}\), the Gaussian row model with means \(\gamma\) and variances \(\nu\) is the family of random vectors \(W_{s,\bullet}=(W_{s,t})_{t\in\{0,1\}^k}\), \(s\in\{0,1\}^k\), with all coordinates independent and \[W_{s,t}\sim\mathcal{N}\left(\gamma[s,t],\nu[t]\right).\] For \(s\in\{0,1\}^k\), \(x\in\mathbb{R}^{\{0,1\}^k}\), and \(1\le r\le k\), define the linear forms \[Z_{s,r}(x):=(-1)^{s[r]}\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}x[t]\quad(1\le r\le k-1),\qquad Z_{s,k}(x):=\sum_{t\in\{0,1\}^k}(-1)^{t[k-1]}x[t],\] and the open cone \[\mathcal{C}_s:=\left\{x\in\mathbb{R}^{\{0,1\}^k}:Z_{s,r}(x)>0\text{ for all }1\le r\le k-1\right\},\] with \(\mathcal{C}_s=\mathbb{R}^{\{0,1\}^k}\) when \(k=1\). Thus \(\mathcal{C}_s\) is the set of vectors satisfying every inequality of \(\mathcal{I}_s\) strictly, and for \(b\in\{0,1\}\) the set \(\mathcal{C}_s\cap\{(-1)^bZ_{s,k}>0\}\) is the set of vectors satisfying every inequality of \(\mathcal{J}_{sb}\) strictly.

Since a Gaussian vector with positive variances lies on a given hyperplane with probability \(0\), we have \(\mathbb{P}[\mathcal{I}_s(W_{s,\bullet})]=\mathbb{P}[W_{s,\bullet}\in\mathcal{C}_s]>0\) and \(\mathbb{P}[\mathcal{J}_{sb}(W_{s,\bullet})]=\mathbb{P}[W_{s,\bullet}\in\mathcal{C}_s,\ (-1)^bZ_{s,k}(W_{s,\bullet})>0]>0\), so all conditional expectations below are well defined, and conditioning on \(\mathcal{I}_s(W_{s,\bullet})\) or on \(\mathcal{J}_{sb}(W_{s,\bullet})\) is the same as conditioning on the corresponding open set. The \(k\) linear forms \(Z_{s,1},\ldots,Z_{s,k}\) are linearly independent (their coefficient vectors are pairwise orthogonal).

Proposition 4.2 (The conditional-mean map is a strong bijection). Fix \(k\ge1\), \(s\in\{0,1\}^k\), and \(\nu\in\mathbb{R}_{>0}^{\{0,1\}^k}\). For \(\gamma\in\mathbb{R}^{\{0,1\}^k}\) let \(W^{\gamma}\) be the random vector with independent coordinates \(W^\gamma[t]\sim\mathcal{N}(\gamma[t],\nu[t])\). Then \[F_{s,\nu}\colon\mathbb{R}^{\{0,1\}^k}\to\mathcal{C}_s,\qquad F_{s,\nu}(\gamma):=\mathbb{E}\left[W^\gamma\mid W^\gamma\in\mathcal{C}_s\right],\] is well defined, that is, its values lie in \(\mathcal{C}_s\), and it is a strong bijection in the sense of Definition D.1.

Read proofProof of Proposition 4.2

Proof. For \(k=1\) the cone \(\mathcal{C}_s\) is all of \(\mathbb{R}^{\{0,1\}}\), the conditioning is on a sure event, and \(F_{s,\nu}\) is the identity, which is a strong bijection. Let \(k\ge2\), and let \(M_s\in\mathbb{R}^{(k-1)\times2^k}\) be the matrix whose \(r\)th row is the coefficient vector \(\mu_r\) of \(Z_{s,r}\), that is, \(\mu_r[t]=(-1)^{s[r]}(-1)^{t[r-1]}\). Then \(\mathcal{C}_s=\{x:M_sx>0\}\). The rows are nonzero, and they are pairwise orthogonal: for \(r\ne r'\), flipping bit \(r-1\) of \(t\) is a bijection of \(\{0,1\}^k\) that changes the sign of \(\mu_r[t]\mu_{r'}[t]\), so \(\sum_t\mu_r[t]\mu_{r'}[t]=0\). Hence \(M_s\) has rank \(k-1\), and Corollary D.4 with \(d=2^k\), \(M=M_s\), and \(\Sigma=\operatorname{diag}(\nu)\), which is positive definite, shows that \(F_{s,\nu}=F_{\mathcal{C}_s}\) is a strong bijection onto \(\mathcal{C}_s\). ◻

4.2 Proportions and edge-density corrections

Definition 4.3 (The universal sequences \(\nu\), \(\gamma\), \(\mu\)). We define, for every \(k\ge1\), numbers \(\nu[s]>0\) for \(s\in\{0,1\}^k\) and \(\gamma[s,t],\mu[s,t]\in\mathbb{R}\) for \(s,t\in\{0,1\}^k\), by induction on \(k\).

For \(k=1\): \(\nu[0]=\nu[1]:=1/2\), and \(\gamma[s,t]=\mu[s,t]:=0\) for all \(s,t\in\{0,1\}\).

Step \(k\to k+1\): suppose \(\nu\) and \(\mu\) are defined on \(\{0,1\}^k\) and satisfy \[\label{eq:cone-membership} \left(\nu[t]\,\mu[s,t]\right)_{t\in\{0,1\}^k}\in\mathcal{C}_s\qquad\text{for every }s\in\{0,1\}^k\] (Lemma 4.4 shows that this holds). Let \[\gamma[s,\bullet]:=F_{s,\nu}^{-1}\left(\left(\nu[t]\,\mu[s,t]\right)_{t\in\{0,1\}^k}\right)\qquad(s\in\{0,1\}^k),\] with \(F_{s,\nu}\) the map of Proposition 4.2, and let \(W_{s,\bullet}\), \(s\in\{0,1\}^k\), be the Gaussian row model with means \(\gamma\) and variances \(\nu\), so that \[\label{eq:gamma-defining} \mathbb{E}\left[W_{s,t}\mid\mathcal{I}_s(W_{s,\bullet})\right]=\nu[t]\,\mu[s,t]\qquad\text{for all }s,t\in\{0,1\}^k.\] For \(s,t\in\{0,1\}^k\) and \(b,c\in\{0,1\}\) define \[\begin{aligned} \nu[sb]&:=\nu[s]\,\mathbb{P}\left[\mathcal{J}_{sb}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})\right],\label{eq:nu-recursion}\\ \mu[sb,tc]&:=\frac{1}{\nu[t]}\mathbb{E}\left[W_{s,t}\mid\mathcal{J}_{sb}(W_{s,\bullet})\right]+\frac{1}{\nu[s]}\mathbb{E}\left[W_{t,s}\mid\mathcal{J}_{tc}(W_{t,\bullet})\right]-\mu[s,t].\label{eq:mu-recursion} \end{aligned}\]

The Gaussian row model \(W_{s,\bullet}\) attached to day \(k\) in this definition is used throughout the section; we refer to it as the day-\(k\) Gaussian row model. The meaning of the three sequences is the following. In the idealized process of Section 5, a vertex of the history class \(s\) has degree vector whose fluctuations, in units of \(\sqrt{pN}\), are governed by \(W_{s,\bullet}\): the class \(s\) has proportion \(\nu[s]\) of the vertices, its members have on average \(\sqrt{pN}\,\nu[t]\mu[s,t]\) more neighbors in class \(t\) than the trivial \(pN\nu[t]\), a relative excess of \(\mu[s,t]/\sqrt{pN}\), and \(\gamma[s,\bullet]\) is the mean that makes a Gaussian row conditioned on the history \(\mathcal{I}_s\) reproduce these excesses.

Lemma 4.4 (The recursion is well defined). For every \(k\ge1\) the quantities of Definition 4.3 are defined on \(\{0,1\}^k\), and:

  1. \(\nu[s]>0\) for every \(s\in\{0,1\}^k\), and \(\sum_{s\in\{0,1\}^k}\nu[s]=1\);

  2. \(\mu[s,t]=\mu[t,s]\) for all \(s,t\in\{0,1\}^k\);

  3. (4.1) holds, that is, \(Z_{s,r}\big((\nu[t]\mu[s,t])_t\big)>0\) for every \(s\in\{0,1\}^k\) and \(1\le r\le k-1\).

Read proofProof of Lemma 4.4

Proof. We prove by induction on \(k\) that the day-\(k\) quantities are defined and satisfy (i)–(iii). For \(k=1\), \(\nu[0]=\nu[1]=1/2\) are positive and sum to \(1\), \(\mu\equiv0\) is symmetric, and (iii) is vacuous because \(\mathcal{C}_s=\mathbb{R}^{\{0,1\}}\); also \(\gamma=0=F_{s,\nu}^{-1}(0)\), since \(F_{s,\nu}\) is the identity for \(k=1\).

Suppose the claims hold for some \(k\ge1\). By (iii), condition (4.1) holds, so \(\gamma[s,\bullet]\) is defined through Proposition 4.2, the day-\(k\) Gaussian row model is defined, and (4.2) holds. All conditional expectations in (4.3) and (4.4) are defined because \(\mathbb{P}[\mathcal{J}_{sb}(W_{s,\bullet})]>0\), as noted after Definition 4.1. We verify the three claims on \(\{0,1\}^{k+1}\).

(i): \(\nu[sb]>0\) because \(\mathbb{P}[\mathcal{J}_{sb}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})]>0\). For a vector \(x\) satisfying \(\mathcal{I}_s(x)\), exactly one of \(\mathcal{J}_{s0}(x)\) and \(\mathcal{J}_{s1}(x)\) holds, since the two differ only in the \(k\)th inequality, which is \(\ge_{s[k-1]0}\) in one and \(\ge_{s[k-1]1}\) in the other, and these two relations are complementary. Hence \[\nu[s0]+\nu[s1]=\nu[s]\left(\mathbb{P}[\mathcal{J}_{s0}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})]+\mathbb{P}[\mathcal{J}_{s1}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})]\right)=\nu[s],\] and summing over \(s\) gives \(\sum_{u\in\{0,1\}^{k+1}}\nu[u]=\sum_{s\in\{0,1\}^k}\nu[s]=1\).

(ii): the right-hand side of (4.4) is invariant under exchanging \((s,b)\) with \((t,c)\), because \(\mu[s,t]=\mu[t,s]\) by the induction hypothesis.

(iii): fix \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\), and let \(x\in\mathbb{R}^{\{0,1\}^{k+1}}\) be the vector \(x[u]:=\nu[u]\mu[sb,u]\). For \(t\in\{0,1\}^k\), (4.4) gives \[\begin{aligned} x[t0]+x[t1]&=\frac{\nu[t0]+\nu[t1]}{\nu[t]}\,\mathbb{E}\left[W_{s,t}\mid\mathcal{J}_{sb}(W_{s,\bullet})\right]\\ &\quad+\frac{1}{\nu[s]}\sum_{c\in\{0,1\}}\nu[tc]\,\mathbb{E}\left[W_{t,s}\mid\mathcal{J}_{tc}(W_{t,\bullet})\right]-\left(\nu[t0]+\nu[t1]\right)\mu[s,t]. \end{aligned}\] The first coefficient is \(1\) by (i). In the second term, \(\nu[tc]=\nu[t]\,\mathbb{P}[\mathcal{J}_{tc}(W_{t,\bullet})\mid\mathcal{I}_t(W_{t,\bullet})]\) by (4.3), and since \(\mathcal{J}_{t0}\) and \(\mathcal{J}_{t1}\) partition \(\mathcal{I}_t\), the law of total expectation gives \(\sum_c\mathbb{P}[\mathcal{J}_{tc}\mid\mathcal{I}_t]\,\mathbb{E}[W_{t,s}\mid\mathcal{J}_{tc}]=\mathbb{E}[W_{t,s}\mid\mathcal{I}_t(W_{t,\bullet})]=\nu[s]\mu[t,s]\) by (4.2); so the second term equals \(\nu[t]\mu[t,s]\). The third term is \(-\nu[t]\mu[s,t]\). By (ii) the last two cancel, and \[\label{eq:children-sum} x[t0]+x[t1]=\mathbb{E}\left[W_{s,t}\mid\mathcal{J}_{sb}(W_{s,\bullet})\right]\qquad(t\in\{0,1\}^k).\] Now let \(1\le r\le k\). For \(u=tc\in\{0,1\}^{k+1}\) we have \(u[r-1]=t[r-1]\), and \((sb)[r]=s[r]\) for \(r\le k-1\) while \((sb)[k]=b\). Hence, by (4.5), \[Z_{sb,r}(x)=(-1)^{(sb)[r]}\sum_{t}(-1)^{t[r-1]}\left(x[t0]+x[t1]\right) =\begin{cases} \mathbb{E}\left[Z_{s,r}(W_{s,\bullet})\mid\mathcal{J}_{sb}\right]&\text{if }1\le r\le k-1,\\[2pt] (-1)^b\,\mathbb{E}\left[Z_{s,k}(W_{s,\bullet})\mid\mathcal{J}_{sb}\right]&\text{if }r=k, \end{cases}\] where \(\mathcal{J}_{sb}\) abbreviates \(\mathcal{J}_{sb}(W_{s,\bullet})\). Conditioning on \(\mathcal{J}_{sb}(W_{s,\bullet})\) is conditioning on the nonempty open convex set \(\mathcal{C}_s\cap\{(-1)^bZ_{s,k}>0\}\), on which the linear forms \(Z_{s,r}\) (\(r\le k-1\)) and \((-1)^bZ_{s,k}\) are positive; by Lemma A.12 the conditional mean of \(W_{s,\bullet}\) lies in this set, so all the displayed quantities are positive. Thus \(x\in\mathcal{C}_{sb}\), which is (4.1) on \(\{0,1\}^{k+1}\). ◻

Lemma 4.5 (Bit-flip symmetry). For every \(k\ge1\) and \(s,t\in\{0,1\}^k\), \[\nu[\overline{s}]=\nu[s],\qquad\gamma[\overline{s},\overline{t}]=\gamma[s,t],\qquad\mu[\overline{s},\overline{t}]=\mu[s,t].\] Consequently \(\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}\nu[t]=0\) for every \(1\le r\le k\).

Read proofProof of Lemma 4.5

Proof. Let \(R\colon\mathbb{R}^{\{0,1\}^k}\to\mathbb{R}^{\{0,1\}^k}\) be the reflection \((Rx)[t]:=x[\overline{t}]\), an involution. Substituting \(u=\overline{t}\) and using \((-1)^{\overline{t}[i]}=-(-1)^{t[i]}\), \[\begin{aligned} Z_{\overline{s},r}(Rx)&=(-1)^{1-s[r]}\sum_{u}(-1)^{1-u[r-1]}x[u]=Z_{s,r}(x)\qquad(1\le r\le k-1),\\ Z_{\overline{s},k}(Rx)&=\sum_u(-1)^{1-u[k-1]}x[u]=-Z_{s,k}(x). \end{aligned}\] Consequently \(R\mathcal{C}_s=\mathcal{C}_{\overline{s}}\), and \(R\) maps \(\mathcal{C}_s\cap\{(-1)^bZ_{s,k}>0\}\) onto \(\mathcal{C}_{\overline{s}}\cap\{(-1)^{\overline{b}}Z_{\overline{s},k}>0\}\); in words, \(R\) carries the strict forms of \(\mathcal{I}_s\) and \(\mathcal{J}_{sb}\) to those of \(\mathcal{I}_{\overline{s}}\) and \(\mathcal{J}_{\overline{s}\,\overline{b}}\).

We prove the three identities by induction on \(k\); for \(k=1\) they hold because \(\nu[0]=\nu[1]\) and \(\gamma=\mu=0\). Suppose they hold on \(\{0,1\}^k\). If \(W\) has independent coordinates \(W[t]\sim\mathcal{N}(\gamma[t],\nu[t])\) and \(\nu[\overline{t}]=\nu[t]\), then \(RW\) has independent coordinates \((RW)[t]=W[\overline{t}]\sim\mathcal{N}((R\gamma)[t],\nu[t])\); therefore \[F_{\overline{s},\nu}(R\gamma)=\mathbb{E}\left[RW\mid RW\in\mathcal{C}_{\overline{s}}\right]=R\,\mathbb{E}\left[W\mid W\in\mathcal{C}_s\right]=R\,F_{s,\nu}(\gamma),\] that is, \(F_{\overline{s},\nu}\circ R=R\circ F_{s,\nu}\), and hence \(F_{\overline{s},\nu}^{-1}\circ R=R\circ F_{s,\nu}^{-1}\). The vector \(v_s:=(\nu[t]\mu[s,t])_t\) satisfies \(v_{\overline{s}}[t]=\nu[t]\mu[\overline{s},t]=\nu[\overline{t}]\mu[s,\overline{t}]=v_s[\overline{t}]\) by the induction hypothesis (applied to the pair \((\overline{s},t)\)), so \(v_{\overline{s}}=Rv_s\), and therefore \(\gamma[\overline{s},\bullet]=F^{-1}_{\overline{s},\nu}(Rv_s)=R\,\gamma[s,\bullet]\), which is \(\gamma[\overline{s},\overline{t}]=\gamma[s,t]\). It follows that the day-\(k\) Gaussian row model satisfies \(W_{\overline{s},\bullet}\overset{d}{=}RW_{s,\bullet}\), and by the first paragraph the events \(\mathcal{I}_{\overline{s}}(W_{\overline{s},\bullet})\) and \(\mathcal{J}_{\overline{s}\,\overline{b}}(W_{\overline{s},\bullet})\) correspond, up to null sets, to \(\mathcal{I}_s(W_{s,\bullet})\) and \(\mathcal{J}_{sb}(W_{s,\bullet})\) under this identification. Hence \[\mathbb{P}\left[\mathcal{J}_{\overline{s}\,\overline{b}}(W_{\overline{s},\bullet})\mid\mathcal{I}_{\overline{s}}(W_{\overline{s},\bullet})\right]=\mathbb{P}\left[\mathcal{J}_{sb}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})\right],\qquad \mathbb{E}\left[W_{\overline{s},\overline{t}}\mid\mathcal{J}_{\overline{s}\,\overline{b}}(W_{\overline{s},\bullet})\right]=\mathbb{E}\left[W_{s,t}\mid\mathcal{J}_{sb}(W_{s,\bullet})\right],\] and (4.3), (4.4) give \(\nu[\overline{s}\,\overline{b}]=\nu[sb]\) and \(\mu[\overline{s}\,\overline{b},\overline{t}\,\overline{c}]=\mu[sb,tc]\), completing the induction. Finally, for \(1\le r\le k\), pairing \(t\) with \(\overline{t}\) in \(\sum_t(-1)^{t[r-1]}\nu[t]\) shows that the sum equals its own negative, hence vanishes. ◻

4.3 The linear response

Lemma 4.6 (Conditional covariance). For every \(k\ge1\) and \(s\in\{0,1\}^k\), the matrix \[\Sigma_s:=\mathrm{Cov}\left(W_{s,\bullet}\mid\mathcal{I}_s(W_{s,\bullet})\right)\in\mathbb{R}^{\{0,1\}^k\times\{0,1\}^k},\] with entries \(\Sigma_s[t,t']=\mathbb{E}[W_{s,t}W_{s,t'}\mid\mathcal{I}_s(W_{s,\bullet})]-\mathbb{E}[W_{s,t}\mid\mathcal{I}_s(W_{s,\bullet})]\,\mathbb{E}[W_{s,t'}\mid\mathcal{I}_s(W_{s,\bullet})]\), is positive definite, where \(W_{s,\bullet}\) is the day-\(k\) Gaussian row model.

Read proofProof of Lemma 4.6

Proof. Conditioning on \(\mathcal{I}_s(W_{s,\bullet})\) is conditioning on the nonempty open convex set \(\mathcal{C}_s\), and \(W_{s,\bullet}\) is Gaussian with the positive definite covariance \(\operatorname{diag}(\nu)\). Lemma A.12 applies. ◻

Definition 4.7 (The universal sequences \(\varepsilon\), \(\beta\)). We define, for every \(k\ge1\), numbers \(\varepsilon[s]\) for \(s\in\{0,1\}^k\) and \(\beta[s,t]\) for \(s,t\in\{0,1\}^k\), by induction on \(k\).

For \(k=1\): \(\varepsilon[0]:=1\) and \(\varepsilon[1]:=-1\).

Step \(k\to k+1\): suppose \(\varepsilon\) is defined on \(\{0,1\}^k\), and let \(W_{s,\bullet}\) be the day-\(k\) Gaussian row model. For \(s\in\{0,1\}^k\) let \(\beta[s,\bullet]\in\mathbb{R}^{\{0,1\}^k}\) be the unique solution of the linear system \[\label{eq:beta-defining} \sum_{t'\in\{0,1\}^k}\beta[s,t']\,\Sigma_s[t',t]=\varepsilon[t]\qquad(t\in\{0,1\}^k),\] which exists by Lemma 4.6; equivalently, the random variable \(B_s:=\sum_{t'\in\{0,1\}^k}\beta[s,t']W_{s,t'}\) satisfies \(\mathrm{Cov}(B_s,W_{s,t}\mid\mathcal{I}_s(W_{s,\bullet}))=\varepsilon[t]\) for every \(t\). For \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\) define \[\label{eq:epsilon-recursion} \varepsilon[sb]:=\nu[sb]\left(\mathbb{E}\left[B_s\mid\mathcal{J}_{sb}(W_{s,\bullet})\right]-\mathbb{E}\left[B_s\mid\mathcal{I}_s(W_{s,\bullet})\right]\right).\]

The role of these quantities will be made precise in Section 5. There, an initial imbalance of \(\tau\sqrt N\) vertices will be represented, relative to the balanced idealized process, by the first-order class-size displacement \(\tau\sqrt N\sqrt{pN}^{k-1}\varepsilon[s]\) on day \(k\), together with an effective-tilt displacement \(\tau\frac{\sqrt{pN}^{k-1}}{\sqrt N}\beta[s,t]\) in direction \(t\). Equation (4.6) is the compatibility relation that will make this tilt reproduce the neighboring class-size responses \(\varepsilon[t]\), while (4.7) is the corresponding linearized update through the next majority decision.

Lemma 4.8 (Symmetries of \(\varepsilon\)). For every \(k\ge1\) and \(s,t\in\{0,1\}^k\):

  1. \(\varepsilon[s0]+\varepsilon[s1]=0\);

  2. \(\varepsilon[\overline{s}]=-\varepsilon[s]\) and \(\beta[\overline{s},\overline{t}]=-\beta[s,t]\).

Read proofProof of Lemma 4.8

Proof. (i): by (4.7), (4.3), and Lemma 4.4(i), \[\varepsilon[s0]+\varepsilon[s1]=\nu[s]\sum_{b\in\{0,1\}}\mathbb{P}\left[\mathcal{J}_{sb}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})\right]\mathbb{E}\left[B_s\mid\mathcal{J}_{sb}(W_{s,\bullet})\right]-\nu[s]\,\mathbb{E}\left[B_s\mid\mathcal{I}_s(W_{s,\bullet})\right]=0,\] because \(\mathcal{J}_{s0}\) and \(\mathcal{J}_{s1}\) partition \(\mathcal{I}_s\) and the law of total expectation applies.

(ii): we prove \(\varepsilon[\overline{s}]=-\varepsilon[s]\) by induction on \(k\), deriving the identity for \(\beta\) along the way. For \(k=1\) it is \(\varepsilon[1]=-\varepsilon[0]\). Suppose \(\varepsilon[\overline{t}]=-\varepsilon[t]\) for all \(t\in\{0,1\}^k\). With \(R\) the reflection of the proof of Lemma 4.5, that proof gives \(W_{\overline{s},\bullet}\overset{d}{=}RW_{s,\bullet}\) with corresponding conditioning events, hence \[\Sigma_{\overline{s}}[\overline{t},\overline{t}']=\mathrm{Cov}\left(W_{\overline{s},\overline{t}},W_{\overline{s},\overline{t}'}\mid\mathcal{I}_{\overline{s}}\right)=\mathrm{Cov}\left(W_{s,t},W_{s,t'}\mid\mathcal{I}_s\right)=\Sigma_s[t,t'].\] Define \(\beta'[t]:=-\beta[s,\overline{t}]\). Then for every \(t\), \[\sum_{t'}\beta'[t']\,\Sigma_{\overline{s}}[t',t]=-\sum_{t'}\beta[s,\overline{t}']\,\Sigma_s[\overline{t}',\overline{t}]=-\sum_{u}\beta[s,u]\,\Sigma_s[u,\overline{t}]=-\varepsilon[\overline{t}]=\varepsilon[t],\] by (4.6) for \(s\) and the induction hypothesis. So \(\beta'\) solves (4.6) for \(\overline{s}\), and by uniqueness \(\beta[\overline{s},t]=-\beta[s,\overline{t}]\) for all \(t\), that is, \(\beta[\overline{s},\overline{t}]=-\beta[s,t]\). Consequently, under the identification \(W_{\overline{s},\bullet}=RW_{s,\bullet}\), \[B_{\overline{s}}=\sum_t\beta[\overline{s},t]\,W_{s,\overline{t}}=\sum_u\beta[\overline{s},\overline{u}]\,W_{s,u}=-B_s,\] and since the conditioning events correspond, (4.7) together with \(\nu[\overline{s}\,\overline{b}]=\nu[sb]\) gives \(\varepsilon[\overline{s}\,\overline{b}]=-\varepsilon[sb]\). ◻

Theorem 4.9 (Coherence of the linear response). For every \(k\ge1\) and \(s\in\{0,1\}^k\), \[\varepsilon[s0]>0\qquad\text{and}\qquad\varepsilon[s1]<0.\]

Read proofProof of Theorem 4.9

Proof. By Lemma 4.8(i) it suffices to prove \(\varepsilon[s0]>0\). We proceed by induction on \(k\), using at day \(k\) the following consequence of the statement for smaller \(k\): \[\label{eq:lead-sum-positive} S_k:=\sum_{t\in\{0,1\}^k}(-1)^{t[k-1]}\varepsilon[t]>0 .\] For \(k=1\), \(S_1=\varepsilon[0]-\varepsilon[1]=2\) by definition; for \(k\ge2\), grouping \(t=t'b\) with \(t'\in\{0,1\}^{k-1}\) gives \(S_k=\sum_{t'}(\varepsilon[t'0]-\varepsilon[t'1])=2\sum_{t'}\varepsilon[t'0]\) by Lemma 4.8(i), which is positive by the statement for \(k-1\). We also use \[\label{eq:history-sum-zero} \sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}\varepsilon[t]=0\qquad(1\le r\le k-1),\] which holds because for \(r\le k-1\) the bit \(t[r-1]\) depends only on \(t'\) when \(t=t'b\), so the sum is \(\sum_{t'}(-1)^{t'[r-1]}(\varepsilon[t'0]+\varepsilon[t'1])=0\).

Fix \(k\ge1\) and \(s\in\{0,1\}^k\), let \(W:=W_{s,\bullet}\) be the day-\(k\) Gaussian row model, and write \(Z_r:=Z_{s,r}(W)\) for \(1\le r\le k\). Up to null sets, \(\mathcal{I}_s(W)\) is the event \(E:=\{Z_1>0,\ldots,Z_{k-1}>0\}\) and \(\mathcal{J}_{s0}(W)\) is \(E\cap\{Z_k>0\}\). Let \(\mathcal{G}\) be the linear span of the centered variables \(W_t-\mathbb{E}W_t\), \(t\in\{0,1\}^k\), a finite-dimensional space of centered jointly Gaussian random variables, with the inner product \(\langle X,Y\rangle:=\mathbb{E}[XY]=\mathrm{Cov}(X,Y)\); in \(\mathcal{G}\), orthogonal families are independent. The centered variables \(\overline{Z}_r:=Z_r-\mathbb{E}Z_r\) and \(\overline{B}:=B_s-\mathbb{E}B_s\) lie in \(\mathcal{G}\). The \(\overline{Z}_r\), \(1\le r\le k\), are linearly independent: their coefficient vectors are nonzero and pairwise orthogonal in \(\mathbb{R}^{\{0,1\}^k}\) (see the proof of Proposition 4.2), and \(a\mapsto\sum_ta[t](W_t-\mathbb{E}W_t)\) is injective because its image has variance \(\sum_ta[t]^2\nu[t]>0\) for \(a\ne0\).

Step 1: the covariances of \(B_s\) with the constraints. By (4.6), \(\mathrm{Cov}(B_s,W_t\mid E)=\varepsilon[t]\) for every \(t\), so by linearity \[\begin{aligned} \mathrm{Cov}(B_s,Z_r\mid E)&=(-1)^{s[r]}\sum_t(-1)^{t[r-1]}\varepsilon[t]=0\qquad(1\le r\le k-1),\\ \mathrm{Cov}(B_s,Z_k\mid E)&=\sum_t(-1)^{t[k-1]}\varepsilon[t]=S_k>0, \end{aligned}\] by (4.9) and (4.8).

Step 2: \(B_s\) is independent of the history constraints. Decompose \(\overline{B}=\sum_{r<k}\alpha_r\overline{Z}_r+X\) with \(X\in\mathcal{G}\) orthogonal to \(\overline{Z}_1,\ldots,\overline{Z}_{k-1}\) (orthogonal projection). Then \(X\) is independent of \((Z_r)_{r<k}\), and since \(E\) is an event of \((Z_r)_{r<k}\), under the law conditioned on \(E\) the variable \(X\) is still independent of \((Z_r)_{r<k}\); hence \(\mathrm{Cov}(X,Z_r\mid E)=0\) for \(r<k\), and Step 1 gives \[0=\mathrm{Cov}(B_s,Z_r\mid E)=\sum_{r'<k}\alpha_{r'}\mathrm{Cov}(Z_{r'},Z_r\mid E)\qquad(1\le r\le k-1).\] The matrix \((\mathrm{Cov}(Z_{r'},Z_r\mid E))_{r',r<k}\) is the covariance of the nondegenerate Gaussian vector \((Z_r)_{r<k}\in\mathbb{R}^{k-1}\) conditioned on the open orthant \(E\), hence positive definite by Lemma A.12. Therefore \(\alpha_r=0\) for all \(r\), and \(\overline{B}=X\): the centered variable \(B_s-\mathbb{E}B_s\) is independent of \((Z_r)_{r<k}\). (For \(k=1\) there is nothing to prove in this step.)

Step 3: the component of \(Z_k\) orthogonal to the constraints. Decompose \(\overline{Z}_k=\sum_{r<k}\delta_r\overline{Z}_r+Y\) with \(Y\in\mathcal{G}\) orthogonal to \(\overline{Z}_1,\ldots,\overline{Z}_{k-1}\). By linear independence \(Y\ne0\), so \(\mathrm{Var}(Y)>0\). The pair \((X,Y)\) is independent of \((Z_r)_{r<k}\), so conditioning on \(E\) does not change its joint law, and using Step 2, \[S_k=\mathrm{Cov}(B_s,Z_k\mid E)=\mathrm{Cov}\Big(X,\sum_{r<k}\delta_rZ_r+Y\ \Big|\ E\Big)=\mathrm{Cov}(X,Y).\] Write \(X=\alpha Y+X'\) with \(\alpha:=\mathrm{Cov}(X,Y)/\mathrm{Var}(Y)=S_k/\mathrm{Var}(Y)>0\) and \(X'\in\mathcal{G}\) orthogonal to \(Y\); then \(X'\) is orthogonal to \(Y\) and to all \(\overline{Z}_r\), \(r<k\), hence independent of \((Y,(Z_r)_{r<k})\).

Step 4: the conditional means. Since \(B_s=\mathbb{E}B_s+X\) and \(X\) is independent of \(E\) with mean \(0\), we have \(\mathbb{E}[B_s\mid E]=\mathbb{E}B_s\), and (4.7) reads \[\varepsilon[s0]=\nu[s0]\,\mathbb{E}\left[X\mid E\cap\{Z_k>0\}\right].\] Put \(U:=-\mathbb{E}Z_k-\sum_{r<k}\delta_r\overline{Z}_r\), a function of \((Z_r)_{r<k}\), so that \(\{Z_k>0\}=\{Y>U\}\). The variable \(X'\) is centered and independent of \((Y,U,\mathbf{1}_E)\), so \(\mathbb{E}[X'\mid E\cap\{Y>U\}]=0\) and \[\mathbb{E}\left[X\mid E\cap\{Z_k>0\}\right]=\alpha\,\mathbb{E}\left[Y\mid E\cap\{Y>U\}\right]=\alpha\,\frac{\mathbb{E}\left[\mathbf{1}_E\,\phi(U)\right]}{\mathbb{P}\left[E\cap\{Y>U\}\right]},\qquad\phi(u):=\mathbb{E}\left[Y\mathbf{1}_{Y>u}\right],\] where we conditioned on \((Z_r)_{r<k}\) and used that \(Y\) is independent of \((U,\mathbf{1}_E)\). For a centered Gaussian \(Y\) with positive variance, \(\phi(u)>0\) for every \(u\in\mathbb{R}\): if \(u\ge0\) then \(Y\mathbf{1}_{Y>u}\ge0\) with positive probability of being positive, and if \(u<0\) then \(\phi(u)=\mathbb{E}Y-\mathbb{E}[Y\mathbf{1}_{Y\le u}]=-\mathbb{E}[Y\mathbf{1}_{Y\le u}]>0\). Since \(\mathbb{P}[E]>0\), we get \(\mathbb{E}[\mathbf{1}_E\phi(U)]>0\), hence \(\mathbb{E}[X\mid E\cap\{Z_k>0\}]>0\), and \(\varepsilon[s0]>0\) because \(\nu[s0]>0\) by Lemma 4.4(i). ◻

Corollary 4.10 (Sign identities). For every \(k\ge1\):

  1. \(\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}\varepsilon[t]=0\) for every \(1\le r\le k-1\), and \(\sum_{t\in\{0,1\}^k}\varepsilon[t]=0\);

  2. \(\sum_{t\in\{0,1\}^k}(-1)^{t[k-1]}\varepsilon[t]=2\sum_{t'\in\{0,1\}^{k-1}}\varepsilon[t'0]>0\), where for \(k=1\) the right-hand side is read as \(2\varepsilon[0]=2\);

  3. \(\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}\nu[t]=0\) for every \(1\le r\le k\);

  4. \(Z_{s,r}\big((\nu[t]\mu[s,t])_t\big)>0\) for every \(s\in\{0,1\}^k\) and \(1\le r\le k-1\).

Read proofProof of Corollary 4.10

Proof. (i): for \(k\ge2\) and \(1\le r\le k-1\), write \(t=t'b\) with \(t'\in\{0,1\}^{k-1}\); the bit \(t[r-1]=t'[r-1]\) does not depend on \(b\), so the sum is \(\sum_{t'}(-1)^{t'[r-1]}(\varepsilon[t'0]+\varepsilon[t'1])=0\) by Lemma 4.8(i). The same grouping without the sign gives \(\sum_t\varepsilon[t]=0\) for \(k\ge2\), and for \(k=1\) it is \(\varepsilon[0]+\varepsilon[1]=0\). (ii): for \(k\ge2\), \((-1)^{t[k-1]}=(-1)^b\) when \(t=t'b\), so the sum is \(\sum_{t'}(\varepsilon[t'0]-\varepsilon[t'1])=2\sum_{t'}\varepsilon[t'0]\) by Lemma 4.8(i), which is positive by Theorem 4.9; for \(k=1\) the sum is \(\varepsilon[0]-\varepsilon[1]=2\). (iii) is the last assertion of Lemma 4.5, and (iv) is Lemma 4.4(iii). ◻

Lemma 4.11 (Universal nondegeneracy constants). For every \(k\ge1\) there are constants \(\phi^\ast_k\in(0,1/2)\) and \(\varsigma^\ast_k>0\), depending only on \(k\), such that for the day-\(k\) Gaussian row model and all \(s\in\{0,1\}^k\), \(b\in\{0,1\}\), \(1\le r\le k-1\), \[\mathbb{P}\left[\mathcal{I}_s(W_{s,\bullet})\right]\ge\phi^\ast_k,\qquad \phi^\ast_k\le\mathbb{P}\left[\mathcal{J}_{sb}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})\right]\le1-\phi^\ast_k,\qquad Z_{s,r}\big((\nu[t]\mu[s,t])_t\big)\ge\varsigma^\ast_k .\]

Read proofProof of Lemma 4.11

Proof. There are finitely many quantities involved: \(2^k\) probabilities \(\mathbb{P}[\mathcal{I}_s(W_{s,\bullet})]\), \(2^{k+1}\) conditional probabilities \(\mathbb{P}[\mathcal{J}_{sb}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})]\), and \(2^k(k-1)\) numbers \(Z_{s,r}((\nu[t]\mu[s,t])_t)\). Each \(\mathbb{P}[\mathcal{I}_s(W_{s,\bullet})]\) is positive, as noted after Definition 4.1. Each \(\mathbb{P}[\mathcal{J}_{sb}\mid\mathcal{I}_s]\) is positive for the same reason, and is less than \(1\) because \(\mathbb{P}[\mathcal{J}_{s0}\mid\mathcal{I}_s]+\mathbb{P}[\mathcal{J}_{s1}\mid\mathcal{I}_s]=1\) (proof of Lemma 4.4) with both terms positive. Each \(Z_{s,r}((\nu[t]\mu[s,t])_t)\) is positive by Corollary 4.10(iv). Let \(\phi^\ast_k\) be one half of the minimum of all the probabilities \(\mathbb{P}[\mathcal{I}_s]\), \(\mathbb{P}[\mathcal{J}_{sb}\mid\mathcal{I}_s]\), and \(1-\mathbb{P}[\mathcal{J}_{sb}\mid\mathcal{I}_s]\), so that \(\phi^\ast_k\in(0,1/4]\) and the first two displayed inequalities hold; and let \(\varsigma^\ast_k\) be the minimum of the numbers \(Z_{s,r}((\nu[t]\mu[s,t])_t)\) when \(k\ge2\), and \(\varsigma^\ast_1:=1\). ◻

These constants are the universal versions of the admissibility conditions (LA5), (LA7), and (LA9): in Section 5 the binomial row models attached to faithful states are shown to be close to the day-\(k\) Gaussian row model, and \(\phi^\ast_k\), \(\varsigma^\ast_k\) supply the constants \(\phi\) and \(T^{-1}\) there.

5 The idealized process and faithful states

The local coarse transition theorem is applied one day at a time, starting from the day-\(1\) coarse state, for a bounded number \(K_\theta\) of days. To do so we need a set of coarse states on which its hypotheses hold uniformly and which is mapped into itself, up to the \(1-o(1)\) probability, by the fiber-averaged transition. This section defines that set, the faithful states, as the coarse states whose sizes and edge counts follow an idealized process attached to \((N,p)\), perturbed linearly in the direction given by the universal responses \(\varepsilon\) of Section 4, up to a polynomially small error. The idealized process is deterministic; it is the local template of Definition 3.2 iterated on itself, with sizes rounded to integers, and its tilts exist by the inverse-function theorems of Appendix D. The section states the results and the definitions; the proofs are in Appendix E.

Throughout, \(\theta\in(1/2,1)\) is fixed and we write \[D_\theta:=\left\lfloor\frac{1}{1-\theta}\right\rfloor+1,\] the number of days for which the idealized process is needed. The integer \(\frac{1}{1-\theta}\), when \(\frac1{1-\theta}\in\mathbb{Z}\), plays a special role (Theorem 5.5); we then write \(k_0:=\frac{1}{1-\theta}\).

5.1 The idealized process

Definition 5.1 (Logit tilt). For \(p\in(0,1)\), \(N\ge1\), \(g\in\mathbb{R}\), and \(v>0\), let \[\Lambda_{N,p}(g,v):=\frac{\frac{p}{1-p}\,e^{g/(v\sqrt{pN})}}{1+\frac{p}{1-p}\,e^{g/(v\sqrt{pN})}}\in(0,1),\] the success probability whose log-odds exceed those of \(p\) by \(g/(v\sqrt{pN})\). By Taylor expansion, \(\Lambda_{N,p}(g,v)=p+\frac{g}{v}\frac{p(1-p)}{\sqrt{pN}}+O\big(\frac{g^2}{v^2}\frac{p}{pN}\big)\) uniformly for \(|g|/v\) bounded.

Theorem 5.2 (The idealized process). Fix \(\theta\in(1/2,1)\), an integer \(D\ge1\), and \(T>1\). There is a constant \(\ell=\ell(\theta,D,T)\ge1\) such that for all sufficiently large \(N\) and all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\) there exist, for \(1\le k\le D\), vectors \[\widetilde{n}_k\in\mathbb{Z}^{\{0,1\}^k},\qquad\widetilde{m}_k\in\mathbb{R}^{\{0,1\}^k\times\{0,1\}^k},\qquad\text{and, for }1\le k\le D-1,\qquad\widetilde{\lambda}_k\in(0,1)^{\{0,1\}^k\times\{0,1\}^k},\] written \(\widetilde{n}[s]\), \(\widetilde{m}[s,t]\), \(\widetilde{\lambda}[s,t]\) for \(s,t\in\{0,1\}^k\), with the following properties.

  1. (Base case.) \(\widetilde{n}[0]=\widetilde{n}[1]=\lfloor N/2\rfloor\), and \(\widetilde{m}[s,t]=p\,\widetilde{n}[s]\left(\widetilde{n}[t]-\mathbb{1}_{s=t}\right)\) for \(s,t\in\{0,1\}\).

  2. (Solvability.) For \(1\le k\le D-1\) and all \(s,t\in\{0,1\}^k\): \(\widetilde{n}[s]\ge1\), \(\widetilde{m}[s,t]>0\), and, writing \(\widetilde{A}_{s,\bullet}:=A_{s,\bullet}(\widetilde{n}_k,\widetilde{\lambda}_k)\) for the row vector of Definition 3.2, \[\mathbb{P}\left[\mathcal{I}_s(\widetilde{A}_{s,\bullet})\right]>0\qquad\text{and}\qquad\widetilde{n}[s]\,\mathbb{E}\left[\widetilde{A}_{s,t}\mid\mathcal{I}_s(\widetilde{A}_{s,\bullet})\right]=\widetilde{m}[s,t].\] Moreover \(\widetilde{\lambda}_k\) is the unique element of \((0,1)^{\{0,1\}^k\times\{0,1\}^k}\) with this property.

  3. (Evolution.) For \(1\le k\le D-1\), if \((\widetilde{n}^{\mathrm{loc}},\widetilde{\ell}^{\mathrm{loc}},\widetilde{m}^{\mathrm{loc}})\) denotes the local template of \((\widetilde{n}_k,\widetilde{m}_k,\widetilde{\lambda}_k)\), then for all \(s,t\in\{0,1\}^k\) and \(b,c\in\{0,1\}\), \[\widetilde{n}[sb]=\left\lfloor\widetilde{n}^{\mathrm{loc}}[sb]\right\rfloor\qquad\text{and}\qquad\widetilde{m}[sb,tc]=\widetilde{m}^{\mathrm{loc}}[sb,tc].\]

  4. (Symmetry.) \(\widetilde{n}[\overline{s}]=\widetilde{n}[s]\), \(\widetilde{m}[\overline{s},\overline{t}]=\widetilde{m}[s,t]\), and \(\widetilde{\lambda}[\overline{s},\overline{t}]=\widetilde{\lambda}[s,t]\) for all \(s,t\).

  5. (Asymptotics.) For \(1\le k\le D\) and all \(s,t\in\{0,1\}^k\), \[\left|\widetilde{n}[s]-N\nu[s]\right|\le\frac{N}{\sqrt{pN}}\log^\ell N,\qquad \left|\widetilde{m}[s,t]-p\,\widetilde{n}[s]\,\widetilde{n}[t]\left(1+\frac{\mu[s,t]}{\sqrt{pN}}\right)\right|\le p\,\widetilde{n}[s]\,\widetilde{n}[t]\,\frac{\log^\ell N}{pN},\] and for \(1\le k\le D-1\), \[\left|\widetilde{\lambda}[s,t]-\Lambda_{N,p}\left(\gamma[s,t],\nu[t]\right)\right|\le\frac{\log^\ell N}{N}.\]

By (i), (ii), and (iii), the family is determined by \((N,p)\); we call it the idealized process and suppress its dependence on \(N\) and \(p\).

The bound on \(|\widetilde n[s]-N\nu[s]|\) in Theorem 5.2(v) is too large to resolve the imbalance \(\tau\sqrt N\sqrt{pN}^{k-1}\) on days \(k<\frac1{1-\theta}\). Faithfulness therefore tracks the actual sizes around \(\widetilde n[s]\), with error polynomially smaller than the imbalance.

5.2 Faithful coarse states

Definition 5.3 (Faithful coarse states). Fix \(\theta\in(1/2,1)\) and \(T>1\), and let \(N\) be large enough that Theorem 5.2 applies with \(D=D_\theta\) and this \(T\); let \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), let \(V\) be a set with \(|V|=N\), and let \(1\le k\le D_\theta\). For \(T'\ge1\), \(\delta>0\), and \(\tau>0\), the set \(\mathcal{G}^{(p)}_k(T',\delta,\tau)\subseteq\mathcal{Y}_k(V)\) of \((T',\delta,\tau)\)-faithful coarse states consists of the \(y=(\Pi,m,1)\in\mathcal{Y}_k(V)\) such that, writing \(n[s]:=|\Pi[s]|\),

  1. \(\displaystyle\left|n[s]-\widetilde{n}[s]-\tau\sqrt N\sqrt{pN}^{\,k-1}\varepsilon[s]\right|\le T'\sqrt N\sqrt{pN}^{\,k-1}N^{-\delta}\) for every \(s\in\{0,1\}^k\);

  2. \(\displaystyle\left|m[s,t]-\widetilde{m}[s,t]\left(1+\tau\frac{\sqrt{pN}^{\,k-1}}{\sqrt N}\left(\frac{\varepsilon[s]}{\nu[s]}+\frac{\varepsilon[t]}{\nu[t]}\right)\right)\right|\le T'\frac{\sqrt{pN}^{\,k-1}}{\sqrt N}N^{-\delta}N^2p\) for all \(s,t\in\{0,1\}^k\).

In particular \(\operatorname{reg}(y)=1\) for every faithful state.

The two scales in Definition 5.3 are those of the imbalance: on day \(k\) the leading side is ahead by order \(\sqrt N\sqrt{pN}^{k-1}\) vertices, which is \(o(N)\) exactly when \(k<\frac{1}{1-\theta}+1\), and the edge counts respond at relative order \(\sqrt{pN}^{k-1}/\sqrt N\). The next two theorems are the deterministic core of the induction: a faithful state is admissible with an explicit tilt, and its local template is faithful on the next day. Their proofs are in Appendix E.

Theorem 5.4 (Perturbed evolution). Fix \(\theta\in(1/2,1)\), an integer \(k\) with \(1\le k<\frac{1}{1-\theta}\), and constants \(T>1\) and \(\delta>0\). There exist constants \(T_1=T_1(\theta,k,T,\delta)\ge T\), \(\delta_1=\delta_1(\theta,k,T,\delta)>0\), and \(\phi_1=\phi_1(\theta,k,T,\delta)\in(0,1/2)\) such that for all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), all \(\tau\in[T^{-1},T]\), and every \(y=(\Pi,m,1)\in\mathcal{G}^{(p)}_k(T,\delta,\tau)\) with \(\Pi\in\mathrm{Part}_k(V)\), \(|V|=N\), the following hold, where \(n[s]:=|\Pi[s]|\). There is a unique tilt \(\lambda_y\in(0,1)^{\{0,1\}^k\times\{0,1\}^k}\) such that, with \(A_{s,\bullet}:=A_{s,\bullet}(n,\lambda_y)\), \[\mathbb{P}\left[\mathcal{I}_s(A_{s,\bullet})\right]>0\qquad\text{and}\qquad n[s]\,\mathbb{E}\left[A_{s,t}\mid\mathcal{I}_s(A_{s,\bullet})\right]=m[s,t]\qquad\text{for all }s,t\in\{0,1\}^k,\] and it satisfies:

  1. \((y,\lambda_y)\) is \((T_1,\phi_1,p)\)-locally admissible.

  2. For all \(s,t\in\{0,1\}^k\), writing \[\vartheta_y[s,t]:=\log\frac{\lambda_y[s,t]\left(n[t]-\mathbb{1}_{s=t}-p\,\widetilde{n}[t]\right)}{\left(1-\lambda_y[s,t]\right)p\,\widetilde{n}[t]} \qquad\text{and}\qquad \widetilde\vartheta[s,t]:=\log\frac{\widetilde{\lambda}[s,t]\left(\widetilde{n}[t]-\mathbb{1}_{s=t}-p\,\widetilde{n}[t]\right)}{\left(1-\widetilde{\lambda}[s,t]\right)p\,\widetilde{n}[t]},\] we have \[\left|\vartheta_y[s,t]-\widetilde\vartheta[s,t]-\tau\frac{\sqrt{pN}^{\,k-1}}{\sqrt N}\beta[s,t]\right| \le T_1\frac{\sqrt{pN}^{\,k-1}}{\sqrt N}N^{-\delta_1}.\]

  3. The local template \((n^{\mathrm{loc}},\ell^{\mathrm{loc}},m^{\mathrm{loc}})\) of \((y,\lambda_y)\) satisfies, for all \(s,t\in\{0,1\}^k\) and \(b,c\in\{0,1\}\), \[\begin{aligned} \left|n^{\mathrm{loc}}[sb]-\widetilde{n}[sb]-\tau\sqrt N\sqrt{pN}^{\,k}\varepsilon[sb]\right|&\le T_1\sqrt N\sqrt{pN}^{\,k}N^{-\delta_1},\\ \left|m^{\mathrm{loc}}[sb,tc]-\widetilde{m}[sb,tc]\left(1+\tau\frac{\sqrt{pN}^{\,k}}{\sqrt N}\left(\frac{\varepsilon[sb]}{\nu[sb]}+\frac{\varepsilon[tc]}{\nu[tc]}\right)\right)\right|&\le T_1\frac{\sqrt{pN}^{\,k}}{\sqrt N}N^{-\delta_1}N^2p. \end{aligned}\]

The quantity \(\vartheta_y[s,t]\) in (b) is the effective tilt of the law \(\mathrm{Bin}(n[t]-\mathbb{1}_{s=t},\lambda_y[s,t])\) around the center \(p\,\widetilde{n}[t]\) in the sense of the first formula of Lemma A.5, and \(\widetilde\vartheta[s,t]\) is that of the idealized law; the statement says that the tilt of a faithful state is the idealized tilt shifted by \(\tau\frac{\sqrt{pN}^{k-1}}{\sqrt N}\beta[s,t]\), which is the tilt that reproduces the size shifts \(\tau\sqrt N\sqrt{pN}^{k-1}\varepsilon[t]\) of the neighboring blocks (Definition 4.7).

When \(\frac{1}{1-\theta}=k_0\) is an integer, the normalized perturbation \(\sqrt{pN}^{\,k_0}/\sqrt N\) is of constant order, so the error in the linearization behind Theorem 5.4 need not be smaller than its main term. More explicitly, if \[\beta_0:=\frac{\sqrt{pN}^{\,k_0-1}}{\sqrt N},\] then the current part-size displacement \(\beta_0N=\sqrt N\sqrt{pN}^{\,k_0-1}\) is still \(o(N)\), but the resulting displacement of the next majority statistic, measured in its natural \(\sqrt{pN}\) standard-deviation scale, is \[\beta_0\sqrt{pN}=\frac{\sqrt{pN}^{\,k_0}}{\sqrt N}=\Theta(1).\] Thus the next conditional split probabilities differ from their balanced values by a fixed amount, and multiplying by part sizes of order \(N\) produces an order-\(N\) displacement. At this terminal step \(\widetilde n[s]=N\nu[s]+o(N)\), so it is enough to record a macroscopic signed gap from \(N\nu[s]\), rather than a finer linear-response expansion around \(\widetilde n[s]\). The following theorem makes this argument uniform and gives the macroscopic lead on the next day.

Theorem 5.5 (The edge day). Fix \(\theta\in(1/2,1)\) with \(k_0:=\frac{1}{1-\theta}\in\mathbb{Z}\), and constants \(T>1\) and \(\delta>0\). There exist constants \(T_1=T_1(\theta,T,\delta)\ge T\), \(\delta_1=\delta_1(\theta,T,\delta)>0\), \(\phi_1=\phi_1(\theta,T,\delta)\in(0,1/2)\), and \(\zeta=\zeta(\theta,T)>0\) such that for all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), all \(\tau\in[T^{-1},T]\), and every \(y=(\Pi,m,1)\in\mathcal{G}^{(p)}_{k_0}(T,\delta,\tau)\) with \(\Pi\in\mathrm{Part}_{k_0}(V)\), \(|V|=N\), the following hold, where \(n[s]:=|\Pi[s]|\). There is a unique tilt \(\lambda_y\) with \(\mathbb{P}[\mathcal{I}_s(A_{s,\bullet})]>0\) and \(n[s]\,\mathbb{E}[A_{s,t}\mid\mathcal{I}_s(A_{s,\bullet})]=m[s,t]\) for all \(s,t\in\{0,1\}^{k_0}\), where \(A_{s,\bullet}:=A_{s,\bullet}(n,\lambda_y)\), and it satisfies:

  1. \((y,\lambda_y)\) is \((T_1,\phi_1,p)\)-locally admissible.

  2. \(\left|\lambda_y[s,t]-\Lambda_{N,p}(\gamma[s,t],\nu[t])\right|\le\frac{p}{\sqrt{pN}}N^{-\delta_1}\) for all \(s,t\in\{0,1\}^{k_0}\).

  3. The local template of \((y,\lambda_y)\) satisfies \((-1)^b\left(n^{\mathrm{loc}}[sb]-N\nu[sb]\right)\ge\zeta N\) for all \(s\in\{0,1\}^{k_0}\) and \(b\in\{0,1\}\).

5.3 The faithful trajectory

The next proposition compares the errors of Theorem 3.3 with the tolerances of Definition 5.3; it is where the constant \(C_{3.3}\) is evaluated at the admissibility parameters produced by Theorem 5.4.

Proposition 5.6 (The local theorem preserves faithfulness). Fix \(\theta\in(1/2,1)\), an integer \(k\) with \(1\le k<\frac{1}{1-\theta}\), and constants \(T>1\), \(\delta>0\); let \(T_1,\delta_1,\phi_1\) be the constants of Theorem 5.4, and put \[T_2:=2T_1,\qquad\delta_2:=\min\left\{\delta_1,\tfrac{1-\theta}{8}\right\}.\] For all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), all \(\tau\in[T^{-1},T]\), and every \(y\in\mathcal{G}^{(p)}_k(T,\delta,\tau)\), with \(\lambda_y\) the tilt of Theorem 5.4 and \(\mathcal{L}^{(p)}_{k+1}(y,\lambda_y)\) the set of Theorem 3.3 formed with the constant \(C_{3.3}(\theta,k,T_1,\phi_1)\), \[\mathcal{L}^{(p)}_{k+1}(y,\lambda_y)\subseteq\mathcal{G}^{(p)}_{k+1}(T_2,\delta_2,\tau).\]

Read proofProof of Proposition 5.6

Proof. Let \(y'\in\mathcal{L}^{(p)}_{k+1}(y,\lambda_y)\), and write \(\Pi':=\operatorname{part}(y')\), \(m':=\operatorname{edge}(y')\); by (L2), \(y'=(\Pi',m',1)\). Write \(C:=C_{3.3}(\theta,k,T_1,\phi_1)\) and let \((n^{\mathrm{loc}},\ell^{\mathrm{loc}},m^{\mathrm{loc}})\) be the local template of \((y,\lambda_y)\). For (F1) at day \(k+1\), the triangle inequality, (L3), and Theorem 5.4(c) give, for all \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\), \[\left||\Pi'[sb]|-\widetilde n[sb]-\tau\sqrt N\sqrt{pN}^{\,k}\varepsilon[sb]\right|\le C\sqrt N\log N+T_1\sqrt N\sqrt{pN}^{\,k}N^{-\delta_1}.\] Since \(\delta_2\le\delta_1\), the second term is at most \(T_1\sqrt N\sqrt{pN}^kN^{-\delta_2}\). For the first, because \(k\ge1\) and \(\delta_2\le(1-\theta)/8\), \[\sqrt{pN}^{\,k}N^{-\delta_2}\ge(pN)^{1/2}N^{-\delta_2}\ge T^{-1/2}N^{(1-\theta)/2-\delta_2}\ge T^{-1/2}N^{3(1-\theta)/8},\] so \(C\log N\le T_1\sqrt{pN}^kN^{-\delta_2}\) for large \(N\). Hence the left-hand side is at most \(2T_1\sqrt N\sqrt{pN}^kN^{-\delta_2}=T_2\sqrt N\sqrt{pN}^kN^{-\delta_2}\). For (F2) at day \(k+1\), similarly, by (L4) and Theorem 5.4(c), \[\begin{gathered} \left|m'[sb,tc]-\widetilde m[sb,tc]\left(1+\tau\frac{\sqrt{pN}^{\,k}}{\sqrt N}\left(\frac{\varepsilon[sb]}{\nu[sb]}+\frac{\varepsilon[tc]}{\nu[tc]}\right)\right)\right|\\ \le CN^2p\sqrt{\frac{(pN)^{1/7}}{N}}\log N+T_1\frac{\sqrt{pN}^{\,k}}{\sqrt N}N^{-\delta_1}N^2p . \end{gathered}\] The first term is at most \(T_1\frac{\sqrt{pN}^k}{\sqrt N}N^{-\delta_2}N^2p\) as soon as \(C(pN)^{1/14}\log N\le T_1\sqrt{pN}^kN^{-\delta_2}\), and \(\sqrt{pN}^k/(pN)^{1/14}\ge(pN)^{3/7}\ge T^{-3/7}N^{3(1-\theta)/7}\), while \(\delta_2\le(1-\theta)/8<3(1-\theta)/7\); so this holds for large \(N\). Both conditions of Definition 5.3 therefore hold with the constants \((T_2,\delta_2)\), and \(y'\in\mathcal{G}^{(p)}_{k+1}(T_2,\delta_2,\tau)\). ◻

Proposition 5.7 (Day one). Fix \(\theta\in(1/2,1)\) and \(T>1\), and put \(\delta_0:=\frac{1-\theta}{4}\). For all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and all \(\tau\in[T^{-1},T]\), the following holds. Let \(V\) be a set with \(|V|=N\), let \(c\colon V\to\{\pm1\}\) satisfy \(|c^{-1}(1)|=\lfloor N/2\rfloor+\lfloor\tau\sqrt N\rfloor\), sample \(G\sim\mathbb{G}(V,p)\), and let \(\mathfrak{g}=(G,c)\). Then \[\mathbb{P}\left[\rho_1^{(p)}\left(\sigma_1(\mathfrak{g})\right)\in\mathcal{G}^{(p)}_1(1,\delta_0,\tau)\right]=1-o(1).\]

Read proofProof of Proposition 5.7

Proof. Write \(\Pi:=\Pi_1(\mathfrak g)\), \(\mathbf d:=\delta(\Pi,G)\), \(n[s]:=|\Pi[s]|\), and \(y:=\rho_1^{(p)}(\sigma_1(\mathfrak g))=(\Pi,m,\mathbb{1}_{\kappa_p(\Pi,\mathbf d)})\) with \(m[s,t]=\sum_{x\in\Pi[s]}\mathbf d[x,t]\). By definition, \(\Pi[0]=c^{-1}(1)\) and \(\Pi[1]=c^{-1}(-1)\), so \(n[0]=a:=\lfloor N/2\rfloor+\lfloor\tau\sqrt N\rfloor\) and \(n[1]=N-a\). At day \(1\) we have \(\widetilde n[0]=\widetilde n[1]=\lfloor N/2\rfloor\), \(\widetilde m[s,t]=p\widetilde n[s](\widetilde n[t]-\mathbb{1}_{s=t})\), \(\nu[0]=\nu[1]=\frac12\), and \(\varepsilon[0]=1=-\varepsilon[1]\), so \(\varepsilon[s]/\nu[s]=2(-1)^s\) for \(s\in\{0,1\}\).

Sizes. Deterministically, \(|n[0]-\widetilde n[0]-\tau\sqrt N|=|\lfloor\tau\sqrt N\rfloor-\tau\sqrt N|<1\) and \(|n[1]-\widetilde n[1]+\tau\sqrt N|=|N-2\lfloor N/2\rfloor-\lfloor\tau\sqrt N\rfloor+\tau\sqrt N|<2\), while the tolerance in (F1) is \(\sqrt NN^{-\delta_0}\ge2\) for large \(N\).

Edge counts. For \(s\ne t\), \(m[s,t]\) is the number of edges of \(G\) between \(\Pi[s]\) and \(\Pi[t]\), a \(\mathrm{Bin}(n[s]n[t],p)\) variable; and \(m[s,s]\) is twice the number of edges inside \(\Pi[s]\), twice a \(\mathrm{Bin}(\binom{n[s]}{2},p)\) variable. In both cases \(\mathbb E\,m[s,t]=pn[s](n[t]-\mathbb{1}_{s=t})\) and \(\mathrm{Var}\,m[s,t]\le2N^2p\), so by Chernoff’s inequality, with probability \(1-o(1)\), \[\label{eq:day-one-chernoff} \left|m[s,t]-pn[s]\left(n[t]-\mathbb{1}_{s=t}\right)\right|\le2N\sqrt p\log N\qquad\text{for all }s,t\in\{0,1\}.\] Next, \(n[s]=\widetilde n[0]+(-1)^s\lfloor\tau\sqrt N\rfloor+\mathbb{1}_{s=1}(N-2\lfloor N/2\rfloor)\), and since \(\lfloor\tau\sqrt N\rfloor/\widetilde n[0]=2\tau/\sqrt N+O(1/N)\) (recall \(\tau\le T\)), both \(n[s]\) and \(n[s]-1\) equal \((\widetilde n[0]-\mathbb{1})\big(1+(-1)^s\frac{2\tau}{\sqrt N}+O(\frac1N)\big)\) with the corresponding \(\mathbb{1}\in\{0,1\}\). Hence \[\begin{aligned} pn[s]\left(n[t]-\mathbb{1}_{s=t}\right)&=\widetilde m[s,t]\left(1+\frac{2\tau}{\sqrt N}\left((-1)^s+(-1)^t\right)+O\left(\frac1N\right)\right)\\ &=\widetilde m[s,t]\left(1+\frac{\tau}{\sqrt N}\left(\frac{\varepsilon[s]}{\nu[s]}+\frac{\varepsilon[t]}{\nu[t]}\right)\right)+O(Np), \end{aligned}\] the cross term \(4\tau^2/N\) being part of the \(O(1/N)\). Combining with (5.1), the left-hand side of (F2) is at most \(2N\sqrt p\log N+O(Np)\le3N\sqrt p\log N\), while the tolerance is \(N^{-\delta_0}N^{3/2}p\). Since \(\sqrt p\ge T^{-1/2}N^{-\theta/2}\), the ratio of the tolerance to \(N\sqrt p\log N\) is at least \(T^{-1/2}N^{(1-\theta)/2-\delta_0}/\log N=T^{-1/2}N^{(1-\theta)/4}/\log N\), which tends to infinity; so (F2) holds for large \(N\) on the event (5.1).

Regularity. For \(x\in V\) and \(t\in\{0,1\}\), \(\mathbf d[x,t]=\deg^G_{\Pi[t]}x\sim\mathrm{Bin}(n[t]-\mathbb{1}_{x\in\Pi[t]},p)\), whose mean differs from \(pn[t]\) by at most \(p\). By Chernoff’s inequality, \(\mathbb P[|\mathbf d[x,t]-pn[t]|>(pN)^{4/7}]\le2\exp(-c(pN)^{1/7})\) for an absolute constant \(c>0\) and large \(N\), and a union bound over the \(2N\) pairs \((x,t)\) gives \(\mathbb P[\neg\kappa_p(\Pi,\mathbf d)]\le4N\exp(-c(pN)^{1/7})=o(1)\), since \((pN)^{1/7}\ge T^{-1/7}N^{(1-\theta)/7}\). On the intersection of the two events, \(y=(\Pi,m,1)\in\mathcal G^{(p)}_1(1,\delta_0,\tau)\). ◻

Theorem 5.8 (The faithful trajectory). Fix \(\theta\in(1/2,1)\) and \(T>1\), and let \(K_\theta:=\lceil\frac{1}{1-\theta}\rceil\), so that \(K_\theta=D_\theta\) if \(\frac1{1-\theta}\notin\mathbb{Z}\) and \(K_\theta=k_0=D_\theta-1\) otherwise. There exist constants \(T^\ast=T^\ast(\theta,T)>1\) and \(\delta^\ast=\delta^\ast(\theta,T)>0\) such that for all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and all \(\tau\in[T^{-1},T]\), the following holds. Let \(V\), \(c\), \(G\), and \(\mathfrak{g}=(G,c)\) be as in Proposition 5.7. Then with probability \(1-o(1)\):

  1. \(\rho_k^{(p)}(\sigma_k(\mathfrak{g}))\in\mathcal{G}^{(p)}_k(T^\ast,\delta^\ast,\tau)\) for every \(1\le k\le K_\theta\);

  2. if \(\frac{1}{1-\theta}=k_0\in\mathbb{Z}\), then in addition \((-1)^{s[k_0]}\left(|\Pi_{k_0+1}(\mathfrak{g})[s]|-N\nu[s]\right)\ge\frac{\zeta}{2}N\) for every \(s\in\{0,1\}^{k_0+1}\), where \(\zeta=\zeta(\theta,T^\ast)\) is the constant of Theorem 5.5 for the parameters \((\theta,T^\ast,\delta^\ast)\); we arrange \(T^\ast\ge T\), so that these parameters cover the ranges of \(p\) and \(\tau\).

Read proofProof of Theorem 5.8

Proof. Write \(y_j:=\rho_j^{(p)}(\sigma_j(\mathfrak g))\) for the day-\(j\) coarse state of \(\mathfrak g\), and \(\mathcal G_j(T',\delta'):=\mathcal G^{(p)}_j(T',\delta',\tau)\). Note that \(\mathcal G_j(T',\delta')\subseteq\mathcal G_j(T'',\delta'')\) whenever \(T'\le T''\) and \(\delta'\ge\delta''\), since the tolerances in Definition 5.3 increase.

Constants. Define \((T^\circ_j,\delta^\circ_j)\) for \(1\le j\le K_\theta\) recursively: \(T^\circ_1:=T\) and \(\delta^\circ_1:=\frac{1-\theta}{4}\); and for \(1\le j<K_\theta\) (so that \(j<\frac1{1-\theta}\)), let \((T_2,\delta_2)\) be the constants of Proposition 5.6 for the parameters \((\theta,j,T^\circ_j,\delta^\circ_j)\), and put \(T^\circ_{j+1}:=\max\{T_2,T^\circ_j\}\) and \(\delta^\circ_{j+1}:=\delta_2\). These depend only on \(\theta\) and \(T\); \(T^\circ_j\) is nondecreasing in \(j\), and \(\delta^\circ_j\) is nonincreasing because \(\delta_2\le\delta_1<\delta\) in Proposition 5.6 and Theorem 5.4. Set \(T^\ast:=T^\circ_{K_\theta}\ge T\) and \(\delta^\ast:=\delta^\circ_{K_\theta}\); then \(\mathcal G_j(T^\circ_j,\delta^\circ_j)\subseteq\mathcal G_j(T^\ast,\delta^\ast)\) for every \(j\le K_\theta\).

Induction. We show by induction on \(j\) that \(\mathbb P[y_j\in\mathcal G_j(T^\circ_j,\delta^\circ_j)]=1-o(1)\) for \(1\le j\le K_\theta\). For \(j=1\) this is Proposition 5.7, since \(1\le T^\circ_1\). Let \(1\le j<K_\theta\) and suppose the claim holds for \(j\). Fix \(y\in\mathcal G_j(T^\circ_j,\delta^\circ_j)\) with \(\mathbb P[y_j=y]>0\). By Proposition 2.4, \(y\) is \(p\)-attainable and \(\mathbb P[y_{j+1}\in B\mid y_j=y]=\overline K^{(p)}_j(y,B)\) for every \(B\subseteq\mathcal Y_{j+1}(V)\). Since \(T^\circ_j\ge T\), the ranges \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\) and \(\tau\in[T^{-1},T]\) are contained in those of Theorem 5.4 with the parameters \((\theta,j,T^\circ_j,\delta^\circ_j)\), and that theorem provides the tilt \(\lambda_y\) and constants \(T_1,\phi_1\), depending only on \(\theta,T\), such that \((y,\lambda_y)\) is \((T_1,\phi_1,p)\)-locally admissible. Since \(T_1\ge T^\circ_j\ge T\), the range of \(p\) is also contained in that of Theorem 3.3 with the parameters \((\theta,j,T_1,\phi_1)\), which gives \(\overline K^{(p)}_j(y,\mathcal L^{(p)}_{j+1}(y,\lambda_y))=1-o(1)\), where, by the convention of Section 1.4, the \(o(1)\) is a function of \(N\) alone, uniform over all \(p\) in the range and all admissible \((y,\lambda)\). By Proposition 5.6 with the parameters \((\theta,j,T^\circ_j,\delta^\circ_j)\), \(\mathcal L^{(p)}_{j+1}(y,\lambda_y)\subseteq\mathcal G_{j+1}(T_2,\delta_2)\subseteq\mathcal G_{j+1}(T^\circ_{j+1},\delta^\circ_{j+1})\). Therefore \[\begin{aligned} \mathbb P\left[y_{j+1}\in\mathcal G_{j+1}(T^\circ_{j+1},\delta^\circ_{j+1})\right]&\ge\sum_{\substack{y\in\mathcal G_j(T^\circ_j,\delta^\circ_j)\\ \mathbb P[y_j=y]>0}}\mathbb P[y_j=y]\,\overline K^{(p)}_j\left(y,\mathcal L^{(p)}_{j+1}(y,\lambda_y)\right)\\ &\ge(1-o(1))\,\mathbb P\left[y_j\in\mathcal G_j(T^\circ_j,\delta^\circ_j)\right]=1-o(1), \end{aligned}\] which completes the induction. Since there are finitely many days, a union bound gives (i): with probability \(1-o(1)\), \(y_j\in\mathcal G_j(T^\circ_j,\delta^\circ_j)\subseteq\mathcal G_j(T^\ast,\delta^\ast)\) for all \(1\le j\le K_\theta\).

The integer case. Suppose \(\frac1{1-\theta}=k_0\in\mathbb Z\), so \(K_\theta=k_0\). Fix \(y\in\mathcal G_{k_0}(T^\ast,\delta^\ast)\) with \(\mathbb P[y_{k_0}=y]>0\). Theorem 5.5 with the parameters \((\theta,T^\ast,\delta^\ast)\), whose ranges contain ours since \(T^\ast\ge T\), provides \(\lambda_y\) and constants \(T_1',\phi_1',\zeta\) such that \((y,\lambda_y)\) is \((T_1',\phi_1',p)\)-locally admissible and its local template satisfies \((-1)^b(n^{\mathrm{loc}}[sb]-N\nu[sb])\ge\zeta N\) for all \(s\in\{0,1\}^{k_0}\), \(b\in\{0,1\}\). Since \(T_1'\ge T^\ast\ge T\), the density range is contained in that of Theorem 3.3 with the parameters \((\theta,k_0,T_1',\phi_1')\). By that theorem and Proposition 2.4, conditionally on \(y_{k_0}=y\), with probability \(1-o(1)\) the state \(y_{k_0+1}\) lies in \(\mathcal L^{(p)}_{k_0+1}(y,\lambda_y)\), and then (L3) gives, for every \(s\in\{0,1\}^{k_0}\) and \(b\in\{0,1\}\), \[(-1)^b\left(|\Pi_{k_0+1}(\mathfrak g)[sb]|-N\nu[sb]\right)\ge\zeta N-C_{3.3}(\theta,k_0,T_1',\phi_1')\sqrt N\log N\ge\tfrac{\zeta}{2}N\] for large \(N\), where we used \(\operatorname{part}(y_{k_0+1})=\Pi_{k_0+1}(\mathfrak g)\). Summing over \(y\) as above and combining with (i) at day \(k_0\) gives (ii), since for \(s\in\{0,1\}^{k_0+1}\) the sign \((-1)^{s[k_0]}\) is \((-1)^b\) when \(s\) is written as \(s'b\). ◻

5.4 The lead

For a politicized graph \(\mathfrak{g}\) on \(V\) and \(k\ge1\), define the lead on day \(k\) by \[\label{eq:lead} \Delta_k(\mathfrak{g}):=\sum_{s\in\{0,1\}^k}(-1)^{s[k-1]}\left|\Pi_k(\mathfrak{g})[s]\right|=\left|c_k(\mathfrak{g})^{-1}(1)\right|-\left|c_k(\mathfrak{g})^{-1}(-1)\right|,\] the number of vertices holding opinion \(+1\) on day \(k\) minus the number holding \(-1\); the two expressions agree because \(x\in\Pi_k(\mathfrak{g})[s]\) has \(c_k(\mathfrak{g})[x]=(-1)^{s[k-1]}\).

Corollary 5.9 (The lead at the end of the expansion phase). Fix \(\theta\in(1/2,1)\) and \(T>1\), and let \(K:=\lfloor\frac{1}{1-\theta}\rfloor+1=D_\theta\). For all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and all \(\tau\in[T^{-1},T]\), with \(V\), \(c\), \(G\), \(\mathfrak{g}\) as in Proposition 5.7, \[\mathbb{P}\left[\Delta_K(\mathfrak{g})\ge\frac{N}{\sqrt{pN}}\log N\right]=1-o(1).\]

Read proofProof of Corollary 5.9

Proof. Let \(T^\ast,\delta^\ast\) be the constants of Theorem 5.8, and let \(E\) be its event of probability \(1-o(1)\). It suffices to show that \(\Delta_K(\mathfrak g)\ge\frac{N}{\sqrt{pN}}\log N\) on \(E\) for large \(N\).

Suppose first that \(\frac1{1-\theta}\notin\mathbb Z\), so that \(K=K_\theta\). On \(E\), condition (F1) at day \(K\) with the constants \((T^\ast,\delta^\ast)\) gives, for every \(s\in\{0,1\}^K\), \[|\Pi_K(\mathfrak g)[s]|=\widetilde n[s]+\tau\sqrt N\sqrt{pN}^{\,K-1}\varepsilon[s]+O\left(\sqrt N\sqrt{pN}^{\,K-1}N^{-\delta^\ast}\right).\] Summing with the signs \((-1)^{s[K-1]}\): the first sum \(\sum_s(-1)^{s[K-1]}\widetilde n[s]\) vanishes, because pairing \(s\) with \(\overline s\) and using \(\widetilde n[\overline s]=\widetilde n[s]\) (Theorem 5.2(iv)) shows that it equals its own negative; the second is \(\tau\sqrt N\sqrt{pN}^{K-1}S_K\) with \(S_K:=\sum_s(-1)^{s[K-1]}\varepsilon[s]=2\sum_{s'\in\{0,1\}^{K-1}}\varepsilon[s'0]>0\) by Corollary 4.10(ii). Hence, for large \(N\), \[\Delta_K(\mathfrak g)\ge\tau S_K\sqrt N\sqrt{pN}^{\,K-1}-O\left(\sqrt N\sqrt{pN}^{\,K-1}N^{-\delta^\ast}\right)\ge\frac{S_K}{2T}\sqrt N\sqrt{pN}^{\,K-1}.\] Finally \(\sqrt N\sqrt{pN}^{K-1}\big/\big(\frac{N}{\sqrt{pN}}\log N\big)=\sqrt{pN}^{\,K}/(\sqrt N\log N)\ge T^{-K/2}N^{(K(1-\theta)-1)/2}/\log N\to\infty\), because \(K=\lfloor\frac1{1-\theta}\rfloor+1>\frac1{1-\theta}\) gives \(K(1-\theta)>1\). So \(\Delta_K(\mathfrak g)\ge\frac{N}{\sqrt{pN}}\log N\) for large \(N\).

Suppose now that \(\frac1{1-\theta}=k_0\in\mathbb Z\), so that \(K=k_0+1\). On \(E\), Theorem 5.8(ii) gives \[(-1)^{s[K-1]}\left(|\Pi_K(\mathfrak g)[s]|-N\nu[s]\right)\ge\tfrac\zeta2N\qquad\text{for every }s\in\{0,1\}^K .\] Sum over the \(2^K\) strings \(s\) and use \(\sum_s(-1)^{s[K-1]}\nu[s]=0\), which is Corollary 4.10(iii) with \(r=K\): \[\Delta_K(\mathfrak g)=\sum_{s\in\{0,1\}^K}(-1)^{s[K-1]}|\Pi_K(\mathfrak g)[s]|\ge N\sum_s(-1)^{s[K-1]}\nu[s]+2^K\frac{\zeta}{2}N=2^{k_0}\zeta N,\] which exceeds \(\frac{N}{\sqrt{pN}}\log N\) for large \(N\). ◻

6 Proof of the main theorem

The proof has two phases. In the expansion phase, Corollary 5.9 gives a lead of at least \(\frac{N}{\sqrt{pN}}\log N\) after \(K=\lfloor\frac1{1-\theta}\rfloor+1\) days. In the contraction phase, one further update reduces the minority to at most \(N/5\) vertices, after which each update contracts it by a factor at most \(16C_{\mathrm{J}}^2/(pN)\). This is a deterministic consequence of two properties that \(\mathbb{G}(V,p)\) has with high probability, minimum degree and jumbledness, using the argument of (Chakraborti et al. 2023).

6.1 The contraction phase

Definition 6.1 (Jumbled graphs). Let \(G\) be a graph on \(V\), let \(p\in(0,1)\), and let \(\beta>0\). For \(U,W\subseteq V\) let \(e_G(U,W)\) be the number of pairs \((u,w)\in U\times W\) with \(uw\in E(G)\); for disjoint \(U,W\) this is the number of edges between \(U\) and \(W\), and in general \(e_G(U,W)=\sum_{u\in U}\deg^G_Wu\). The graph \(G\) is \((p,\beta)\)-jumbled if \[\left|e_G(U,W)-p|U||W|\right|\le\beta\sqrt{|U||W|}\qquad\text{for all }U,W\subseteq V .\]

Lemma 6.2 (Pseudorandomness of \(\mathbb{G}(V,p)\)). There is an absolute constant \(C_{\mathrm{J}}>0\) such that the following holds. Fix a real parameter \(\theta\in(1/2,1)\) and a constant \(T>1\). For all sufficiently large \(N\in\mathbb{Z}\) and \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), if \(V\) is a set with \(|V|=N\) and \(G\sim\mathbb{G}(V,p)\), then with probability \(1-o(1)\) every vertex of \(G\) has degree at least \(0.9\,pN\) and \(G\) is \(\big(p,C_{\mathrm{J}}\sqrt{pN}\big)\)-jumbled.

Read proofProof of Lemma 6.2

Proof. The degree of a vertex is a \(\mathrm{Bin}(N-1,p)\) variable with mean \(p(N-1)\ge0.95pN\) for large \(N\), so by Chernoff’s inequality it is less than \(0.9pN\) with probability at most \(\exp(-cpN)\) for an absolute constant \(c>0\); a union bound over the \(N\) vertices gives probability at most \(N\exp(-cpN)=o(1)\), because \(pN\ge T^{-1}N^{1-\theta}\gg\log N\). For jumbledness we use (Chakraborti et al. 2023, Lemma 4.1), restating (Krivelevich and Sudakov 2006, Corollary 2.3), in the range \(\log^2N\le pN\) and \(p\le0.99\): with probability \(1-o(1)\), \(\mathbb{G}(V,p)\) is \((p,\beta)\)-jumbled with \(\beta=O(\sqrt{pN})\). Both restrictions hold uniformly in our density window for large \(N\), since \(pN\ge T^{-1}N^{1-\theta}\gg\log^2N\) and \(p\le TN^{-\theta}=o(1)\). ◻

The next lemma uses the argument of (Chakraborti et al. 2023, Lemma 4.2), with numerical constants sufficient for the minimum-degree bound above. Its update rule retains the current opinion in a tie, as in Section 2.

Lemma 6.3 (One day of majority dynamics on a jumbled graph). Let \(G\) be a \((p,\beta)\)-jumbled graph on a set \(V\) with \(|V|=N\ge1\), let \(c\colon V\to\{\pm1\}\) be any coloring, let \(\mathfrak{g}=(G,c)\), and let \(j\ge1\). Write \(M_i:=c_i(\mathfrak{g})^{-1}(-1)\).

  1. If \(\Delta_j(\mathfrak{g})\ge10\beta/p\), then \(|M_{j+1}|\le N/5\).

  2. If every vertex of \(G\) has degree at least \(0.9pN\) and \(|M_j|\le N/5\), then \[|M_{j+1}|\le\frac{16\beta^2}{(pN)^2}|M_j|.\]

Read proofProof of Lemma 6.3

Proof. Write \(U:=M_{j+1}\), \(x:=|U|\), and \(m:=|M_j|\), so that \(\Delta_j(\mathfrak{g})=N-2m\). A vertex \(v\in U\) has at least as many neighbors in \(M_j\) as in its complement: either strictly more of its neighbors hold \(-1\) on day \(j\), or there is a tie and \(v\) already holds \(-1\). Thus \[\tfrac12\deg^G_Vv\le\deg^G_{M_j}v, \qquad\text{and hence}\qquad \tfrac12 e_G(U,V)\le e_G(U,M_j).\] Both conclusions are immediate if \(x=0\), so assume \(x>0\).

(i): Jumbledness gives \[\tfrac12\bigl(pxN-\beta\sqrt{xN}\bigr) \le\tfrac12 e_G(U,V) \le e_G(U,M_j) \le pxm+\beta\sqrt{xm}.\] Using \(m\le N\) and \(\Delta_j(\mathfrak{g})=N-2m\), we obtain \[10\beta x\le px\,\Delta_j(\mathfrak{g}) \le\beta\sqrt{xN}+2\beta\sqrt{xm} \le3\beta\sqrt{xN}.\] Since \(\beta>0\), squaring and canceling \(x>0\) gives \(100x\le9N\), and therefore \(x\le9N/100\le N/5\).

(ii): The minimum-degree bound and the same majority inequality give \[\frac{9}{20}pNx\le e_G(U,M_j) \le pxm+\beta\sqrt{xm}.\] Since \(m\le N/5\), \[\frac{pN}{4}x \le p\left(\frac{9N}{20}-m\right)x \le\beta\sqrt{xm}.\] Both sides are nonnegative; squaring and canceling \(x>0\) yields \((pN)^2x\le16\beta^2m\), proving the assertion because \(pN>0\). ◻

6.2 Proof of Theorem 1.1 and Corollary 1.3

Read proofFull argument

Proof of Theorem 1.1. Let \(K:=\lfloor\frac1{1-\theta}\rfloor+1\), so that \(2K+1=k\). Let \(E_1\) be the event \(\Delta_K(\mathfrak{g})\ge\frac{N}{\sqrt{pN}}\log N\) of Corollary 5.9, and \(E_2\) the event of Lemma 6.2 that \(G\) has minimum degree at least \(0.9pN\) and is \((p,\beta)\)-jumbled with \(\beta:=C_{\mathrm{J}}\sqrt{pN}\). Both have probability \(1-o(1)\), hence so does \(E_1\cap E_2\), and it suffices to show that \(c_k(\mathfrak{g})\equiv1\) on this event for large \(N\).

Write \(M_j:=c_j(\mathfrak{g})^{-1}(-1)\). For large \(N\) we have \(\log N\ge10C_{\mathrm{J}}\), so on \(E_1\cap E_2\), \[\Delta_K(\mathfrak{g})\ge\frac{N}{\sqrt{pN}}\log N \ge\frac{10C_{\mathrm{J}}N}{\sqrt{pN}} =\frac{10\beta}{p}.\] Part (i) of Lemma 6.3 therefore gives \(|M_{K+1}|\le N/5\). Put \[\rho:=\frac{16\beta^2}{(pN)^2} =\frac{16C_{\mathrm{J}}^2}{pN} \le\frac{16C_{\mathrm{J}}^2T}{N^{1-\theta}},\] so \(0<\rho\le1\) for large \(N\). Successive applications of (ii) give \[|M_{K+1+r}|\le\rho^r\frac N5\le\frac N5 \qquad(0\le r\le K).\] The second inequality keeps the hypothesis of (ii) valid at every step. Since \(K(1-\theta)>1\), taking \(r=K\) yields \[\left|c_k(\mathfrak{g})^{-1}(-1)\right| =|M_{2K+1}| \le\frac{N\rho^K}{5} \le\frac{(16C_{\mathrm{J}}^2T)^K}{5}N^{1-K(1-\theta)}<1\] for large \(N\). Since the left-hand side is a nonnegative integer, it is \(0\): every vertex has opinion \(+1\) on day \(k\). ◻

Read proofFull argument

Proof of Corollary 1.3. Let \(a:=|c^{-1}(1)|\sim\mathrm{Bin}(N,1/2)\) and \(\tau:=(a-\lfloor N/2\rfloor)/\sqrt N\), so that \(a=\lfloor N/2\rfloor+\lfloor\tau\sqrt N\rfloor\) exactly, since \(\tau\sqrt N\) is an integer. Fix \(T'>1\) and let \(\epsilon_{T'}(N)\) denote the \(o(1)\) of Theorem 1.1 for the parameters \((\theta,T'+1)\); by the convention of Section 1.4 it is a function of \(N\) alone, uniform over \(p\in((T'+1)^{-1}N^{-\theta},(T'+1)N^{-\theta})\) and \(\tau\in[(T'+1)^{-1},T'+1]\). Suppose \(T'\ge T\), so that our range of \(p\) is contained in this one.

Condition on \(c\). Since \(G\) is independent of \(c\), its conditional law is \(\mathbb{G}(V,p)\). If \(\tau\in[T'^{-1},T']\), then \((G,c)\) is in the setting of Theorem 1.1 with the parameters \((\theta,T'+1)\), so \(\mathbb{P}[c_k(\mathfrak{g})\not\equiv1\mid c]\le\epsilon_{T'}(N)\). If \(\tau\le-T'^{-1}\), consider \(\mathfrak{g}':=(G,-c)\): it has \(|(-c)^{-1}(1)|=N-a=\lfloor N/2\rfloor+\lfloor\tau'\sqrt N\rfloor\) with \(\tau':=(N-a-\lfloor N/2\rfloor)/\sqrt N\in[-\tau,-\tau+N^{-1/2}]\subseteq[T'^{-1},T'+1]\) when also \(\tau\ge-T'\), so \(\mathbb{P}[c_k(\mathfrak{g}')\not\equiv1\mid c]\le\epsilon_{T'}(N)\); and majority dynamics commutes with the global flip, \(c_t((G,-c))=-c_t((G,c))\) for all \(t\), because the update rule of Section 2 is odd under \(c\mapsto-c\) (the sign of the neighborhood sum flips, and a tie remains a tie). Hence \[\mathbb{P}\left[c_k(\mathfrak{g})\text{ is not constant}\right]\le\mathbb{P}\left[|\tau|<T'^{-1}\right]+\mathbb{P}\left[|\tau|>T'\right]+\epsilon_{T'}(N).\] Now \(\tau\sqrt N=a-\lfloor N/2\rfloor\) with \(a\sim\mathrm{Bin}(N,1/2)\): by Chebyshev’s inequality \(\mathbb{P}[|\tau|>T']\le\mathbb{P}[|a-N/2|>T'\sqrt N-1]\le\frac{N/4}{(T'\sqrt N-1)^2}\le\frac{1}{2T'^2}\) for large \(N\), and since \(\max_i\mathbb{P}[a=i]=\binom{N}{\lfloor N/2\rfloor}2^{-N}\le C/\sqrt N\) for an absolute constant \(C\) by Stirling’s formula, \(\mathbb{P}[|\tau|<T'^{-1}]\le(2T'^{-1}\sqrt N+1)\,C/\sqrt N\le3CT'^{-1}\) for large \(N\). Therefore \[\limsup_{N\to\infty}\ \sup_{p}\ \mathbb{P}\left[c_k(\mathfrak{g})\text{ is not constant}\right]\le3CT'^{-1}+\frac{1}{2T'^2}\] for every \(T'\ge T\), the supremum being over \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\); letting \(T'\to\infty\) shows that the probability is \(o(1)\), uniformly in \(p\). Finally, if \(c_k(\mathfrak{g})\) is constant then so is \(c_t(\mathfrak{g})\) for every \(t\ge k\): every vertex then sees only neighbors of its own opinion, so the neighborhood sum has the sign of that opinion or vanishes, and in either case the opinion is kept. ◻

6.3 The uniform density range

Context & expositionfull paper text

Only the main steps of the uniform-density argument are recorded here; every detail is checked in the accompanying Lean formalization. Put \[\alpha_0:=1-\theta,\qquad S:=\sqrt{pN},\qquad K:=\left\lfloor\frac1{\alpha_0}\right\rfloor+1.\]

Reduction to the sparse range. Densities of order \(N^{-1/2}\) and above are covered by the dense-range argument of Fountoulakis, Kang, and Makai (Fountoulakis, Kang, and Makai 2020), whose estimates are formalized alongside the present argument and yield the following fixed-initial-coloring statement: there is \(L=L(T,\eta)\) such that, for all sufficiently large \(N\), every \(p\ge L/\sqrt N\) (including \(p=1\)), and every coloring \(c\) as in Theorem 1.2, unanimity holds after four updates with probability at least \(1-\eta\). Since \(\theta>1/2\) gives \(K\ge3\) and unanimity persists once reached, this proves Theorem 1.2 for \(p\ge L/\sqrt N\). Set \(B:=\max\{2T,L+1\}\). It remains to prove the theorem for \[T^{-1}N^{-\theta}\le p\le BN^{-1/2},\] and the rest of this subsection concerns only this sparse interval. The argument below is run with \(B\) in place of \(T\), so that it covers the density lower endpoint \(T^{-1}N^{-\theta}\ge B^{-1}N^{-\theta}\) and the bias range \([T^{-1},T]\subseteq[B^{-1},B]\); the two thresholds for \(N\) are combined by taking the larger one, giving a single \(N_0\) independent of \(p\) and of \(c\).

The sparse interval. The local estimates and the finite-horizon idealized evolution hold uniformly under independent lower and upper bounds on \(p\). The balanced finite reference process and its exact color-flip cancellation supply the reference trajectory throughout this interval.

The point requiring care is when to leave the linear-response regime. The class-size displacement on day \(d\) has scale \(\sqrt N S^{d-1}\), and the normalized shift seen by the next majority decision has scale \[a_d:=\frac{S^d}{\sqrt N}.\] For a fixed power law this is \(N^{(d\alpha_0-1)/2}\) up to a constant factor. At a reciprocal exponent, say \(\alpha_0=1/m\), the quantity \(a_m\) has constant order and the critical-day argument applies. For a density varying with \(N\), however, its effective exponent \(\alpha_N:=\log(pN)/\log N\) can approach \(1/m\) at an arbitrary rate. Then \[a_m=N^{(m\alpha_N-1)/2}\] may tend to zero, remain bounded, or tend to infinity, even subpolynomially. Thus no predetermined day is uniformly guaranteed to be safely linear or already critical.

Instead we stop according to the response itself. On every day \(k\) before the stopping point, the actual trajectory is faithful in the sense of Definition 5.3: the number of vertices in each history class \(s\) equals its idealized value \(\widetilde n[s]\) plus the first-order response \(\tau\sqrt N S^{k-1}\varepsilon[s]\), and each inter-class edge count equals its idealized value corrected by the corresponding first-order relative response, in each case up to an error of at most \(CN^{-\delta}\) times the scale of that response, for constants \(C\) and \(\delta>0\) depending only on \(\theta\) and \(B\). This is the induction of Theorem 5.8, run on the present interval. With \(\delta\) fixed, choose \[r:=\min\left\{\frac14,\ \delta,\ \frac{K\alpha_0-1}{2}\right\}>0.\] This choice gives \(r/4<\delta\) and \((K-r)\alpha_0>1\). Stop on the first day \(d\) for which \(a_d\ge S^{r-1}\). At the upper end of the sparse interval the first response is still below this threshold, since \[\frac{a_1}{S^{r-1}}=\frac{S^{2-r}}{\sqrt N}=O(N^{-r/4}).\] At the lower density endpoint the threshold has been crossed by day \(K-1\), because \[\frac{a_{K-1}}{S^{r-1}} =\frac{S^{K-r}}{\sqrt N} \ge T^{-(K-r)/2}N^{((K-r)\alpha_0-1)/2}\longrightarrow\infty.\] These two inequalities are uniform over the whole sparse interval. By minimality, the stopping response lies in the window \[S^{r-1}\le a_d<S^r, \qquad d\le K-1.\]

On this window the nonlinear Gaussian threshold estimate replaces the linear expansion and gives a lead of order \(N\min\{a_d,1\}\) after the next update. The relative error is bounded, up to constants and a fixed logarithmic power, by \[\frac{(\log N)^\ell}{S^r}+S^rN^{-\delta}=o(1).\] Here the lower density bound makes the first term vanish, while \(S=O(N^{1/4})\) and \(r/4<\delta\) handle the second. Moreover \(S\min\{a_d,1\}\ge S^r\gg\log N\), so this lead exceeds the cleanup threshold \(N\log N/S\). Only the next class sizes are needed at this terminal update; there is no need to propagate a further faithful edge-count state. Since \(d\le K-1\), the cleanup lead is present by day \(K\). The jump and \(K\) contraction updates of Lemma 6.3 therefore give unanimity by day \[2K+1=2\left\lfloor\frac1{1-\theta}\right\rfloor+3.\]

For random initial opinions, repeat the binomial window and color-flip argument of Corollary 1.3 with Theorem 1.2 in place of Theorem 1.1; enlarging the window parameter only enlarges the density interval.

Appendix A Enumeration, graphicality, and probabilistic tools

This appendix collects the external inputs and elementary estimates used in Appendix B and Appendix C. Nothing here refers to the setup of Section 2 and Section 3; each result is either quoted from the literature or proved from scratch, and the two later appendices cite only results from here and from the main text.

A.1 Degree-sequence laws and enumeration comparisons

A bigraph is a bipartite graph with a distinguished ordered bipartition; its degree sequence is the pair of degree sequences of the two parts. We write \(G(n,m)\) for a uniformly random simple graph on \([n]\) with \(m\) edges, \(G(\ell,n,m)\) for a uniformly random bigraph with parts \([\ell]\) and \([n]\) and \(m\) edges, and \(\mathbb{G}(n,p)\), respectively \(\mathbb{G}(\ell,n,p)\), for the corresponding models in which each admissible pair is an edge independently with probability \(p\); thus \(\mathbb{G}(n,p)=\mathbb{G}([n],p)\). We have the following definitions of degree sequences in graphs and bigraphs respectively.

Definition A.1. Let \(\mathcal{D}_{n,m}^{\text{graph}}\) be the set of all sequences \(\mathbf{d}\in\{0,\ldots,n-1\}^n\) such that \(\sum_i d_i = 2m\). Let \(\mathbb{P}_{G(n,m)}\) be the probability distribution on \(\mathcal{D}_{n,m}^{\text{graph}}\) given by sampling the degrees of the random graph \(G(n,m)\). Let \(\mathbb{P}_{B(n,m)}\) be the probability distribution on \(\mathcal{D}_{n,m}^{\text{graph}}\) given by sampling \(d_i\sim \mathrm{Bin}(n-1,\tfrac{1}{2})\) and conditioning on \(\sum_i d_i=2m\).

Definition A.2. Let \(\mathcal{D}_{\ell,n,m}^{\text{bigraph}}\) be the set of all sequences \(\mathbf{d}=(\mathbf{s},\mathbf{t})\in\{0,\ldots,n\}^\ell\times\{0,\ldots,\ell\}^n\) such that \(\sum_i s_i = \sum_j t_j = m\). Let \(\mathbb{P}_{G(\ell,n,m)}\) be the probability distribution on \(\mathcal{D}_{\ell,n,m}^{\text{bigraph}}\) given by sampling the degrees of the random bigraph \(G(\ell,n,m)\). Let \(\mathbb{P}_{B(\ell,n,m)}\) be the probability distribution on \(\mathcal{D}_{\ell,n,m}^{\text{bigraph}}\) given by sampling \(s_i\sim \mathrm{Bin}(n,\tfrac{1}{2})\) and \(t_j\sim\mathrm{Bin}(\ell,\tfrac{1}{2})\), and conditioning on \(\sum_i s_i=\sum_j t_j = m\).

In both binomial laws, the choice of success probability \(1/2\) is immaterial after conditioning on the displayed total sums; any fixed success probability in \((0,1)\) gives the same conditional law. We use the following comparison results of Liebenau and Wormald (Liebenau and Wormald 2024, 2023).

Theorem A.3 ((Liebenau and Wormald 2024), Theorem 1.4). Let \(\mu_0>0\) be a sufficiently small constant, and let \(1/2<\alpha<3/5\). Let \(n\) and \(m\) be integers, and let \(d=2m/n\). Assume that \(\mu=\tfrac{d}{n-1}\) satisfies \(\mu\le\mu_0\), and for all fixed \(K>0\), \(\log^K n/n=o(\mu)\). Uniformly over all \(\mathbf{d}\in\mathcal{D}_{n,m}^{\text{graph}}\) with \(|d_i-d|\le d^\alpha\) for all \(i\), we have \[\mathbb{P}_{G(n,m)}(\mathbf{d}) = \mathbb{P}_{B(n,m)}(\mathbf{d})\exp\left(\frac{1}{4} - \frac{\gamma_2(\mathbf{d})^2}{4\mu^2(1-\mu)^2}\right)\left(1+O\left(\frac{\log^2 n}{\sqrt{n}} + d^{5\alpha-3}\right)\right),\] where \(\gamma_2(\mathbf{d}) = \tfrac{1}{(n-1)^2}\sum_i (d_i-d)^2\).

Theorem A.4 ((Liebenau and Wormald 2023), Theorem 1.1, bipartite case). Let \(\mu_0>0\) be a sufficiently small constant, and let \(1/2<\alpha<3/5\). Let \(\ell,n,m\) be integers such that \[\mu:=\frac{m}{n\ell}<\mu_0\text{ and }(\ell+n)^{5-5\alpha}=o(\ell n m^{3-5\alpha}),\] and for all fixed \(K>0\), \(\ell\log^K n + n\log^K\ell = o(m)\). Let \(s=m/\ell\) and \(t=m/n\).

Uniformly over all \((\mathbf{s},\mathbf{t})\in\mathcal{D}_{\ell,n,m}^{\text{bigraph}}\) with \(|s_i-s|\le s^\alpha\) for all \(i\) and \(|t_j-t|\le t^\alpha\) for all \(j\), we have \[\mathbb{P}_{G(\ell,n,m)}((\mathbf{s},\mathbf{t})) = \mathbb{P}_{B(\ell,n,m)}((\mathbf{s},\mathbf{t}))H(\mathbf{s},\mathbf{t})\left(1+O\left(\frac{\log^2 \ell}{\sqrt{\ell}} + \frac{\log^2 n}{\sqrt{n}} + \min\{s,t\}^{5\alpha-5}\frac{m^2}{\ell n}\right)\right),\] where \[H(\mathbf{s},\mathbf{t}) = \exp\left(-\frac{1}{2}\left(1-\frac{\sigma^2(\mathbf{s})}{s(1-\mu)}\right)\left(1-\frac{\sigma^2(\mathbf{t})}{t(1-\mu)}\right)\right)\] where \(\sigma^2(\mathbf{s}) = \tfrac{1}{\ell}\sum_i (s_i-s)^2\) and \(\sigma^2(\mathbf{t}) = \tfrac{1}{n}\sum_j (t_j-t)^2\).

A.2 Binomial point probabilities and Gaussian approximation

We have the following two-tiered estimate for the PDF of a binomial random variable.

Lemma A.5. Fix a real parameter \(\theta\in(1/2,1)\) and a real constant \(T>1\). For all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following is true.

Select \(n'\in\mathbb{Z}\) and \(p'\in(0,1)\) such that \(|n'-n|< T\frac{n}{\sqrt{pn}}\) and \(|p'-p|< T\frac{p}{\sqrt{pn}}\). There exist real numbers \(\mathcal{N}_1\) and \(\mathcal{N}_2\) such that uniformly for \(x\in[-\sqrt{pn}\log n,\sqrt{pn}\log n]\cap(\mathbb{Z}-pn)\), we have \[\mathbb{P}[\mathrm{Bin}(n',p')=pn+x] = (1+O(p\log^2 n))\mathcal{N}_1\left(\frac{p'(n'-pn)}{(1-p')pn}\right)^x\frac{(pn)!(pn)^x}{(pn+x)!}\] and \[\mathbb{P}[\mathrm{Bin}(n',p')=pn+x] = \left(1+O(\log^3 n/\sqrt{pn})\right)\mathcal{N}_2e^{-(x-\alpha\sqrt{pn})^2/2pn}\] where \(\alpha = \sqrt{pn}\log\left(\frac{p'(n'-pn)}{(1-p')pn}\right)\). Factorials with noninteger arguments are interpreted through the Gamma function.

Read proofProof of Lemma A.5

Proof. Uniformly for \(x\in[-\sqrt{pn}\log n,\sqrt{pn}\log n]\cap(\mathbb{Z}-pn)\), we have \[\begin{aligned} \mathbb{P}[\mathrm{Bin}(n',p') = pn + x] &= \frac{n'!}{(pn+x)!(n'-pn-x)!}p'^{pn+x}(1-p')^{n'-pn-x} \\ &= \frac{n'!}{(pn)!(n'-pn)!}p'^{pn}(1-p')^{n'-pn}\cdot\frac{(n'-pn)!}{(n'-pn-x)!}\frac{(pn)!}{(pn+x)!}\left(\frac{p'}{1-p'}\right)^x \\ &= (1+O(p\log^2 n))\frac{n'!}{(pn)!(n'-pn)!}p'^{pn}(1-p')^{n'-pn}\\ &\qquad\cdot(n'-pn)^x\frac{(pn)!}{(pn+x)!}\left(\frac{p'}{1-p'}\right)^x \\ &= (1+O(p\log^2 n))\mathcal{N}_1\left(\frac{p'(n'-pn)}{(1-p')pn}\right)^x\frac{(pn)!(pn)^x}{(pn+x)!}, \end{aligned}\] for some normalization \(\mathcal{N}_1\) independent of \(x\). This proves the first equality.

For the second equality, we use the fact that \[n! = \sqrt{2\pi n}(n/e)^n(1+O(1/n))\] as \(n\to\infty\). Indeed, uniformly for \(x\in[-\sqrt{pn}\log n,\sqrt{pn}\log n]\cap(\mathbb{Z}-pn)\), we have \[\begin{aligned} \frac{(pn+x)!}{(pn)!(pn)^x} &= (1 + O(1/pn))e^{-x}\left(1 + \frac{x}{pn}\right)^{pn+x+\frac{1}{2}} \\ &= (1 + O(1/pn))e^{-x}\exp\left(\left(pn+x+\frac{1}{2}\right)\left[\frac{x}{pn}-\frac{x^2}{2(pn)^2}+ O\left(\frac{\log^3 n}{(pn)^{3/2}}\right)\right]\right) \\ &= \left(1 + O\left(\frac{\log^3 n}{\sqrt{pn}}\right)\right)\exp\left(\frac{x^2}{2pn}\right), \end{aligned}\] which combined with the previous equality implies the second equality. ◻

Theorem A.6. Fix a real parameter \(\theta\in(1/2,1)\), a positive integer \(d\ge 1\), an integer matrix \(M\in\mathbb{Z}^{r\times d}\) with nonzero, pairwise orthogonal rows, an \(r\)-dimensional vector inequality relation \(\ge'\in\{\ge,>\}^r\), a monomial \(\rho\in\mathbb{R}[x_1,\ldots,x_d]\), and a real constant \(T>1\). For all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following is true.

Select \(\eta\in((T^{-1}n,Tn)\cap\mathbb{Z})^d\) such that \(\left\lVert M\eta\right\rVert_\infty < T\frac{n}{\sqrt{pn}}\), and select \(\alpha\in(-T,T)^d\). Then, \[\mathbb{E}[\rho(A-p\eta)\mathbf{1}_{MA\ge'0}] = \mathbb{E}[\rho(X)\mathbf{1}_{MX\ge -pM\eta}] + O(\sqrt{pn}^{\deg\rho-1}\log^{3+\deg\rho+d}n)\] where \(A_t\sim\mathrm{Bin}\left(\eta_t,\frac{\frac{p}{1-p}e^{\alpha_t/\sqrt{p\eta_t}}}{1+\frac{p}{1-p}e^{\alpha_t/\sqrt{p\eta_t}}}\right)\) are all independently sampled, and \(X_t\sim\mathcal{N}(\sqrt{p\eta_t}\alpha_t,p\eta_t)\) are all independently sampled.

Read proofProof of Theorem A.6

Proof. Call a convex region \(\mathcal{C}\) in \(\mathbb{R}^d\) (each boundary can be either open or closed) good if it is bounded by pairwise orthogonal planes with integer normal vectors whose entries are bounded by \(\left\lVert M\right\rVert_\infty\), and distance to the origin bounded by \(\sqrt{pn}\log n\). For such a region, define \[\mathcal{P}_1(\mathcal{C}) := \bigcup_{\substack{x\in \prod_{t\in[d]}(\mathbb{Z}-p\eta_t)\cap[-\sqrt{p\eta_t}\log\eta_t,\sqrt{p\eta_t}\log\eta_t] \\ x\in\mathcal{C}}}\prod_{t\in[d]}[x_t,x_t+1),\] and \[\mathcal{P}_2(\mathcal{C}) := \left\{x\in\prod_{t\in[d]}[-\sqrt{p\eta_t}\log\eta_t,\sqrt{p\eta_t}\log\eta_t] : x\in\mathcal{C}\right\},\] and \[\mathcal{P}_3(\mathcal{C}) := \left\{x\in\mathbb{R}^d : x\in\mathcal{C}\right\}.\]

Note that \(\mathbb{P}[|A_t-p\eta_t| > \sqrt{p\eta_t}\log\eta_t] = O(n^{-\omega(1)})\) by Chernoff’s inequality, so Lemma A.5 gives \[\mathbb{E}[\rho(A-p\eta)\mathbf{1}_{MA\ge'0}] = \frac{\displaystyle\sum_{\substack{x\in\prod_{t\in[d]}(\mathbb{Z}-p\eta_t)\cap[-\sqrt{p\eta_t}\log\eta_t,\sqrt{p\eta_t}\log\eta_t] \\ Mx\ge' -pM\eta}}\rho(x)f(x)}{\displaystyle\sum_{x\in\prod_{t\in[d]}(\mathbb{Z}-p\eta_t)\cap[-\sqrt{p\eta_t}\log\eta_t,\sqrt{p\eta_t}\log\eta_t]}f(x)} + O(\sqrt{pn}^{\deg\rho-1}\log^{3+\deg\rho}n),\] where \[f(x):=\exp\left(-\sum_{t\in[d]}\frac{(x_t-\alpha_t\sqrt{p\eta_t})^2}{2p\eta_t}\right).\] The first step is to turn the summations into integrals over \(\mathcal{P}_1\).

Note that for \(x\in\prod_{t\in[d]}[-\sqrt{p\eta_t}\log\eta_t,\sqrt{p\eta_t}\log\eta_t]\), we have \[f(x+\varepsilon) = f(x) + O(\log n/\sqrt{pn})\] for any \(\varepsilon\in[0,1)^d\). In particular, this implies that \[f(x) = \int_{[0,1)^d}d\varepsilon\, f(x+\varepsilon) + O(\log n/\sqrt{pn})\] and \[\rho(x)f(x) = \int_{[0,1)^d}d\varepsilon\,\rho(x+\varepsilon)f(x+\varepsilon) + O(\sqrt{pn}^{\deg\rho-1}\log^{1+\deg\rho} n)\] for all \(x\in\prod_{t\in[d]}[-\sqrt{p\eta_t}\log\eta_t,\sqrt{p\eta_t}\log\eta_t]\). Thus, letting \(\mathcal{C}_M = \{x\in\mathbb{R}^d : Mx\ge' -pM\eta\}\), we have \[\begin{aligned} \mathbb{E}[\rho(A-p\eta)\mathbf{1}_{MA\ge'0}] &= \frac{\int_{\mathcal{P}_1(\mathcal{C}_M)}dx\,\rho(x)f(x) + O(\sqrt{pn}^{\deg\rho + d-1}\log^{1+\deg\rho + d} n)}{\int_{\mathcal{P}_1(\mathbb{R}^d)}dx\,f(x) + O(\sqrt{pn}^{d-1}\log^{1+d}n)}\\ &\quad+ O(\sqrt{pn}^{\deg\rho-1}\log^{3+\deg\rho}n). \end{aligned}\] There is a constant \(C\) such that for any good \(\mathcal{C}\), \(\mathcal{P}_1\setminus\mathcal{P}_2\) and \(\mathcal{P}_2\setminus\mathcal{P}_1\) are both contained in \(B(\partial\mathcal{P}_2,C)\), and \(\mathrm{vol}\,B(\partial\mathcal{P}_2,C)=O(\sqrt{pn}^{d-1}\log^{d-1}n)\). Therefore, \[\begin{aligned} \mathbb{E}[\rho(A-p\eta)\mathbf{1}_{MA\ge'0}] &= \frac{\int_{\mathcal{P}_2(\mathcal{C}_M)}dx\,\rho(x)f(x) + O(\sqrt{pn}^{\deg\rho + d-1}\log^{1+\deg\rho + d} n)}{\int_{\mathcal{P}_2(\mathbb{R}^d)}dx\,f(x) + O(\sqrt{pn}^{d-1}\log^{1+d}n)}\\ &\quad+ O(\sqrt{pn}^{\deg\rho-1}\log^{3+\deg\rho}n). \end{aligned}\] Note that \(\mathcal{P}_2\subset\mathcal{P}_3\) and \(\mathcal{P}_3\setminus\mathcal{P}_2\subset\{x\in\mathbb{R}^d : \left\lVert x\right\rVert_\infty>C\sqrt{pn}\log n\}\) for some constant \(C\), and \[\begin{aligned} &\int_{\left\lVert x\right\rVert_\infty>C\sqrt{pn}\log n}dx\,f(x) = O(n^{-\omega(1)}) \\ &\int_{\left\lVert x\right\rVert_\infty>C\sqrt{pn}\log n}dx\,\left\lVert\rho(x)\right\rVert_\infty f(x) = O(n^{-\omega(1)}). \end{aligned}\] Therefore, \[\begin{aligned} \mathbb{E}[\rho(A-p\eta)\mathbf{1}_{MA\ge'0}] &= \frac{\int_{\mathcal{P}_3(\mathcal{C}_M)}dx\,\rho(x)f(x) + O(\sqrt{pn}^{\deg\rho + d-1}\log^{1+\deg\rho + d} n)}{\int_{\mathcal{P}_3(\mathbb{R}^d)}dx\,f(x) + O(\sqrt{pn}^{d-1}\log^{1+d}n)}\\ &\quad+ O(\sqrt{pn}^{\deg\rho-1}\log^{3+\deg\rho}n) \\ &= \frac{\int_{x\in\mathcal{C}_M}dx\,\rho(x)f(x)}{\int_{x\in\mathbb{R}^d}dx\, f(x)} + O(\sqrt{pn}^{\deg\rho-1}\log^{3+\deg\rho+d}n), \end{aligned}\] as desired. ◻

The next result is the first-order expansion, in a small tilt of the success probabilities, of the conditional expectations appearing in Theorem A.6. It is the tool with which the idealized process of Section 5 is perturbed (Appendix E). Unlike Theorem A.6, it compares two binomial models with each other rather than with a Gaussian one; the two models need only share the centering \(p\widetilde{\eta}\) and the conditioning event (their trial counts may differ from \(\widetilde\eta\) and from each other), and no structure of \(M\) is used.

Theorem A.7 (Tilted expansion). Fix a real parameter \(\theta\in(1/2,1)\), a positive integer \(d\ge 1\), a matrix \(M\in\mathbb{R}^{r\times d}\), an \(r\)-dimensional vector inequality relation \(\ge'\in\{\ge,>\}^r\), a monomial \(\rho\in\mathbb{R}[x_1,\ldots,x_d]\), and a real constant \(T>1\). For all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following is true.

Select a reference size vector \(\widetilde{\eta}\in((T^{-1}n,Tn)\cap\mathbb{Z})^d\) and trial counts \(\widetilde{\eta}',\eta\in\mathbb{Z}_{\ge1}^d\) such that \(\left\lVert\widetilde{\eta}'-\widetilde{\eta}\right\rVert_\infty,\left\lVert\eta-\widetilde{\eta}\right\rVert_\infty < T\frac{n}{\sqrt{pn}}\), and select \(\widetilde{q},q\in(0,1)^d\) such that \(\left\lVert\widetilde{q}-p\right\rVert_\infty, \left\lVert q-p\right\rVert_\infty< T\frac{p}{\sqrt{pn}}\) and \(\left\lVert\beta\right\rVert_\infty < \frac{T}{\sqrt{pn}\log^2n}\), where \(\beta\in\mathbb{R}^d\) is defined coordinatewise by \[\beta_t:=\log\left(\frac{\frac{q_t}{1-q_t}(\eta_t-p\widetilde{\eta}_t)}{\frac{\widetilde{q}_t}{1-\widetilde{q}_t}(\widetilde{\eta}'_t-p\widetilde{\eta}_t)}\right).\] Let \(A_t\sim\mathrm{Bin}(\eta_t,q_t)\) and \(\widetilde{A}_t\sim\mathrm{Bin}(\widetilde{\eta}'_t,\widetilde{q}_t)\) all be sampled independently. Then \[\begin{aligned} \mathbb{E}[\rho(A-p\widetilde{\eta})\mathbf{1}_{MA\ge'0}] &= \mathbb{E}\left[\rho(\widetilde{A}-p\widetilde{\eta})\mathbf{1}_{M\widetilde{A}\ge'0}\right] \\ &\quad+ \sum_{t\in[d]}\beta_t\,\mathbb{E}\left[(\widetilde{A}_t-p\widetilde{\eta}_t)\rho(\widetilde{A}-p\widetilde{\eta})\mathbf{1}_{M\widetilde{A}\ge'0}\right] \\ &\quad- \sum_{t\in[d]}\beta_t\,\mathbb{E}[\widetilde{A}_t-p\widetilde{\eta}_t]\,\mathbb{E}\left[\rho(\widetilde{A}-p\widetilde{\eta})\mathbf{1}_{M\widetilde{A}\ge' 0}\right] \\ &\quad+ O\left(\max\left\{p,\ \left\lVert\beta\right\rVert_\infty^2\,pn\log^2 n\right\}\sqrt{pn}^{\deg\rho}\log^{2+\deg\rho}n\right). \end{aligned}\]

Read proofProof of Theorem A.7

Proof. Write \(\widetilde{c}:=p\widetilde{\eta}\) for the common center, \(D:=\deg\rho\), and \[\Lambda:=\prod_{t\in[d]}\left(\mathbb{Z}-\widetilde{c}_t\right)\cap\left[-\sqrt{p\widetilde{\eta}_t}\log\widetilde{\eta}_t,\ \sqrt{p\widetilde{\eta}_t}\log\widetilde{\eta}_t\right]\] for the lattice window around the center, and \(\mathcal{R}:=\{x\in\Lambda:Mx\ge'-M\widetilde{c}\}\). Since \(\widetilde{\eta}_t\in(T^{-1}n,Tn)\) we have \(\sqrt{p\widetilde\eta_t}\log\widetilde\eta_t\asymp\sqrt{pn}\log n\), so on \(\Lambda\) every coordinate satisfies \(|x_t|=O(\sqrt{pn}\log n)\) and \(|\rho(x)|=O(\sqrt{pn}^{D}\log^Dn)\). All implied constants below depend only on \(\theta,d,M,\rho,T\).

Step 1: truncation. The means satisfy \(|\mathbb{E}\widetilde{A}_t-\widetilde{c}_t|\le|\widetilde\eta'_t-\widetilde\eta_t|\widetilde q_t+\widetilde\eta_t|\widetilde q_t-p|\le2T\sqrt{pn}+T^2\sqrt{pn}\) and likewise \(|\mathbb{E}A_t-\widetilde{c}_t|\le2T\sqrt{pn}+T^2\sqrt{pn}\), and the variances are \(O(pn)\), so Chernoff’s inequality gives \(\mathbb{P}[A-\widetilde{c}\notin\Lambda]=O(n^{-\omega(1)})\) and \(\mathbb{P}[\widetilde{A}-\widetilde{c}\notin\Lambda]=O(n^{-\omega(1)})\). For large \(n\), the trial counts \(\eta_t\) and \(\widetilde\eta'_t\) are at most \(2Tn\), so \(|\rho(A-\widetilde c)|\) and \(|\rho(\widetilde A-\widetilde c)|\) are deterministically \(O(n^D)\), while multiplying by one centered coordinate gives \(O(n^{D+1})\); the coefficients of \(\rho\) are absorbed into the implied constants. Consequently the contributions of the complement of \(\Lambda\) to all expectations in the statement are \(O(n^{-\omega(1)})\), and the events \(\{MA\ge'0\}\) and \(\{M\widetilde{A}\ge'0\}\) coincide with \(\{A-\widetilde{c}\in\mathcal{R}\}\) and \(\{\widetilde{A}-\widetilde{c}\in\mathcal{R}\}\) on \(\Lambda\), because \(A=\widetilde{c}+x\) satisfies \(MA\ge'0\) if and only if \(Mx\ge'-M\widetilde{c}\), and likewise for \(\widetilde{A}\).

Step 2: the two point probabilities. Apply the first formula of Lemma A.5, for each \(t\), with its \(n\) equal to \(\widetilde{\eta}_t\) (so that its center is \(p\widetilde\eta_t=\widetilde c_t\) and its window is the \(t\)th factor of \(\Lambda\)), its constant \(T\) replaced by \(T^{3/2+\theta}\), and \((n',p')=(\widetilde\eta'_t,\widetilde q_t)\), respectively \((n',p')=(\eta_t,q_t)\); the hypotheses hold because \(p\in(T^{-1-\theta}\widetilde\eta_t^{-\theta},T^{1+\theta}\widetilde\eta_t^{-\theta})\), \(|q_t-p|,|\widetilde q_t-p|<Tp/\sqrt{pn}\le T^{3/2}p/\sqrt{p\widetilde\eta_t}\), and \(|\eta_t-\widetilde\eta_t|,|\widetilde\eta'_t-\widetilde\eta_t|<Tn/\sqrt{pn}\le T^{3/2}\widetilde\eta_t/\sqrt{p\widetilde\eta_t}\). Writing \[\widetilde\kappa_t:=\frac{\widetilde q_t(\widetilde\eta'_t-\widetilde c_t)}{(1-\widetilde q_t)\widetilde c_t},\qquad\kappa_t:=\frac{q_t(\eta_t-\widetilde c_t)}{(1-q_t)\widetilde c_t},\qquad g_t(x):=\frac{\widetilde c_t!\,\widetilde c_t^{\,x}}{(\widetilde c_t+x)!},\qquad w(x):=\prod_{t\in[d]}\widetilde\kappa_t^{\,x_t}g_t(x_t),\] we obtain, uniformly for \(x\in\Lambda\), \[\mathbb{P}\left[\widetilde{A}=\widetilde{c}+x\right]=\left(1+O(p\log^2n)\right)\widetilde{\mathcal{N}}\,w(x),\qquad\mathbb{P}\left[A=\widetilde{c}+x\right]=\left(1+O(p\log^2n)\right)\mathcal{N}\,e^{\beta\cdot x}\,w(x),\] for normalizations \(\widetilde{\mathcal N},\mathcal N\) not depending on \(x\), where we used that \(\kappa_t/\widetilde\kappa_t=e^{\beta_t}\) by the definition of \(\beta\), and that a product of \(d\) factors \(1+O(p\log^2n)\) is again \(1+O(p\log^2n)\).

Step 3: reduction to averages against \(w\). For a function \(h\) on \(\Lambda\) write \[\langle h\rangle:=\frac{\sum_{x\in\Lambda}h(x)w(x)}{\sum_{x\in\Lambda}w(x)}.\] By Step 1, \(\widetilde{\mathcal N}\sum_{x\in\Lambda}(1+O(p\log^2n))w(x)=\mathbb P[\widetilde A-\widetilde c\in\Lambda]=1-O(n^{-\omega(1)})\), so for every function \(h\) on \(\Lambda\) with \(|h|\le H\), \[\label{eq:tilt-average} \begin{aligned} \mathbb{E}\left[h(\widetilde{A}-\widetilde{c})\mathbf{1}_{\widetilde A-\widetilde c\in\Lambda}\right] &=\mathbb P[\widetilde A-\widetilde c\in\Lambda]\, \frac{\sum_{x\in\Lambda}h(x)\left(1+O(p\log^2n)\right)w(x)}{\sum_{x\in\Lambda}\left(1+O(p\log^2n)\right)w(x)}\\ &=\langle h\rangle+O\left(p\log^2n\cdot H\right). \end{aligned}\] The window-mass factor is \(1-O(n^{-\omega(1)})\) by Step 1; its contribution \(O(Hn^{-\omega(1)})\) is absorbed in the displayed error. The same holds for \(A\) with \(w\) replaced by \(e^{\beta\cdot x}w\) in the definition of the average. Applying (A.1) with \(h=\rho\mathbf 1_{\mathcal R}\), \(h=x_t\rho\mathbf 1_{\mathcal R}\), and \(h=x_t\), and using Step 1, \[\label{eq:tilt-conversion} \begin{aligned} \mathbb{E}\left[\rho(\widetilde{A}-\widetilde{c})\mathbf{1}_{M\widetilde{A}\ge'0}\right]&=\langle\rho\mathbf 1_{\mathcal R}\rangle+O\left(p\sqrt{pn}^{D}\log^{2+D}n\right),\\ \mathbb{E}\left[(\widetilde{A}_t-\widetilde{c}_t)\rho(\widetilde{A}-\widetilde{c})\mathbf{1}_{M\widetilde{A}\ge'0}\right]&=\langle x_t\rho\mathbf 1_{\mathcal R}\rangle+O\left(p\sqrt{pn}^{D+1}\log^{3+D}n\right),\\ \mathbb{E}\left[\widetilde{A}_t-\widetilde{c}_t\right]&=\langle x_t\rangle+O\left(p\sqrt{pn}\log^3n\right), \end{aligned}\] and \[\label{eq:tilt-A-side} \mathbb{E}\left[\rho(A-\widetilde{c})\mathbf{1}_{MA\ge'0}\right]=\frac{\sum_{x\in\mathcal R}\rho(x)e^{\beta\cdot x}w(x)}{\sum_{x\in\Lambda}e^{\beta\cdot x}w(x)}+O\left(p\sqrt{pn}^{D}\log^{2+D}n\right).\]

Step 4: expansion of the tilt. On \(\Lambda\) we have \(|\beta\cdot x|\le d\left\lVert\beta\right\rVert_\infty\max_t|x_t|=O(1/\log n)\), so \(e^{\beta\cdot x}=1+\beta\cdot x+O((\beta\cdot x)^2)=1+\beta\cdot x+O(\delta)\) with \(\delta:=\left\lVert\beta\right\rVert_\infty^2pn\log^2n=O(1/\log^2n)\). Inserting this into (A.3), the numerator becomes \(\langle\rho\mathbf 1_{\mathcal R}\rangle+\sum_t\beta_t\langle x_t\rho\mathbf 1_{\mathcal R}\rangle+O(\delta\sqrt{pn}^{D}\log^Dn)\) times \(\sum_\Lambda w\), and the denominator becomes \(1+u+O(\delta)\) times \(\sum_\Lambda w\), where \(u:=\sum_t\beta_t\langle x_t\rangle\). By (A.2) and Step 1, \(\langle x_t\rangle=\mathbb E[\widetilde A_t-\widetilde c_t]+O(p\sqrt{pn}\log^3n)=O(\sqrt{pn})\), so \(|u|=O(\left\lVert\beta\right\rVert_\infty\sqrt{pn})=O(1/\log^2n)\) and \(u^2\le d^2\left\lVert\beta\right\rVert_\infty^2pn\cdot O(1)\le O(\delta)\); hence \((1+u+O(\delta))^{-1}=1-u+O(\delta)\). Multiplying out, and using \(|\langle x_t\rho\mathbf 1_{\mathcal R}\rangle|=O(\sqrt{pn}^{D+1}\log^{D+1}n)\) so that \(\sum_t\beta_t\langle x_t\rho\mathbf 1_{\mathcal R}\rangle\cdot u=O(\left\lVert\beta\right\rVert_\infty^2pn\log^{D+1}n\sqrt{pn}^{D})=O(\delta\sqrt{pn}^D\log^{D}n)\), \[\frac{\sum_{x\in\mathcal R}\rho(x)e^{\beta\cdot x}w(x)}{\sum_{x\in\Lambda}e^{\beta\cdot x}w(x)}=\langle\rho\mathbf 1_{\mathcal R}\rangle+\sum_{t\in[d]}\beta_t\left(\langle x_t\rho\mathbf 1_{\mathcal R}\rangle-\langle x_t\rangle\langle\rho\mathbf 1_{\mathcal R}\rangle\right)+O\left(\delta\sqrt{pn}^{D}\log^{D}n\right).\]

Step 5: conclusion. Substitute (A.2) into the right-hand side. The zeroth-order term contributes an error \(O(p\sqrt{pn}^D\log^{2+D}n)\). In the first-order terms, each \(\beta_t=O(1/(\sqrt{pn}\log^2n))\) multiplies an error of size \(O(p\sqrt{pn}^{D+1}\log^{3+D}n)\), giving \(O(p\sqrt{pn}^{D}\log^{1+D}n)\). Together with (A.3) and the bound \[\delta\sqrt{pn}^D\log^Dn\le\left\lVert\beta\right\rVert_\infty^2\,pn\log^2n\,\sqrt{pn}^D\log^{2+D}n,\] all errors are \(O(\max\{p,\left\lVert\beta\right\rVert_\infty^2pn\log^2n\}\sqrt{pn}^{D}\log^{2+D}n)\), which is the statement. ◻

A.3 Sufficient conditions for graphicality

The following sufficient conditions, consequences of the Erdős–Gallai and Gale–Ryser theorems, are used in Appendix B to show that the degree arrays arising there are graphical.

Lemma A.8. Let \(d_1,\ldots,d_n\) be nonnegative integers with even sum \(S\) and maximum degree \(\Delta\). If \[S\ge \Delta(\Delta+1),\] then \((d_1,\ldots,d_n)\) is graphical.

Read proofProof of Lemma A.8

Proof. Arrange the sequence in nonincreasing order and write \(L_r:=\sum_{i=1}^r d_i\), so that \(L_r\le r\Delta\). By the Erdős–Gallai theorem, it suffices to prove \(L_r\le r(r-1)+\sum_{i=r+1}^n\min(r,d_i)\) for every \(1\le r\le n\). If \(r\ge\Delta\), then \(\min(r,d_i)=d_i\) for \(i>r\), and \[\begin{aligned} r(r-1)+\sum_{i=r+1}^n\min(r,d_i)&=r(r-1)+S-L_r\ge r(r-1)+\Delta(\Delta+1)-r\Delta\\ &=r\Delta+(r-\Delta)(r-\Delta-1)\ge r\Delta\ge L_r, \end{aligned}\] where the second inequality holds because \((r-\Delta)(r-\Delta-1)\ge0\) for every integer \(r\). If \(r<\Delta\), then \(\min(r,d_i)\ge rd_i/\Delta\) for every \(i\), and \[\sum_{i=r+1}^n\min(r,d_i)\ge\frac r\Delta(S-L_r)\ge\frac r\Delta(S-r\Delta)\ge\frac{r}{\Delta}\left(\Delta(\Delta+1)-r\Delta\right)=r\Delta-r(r-1)\ge L_r-r(r-1).\qedhere\] ◻

Lemma A.9. Let \(a_1,\ldots,a_\ell\) and \(b_1,\ldots,b_n\) be nonnegative integer sequences with equal sum \(M\). Let \(\Delta_L:=\max_i a_i\) and \(\Delta_R:=\max_j b_j\). If \[M\ge \Delta_L\Delta_R,\] then the pair of sequences is bipartite-graphical.

Read proofProof of Lemma A.9

Proof. Arrange \(a_1,\ldots,a_\ell\) in nonincreasing order. By Gale–Ryser, it suffices to show \[\sum_{i=1}^r a_i\le\sum_{j=1}^n\min(r,b_j)\] for every \(1\le r\le\ell\). If \(r\ge\Delta_R\), the right side is \(M\), and the inequality is immediate. If \(r<\Delta_R\), then \(\min(r,b_j)\ge r b_j/\Delta_R\) for every \(j\), so the right side is at least \(rM/\Delta_R\ge r\Delta_L\ge\sum_{i=1}^r a_i\). ◻

A.4 Concentration and counting

We have the following second moment bound for the degree sequences of \(\mathbb{G}(n,p)\) and \(\mathbb{G}(\ell,n,p)\); it is used in the proof of Lemma B.3. Recall that \(\deg^G_Sv\) denotes the number of neighbors of \(v\) in \(S\) in the graph \(G\).

Lemma A.10. Fix a real parameter \(\theta\in(1/2,1)\) and constants \(T>1\) and \(K>0\). There exists a constant \(C_{A.10}(K)=C_{A.10}(\theta,T,K)>0\) such that, writing \(C:=C_{A.10}(K)\), for all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\) the following are true.

  1. Sample \(G\sim \mathbb{G}(n,p)\) and let \((d_1,\ldots,d_n)\) be the resulting degree sequence, with mean \(d\). Then, \[\mathbb{P}\left[\sum_{i=1}^n(d_i-d)^2\ge Cpn^2\text{ and }\max_{i\in[n]}|d_i-pn|\le pn\right]\le\exp(-Kn).\]

  2. Consider \(\ell\in\mathbb{Z}\) with \(\ell\in[T^{-1}n,Tn]\). Sample \(G\sim\mathbb{G}(\ell,n,p)\) and let \((s_1,\ldots,s_\ell),(t_1,\ldots,t_n)\) be the resulting degree sequences, with means \(s\) and \(t\) respectively. Then, \[\mathbb{P}\left[\left(\sum_{i=1}^\ell(s_i-s)^2\ge Cp\ell n\text{ or }\sum_{j=1}^n(t_j-t)^2\ge Cp\ell n\right)\text{ and }\mathcal{K}_{\ell,n}\right]\le\exp(-Kn),\] where \(\mathcal{K}_{\ell,n}\) denotes the event that \(|s_i-pn|\le pn\) for all \(i\in[\ell]\) and \(|t_j-p\ell|\le pn\) for all \(j\in[n]\).

Read proofProof of Lemma A.10

Proof. We first record a moment generating function bound for a single truncated binomial variable. Let \(Y\sim\mathrm{Bin}(r,p)\), let \(B>0\) with \(B\ge rp\), write \(\overline{Y}:=Y-rp\), and put \(\lambda:=1/(20B)\). Bernstein’s inequality (Theorem 2.8.4 of (Vershynin 2018)), applied to the \(r\) independent centered Bernoulli variables whose sum is \(\overline{Y}\), which are bounded by \(1\) and whose variances sum to \(rp(1-p)\le B\), gives for \(0\le u\le2B\) \[\mathbb{P}\left[|\overline{Y}|>u\right]\le2\exp\left(-\frac{u^2/2}{B+u/3}\right)\le2\exp\left(-\frac{3u^2}{10B}\right).\] For \(X\ge0\), \(b>0\), and an increasing differentiable \(g\) we have \(\mathbb{E}[g(\min(X,b))]=g(0)+\int_0^bg'(u)\mathbb{P}[X>u]\,du\); applying this with \(X=|\overline{Y}|\), \(b=2B\), and \(g(u)=e^{\lambda u^2}\), and using \(e^{\lambda\overline{Y}^2}\mathbf{1}_{|\overline{Y}|\le2B}\le e^{\lambda\min(|\overline{Y}|,2B)^2}\), \[\begin{aligned} \mathbb{E}\left[e^{\lambda\overline{Y}^2}\mathbf{1}_{|\overline{Y}|\le2B}\right]&\le1+\int_0^{2B}2\lambda u\,e^{\lambda u^2}\,\mathbb{P}\left[|\overline{Y}|>u\right]du\\ &\le1+\int_0^\infty4\lambda u\exp\left(-\frac{u^2}{4B}\right)du=1+8\lambda B=\frac75\le e^{1/2}. \end{aligned}\] Consequently, if \(\overline{Y}_1,\ldots,\overline{Y}_q\) are independent, each of the form \(Y_i-r_ip\) with \(Y_i\sim\mathrm{Bin}(r_i,p)\) and \(r_ip\le B\), then for every \(t>0\), by Markov’s inequality applied to \(\exp(\lambda\sum_i\overline{Y}_i^2)\) on the truncation event, \[\label{eq:trunc-mgf} \mathbb{P}\left[\sum_{i=1}^q\overline{Y}_i^2\ge t\text{ and }\max_i|\overline{Y}_i|\le2B\right]\le e^{-\lambda t}\prod_{i=1}^q\mathbb{E}\left[e^{\lambda\overline{Y}_i^2}\mathbf{1}_{|\overline{Y}_i|\le2B}\right]\le\exp\left(-\frac{t}{20B}+\frac q2\right).\]

We prove (i). Since the empirical mean \(d\) minimizes \(a\mapsto\sum_i(d_i-a)^2\), we have \(\sum_i(d_i-d)^2\le\sum_i(d_i-p(n-1))^2\), so it suffices to bound the probability of \(\mathcal{E}\cap\mathcal{K}\), where \(\mathcal{E}\) is the event that \(\sum_{i=1}^n(d_i-p(n-1))^2\ge Cpn^2\) and \(\mathcal{K}\) is the event that \(|d_i-pn|\le pn\) for all \(i\in[n]\).

We first show that \(\mathcal{E}\) is contained in a union of events that involve only independent variables. Let \(S\) be a uniformly random subset of \([n]\), let \(U=[n]\setminus S\), and let \(\mathbb{E}_S\) denote averaging over the randomness of \(S\) only. For \(v\in[n]\) write \[\Delta_S(v):=\deg^G_Sv-p|S\setminus\{v\}|,\qquad\Delta_U(v):=\deg^G_Uv-p|U\setminus\{v\}|,\] so that \(\Delta_S(v)+\Delta_U(v)=d_v-p(n-1)\). Both \(\Delta_S(v)\) and \(\Delta_U(v)\) are determined by \(G\) and by \(S\setminus\{v\}\), and \(\mathbf{1}_{v\in S}\) is independent of \(S\setminus\{v\}\). Hence \[\begin{aligned} \mathbb{E}_S\left[\mathbf{1}_{v\in U}\Delta_S(v)^2 + \mathbf{1}_{v\in S}\Delta_U(v)^2\right] &=\frac{1}{2}\mathbb{E}_S\left[\Delta_S(v)^2 + \Delta_U(v)^2\right]\\ &\ge\frac{1}{4}\mathbb{E}_S\left[\left(\Delta_S(v)+\Delta_U(v)\right)^2\right] = \frac{1}{4}(d_v-p(n-1))^2. \end{aligned}\] Summing over \(v\), on the event \(\mathcal{E}\) we have \[\mathbb{E}_S\left[\sum_{v\in U}\Delta_S(v)^2 + \sum_{v\in S}\Delta_U(v)^2\right]\ge Cpn^2/4,\] so there is some \(S\subseteq[n]\) with \(\sum_{v\in U}\Delta_S(v)^2\ge Cpn^2/8\) or \(\sum_{v\in S}\Delta_U(v)^2\ge Cpn^2/8\). Exchanging the roles of \(S\) and \(U\) in the second case, and noting that \(\Delta_S(v)=\deg^G_Sv-p|S|\) for \(v\in U\), we conclude that \(\mathcal{E}\subseteq\bigcup_{S\subseteq[n]}\mathcal{E}_S\), where \[\mathcal{E}_S:=\left\{\sum_{v\in[n]\setminus S}(\deg^G_Sv-p|S|)^2\ge Cpn^2/8\right\}.\]

Fix \(S\). Over the randomness of \(G\), the variables \(\deg^G_Sv\) for \(v\in[n]\setminus S\) are independent \(\mathrm{Bin}(|S|,p)\) variables, since they are determined by the disjoint edge sets \(\{v\}\times S\). On \(\mathcal{K}\) we have \(0\le\deg^G_Sv\le d_v\le2pn\) and \(0\le p|S|\le pn\), so \(|\deg^G_Sv-p|S||\le2pn\) for every \(v\). Applying (A.4) with \(B=pn\), \(t=Cpn^2/8\), and \(q=n-|S|\le n\), \[\mathbb{P}[\mathcal{E}_S\cap\mathcal{K}]\le\exp\left(-\frac{Cn}{160}+\frac{n}{2}\right).\] A union bound over the \(2^n\) sets \(S\) gives \(\mathbb{P}[\mathcal{E}\cap\mathcal{K}]\le\exp(-(C/160-1/2-\log2)n)\le\exp(-Kn)\) as soon as \(C\ge160(K+2)\).

For (ii) no bisection is needed: the variables \(s_i\), \(i\in[\ell]\), are independent \(\mathrm{Bin}(n,p)\) variables, and the variables \(t_j\), \(j\in[n]\), are independent \(\mathrm{Bin}(\ell,p)\) variables. As before, \(\sum_i(s_i-s)^2\le\sum_i(s_i-pn)^2\) and \(\sum_j(t_j-t)^2\le\sum_j(t_j-p\ell)^2\). Apply (A.4) with \(B=Tpn\), which is at least \(np\) and at least \(\ell p\), with \(t=Cp\ell n\ge Cpn^2/T\), and with \(q=\ell\le Tn\), respectively \(q=n\); the truncation hypotheses \(|s_i-pn|\le pn\) and \(|t_j-p\ell|\le pn\) are stronger than the required \(|\overline{Y}_i|\le2B\). Each of the two events in question therefore has probability at most \(\exp(-Cn/(20T^2)+Tn/2)\) on the truncation event, and their union has probability at most \(2\exp(-Cn/(20T^2)+Tn/2)\le\exp(-Kn)\) as soon as \(C\ge20T^2(K+T)\). Both parts therefore hold with \(C_{A.10}(K):=\max\{160(K+2),\,20T^2(K+T)\}\). ◻

We have the following basic counting lemma, also used in the proof of Lemma B.3.

Lemma A.11. Fix a real parameter \(\theta\in(1/2,1)\) and constants \(T>1\) and \(C>0\). There exists a constant \(C_{A.11}(C)=C_{A.11}(\theta,T,C)>0\) such that for all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the number of integer sequences \[\left|\left\{(y_1,\ldots,y_n)\in\left([-C\sqrt{np},C\sqrt{np}]\cap\mathbb{Z}\right)^n : y_1+\cdots+y_n = 0 \right\}\right|\] is at least \(\exp(-C_{A.11}(C)\,n)(\sqrt{np})^n\).

Read proofProof of Lemma A.11

Proof. Write \(n_0:=n-\lceil n^{2/3}\rceil\) and \(J:=[-C\sqrt{np},C\sqrt{np}]\cap\mathbb{Z}\), so that \(|J|\ge C\sqrt{np}\). By Chebyshev’s inequality, at least half of all sequences \((y_1,\ldots,y_{n_0})\in J^{n_0}\) have \(|y_1+\cdots+y_{n_0}|\le2C\sqrt{n}\sqrt{np}\). Each such sequence has at least one continuation \((y_{n_0+1},\ldots,y_n)\in J^{n-n_0}\) making the overall sum \(0\), since the remaining \(\lceil n^{2/3}\rceil\) entries, each ranging over the integer interval \(J\), can contribute any integer of absolute value at most \(\lceil n^{2/3}\rceil\lfloor C\sqrt{np}\rfloor\), and \(\lceil n^{2/3}\rceil\lfloor C\sqrt{np}\rfloor\ge 2C\sqrt n\sqrt{np}\) for large \(n\). Therefore, the number of sequences in question is at least \[\frac{1}{2}|J|^{n_0}\ge\frac12\left(C\sqrt{np}\right)^{n-n^{2/3}-1}\ge\exp(-C_{A.11}(C)\,n)(\sqrt{np})^n\] for a suitable constant \(C_{A.11}(C)>0\) depending only on \(\theta\), \(T\), and \(C\) (the factor \((\sqrt{np})^{-n^{2/3}-1}\ge\exp(-n^{2/3}\log n)\) and the factor \(\frac12C^{\,n-n^{2/3}-1}\) are both \(\ge\exp(-O(n))\)), as desired. ◻

A.5 Conditioning a Gaussian vector on an open set

The following elementary facts are used in Section 4 and Appendix D.

Lemma A.12 (Conditioning on an open set). Let \(X\sim\mathcal{N}(\gamma,\Sigma)\) with \(\Sigma\in\mathbb{R}^{d\times d}\) positive definite and let \(\mathcal{O}\subseteq\mathbb{R}^d\) be a nonempty open convex set. Then \(\mathbb{P}[X\in\mathcal{O}]>0\), \(\mathbb{E}[X\mid X\in\mathcal{O}]\in\mathcal{O}\), and \(\mathrm{Cov}(X\mid X\in\mathcal{O})\) is positive definite.

Read proofProof of Lemma A.12

Proof. The density \(\varphi\) of \(X\) is positive on all of \(\mathbb{R}^d\), and \(\mathcal{O}\) is a nonempty open set, hence has positive Lebesgue measure; therefore \(\mathbb{P}[X\in\mathcal{O}]=\int_{\mathcal{O}}\varphi>0\), and the law of \(X\) conditioned on \(\{X\in\mathcal{O}\}\) has the density \(\varphi\mathbb{1}_{\mathcal{O}}/\mathbb{P}[X\in\mathcal{O}]\), which is positive on \(\mathcal{O}\) and vanishes off \(\mathcal{O}\).

Let \(\mu:=\mathbb{E}[X\mid X\in\mathcal{O}]\) and suppose \(\mu\notin\mathcal{O}\). Since \(\mathcal{O}\) is convex and open, the separating hyperplane theorem gives \(u\in\mathbb{R}^d\setminus\{0\}\) with \(u\cdot x\le u\cdot\mu\) for all \(x\in\mathcal{O}\), and the inequality is strict for every \(x\in\mathcal{O}\) because \(\mathcal{O}\) is open. Hence \(u\cdot X<u\cdot\mu\) almost surely under the conditioned law, and taking expectations, \(u\cdot\mu=\mathbb{E}[u\cdot X\mid X\in\mathcal{O}]<u\cdot\mu\), a contradiction. Thus \(\mu\in\mathcal{O}\).

Finally let \(u\in\mathbb{R}^d\setminus\{0\}\). Then \(u^\top\mathrm{Cov}(X\mid X\in\mathcal{O})\,u=\mathrm{Var}(u\cdot X\mid X\in\mathcal{O})\). If this vanished, the conditioned law would be supported on the hyperplane \(\{x:u\cdot x=u\cdot\mu\}\), which has Lebesgue measure zero, whereas the conditioned law has a density that is positive on the open set \(\mathcal{O}\) and therefore gives positive mass to \(\mathcal{O}\) minus any Lebesgue-null set. Hence the variance is positive, and \(\mathrm{Cov}(X\mid X\in\mathcal{O})\) is positive definite. ◻

Appendix B The fiber law: transference to the row model

This appendix proves the lemmas used in the proof of Proposition 3.8 and Proposition 3.9, in the order in which they depend on one another: graphicality of the arrays in the fiber, comparison of the graphical degree law \(\mathsf{G}_{\Pi,m}\) with the conditioned row model, second-moment regularity in both models, and finally the exact-total lower bound and binomial regularity in the row model. Throughout, the notation is that of Definition 3.1 and Definition 3.5, and the tools of Appendix A are used freely.

B.1 Graphicality of the arrays in the fiber

Lemma B.1 (Automatic graphicality). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and \(T>1\). For all sufficiently large \(N\), the following holds. Let \(V\) be a finite set with \(|V|=N\), let \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and let \(\Pi\in\mathrm{Part}_k(V)\) and \(m\in\mathcal{M}(\Pi)\) satisfy \[|\Pi[s]|\ge T^{-1}N\] and \[\left|m[s,t]-p|\Pi[s]||\Pi[t]|\right|\le T\frac{N^2p}{\sqrt{pN}}\] for every \(s,t\in\{0,1\}^k\). If \(\mathbf{d}\in\mathcal{A}(\Pi)\) satisfies \(m(\Pi,\mathbf{d})=m\) and \(\kappa_p(\Pi,\mathbf{d})\), then \(\mathbf{d}\in\mathcal{D}(\Pi)\).

Read proofProof of Lemma B.1

Proof. By Fact 2.1, it suffices to show that for every internal block pair \(\{s,s\}\) the sequence \((\mathbf{d}[x,s])_{x\in\Pi[s]}\) is the degree sequence of some simple graph on \(\Pi[s]\), and that for every bipartite block pair \(\{s,t\}\) the pair of sequences \((\mathbf{d}[x,t])_{x\in\Pi[s]}\), \((\mathbf{d}[y,s])_{y\in\Pi[t]}\) is the pair of degree sequences of some simple bipartite graph between \(\Pi[s]\) and \(\Pi[t]\).

Fix \(s\). The sequence \((\mathbf{d}[x,s])_{x\in\Pi[s]}\) has even sum \(m[s,s]\), and by the assumptions \(m[s,s]\asymp pN^2\). By \(\kappa_p\), \[\Delta_s:=\max_{x\in\Pi[s]}\mathbf{d}[x,s]\le p|\Pi[s]|+(pN)^{4/7}=O(pN).\] Since \(\Delta_s(\Delta_s+1)=O(p^2N^2)=o(pN^2)\), we have \(m[s,s]\ge\Delta_s(\Delta_s+1)\) for all sufficiently large \(N\), and Lemma A.8 implies that there is a simple graph on \(\Pi[s]\) with degree sequence \((\mathbf{d}[x,s])_{x\in\Pi[s]}\). Now fix \(s\ne t\). The two sequences \((\mathbf{d}[x,t])_{x\in\Pi[s]}\) and \((\mathbf{d}[y,s])_{y\in\Pi[t]}\) have the common sum \(m[s,t]\asymp pN^2\), and by \(\kappa_p\) their maxima \(\Delta_{s,t}\) and \(\Delta_{t,s}\) are \(O(pN)\), so \(m[s,t]\ge\Delta_{s,t}\Delta_{t,s}\) for all sufficiently large \(N\), and Lemma A.9 implies that there is a simple bipartite graph between \(\Pi[s]\) and \(\Pi[t]\) with these two degree sequences. Thus \(\mathbf{d}\in\mathcal{D}(\Pi)\). ◻

B.2 Comparison of the graphical and binomial degree laws

Lemma B.2 (Enumeration comparison). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). There is a constant \(C_{B.2}=C_{B.2}(\theta,k,T)>0\), and for every \(C_\Gamma>0\) a constant \(C'_{B.2}(C_\Gamma)=C'_{B.2}(\theta,k,T,C_\Gamma)>1\), such that for all sufficiently large \(N\) the following holds. Let \(V\) be a finite set with \(|V|=N\), let \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), suppose that \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible with \(y=(\Pi,m,1)\), and let \(\mathbf{d}\in\mathcal{A}(\Pi)\) satisfy \(m(\Pi,\mathbf{d})=m\) and \(\kappa_p(\Pi,\mathbf{d})\).

  1. (Weak comparison.) \[\begin{aligned} \mathsf{G}_{\Pi,m}(\mathbf{d})&\le\exp\{C_{B.2}(pN)^{2/7}\}\,\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid m(\Pi,\mathbf{D})=m),\\ \mathsf{G}_{\Pi,m}(\mathbf{d})&\ge\exp\{-C_{B.2}(pN)^{2/7}\}\,\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid m(\Pi,\mathbf{D})=m). \end{aligned}\]

  2. (Strong comparison.) If \(\mathbf{d}\) also satisfies \(\Gamma_{C_\Gamma,p}(\Pi,m,\mathbf{d})\), then \[\begin{aligned} \mathsf{G}_{\Pi,m}(\mathbf{d})&\le C'_{B.2}(C_\Gamma)\,\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid m(\Pi,\mathbf{D})=m),\\ \mathsf{G}_{\Pi,m}(\mathbf{d})&\ge C'_{B.2}(C_\Gamma)^{-1}\,\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid m(\Pi,\mathbf{D})=m). \end{aligned}\]

Read proofProof of Lemma B.2

Proof. Factorization over block pairs. Write \(\{m\}:=\{\mathbf{d}'\in\mathcal{A}(\Pi):m(\Pi,\mathbf{d}')=m\}\). For \(\mathbf{d}\in\{m\}\) and a block pair \(\{s,t\}\) of \(\Pi\), let \(\mathbf{d}_{s,s}:=(\mathbf{d}[x,s])_{x\in\Pi[s]}\) be the degree sequence of \(\mathbf{d}\) on the internal block pair \(\{s,s\}\), which has sum \(m[s,s]\), and let \(\mathbf{d}_{s,t}:=\big((\mathbf{d}[x,t])_{x\in\Pi[s]},(\mathbf{d}[y,s])_{y\in\Pi[t]}\big)\) be its pair of degree sequences on the bipartite block pair \(\{s,t\}\), which have common sum \(m[s,t]\). The array \(\mathbf{d}\) is the same as the collection of these sequences, and both laws in the statement factor over block pairs, in the notation of Definition A.1 and Definition A.2: \[\label{eq:enum-factor} \begin{aligned} \mathsf{G}_{\Pi,m}(\mathbf{d})&=\prod_{s\in\{0,1\}^k}\mathbb{P}_{G(n[s],m[s,s]/2)}(\mathbf{d}_{s,s})\prod_{\{s,t\}:\,s\ne t}\mathbb{P}_{G(n[s],n[t],m[s,t])}(\mathbf{d}_{s,t}),\\ \mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\{m\})&=\prod_{s\in\{0,1\}^k}\mathbb{P}_{B(n[s],m[s,s]/2)}(\mathbf{d}_{s,s})\prod_{\{s,t\}:\,s\ne t}\mathbb{P}_{B(n[s],n[t],m[s,t])}(\mathbf{d}_{s,t}). \end{aligned}\] The first identity is Definition 3.5: under \(\mathsf{G}_{\Pi,m}\), the restrictions of \(G\) to the block pairs are independent uniformly random simple graphs on \(\Pi[s]\) with \(m[s,s]/2\) edges, respectively bipartite graphs between \(\Pi[s]\) and \(\Pi[t]\) with \(m[s,t]\) edges. For the second identity, \(\mathsf{R}_{\Pi,\lambda}\) is a product law and \(\{m\}\) is an intersection of one constraint per block pair, so the block-pair sequences remain independent after conditioning; and for independent binomial variables with a common success probability \(\lambda\), every point probability on the event that their sum equals \(M\) carries the same factor \(\lambda^{M}(1-\lambda)^{\text{trials}-M}\), so the conditional law given the sum does not depend on \(\lambda\) and coincides with the laws \(\mathbb{P}_{B(\cdot)}\), which were defined with success probability \(1/2\). In particular the numerical values of \(\lambda[s,t]\) play no role in this proof.

Hypotheses of the enumeration theorems. Write \(\bar d_{s,t}:=m[s,t]/n[s]\) for the average of the sequence \((\mathbf{d}[x,t])_{x\in\Pi[s]}\). By (LA2), \(n[s]\asymp N\); by (LA2) and (LA3), \(\bar d_{s,t}\asymp pN\) and \[\label{eq:enum-avg} \left|\bar d_{s,t}-p\,n[t]\right|\le\frac{TN^2p}{\sqrt{pN}\,n[s]}\le T^2\sqrt{pN}.\] Hence \(\kappa_p(\Pi,\mathbf{d})\) and (B.2) give, for all \(s,t\in\{0,1\}^k\) and \(x\in\Pi[s]\), \[\label{eq:enum-entry} \left|\mathbf{d}[x,t]-\bar d_{s,t}\right|\le(pN)^{4/7}+T^2\sqrt{pN}\le2(pN)^{4/7}\le\bar d_{s,t}^{\,7/12}\] for large \(N\), which is the maximum-degree hypothesis of Theorem A.3 and Theorem A.4 with \(\alpha=7/12\), applied to each block pair after identifying \(\Pi[s]\) with \([n[s]]\). Their remaining hypotheses hold as well: the densities \(\mu_s\) and \(\mu_{s,t}\) defined below are \(\asymp p\to0\); the average degrees are \(\asymp pN\ge T^{-1}N^{1-\theta}\), so \(\log^KN/N=o(\mu_s)\) and \(N\log^KN=o(m[s,t])\) for every fixed \(K\); and for \(\alpha=7/12\) the condition \((\ell+n)^{5-5\alpha}=o(\ell n\,m^{3-5\alpha})\) of Theorem A.4, with \(\ell=n[s]\), \(n=n[t]\), \(m=m[s,t]\), reads \(N^{25/12}=o(N^{2}(pN^2)^{1/12})\) up to constants, that is, \((pN)^{1/12}\to\infty\). Every \(\mathbf{d}\) in the statement is graphical by Lemma B.1, whose hypotheses are supplied by (LA2) and (LA3); thus each block-pair degree sequence of \(\mathbf{d}\) is realized by a simple graph, respectively bipartite graph, so the left-hand sides in (B.4) below are positive.

The block-pair ratios. Put \(\mu_s:=\bar d_{s,s}/(n[s]-1)\), \(\mu_{s,t}:=m[s,t]/(n[s]n[t])\), both \(\asymp p\), and \[\gamma_2(\mathbf{d}_{s,s}):=\frac{1}{(n[s]-1)^2}\sum_{x\in\Pi[s]}\left(\mathbf{d}[x,s]-\bar d_{s,s}\right)^2,\qquad \sigma^2_{s,t}:=\frac{1}{n[s]}\sum_{x\in\Pi[s]}\left(\mathbf{d}[x,t]-\bar d_{s,t}\right)^2 .\] The error terms of Theorem A.3 and Theorem A.4 are \(o(1)\) in the present ranges: with \(\alpha=7/12\) they are \(O(\log^2N/\sqrt N+(pN)^{-1/12})\), respectively \(O(\log^2N/\sqrt N+(pN)^{-25/12}\cdot p^2N^2)=O(\log^2N/\sqrt N+(pN)^{-1/12})\). The theorems therefore read \[\label{eq:enum-ratios} \begin{aligned} \frac{\mathbb{P}_{G(n[s],m[s,s]/2)}(\mathbf{d}_{s,s})}{\mathbb{P}_{B(n[s],m[s,s]/2)}(\mathbf{d}_{s,s})}&=(1+o(1))\exp\left(\frac14-\frac{\gamma_2(\mathbf{d}_{s,s})^2}{4\mu_s^2(1-\mu_s)^2}\right),\\ \frac{\mathbb{P}_{G(n[s],n[t],m[s,t])}(\mathbf{d}_{s,t})}{\mathbb{P}_{B(n[s],n[t],m[s,t])}(\mathbf{d}_{s,t})}&=(1+o(1))H_{s,t}, \end{aligned}\] where \[H_{s,t}:=\exp\left(-\frac12\left(1-\frac{\sigma^2_{s,t}}{\bar d_{s,t}(1-\mu_{s,t})}\right)\left(1-\frac{\sigma^2_{t,s}}{\bar d_{t,s}(1-\mu_{s,t})}\right)\right).\] Taking logarithms in (B.1) and substituting (B.4), \[\label{eq:enum-log} \log\frac{\mathsf{G}_{\Pi,m}(\mathbf{d})}{\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\{m\})} =\sum_{s\in\{0,1\}^k}\left(\frac14-\frac{\gamma_2(\mathbf{d}_{s,s})^2}{4\mu_s^2(1-\mu_s)^2}\right)+\sum_{\{s,t\}:\,s\ne t}\log H_{s,t}+o(1).\]

Proof of (i). By (B.3), \[\gamma_2(\mathbf{d}_{s,s})\le\frac{4n[s](pN)^{8/7}}{(n[s]-1)^2}=O\left(p(pN)^{1/7}\right),\qquad \frac{\gamma_2(\mathbf{d}_{s,s})^2}{4\mu_s^2(1-\mu_s)^2}=O\left(\frac{p^2(pN)^{2/7}}{p^2}\right)=O\left((pN)^{2/7}\right),\] and \[\sigma^2_{s,t}\le4(pN)^{8/7},\qquad \frac{\sigma^2_{s,t}}{\bar d_{s,t}(1-\mu_{s,t})}=O\left((pN)^{1/7}\right),\] so that \(|\log H_{s,t}|\le\frac12\left(1+O\left((pN)^{1/7}\right)\right)^2=O\left((pN)^{2/7}\right)\). Each of the \(2^k+\binom{2^k}{2}\) terms in (B.5) is therefore \(O((pN)^{2/7})\) in absolute value, with implied constants depending only on \(\theta,k,T\); this is (i).

Proof of (ii). If \(\Gamma_{C_\Gamma,p}(\Pi,m,\mathbf{d})\) holds, then \(\sum_{x\in\Pi[s]}(\mathbf{d}[x,t]-\bar d_{s,t})^2\le C_\Gamma pN^2\) for all \(s,t\), so in place of the bounds above, \[\begin{aligned} \gamma_2(\mathbf{d}_{s,s})&\le\frac{C_\Gamma pN^2}{(n[s]-1)^2}=O(C_\Gamma p),& \frac{\gamma_2(\mathbf{d}_{s,s})^2}{4\mu_s^2(1-\mu_s)^2}&=O\left(C_\Gamma^2\right),\\ \sigma^2_{s,t}&\le\frac{C_\Gamma pN^2}{n[s]}=O(C_\Gamma pN),& |\log H_{s,t}|&=O\left((1+C_\Gamma)^2\right), \end{aligned}\] and every term in (B.5) is bounded in absolute value by a constant depending only on \(\theta,k,T,C_\Gamma\); this is (ii). ◻

B.3 Second-moment regularity

Lemma B.3 (Graphical fiber second-moment regularity). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). There exists a constant \(C_{B.3}=C_{B.3}(\theta,k,T,\phi)\ge1\) such that for all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and every finite set \(V\) with \(|V|=N\), if \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible with \(y=(\Pi,m,1)\in\mathcal{Y}_k(V)\), then \[\mathsf{G}_{\Pi,m}\left(\Gamma_{C_{B.3},p}(\Pi,m,\mathbf{D})\mid\mathcal{I}_\Pi,\kappa_p(\Pi,\mathbf{D})\right)\ge1-e^{-N}.\]

Read proofProof of Lemma B.3

Proof. Let \(P_{\Pi,p}\) denote the law of \(\delta(\Pi,G)\) for \(G\sim\mathbb{G}(V,p)\), with the partition \(\Pi\) fixed, and abbreviate \(\{m\}:=\{\mathbf{D}\in\mathcal{A}(\Pi):m(\Pi,\mathbf{D})=m\}\), \(\kappa_p:=\kappa_p(\Pi,\cdot)\), and \(\Gamma_C:=\Gamma_{C,p}(\Pi,m,\cdot)\) for \(C>0\). By Definition 3.5, \(\mathsf{G}_{\Pi,m}=P_{\Pi,p}[\,\cdot\mid\{m\}]\), so for every event \(E\subseteq\mathcal{A}(\Pi)\), \[\label{eq:G-as-conditional} \mathsf{G}_{\Pi,m}(E)=\frac{P_{\Pi,p}\left[E\cap\{m\}\right]}{P_{\Pi,p}\left[\{m\}\right]}.\] Applying (B.6) to numerator and denominator, the quantity to be bounded is \[\label{eq:gamma-goal} \mathsf{G}_{\Pi,m}\left(\Gamma_{C_{B.3}}^c\mid\mathcal{I}_\Pi\cap\kappa_p\right) =\frac{\mathsf{G}_{\Pi,m}\left(\Gamma_{C_{B.3}}^c\cap\mathcal{I}_\Pi\cap\kappa_p\right)}{\mathsf{G}_{\Pi,m}\left(\mathcal{I}_\Pi\cap\kappa_p\right)} =\frac{P_{\Pi,p}\left[\Gamma_{C_{B.3}}^c\cap\mathcal{I}_\Pi\cap\kappa_p\cap\{m\}\right]}{P_{\Pi,p}\left[\mathcal{I}_\Pi\cap\kappa_p\cap\{m\}\right]}.\] We will exhibit a constant \(C_5\), depending only on \(\theta,k,T,\phi\) and not on \(C_{B.3}\), such that the denominator is at least \(e^{-C_5N}\) (Steps 1–3), and then choose \(C_{B.3}\) so that the numerator is at most \(e^{-(C_5+1)N}\) (Step 4). The constants \(C_0,\ldots,C_5\) and \(C_\ast\) below are internal to this proof and depend only on \(\theta,k,T,\phi\).

Step 1: lower bound for \(P_{\Pi,p}[\{m\}]\). Under \(P_{\Pi,p}\), the edge counts of the block pairs of \(\Pi\) are independent, so \(P_{\Pi,p}[\{m\}]\) is the product, over the block pairs of \(\Pi\), of the probabilities that the edge count of the internal block pair \(\{s,s\}\) equals \(m[s,s]/2\), respectively that the edge count of the bipartite block pair \(\{s,t\}\) equals \(m[s,t]\). Each such edge count is a binomial variable \(\mathrm{Bin}(R,p)\) with \(R=\binom{n[s]}{2}\), respectively \(R=n[s]n[t]\), so that \(Rp\asymp N^2p\) by (LA2), and by (LA3) the target value \(j\) (\(=m[s,s]/2\), respectively \(m[s,t]\)) satisfies \(|j-Rp|=O(N^2p/\sqrt{pN})\). We use the following elementary lower bound for binomial point probabilities. For an integer \(0<j<R\), put \(q:=j/R\). The term \(\binom Rj q^j(1-q)^{R-j}\) is the largest of the \(R+1\) terms of the binomial distribution \(\mathrm{Bin}(R,q)\), whose mode is at \(\lfloor(R+1)q\rfloor=j\), and these terms sum to \(1\), so \(\binom Rj q^j(1-q)^{R-j}\ge(R+1)^{-1}\). Therefore \[\begin{aligned} \mathbb P[\mathrm{Bin}(R,p)=j]=\binom Rj p^j(1-p)^{R-j} &\ge\frac{1}{R+1}\left(\frac pq\right)^{j}\left(\frac{1-p}{1-q}\right)^{R-j} =\frac{1}{R+1}\exp\left(-R\,D(q\,\|\,p)\right)\\ &\ge\frac{1}{R+1}\exp\left(-\frac{(j-Rp)^2}{Rp(1-p)}\right), \end{aligned}\] where \(D(q\|p)=q\log\frac qp+(1-q)\log\frac{1-q}{1-p}\), and the last step uses \(\log u\le u-1\) twice: \(q\log\frac qp\le\frac{q(q-p)}{p}\) and \((1-q)\log\frac{1-q}{1-p}\le\frac{(1-q)(p-q)}{1-p}\), whose sum is \(\frac{(q-p)^2}{p(1-p)}\). In our situation \((j-Rp)^2/(Rp)=O\left(N^4p^2/(pN\cdot N^2p)\right)=O(N)\) and \(\log(R+1)=O(\log N)\), so each of the \(2^k+\binom{2^k}{2}\) probabilities is at least \(\exp(-C_0N)\) for a constant \(C_0=C_0(\theta,k,T)\), and hence, with \(C_1:=(2^k+\binom{2^k}{2})C_0\), \[\label{eq:m-lower} P_{\Pi,p}\left[\{m\}\right]\ge \exp(-C_1N).\]

Step 2: a large set \(\mathcal{E}_0\) of good arrays. Let \(\mathcal E_0\) be the set of arrays \(\mathbf d\in\mathcal{A}(\Pi)\) with \(m(\Pi,\mathbf d)=m\) and \[\label{eq:E0-window} \left|\mathbf d[x,t]-\frac{m[s,t]}{n[s]}\right|\le \frac{0.01}{T2^k}\sqrt{pN} \qquad\text{for every }s,t\in\{0,1\}^k\text{ and }x\in\Pi[s].\] Every array in \(\mathcal E_0\) satisfies \(\mathcal{I}_\Pi\). Indeed, fix \(s\in\{0,1\}^k\), \(x\in\Pi[s]\), and \(1\le r\le k-1\). Summing (B.9) over the \(2^k\) values of \(t\), \[\left|\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}\mathbf d[x,t]-\frac{1}{n[s]}\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}m[s,t]\right|\le\frac{0.01}{T}\sqrt{pN},\] while (LA5) together with \(n[s]\le N\) gives \[\left|\frac{1}{n[s]}\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}m[s,t]\right|\ge\frac{1}{n[s]}\cdot T^{-1}\frac{N^2p}{\sqrt{pN}}\ge T^{-1}\sqrt{pN},\] with the sign of the sum equal to \((-1)^{s[r]}\). Hence \(\sum_{t}(-1)^{t[r-1]}\mathbf d[x,t]\) is nonzero with sign \((-1)^{s[r]}\), which is exactly the \(r\)th inequality in \(\mathcal{I}_s(\mathbf d[x,\bullet])\) (both the weak and the strict form). Every array in \(\mathcal E_0\) also satisfies \(\kappa_p\): by (LA2) and (LA3), \(|m[s,t]/n[s]-p\,n[t]|\le TN^2p/(\sqrt{pN}\,n[s])\le T^2\sqrt{pN}\), so (B.9) gives \(|\mathbf d[x,t]-p\,n[t]|\le(T^2+0.01)\sqrt{pN}\le(pN)^{4/7}\) for all sufficiently large \(N\). Finally, squaring and summing (B.9) over \(x\in\Pi[s]\) gives \(\sum_{x\in\Pi[s]}(\mathbf d[x,t]-m[s,t]/n[s])^2\le 10^{-4}pN^2\), so every array in \(\mathcal E_0\) satisfies \(\Gamma_1\), and hence \(\Gamma_{C}\) for every \(C\ge1\). In summary, \[\label{eq:E0-inclusion} \mathcal{E}_0\subseteq\{m\}\cap\mathcal{I}_\Pi\cap\kappa_p\cap\Gamma_1\subseteq\{m\}\cap\mathcal{I}_\Pi\cap\kappa_p\cap\Gamma_{C}\qquad(C\ge1),\] and by Lemma B.1 every array in \(\mathcal{E}_0\) is graphical.

Step 3: lower bound for the denominator of (B.7). We first lower bound \(\mathsf{G}_{\Pi,m}(\mathcal{E}_0)\) by summing pointwise bounds over \(\mathcal{E}_0\). We claim that, under the law \(\mathsf{R}_{\Pi,\lambda}(\cdot\mid\{m\})\), each array in \(\mathcal E_0\) has probability at least \[\label{eq:E0-point} \mathsf{R}_{\Pi,\lambda}\left(\mathbf{d}\mid\{m\}\right)\ge(pN)^{-2^kN/2}\exp(-C_2N)\qquad\text{for every }\mathbf{d}\in\mathcal{E}_0,\] with \(C_2\) depending only on \(\theta,k,T\). To see this, fix \(\mathbf{d}\in\mathcal{E}_0\). Since \(\mathbf{d}\in\{m\}\), conditioning can only increase its probability, \(\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\{m\})\ge\mathsf{R}_{\Pi,\lambda}(\mathbf{d})\), and by the product structure of \(\mathsf{R}_{\Pi,\lambda}\), \[\mathsf{R}_{\Pi,\lambda}(\mathbf{d})=\prod_{s\in\{0,1\}^k}\prod_{x\in\Pi[s]}\prod_{t\in\{0,1\}^k}\mathbb{P}\left[\mathrm{Bin}\left(n[t]-\mathbb{1}_{s=t},\lambda[s,t]\right)=\mathbf{d}[x,t]\right],\] a product of \(2^kN\) binomial point probabilities. Each of them is a point probability at a bounded number of standard deviations from the mean: by (B.9), (LA2), (LA3), and (LA6), \[\left|\mathbf{d}[x,t]-p\,n[t]\right|\le\left|\mathbf{d}[x,t]-\frac{m[s,t]}{n[s]}\right|+\left|\frac{m[s,t]}{n[s]}-p\,n[t]\right|\le(0.01+T^2)\sqrt{pN},\] while the parameters \(n':=n[t]-\mathbb{1}_{s=t}\) and \(p':=\lambda[s,t]\) of the binomial satisfy \(|n'-n[t]|\le1\) and \(|p'-p|\le Tp/\sqrt{pN}\). We may therefore apply Lemma A.5 with its \(n\) equal to \(n[t]\) (note \(p\in(T'^{-1}n[t]^{-\theta},T'n[t]^{-\theta})\) for \(T':=T^{1+\theta}\), by (LA2)), its \((n',p')\) as above, and \(\xi:=\mathbf{d}[x,t]-p\,n[t]\) in the role of the variable \(x\) of the lemma; by the previous display, \(\xi\) lies in the window \(|\xi|\le\sqrt{p\,n[t]}\log n[t]\) of the lemma. In its second formula the parameter \(\alpha=\sqrt{pn}\log\left(p'(n'-pn)/((1-p')pn)\right)\) is bounded by a constant depending only on \(T\), because \(p'/p=1+O(1/\sqrt{pN})\) and \((n'-pn)/((1-p')n)=1+O(p+1/n)\); and the normalization satisfies \(\mathcal{N}_2=(1+o(1))(2\pi p\,n[t])^{-1/2}\), as one sees by summing the formula over the window (which carries all but \(N^{-\omega(1)}\) of the mass, by Chernoff’s inequality). Hence \[\begin{aligned} \mathbb{P}\left[\mathrm{Bin}\left(n[t]-\mathbb{1}_{s=t},\lambda[s,t]\right)=\mathbf{d}[x,t]\right] &\ge\frac{1+o(1)}{\sqrt{2\pi p\,n[t]}}\exp\left(-\frac{\left((0.01+T^2)\sqrt{pN}+|\alpha|\sqrt{p\,n[t]}\right)^2}{2p\,n[t]}\right)\\ &\ge\frac{c}{\sqrt{pN}} \end{aligned}\] for a constant \(c=c(\theta,k,T)>0\), where we used \(T^{-1}N\le n[t]\le N\) in the last step. Taking the product over the \(2^kN\) entries gives (B.11) with \(C_2:=2^k\log(1/c)\).

Next we count \(\mathcal{E}_0\). An array \(\mathbf{d}\) with \(m(\Pi,\mathbf{d})=m\) is specified by choosing, for each of the \(2^{2k}\) ordered pairs \((s,t)\), the integer sequence \((\mathbf{d}[x,t])_{x\in\Pi[s]}\) with sum \(m[s,t]\). Fix \((s,t)\), write \(w:=0.01\sqrt{pN}/(T2^k)\), and write \(m[s,t]=q\,n[s]+r\) with \(q\in\mathbb{Z}\) and \(0\le r<n[s]\). Let \(\mathbf{b}\) be the sequence taking the value \(q+1\) on \(r\) fixed elements of \(\Pi[s]\) and \(q\) on the remaining \(n[s]-r\); then \(\sum_x\mathbf{b}[x]=m[s,t]\) and \(|\mathbf{b}[x]-m[s,t]/n[s]|\le1\) for every \(x\). For every integer sequence \((y_x)_{x\in\Pi[s]}\) with \(\sum_xy_x=0\) and \(|y_x|\le w-1\), the sequence \(\mathbf{b}+y\) has sum \(m[s,t]\) and satisfies (B.9); its entries lie in \([0,n[t]-\mathbb{1}_{s=t}]\) for all sufficiently large \(N\), because they are within \(w\) of \(m[s,t]/n[s]=p\,n[t]+O(\sqrt{pN})\), so the resulting arrays lie in \(\mathcal{A}(\Pi)\) and hence in \(\mathcal{E}_0\). By Lemma A.11, applied with \(n=n[s]\), with its constant \(T\) equal to \(T^{1+\theta}\) (so that its hypothesis on \(p\) holds, because \(n[s]\in[T^{-1}N,N]\) by (LA2)), and with its parameter \(C\) equal to \(c_0:=0.005/(T2^k)\) (so that \(c_0\sqrt{n[s]p}\le w-1\) for large \(N\)), the number of such sequences \(y\) is at least \[\exp\left(-C_{A.11}(\theta,T^{1+\theta},c_0)\,n[s]\right)\left(\sqrt{n[s]p}\right)^{n[s]}\ge\exp\left(-\left(C_{A.11}(\theta,T^{1+\theta},c_0)+\tfrac12\log T\right)N\right)(pN)^{n[s]/2},\] using \(T^{-1}N\le n[s]\le N\). Multiplying over the \(2^{2k}\) ordered pairs \((s,t)\), and using \(\sum_{s,t}n[s]=2^kN\), we obtain, with \(C_3:=2^{2k}(C_{A.11}(\theta,T^{1+\theta},c_0)+\tfrac12\log T)\), \[\label{eq:E0-count} |\mathcal{E}_0|\ge(pN)^{2^kN/2}\exp(-C_3N).\] Now, by (B.10), every \(\mathbf{d}\in\mathcal{E}_0\) is a graphical array satisfying \(m(\Pi,\mathbf{d})=m\), \(\kappa_p\), and \(\Gamma_1\), so Lemma B.2(ii), applied with its parameter \(C_\Gamma\) equal to \(1\), gives \(\mathsf{G}_{\Pi,m}(\mathbf{d})\ge C_\ast^{-1}\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\{m\})\) for every \(\mathbf{d}\in\mathcal{E}_0\), where \(C_\ast:=C'_{B.2}(\theta,k,T,1)\). Summing this over \(\mathbf{d}\in\mathcal{E}_0\) and using (B.11) and (B.12), \[\label{eq:G-E0} \begin{aligned} \mathsf{G}_{\Pi,m}(\mathcal{E}_0)=\sum_{\mathbf{d}\in\mathcal{E}_0}\mathsf{G}_{\Pi,m}(\mathbf{d}) &\ge C_\ast^{-1}\,|\mathcal{E}_0|\,(pN)^{-2^kN/2}e^{-C_2N}\\ &\ge C_\ast^{-1}e^{-(C_2+C_3)N} \ge e^{-C_4N},\qquad C_4:=C_2+C_3+\log C_\ast. \end{aligned}\] Unwinding the definition of \(\mathsf{G}_{\Pi,m}\) through (B.6) and using (B.8), \[\label{eq:P-E0} P_{\Pi,p}\left[\mathcal{E}_0\right]=P_{\Pi,p}\left[\mathcal{E}_0\cap\{m\}\right]=\mathsf{G}_{\Pi,m}(\mathcal{E}_0)\,P_{\Pi,p}\left[\{m\}\right]\ge e^{-C_4N}e^{-C_1N}=:e^{-C_5N}.\] Finally, by (B.10) the denominator of (B.7) satisfies \[\label{eq:gamma-denominator} P_{\Pi,p}\left[\mathcal{I}_\Pi\cap\kappa_p\cap\{m\}\right]\ge P_{\Pi,p}\left[\mathcal{E}_0\right]\ge e^{-C_5N}.\] The constant \(C_5=C_1+C_4\) depends only on \(\theta,k,T,\phi\); in particular it does not depend on \(C_{B.3}\).

Step 4: upper bound for the numerator of (B.7), and choice of \(C_{B.3}\). For \(C>0\), on the event \(\{m\}\) the assertions \(\Gamma_{C}(\mathbf{D})=\Gamma_{C,p}(\Pi,m,\mathbf{D})\) and \(\Gamma_{C,p}(\Pi,m(\Pi,\mathbf{D}),\mathbf{D})\) coincide, and the latter is the assertion that, for every internal block pair \(\{s,s\}\) and every bipartite block pair \(\{s,t\}\), the corresponding block-pair degree sequences of \(G\) have sum of squared deviations from their means at most \(CpN^2\). We retain the event \(\kappa_p\) in the numerator because it supplies the truncation hypothesis of Lemma A.10: \(\kappa_p\) asserts that \(|\mathbf{D}[x,t]-p\,n[t]|\le(pN)^{4/7}\) for all \(x\in V\) and \(t\in\{0,1\}^k\), and \((pN)^{4/7}\le p\,n[t]\) for all sufficiently large \(N\) because \(n[t]\ge T^{-1}N\) by (LA2). Under \(P_{\Pi,p}\), the graph induced on \(\Pi[s]\) is distributed as \(\mathbb{G}(n[s],p)\) and the bipartite graph between \(\Pi[s]\) and \(\Pi[t]\) as \(\mathbb{G}(n[s],n[t],p)\). Apply Lemma A.10(i) to each internal block pair, with \(n=n[s]\), and Lemma A.10(ii) to each bipartite block pair, with \(n=n[t]\) and \(\ell=n[s]\), in both cases with the constant \(T\) of the lemma replaced by \(T^{1+\theta}\) (so that its hypotheses on \(p\) and on \(\ell\) hold) and with \(K:=T(2C_5+2)\), and put \(C_{B.3}:=\max\{1,C_{A.10}(\theta,T^{1+\theta},K)\}\), which depends only on \(\theta,k,T,\phi\). On \(\kappa_p\) the truncation hypotheses of the lemma hold, by the previous paragraph. Since \(n[s],n[t]\ge T^{-1}N\), each application has failure probability at most \(e^{-KN/T}=e^{-(2C_5+2)N}\), and \(C_{B.3}pn[s]^2\le C_{B.3}pN^2\) (respectively \(C_{B.3}pn[s]n[t]\le C_{B.3}pN^2\)), so a union bound over the \(2^k+\binom{2^k}{2}\le2^{2k}\) blocks and block pairs gives \[\label{eq:gamma-numerator} P_{\Pi,p}\left[\Gamma_{C_{B.3}}^c\cap\mathcal{I}_\Pi\cap\kappa_p\cap\{m\}\right] \le P_{\Pi,p}\left[\Gamma_{C_{B.3},p}(\Pi,m(\Pi,\mathbf{D}),\mathbf{D})^c\cap\kappa_p\right] \le2^{2k}e^{-(2C_5+2)N}\le e^{-(C_5+1)N}\] for all sufficiently large \(N\). Inserting (B.15) and (B.16) into (B.7), \[\mathsf{G}_{\Pi,m}\left(\Gamma_{C_{B.3}}^c\mid\mathcal{I}_\Pi\cap\kappa_p\right) =\frac{P_{\Pi,p}\left[\Gamma_{C_{B.3}}^c\cap\mathcal{I}_\Pi\cap\kappa_p\cap\{m\}\right]}{P_{\Pi,p}\left[\mathcal{I}_\Pi\cap\kappa_p\cap\{m\}\right]} \le\frac{e^{-(C_5+1)N}}{e^{-C_5N}}=e^{-N}.\] ◻

Lemma B.4 (Row-model second-moment regularity after exact totals). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). For all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and every finite set \(V\) with \(|V|=N\), if \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible with \(y=(\Pi,m,1)\in\mathcal{Y}_k(V)\), then \[\mathsf{R}_{\Pi,\lambda}\left(\Gamma_{C_{B.3}(\theta,k,T,\phi),p}(\Pi,m,\mathbf{D})\mid \mathcal{I}_\Pi,\kappa_p(\Pi,\mathbf{D}),m(\Pi,\mathbf{D})=m\right)=1-o(1).\]

Read proofProof of Lemma B.4

Proof. Abbreviate \(\Gamma:=\Gamma_{C_{B.3}(\theta,k,T,\phi),p}(\Pi,m,\cdot)\), \(\kappa_p:=\kappa_p(\Pi,\cdot)\), and \(\{m\}:=\{\mathbf{D}\in\mathcal{A}(\Pi):m(\Pi,\mathbf{D})=m\}\), and write \(C_0:=C_{B.2}(\theta,k,T)\) for the constant of the weak comparison Lemma B.2(i). By Bayes’ rule, \[\mathsf{R}_{\Pi,\lambda}\left(\Gamma^c\mid \mathcal{I}_\Pi,\kappa_p,\{m\}\right) =\frac{\mathsf{R}_{\Pi,\lambda}\left(\Gamma^c\cap\mathcal{I}_\Pi\cap\kappa_p\mid\{m\}\right)}{\mathsf{R}_{\Pi,\lambda}\left(\mathcal{I}_\Pi\cap\kappa_p\mid\{m\}\right)}.\] Both the numerator and the denominator are sums of \(\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\{m\})\) over arrays \(\mathbf{d}\in\{m\}\cap\kappa_p\), and for every such array the weak comparison gives \[\exp\{-C_0(pN)^{2/7}\}\,\mathsf{G}_{\Pi,m}(\mathbf{d})\le\mathsf{R}_{\Pi,\lambda}(\mathbf{d}\mid\{m\})\le\exp\{C_0(pN)^{2/7}\}\,\mathsf{G}_{\Pi,m}(\mathbf{d}).\] Summing the upper bound over the arrays in the numerator and the lower bound over the arrays in the denominator, and then applying Bayes’ rule for \(\mathsf{G}_{\Pi,m}\) and Lemma B.3, \[\begin{aligned} \mathsf{R}_{\Pi,\lambda}\left(\Gamma^c\mid \mathcal{I}_\Pi,\kappa_p,\{m\}\right) &\le\exp\{2C_0(pN)^{2/7}\}\,\frac{\mathsf{G}_{\Pi,m}\left(\Gamma^c\cap\mathcal{I}_\Pi\cap\kappa_p\right)}{\mathsf{G}_{\Pi,m}\left(\mathcal{I}_\Pi\cap\kappa_p\right)}\\ &=\exp\{2C_0(pN)^{2/7}\}\,\mathsf{G}_{\Pi,m}\left(\Gamma^c\mid \mathcal{I}_\Pi\cap\kappa_p\right) \le\exp\{2C_0(pN)^{2/7}-N\}, \end{aligned}\] which is \(o(1)\) because \((pN)^{2/7}=o(N)\). ◻

B.4 Exact totals and binomial regularity in the row model

The exact-total lower bound rests on the following local central limit theorem for sums of independent copies of a conditioned binomial vector.

Theorem B.5. Fix a real parameter \(\theta\in(1/2,1)\), a positive integer \(d\ge 1\), a nonnegative integer \(r\), an integer matrix \(M\in\mathbb{Z}^{r\times d}\) with nonzero, pairwise orthogonal rows, an \(r\)-dimensional vector inequality relation \(\ge'\in\{\ge,>\}^r\), and a real constant \(T>1\). For all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following is true. When \(r=0\), we use the convention \(\left\lVert M\eta\right\rVert_\infty=0\) and interpret \(MA\ge'0\) as the whole sample space.

Select \(\eta\in((T^{-1}n,Tn)\cap\mathbb{Z})^d\) such that \(\left\lVert M\eta\right\rVert_\infty < T\frac{n}{\sqrt{pn}}\) and select an integer \(m\in(T^{-1}n,Tn)\). Select \(q\in\left(p-T\frac{p}{\sqrt{pn}}, p+T\frac{p}{\sqrt{pn}}\right)^d\) such that \(m\mathbb{E}[A|MA\ge'0]\in\mathbb{Z}^d\) where we sample \(A_t\sim\mathrm{Bin}(\eta_t,q_t)\) all independently.

Let \(\rho\) be the probability distribution on \(\mathbb{Z}^d\) given by sampling \(A_t\sim\mathrm{Bin}(\eta_t,q_t)\) all independently, and then conditioning on \(MA\ge'0\).

Sample \(m\) independent copies \(A^{(1)},\ldots,A^{(m)}\sim\rho\), and let \(S=A^{(1)}+\cdots+A^{(m)}\). Then, \[\mathbb{P}[S = m\mathbb{E}_{A\sim\rho}[A]] = \Omega((n^2p)^{-d/2}).\]

Remark 2. The proof below in fact gives the uniform two-sided estimate \[\mathbb{P}[S=m\mathbb{E}_{A\sim\rho}[A]] =\Theta\left((n^2p)^{-d/2}\right).\] Indeed, the low-frequency integral is the density at zero of a Gaussian whose covariance is uniformly comparable to \(n^2p\) times the identity, while the high-frequency integral is \(o((n^2p)^{-d/2})\) in absolute value. We state only the lower bound because this is all that is used in Lemma B.6; the hypotheses do not force the normalized covariance, and hence the leading Gaussian constant, to converge.

Read proofFull argument

Proof. If \(r=0\), the conditioning event \(MA\ge'0\) is the whole sample space. The coordinates of \(S\) are then independent, with \(S_t\sim\mathrm{Bin}(m\eta_t,q_t)\) and integer means \(m\eta_tq_t\). Since \(m\eta_tq_t(1-q_t)\asymp n^2p\to\infty\), Stirling’s formula gives \[\begin{aligned} \mathbb{P}[S=m\mathbb{E}_{A\sim\rho}[A]] &=\prod_{t=1}^d\mathbb{P}[\mathrm{Bin}(m\eta_t,q_t)=m\eta_tq_t]\\ &=\prod_{t=1}^d\frac{1+o(1)}{\sqrt{2\pi m\eta_tq_t(1-q_t)}} =\Theta((n^2p)^{-d/2}). \end{aligned}\] This proves the claim when \(r=0\). Henceforth assume \(r\ge1\).

Let \(B\) be the random variable distributed as \(A-\mathbb{E}_{A\sim\rho}[A]\) where \(A\) is sampled from \(\rho\). Sample \(m\) independent copies \(B^{(1)},\ldots,B^{(m)}\) and let \[S' = B^{(1)} + \cdots + B^{(m)}.\] It suffices to lower bound the probability \(\mathbb{P}[S'=0]\). Note that \(S'\) is supported on a subset of \(\mathbb{Z}^d\), so we have \[\mathbb{P}[S'=0] = \frac{1}{(2\pi)^d}\int_{[-\pi,\pi]^d}dt\,\mathbb{E}[e^{it\cdot S'}].\] We now estimate the characteristic function \(\mathbb{E}[e^{it\cdot S'}]\) for various regimes of \(t\).

To do this, we first need to prove regularity conditions on the covariance matrix \(\mathrm{Cov}B\). Indeed, let \(\alpha_t = \sqrt{p\eta_t}\log\left(\frac{q_t}{1-q_t}\frac{1-p}{p}\right)\), which is bounded by a constant depending only on \(T\) because of the hypothesis on \(q\), and sample independent \(X_t\sim\mathcal{N}(\sqrt{p\eta_t}\alpha_t,p\eta_t)\) for all \(t\in[d]\). Applying Theorem A.6 with \(\rho\in\{1,x_i,x_ix_j\}\) and dividing, we see that \[\mathrm{Cov}B = \mathrm{Cov}[X|MX\ge -pM\eta] + O(\sqrt{pn}\log^{5+d}n);\] here we used that \(\mathbb{P}[MX\ge-pM\eta]\) is bounded below by a positive constant depending only on \(T\), \(M\), and \(d\), because each bounding hyperplane \(\{x:(Mx)_r=-(pM\eta)_r\}\) lies within \(|(pM\eta)_r|/\left\lVert\mu_r\right\rVert_2\le T\sqrt{pn}\) of the origin (where \(\mu_r\) denotes the \(r\)th row of \(M\)), while the mean of \(X\) has norm \(O(T\sqrt{pn})\) and each coordinate of \(X\) has standard deviation \(\sqrt{p\eta_t}\asymp\sqrt{pn}\); so the constraints sit at \(O(T)\) standard deviations. The matrix \(\mathrm{Cov}[X|MX\ge -pM\eta]\) is positive definite: otherwise some nontrivial linear combination of the \(X_t\) would be almost surely constant after conditioning on \(MX\ge -pM\eta\), which is impossible because the conditioned law has a density on the region \(\{Mx\ge'-pM\eta\}\), whose interior is nonempty since the rows of \(M\) are orthogonal. Note that \(\frac{1}{pn}\mathrm{Cov}[X|MX\ge -pM\eta]=\mathrm{Cov}[X/\sqrt{pn}\mid M(X/\sqrt{pn})\ge-pM\eta/\sqrt{pn}]\) is a continuous function of the parameters \((\eta_t/n)_{t\in[d]}\), \((\alpha_t)_{t\in[d]}\), and \(pM\eta/\sqrt{pn}\), and does not otherwise depend on \(n\) or \(p\). These parameters range over the compact sets \([T^{-1},T]^d\), \([-T',T']^d\), and \([-T,T]^r\) (for a constant \(T'\) depending only on \(T\)), on which the conditioned Gaussian has full-dimensional support, so there is some constant \(C\) such that the entries of \(\frac{1}{pn}\mathrm{Cov}[X|MX\ge -pM\eta]\) and its inverse are bounded by \(C\) in absolute value. This implies that the entries of \(\frac{1}{pn}\mathrm{Cov}B\) and its inverse are bounded by \(2C\) in absolute value.

We now apply the multidimensional Berry–Esseen theorem for convex sets (Bentkus 2005): for independent centered random vectors \(B^{(1)},\ldots,B^{(m)}\) in \(\mathbb{R}^d\) with \(\Sigma:=\mathrm{Cov}(\sum_iB^{(i)})=m\,\mathrm{Cov}B\) positive definite, and \(Z\sim\mathcal{N}(0,\Sigma)\), \[\begin{aligned} \sup_{U\subset\mathbb{R}^d\text{ convex}}\left|\mathbb{P}[S'\in U] - \mathbb{P}[Z\in U]\right| &\le C_{\mathrm{BE}}\,d^{1/4}\sum_{i=1}^m\mathbb{E}\left\|\Sigma^{-1/2}B^{(i)}\right\|_2^3\\ &=C_{\mathrm{BE}}\,d^{1/4}m^{-1/2}\,\mathbb{E}\left\|(\mathrm{Cov}B)^{-1/2}B\right\|_2^3 \end{aligned}\] for a universal constant \(C_{\mathrm{BE}}\). The third moment on the right is \(O(1)\): conditioning on the event \(MA\ge'0\), whose probability is \(\Omega(1)\) by the previous paragraph and Theorem A.6 with \(\rho=1\), changes the third central moments of the coordinates \(A_t\) by at most a constant factor and moves their means by \(O(\sqrt{pn})\), so \(\mathbb{E}\|B\|_2^3=O((pn)^{3/2})\), while the entries of \((\mathrm{Cov}B)^{-1}\) are \(O(1/(pn))\). Hence, for all convex sets \(U\subset\mathbb{R}^d\), \[|\mathbb{P}[S'\in U] - \mathbb{P}[Z\in U]| \le \frac{C_1}{n^{1/2-0.01/d}}\] for a constant \(C_1\) depending only on \(\theta,d,M,T\), where \(Z\sim\mathcal{N}(0,m\mathrm{Cov}B)\) (we use the weaker exponent \(1/2-0.01/d\) for convenience below). Fix any \(t\in[-\pi,\pi]^d\) with \(\left\lVert t\right\rVert_\infty\le\frac{n^{0.01/d}}{\sqrt{n^2p}}\), and write \(K:=\lfloor n^{1/6}\rfloor\). For all \(\ell\in\mathbb{Z}\), let \[U_\ell = \{x\in\mathbb{R}^d: 2\pi\ell/K\le t\cdot x < 2\pi(\ell+1)/K\},\] which is a convex set, and note that \(e^{it\cdot x} = e^{2\pi i\ell/K} + O(1/K)\) for \(x\in U_\ell\). Furthermore, we have \(|t\cdot S'| < n^{0.02/d}\) and \(|t\cdot Z|<n^{0.02/d}\) with probability \(1-O(n^{-\omega(1)})\): each coordinate of \(B\) is at most \(2\sqrt{pn}\log n\) in absolute value except with probability \(n^{-\omega(1)}\) (a Chernoff bound for \(A_t\), the conditioning on an event of probability \(\Omega(1)\), and \(|\mathbb{E}_\rho A_t-\mathbb{E}A_t|=O(\sqrt{pn})\)), so after truncating at this level Hoeffding’s inequality shows that each coordinate of \(S'\) is \(O(\sqrt{n^2p}\log^2n)\) with probability \(1-n^{-\omega(1)}\), whence \(|t\cdot S'|\le d\left\lVert t\right\rVert_\infty\left\lVert S'\right\rVert_\infty=O(n^{0.01/d}\log^2n)\); the claim for \(Z\) follows from Gaussian tails. Hence only the \(O(n^{1/6+0.02/d})\) strips with \(|\ell|\le n^{0.02/d}K\) carry non-negligible mass. Thus, we have \[\begin{aligned} \mathbb{E}[e^{it\cdot S'}] &= O(n^{-\omega(1)}) + \sum_{\substack{\ell\in\mathbb{Z} \\ |\ell|\le n^{0.02/d}K}}(e^{2\pi i\ell/K} + O(1/K))\mathbb{P}[S'\in U_\ell] \\ &= O(n^{-1/6}) + \sum_{\substack{\ell\in\mathbb{Z} \\ |\ell|\le n^{0.02/d}K}}e^{2\pi i\ell/K}\left(\mathbb{P}[Z\in U_\ell] + O(n^{-1/2+0.01/d})\right) \\ &= O(n^{-1/6}) + O(n^{-1/3+0.03/d}) + \mathbb{E}[e^{it\cdot Z}] = O(n^{-1/6}) + \mathbb{E}[e^{it\cdot Z}], \end{aligned}\] so \[\begin{aligned} \mathbb{P}[S'=0] &= O(n^{-0.1}(n^2p)^{-d/2}) + \frac{1}{(2\pi)^d}\displaystyle\int_{\substack{t\in[-\pi,\pi]^d \\ \left\lVert t\right\rVert_\infty\le n^{0.01/d}/\sqrt{n^2p}}}dt\,\mathbb{E}[e^{it\cdot Z}]\\ &\quad+ \frac{1}{(2\pi)^d}\displaystyle\int_{\substack{t\in[-\pi,\pi]^d \\ \left\lVert t\right\rVert_\infty> n^{0.01/d}/\sqrt{n^2p}}}dt\,\mathbb{E}[e^{it\cdot S'}]. \end{aligned}\] There is a constant \(C_2\) such that \[|\mathbb{E}[e^{it\cdot Z}]|\le \exp(-C_2 n^2p\left\lVert t\right\rVert_\infty^2),\] which implies that \[\displaystyle\int_{\substack{t\in\mathbb{R}^d \\ \left\lVert t\right\rVert_\infty> n^{0.01/d}/\sqrt{n^2p}}}dt\,\mathbb{E}[e^{it\cdot Z}] = O(n^{-\omega(1)}).\] If \(f_Z\) denotes the density of \(Z\), then \[\begin{aligned} \mathbb{P}[S'=0] &= \frac{1}{(2\pi)^d}\int_{t\in\mathbb{R}^d}dt\mathbb{E}[e^{it\cdot Z}] + \frac{1}{(2\pi)^d}\displaystyle\int_{\substack{t\in[-\pi,\pi]^d \\ \left\lVert t\right\rVert_\infty> n^{0.01/d}/\sqrt{n^2p}}}dt\,\mathbb{E}[e^{it\cdot S'}] + o((n^2p)^{-d/2}) \\ &= f_Z(0) + \frac{1}{(2\pi)^d}\displaystyle\int_{\substack{t\in[-\pi,\pi]^d \\ \left\lVert t\right\rVert_\infty> n^{0.01/d}/\sqrt{n^2p}}}dt\,\mathbb{E}[e^{it\cdot S'}] + o((n^2p)^{-d/2}) \\ &= \Omega((n^2p)^{-d/2}) + \frac{1}{(2\pi)^d}\displaystyle\int_{\substack{t\in[-\pi,\pi]^d \\ \left\lVert t\right\rVert_\infty> n^{0.01/d}/\sqrt{n^2p}}}dt\,\mathbb{E}[e^{it\cdot S'}]. \end{aligned}\] In order to estimate this error term, we use the following decomposition of \(\rho\).

Let \(\mu_1,\ldots,\mu_r\in\mathbb{Z}^d\) be the rows of \(M\). Denote \(y\in\prod_{t\in[d]}(\mathbb{Z}-p\eta_t)\) as good if \[\frac{y}{\sqrt{pn}}\in \lceil T+2\rceil\mu_1+\cdots+\lceil T+2\rceil\mu_r+\left[0,\frac{1}{d\left\lVert M\right\rVert_\infty}\right]^d.\] Every good \(y\) satisfies \(M(p\eta+y)\ge'0\), with room to spare. Indeed, write \(y/\sqrt{pn}=\lceil T+2\rceil\sum_{r'}\mu_{r'}+z\) with \(z\in[0,1/(d\left\lVert M\right\rVert_\infty)]^d\); by the orthogonality of the rows, and since \(\left\lVert\mu_r\right\rVert_2^2\ge1\) for a nonzero integer vector while \(|\mu_r\cdot z|\le\left\lVert\mu_r\right\rVert_1/(d\left\lVert M\right\rVert_\infty)\le1\), \[(My)_r=\sqrt{pn}\left(\lceil T+2\rceil\left\lVert\mu_r\right\rVert_2^2+\mu_r\cdot z\right)\ge(T+1)\sqrt{pn}>T\sqrt{pn}>p\left\lVert M\eta\right\rVert_\infty\ge|(pM\eta)_r|,\] so \((M(p\eta+y))_r>0\) for every \(r\).

Let \(f(x)\) be defined as in the proof of Theorem A.6. Following the proof of Theorem A.6, uniformly for good \(y\), we have \[\mathbb{P}_{A\sim\rho}[A = p\eta+y] = (1+O(\log^{3+d} n/\sqrt{pn}))\frac{f(y)}{\displaystyle\int_{\substack{x\in\mathbb{R}^d \\ Mx\ge' -pM\eta}}dx\, f(x)} = \Omega((pn)^{-d/2}).\] Armed with this result, we are now ready to provide the relevant estimate of \[|\mathbb{E}[e^{it\cdot S'}]| = |\mathbb{E}[e^{it\cdot(S-mp\eta)}]| = |\mathbb{E}_{A\sim\rho}[e^{it\cdot(A-p\eta)}]|^m.\] The above analysis implies that we can decompose \(A-p\eta\) into \[A-p\eta = \mathbf{1}_{\mathcal{E}}T_1 + \mathbf{1}_{\overline{\mathcal{E}}}T_2\] where \(\mathcal{E}\) is an event of probability \(C_3\), where \(T_1\) is uniformly distributed on the set of good elements, and where \(T_1,\mathbf{1}_{\mathcal{E}}\) and \(T_2,\mathbf{1}_{\mathcal{E}}\) are pairs of independent random variables; indeed, one may take \(C_3:=\#\{\text{good }y\}\cdot\min_{y\text{ good}}\mathbb{P}_{A\sim\rho}[A=p\eta+y]\), which lies in \([c,1)\) for a constant \(c=c(\theta,d,M,T)>0\) because there are \(\Theta((pn)^{d/2})\) good elements, each of \(\rho\)-probability \(\Omega((pn)^{-d/2})\) by the previous display, and because \(\rho\) also charges points that are not good. Thus, we have \[|\mathbb{E}_{A\sim\rho}[e^{it\cdot(A-p\eta)}]| = |C_3\mathbb{E}[e^{it\cdot T_1}] + (1-C_3)\mathbb{E}[e^{it\cdot T_2}]|\le 1-C_3 + C_3|\mathbb{E}[e^{it\cdot T_1}]|.\] Note that the set of good elements forms a discrete rectangular prism. Let the number of lattice points in its \(j\)th coordinate interval be \(W_j\sqrt{pn}\in\mathbb{Z}\) (note that \(W_j = \Theta(1)\)). Then, we see that \[|\mathbb{E}[e^{it\cdot T_1}]| = \prod_{j=1}^d\frac{1}{W_j\sqrt{pn}}\left|\frac{\sin\left(\frac{t_jW_j\sqrt{pn}}{2}\right)}{\sin\left(\frac{t_j}{2}\right)}\right|.\] At \(t_j=0\) the corresponding factor is interpreted by continuity and equals \(1\). If \(\frac{5}{W_j\sqrt{pn}}\le|t_j|\le\pi\) for some \(j\), this quantity is at most \(4/5\) (as \(|\sin(t_j/2)|\ge|t_j|/\pi\)), so \[|\mathbb{E}[e^{it\cdot S'}]|\le(1-C_3/5)^m\le(1-c/5)^m = O(n^{-\omega(1)}).\] If \(n^{0.01/d}/\sqrt{n^2p}<|t_j| < \frac{5}{W_j\sqrt{pn}}\) for some \(j\), then this quantity is at most \[\frac{1}{W_j\sqrt{pn}}\frac{\frac{t_jW_j\sqrt{pn}}{2}\left(1-0.01t_j^2W_j^2pn\right)}{t_j/2 + O(t_j^3)}\le 1 - n^{0.01/d}/n,\] so \[|\mathbb{E}[e^{it\cdot S'}]|\le\left(1-C_3n^{0.01/d}/n\right)^m\le\left(1-c\,n^{0.01/d}/n\right)^m = O(n^{-\omega(1)}).\] Thus, we have \[\mathbb{P}[S'=0] = \Omega((n^2p)^{-d/2}) + \frac{1}{(2\pi)^d}\displaystyle\int_{\substack{t\in[-\pi,\pi]^d \\ \left\lVert t\right\rVert_\infty> n^{0.01/d}/\sqrt{n^2p}}}dt\,\mathbb{E}[e^{it\cdot S'}] = \Omega((n^2p)^{-d/2}),\] as desired. ◻

Lemma B.6 (Exact-total lower bound). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). There exists a constant \(C_{B.6}=C_{B.6}(\theta,k,T,\phi)>0\) such that, for all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and every finite set \(V\) with \(|V|=N\), if \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible with \(y=(\Pi,m,1)\in\mathcal{Y}_k(V)\), then \[\mathsf{R}_{\Pi,\lambda}\left(m(\Pi,\mathbf{D})=m\mid\mathcal{I}_\Pi\right) \ge (N^2p)^{-C_{B.6}}.\]

Read proofProof of Lemma B.6

Proof. By (LA7) and Fact 3.6, under \(\mathsf{R}_{\Pi,\lambda}(\cdot\mid\mathcal{I}_\Pi)\) the rows in a fixed part \(\Pi[s]\) are independent copies of \(A_{s,\bullet}\mid\mathcal{I}_s(A_{s,\bullet})\), and rows in different parts are independent. By (LA8), \[n[s]\,\mathbb E[A_{s,t}\mid\mathcal I_s(A_{s,\bullet})]=m[s,t]\] for every \(s,t\in\{0,1\}^k\). Hence the event \(m(\Pi,\mathbf D)=m\) is the intersection, over \(s\in\{0,1\}^k\), of the independent events \[\label{eq:exact-total-s} \sum_{x\in\Pi[s]}\mathbf D[x,\bullet]=m[s,\bullet],\] each of which asks that the sum of \(n[s]\) independent copies of the conditioned row vector \(A_{s,\bullet}\mid\mathcal I_s(A_{s,\bullet})\) equal its mean \(n[s]\,\mathbb E[A_{s,\bullet}\mid\mathcal I_s(A_{s,\bullet})]=m[s,\bullet]\), an integer vector. It therefore suffices to show that each event (B.17) has probability at least \((N^2p)^{-C_s}\) under \(\mathsf R_{\Pi,\lambda}(\cdot\mid\mathcal I_\Pi)\) with \(C_s:=2^{k-1}+1\), and then to multiply over the \(2^k\) values of \(s\).

Fix \(s\in\{0,1\}^k\) and put \(d:=2^k\). A nondegenerate \(d\)-dimensional lattice sum with fluctuation scale \(\sqrt{N^2p}\) suggests mass of order \((N^2p)^{-d/2}\) at its integral mean. Theorem B.5 gives this bound for the conditioned binomial rows; we verify its hypotheses below. We apply Theorem B.5 with \(d=2^k\), with its \(n\) equal to \(N\), its \(m\) equal to \(n[s]\), and with \(\eta_t:=n[t]-\mathbb{1}_{s=t}\) and \(q_t:=\lambda[s,t]\) for \(t\in\{0,1\}^k\), so that its \(A_t\sim\mathrm{Bin}(\eta_t,q_t)\) is exactly \(A_{s,t}\). The \(k-1\) inequalities defining \(\mathcal I_s(A_{s,\bullet})\) are of the form \(\mu_r\cdot A_{s,\bullet}\ge'_r0\) for \(1\le r\le k-1\), where \(\mu_r\in\{\pm1\}^{\{0,1\}^k}\) has entries \(\mu_r[t]=(-1)^{s[r]}(-1)^{t[r-1]}\) and \(\ge'_r\in\{\ge,>\}\) is determined by the pair \(s[r-1]s[r]\); let \(M\) be the matrix with rows \(\mu_1,\ldots,\mu_{k-1}\). Distinct rows of \(M\) are orthogonal: for \(r\ne r'\), flipping bit \(r-1\) of \(t\) is a bijection of \(\{0,1\}^k\) that negates \(\mu_r[t]\mu_{r'}[t]\), so \(\sum_t\mu_r[t]\mu_{r'}[t]=0\). We now verify the remaining hypotheses of Theorem B.5, with its constant \(T\) replaced by \(2T\). By (LA2), we have \(\eta_t\in((2T)^{-1}N,2TN)\) and \(n[s]\in((2T)^{-1}N,2TN)\), and, for each \(1\le r\le k-1\), \[\left|(M\eta)_r\right|=\left|\sum_{t\in\{0,1\}^k}(-1)^{t[r-1]}n[t]-(-1)^{s[r-1]}\right|\le T\frac{N}{\sqrt{pN}}+1<2T\frac{N}{\sqrt{pN}},\] where the term \((-1)^{s[r-1]}\) comes from the indicator \(\mathbb{1}_{s=t}\) in \(\eta_t\). By (LA6), \(q_t=\lambda[s,t]\in(p-Tp/\sqrt{pN},p+Tp/\sqrt{pN})\). Finally, the integrality hypothesis \(n[s]\,\mathbb E[A_{s,\bullet}\mid MA_{s,\bullet}\ge'0]\in\mathbb Z^{d}\) of Theorem B.5 is exactly (LA8): the event \(MA_{s,\bullet}\ge'0\) is \(\mathcal I_s(A_{s,\bullet})\), and \(n[s]\,\mathbb E[A_{s,t}\mid\mathcal I_s(A_{s,\bullet})]=m[s,t]\in\mathbb Z\). Therefore Theorem B.5 gives, with \(d=2^k\), \[\begin{aligned} \mathbb P\left[\sum_{x\in\Pi[s]}\mathbf D[x,\bullet]=m[s,\bullet]\ \middle|\ \mathcal I_s(\mathbf D[x,\bullet])\text{ for all }x\in\Pi[s]\right] &=\Omega\left((N^2p)^{-2^{k-1}}\right)\\ &\ge (N^2p)^{-2^{k-1}-1}=(N^2p)^{-C_s} \end{aligned}\] for all sufficiently large \(N\), where the implied constant in \(\Omega(\cdot)\) depends only on \(\theta,k,T,\phi\) and is absorbed by the extra factor \((N^2p)^{-1}\). Multiplying over the \(2^k\) values of \(s\) gives the result with \(C_{B.6}:=\sum_sC_s=2^k(2^{k-1}+1)\). ◻

Lemma B.7 (Binomial regularity under the row model). Fix \(\theta\in(1/2,1)\), an integer \(k\ge1\), and constants \(T>1\) and \(\phi\in(0,1/2)\). For all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and every finite set \(V\) with \(|V|=N\), if \((y,\lambda)\) is \((T,\phi,p)\)-locally admissible with \(y=(\Pi,m,1)\in\mathcal{Y}_k(V)\), then \[\mathsf{R}_{\Pi,\lambda}\left(\kappa_p(\Pi,\mathbf{D})\mid\mathcal{I}_\Pi\right)=1-O(N^{-\omega(1)})\] and \[\mathsf{R}_{\Pi,\lambda}\left(\kappa_p(\Pi,\mathbf{D})\mid\mathcal{I}_\Pi,m(\Pi,\mathbf{D})=m\right)=1-O(N^{-\omega(1)}).\]

Read proofProof of Lemma B.7

Proof. For fixed \(x\in\Pi[s]\) and \(t\in\{0,1\}^k\), the tilt bound (LA6) gives \(|\mathbb{E}A_{s,t}-p|\Pi[t]||\le|\Pi[t]|\cdot Tp/\sqrt{pN}+\lambda[s,t]\le T\sqrt{pN}+2p\), so Chernoff’s inequality gives \[\mathbb P\left[\left|A_{s,t}-p|\Pi[t]|\right|>(pN)^{4/7}\right]=O(N^{-\omega(1)}).\] By (LA7) and Fact 3.6, under \(\mathsf{R}_{\Pi,\lambda}(\cdot\mid\mathcal{I}_\Pi)\) the row \(\mathbf{D}[x,\bullet]\) has the law of \(A_{s,\bullet}\) conditioned on \(\mathcal{I}_s(A_{s,\bullet})\). Hence, by Bayes’ rule and (LA7), \[\begin{aligned} \mathsf{R}_{\Pi,\lambda}\left(\left|\mathbf{D}[x,t]-p|\Pi[t]|\right|>(pN)^{4/7}\ \middle|\ \mathcal{I}_\Pi\right) &=\frac{\mathbb P\left[\left|A_{s,t}-p|\Pi[t]|\right|>(pN)^{4/7},\ \mathcal I_s(A_{s,\bullet})\right]}{\mathbb P\left[\mathcal I_s(A_{s,\bullet})\right]}\\ &\le\frac{\mathbb P\left[\left|A_{s,t}-p|\Pi[t]|\right|>(pN)^{4/7}\right]}{\phi} =O(N^{-\omega(1)}). \end{aligned}\] A union bound over the \(2^kN\) pairs \((x,t)\in V\times\{0,1\}^k\) gives \[\mathsf{R}_{\Pi,\lambda}\left(\kappa_p(\Pi,\mathbf{D})^c\mid\mathcal{I}_\Pi\right)\le2^kN\cdot O(N^{-\omega(1)})=O(N^{-\omega(1)}),\] which is the first estimate. For the second, Bayes’ rule and Lemma B.6 give \[\begin{aligned} \mathsf{R}_{\Pi,\lambda}\left(\kappa_p(\Pi,\mathbf{D})^c\mid\mathcal{I}_\Pi,m(\Pi,\mathbf{D})=m\right) &=\frac{\mathsf{R}_{\Pi,\lambda}\left(\kappa_p(\Pi,\mathbf{D})^c\cap\{m(\Pi,\mathbf{D})=m\}\mid\mathcal{I}_\Pi\right)}{\mathsf{R}_{\Pi,\lambda}\left(m(\Pi,\mathbf{D})=m\mid\mathcal{I}_\Pi\right)}\\ &\le\frac{\mathsf{R}_{\Pi,\lambda}\left(\kappa_p(\Pi,\mathbf{D})^c\mid\mathcal{I}_\Pi\right)}{(N^2p)^{-C_{B.6}(\theta,k,T,\phi)}}\\ &=O\left((N^2p)^{C_{B.6}(\theta,k,T,\phi)}N^{-\omega(1)}\right)=O(N^{-\omega(1)}). \end{aligned}\] ◻

Appendix C The kernel: edge splitting and degree regularity

This appendix proves the two results about uniformly random graphs with prescribed degree sequences that are used in the proof of Proposition 3.10: the edge-count concentration of Lemma C.1, and the degree-into-a-subset tail bound of Theorem C.2. Both rest on the imported enumeration theorems of Appendix A.1.

C.1 Edge enumeration

We have the following result, which follows from the graph-case single-edge expansion in Theorem 1.6 of Liebenau and Wormald (Liebenau and Wormald 2024), whose printed error term may require correction on its full stated degree domain, and from Theorem 1.5 of Liebenau and Wormald (Liebenau and Wormald 2023). We discuss this point immediately after the statement, before using the resulting estimate.

Lemma C.1. Fix a real parameter \(\theta\in(1/2,1)\) and a constant \(T>1\). For all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following are true.

  1. Select \(m\in\mathbb{Z}\) satisfying \(|m-pn(n-1)/2| \le T n^2p/\sqrt{pn}\), and select \(\mathbf{d}\in\mathcal{D}_{n,m}^{\text{graph}}\) such that \(|d_i-pn|\le(pn)^{4/7}\) for all \(i\in[n]\). Pick a subset \(U\subset[n]\) satisfying \(|U|,n-|U|\ge T^{-1}n\). Sample \(G\) uniformly at random from all graphs with degree sequence \(\mathbf{d}\), and let \(X = |E(G[U])|\) (the number of edges in the induced subgraph on vertex set \(U\)). Then, \[\mathbb{P}\left[\left|X - \frac{\left(\sum_{x\in U}d_x\right)^2}{4m}\right| \ge n^2p\sqrt{\frac{(pn)^{1/7}}{n}}\log n\right] < \frac{1}{\log n}.\]

  2. Select \(m\in\mathbb{Z}\) satisfying \(|m-pn(n-1)/2| \le T n^2p/\sqrt{pn}\), and select \(\mathbf{d}\in\mathcal{D}_{n,m}^{\text{graph}}\) such that \(|d_i-pn|\le(pn)^{4/7}\) for all \(i\in[n]\). Pick a subset \(U\subset[n]\) satisfying \(|U|,n-|U|\ge T^{-1}n\). Sample \(G\) uniformly at random from all graphs with degree sequence \(\mathbf{d}\), and let \(X = |E(G[U,[n]\setminus U])|\) (the number of edges in the induced bipartite subgraph with vertex sets \(U\) and \([n]\setminus U\)). Then, \[\mathbb{P}\left[\left|X - \frac{\left(\sum_{x\in U}d_x\right)\left(\sum_{y\in[n]\setminus U}d_y\right)}{2m}\right| \ge n^2p\sqrt{\frac{(pn)^{1/7}}{n}}\log n\right] < \frac{1}{\log n}.\]

  3. Select \(\ell\in\mathbb{Z}\cap[T^{-1}n,Tn]\). Select \(m\in\mathbb{Z}\) satisfying \(|m-p\ell n| \le T n^2p/\sqrt{pn}\), and select \((\mathbf{s},\mathbf{t})\in\mathcal{D}_{\ell,n,m}^{\text{bigraph}}\) such that \(|s_i-pn|\le(pn)^{4/7}\) for all \(i\in[\ell]\) and \(|t_j-p\ell|\le (pn)^{4/7}\) for all \(j\in[n]\). Pick subsets \(U\subset[\ell]\) and \(U'\subset[n]\) satisfying \(|U|,\ell-|U|,|U'|,n-|U'|\ge T^{-1}n\). Sample \(G\) uniformly at random from all bigraphs with degree sequence \((\mathbf{s},\mathbf{t})\), and let \(X = |E(G[U,U'])|\) (the number of edges in the induced bipartite subgraph with vertex sets \(U\) and \(U'\)). Then, \[\mathbb{P}\left[\left|X - \frac{\left(\sum_{x\in U}s_x\right)\left(\sum_{y\in U'}t_y\right)}{m}\right| \ge n^2p\sqrt{\frac{(pn)^{1/7}}{n}}\log n\right] < \frac{1}{\log n}.\]

Remark 3 (The graph-case single-edge input). The error term in the printed statement of Theorem 1.6 of Liebenau and Wormald (Liebenau and Wormald 2024) appears to require correction on its full stated degree domain. We record the fuller expansion needed here. In the graph case write \[D:=\frac{2m}{n},\qquad \Delta_{ab}:=d_a+d_b-2D,\qquad \sigma^2:=\frac1n\sum_i(d_i-D)^2,\qquad \varepsilon:=\frac{(pn)^{1/7}}{n}.\] The hypotheses give \(D\asymp pn\), \(|D-pn|=O(\sqrt{pn})\), and \(|d_i-D|\le D^{7/12}\) for large \(n\). The hypotheses of the expansion hold because \(D/(n-1)\asymp p\to0\) and \(\log^K n/n=o(p)\) for every fixed \(K\). The full expansion in Lemma 7.1(b) and equation (7.4) of (Liebenau and Wormald 2024), with \(\alpha=7/12\), is \[\begin{aligned} \mathbb{P}[ab\in E(G)]={}&\frac{d_ad_b}{D(n-1)} \biggl(1-\frac{(d_a-D)(d_b-D)}{D(n-1-D)}\notag\\ &\quad+\frac{\Delta_{ab}(n-1)\sigma^2}{D^2n(n-1-D)} +\frac{\Delta_{ab}}{D(n-1)} +O\left(\frac{D^{-2/3}}{n}\right)\biggr). \label{eq:c1-corrected-edge-expansion} \end{aligned}\] The last two displayed terms do not appear in the printed statement of Theorem 1.6. On our degree window they are respectively \(O(D^{-2/7}/n)\) and \(O(D^{-3/7}/n)\), while the remainder in the fuller expansion is \(O(D^{-2/3}/n)\). All three are \(o(\varepsilon)\), while the quadratic term in (C.1) is \(O(D^{1/7}/n)=O(\varepsilon)\). Since \(D(n-1)=2m(1-1/n)\) and \(1/n\le\varepsilon\), the only consequence used below is the unchanged estimate \[\label{eq:c1-single-edge} \mathbb{P}[ab\in E(G)]=(1+O(\varepsilon))\frac{d_ad_b}{2m}.\] The analogous estimate in the bipartite case follows directly from Theorem 1.5 of Liebenau and Wormald (Liebenau and Wormald 2023).

Read proofFull argument

Proof. We prove (i); the proof of (ii) is identical, and the proof of (iii) is identical using the bipartite estimate from Theorem 1.5 of Liebenau and Wormald (Liebenau and Wormald 2023). Write \(X:=|E(G[U])|\) and, as in the preceding remark, \(\varepsilon=(pn)^{1/7}/n\), so that \[X=\sum_{\{a,b\}\subset U}\mathbf{1}_{ab\in E(G)}.\] By (C.2), \[\mathbb{E}[X] = (1+O(\varepsilon))\sum_{\{a,b\}\subset U}\frac{d_ad_b}{2m} = \frac{1}{4m}\left(\sum_{a\in U}d_a\right)^2 + O\left((np)^{8/7}\right),\] where we used \[\sum_{\{a,b\}\subset U}d_ad_b=\frac12\Bigl(\sum_{a\in U}d_a\Bigr)^2-\frac12\sum_{a\in U}d_a^2,\qquad\frac{1}{4m}\sum_{a\in U}d_a^2=O(pn),\] and \(\frac{\varepsilon}{2m}\sum_{\{a,b\}\subset U}d_ad_b=O(\varepsilon n^2p)=O((pn)^{8/7})\).

In order to bound the variance, we estimate \(\mathbb{P}[ab\in E(G)\text{ and }cd\in E(G)]\) for two distinct pairs \(ab,cd\subset U\). Suppose first that \(ab\) and \(cd\) share no vertex. Condition on the neighborhoods \(N_G(a)\) and \(N_G(b)\). Given these, the graph \(G-\{a,b\}\) is uniformly distributed among the graphs on \([n]\setminus\{a,b\}\) with degree sequence \(\mathbf{d}'\), where \(d'_w=d_w-\mathbf{1}_{w\in N_G(a)}-\mathbf{1}_{w\in N_G(b)}\), and it has \(m'=m-d_a-d_b+\mathbf{1}_{ab\in E(G)}\) edges. The same corrected expansion applies to this degree sequence, since its entries are within \((pn)^{4/7}+O(\sqrt{pn})\) of its average \(2m'/(n-2)=D+O(p)\) and the density \(2m'/((n-2)(n-3))\asymp p\), so \[\mathbb{P}\left[cd\in E(G)\mid N_G(a),N_G(b)\right]=(1+O(\varepsilon))\frac{d'_cd'_d}{2m'}.\] The point is that \(d'_c\) and \(d'_d\) differ from \(d_c\) and \(d_d\) only when \(c\) or \(d\) is adjacent to \(a\) or \(b\). A deterministic decrease of \(d_c\) by \(1\) would change \(d'_cd'_d/(2m')\) by a relative \(1/(pn)\), which is much larger than \(\varepsilon\); but each of the events \(\{ac\in E(G)\}\), \(\{bc\in E(G)\}\), \(\{ad\in E(G)\}\), \(\{bd\in E(G)\}\) has probability \(O(p)\) conditionally on \(ab\in E(G)\). (For instance, conditionally on \(N_G(b)\ni a\), the graph \(G-b\) is uniform with a degree sequence that again satisfies the hypotheses of the corrected expansion above, which gives \(\mathbb{P}[ac\in E(G)\mid N_G(b)]=O(p)\).) Hence \(\mathbb{E}[d'_cd'_d\mid ab\in E(G)]=d_cd_d\left(1-O(p/(pn))\right)=d_cd_d(1-O(1/n))\), while \(1/(2m')=(1+O(pn/m))/(2m)=(1+O(1/n))/(2m)\) deterministically on \(\{ab\in E(G)\}\). Since \(1/n\le\varepsilon\), averaging the previous display over \(N_G(a),N_G(b)\) on the event \(\{ab\in E(G)\}\) gives \[\mathbb{P}[ab\in E(G)\text{ and }cd\in E(G)]=\mathbb{P}[ab\in E(G)]\,\mathbb{P}[cd\in E(G)\mid ab\in E(G)] = \left(1+O(\varepsilon)\right)\frac{d_ad_bd_cd_d}{(2m)^2}.\] Suppose next that the two pairs share a vertex, say they are \(ab\) and \(bc\). Conditioning on \(N_G(a)\) as above, the vertex \(b\) has degree exactly \(d_b-1\) in \(G-a\) on the event \(\{ab\in E(G)\}\), so the same computation gives only \[\mathbb{P}[ab\in E(G)\text{ and }bc\in E(G)]=\left(1+O\left(\frac{1}{pn}\right)\right)\frac{d_ad_b^2d_c}{(2m)^2}=O(p^2);\] the relative error \(1/(pn)\) here is genuinely larger than \(\varepsilon\), but this case involves only \(O(n^3)\) ordered pairs and will be negligible.

Now write \(\mathbb{E}[X^2]=\sum_{(e,f)}\mathbb{P}[e,f\in E(G)]\), the sum running over ordered pairs of pairs \(e,f\subset U\), and split it according to whether \(e=f\), \(e\ne f\) share a vertex, or \(e,f\) are disjoint. The first part is \(\mathbb{E}[X]=O(n^2p)\), the second is \(O(n^3)\cdot O(p^2)=O(n^3p^2)\), and by the disjoint-pair estimate the third is \[(1+O(\varepsilon))\sum_{e,f\text{ disjoint}}\mathbb{P}[e\in E(G)]\,\mathbb{P}[f\in E(G)]=(1+O(\varepsilon))\left(\mathbb{E}[X]^2+O(n^3p^2)\right),\] since \(\mathbb{E}[X]^2=\sum_{(e,f)}\mathbb{P}[e\in E(G)]\mathbb{P}[f\in E(G)]\) differs from the sum over disjoint pairs by the \(O(n^3)\) terms with \(e=f\) or \(e,f\) sharing a vertex, each of which is \(O(p^2)\). As \(\mathbb{E}[X]^2=O(n^4p^2)\) and \(n^2p+n^3p^2\le\varepsilon n^4p^2=n^3p^2(pn)^{1/7}\), we conclude that \[\mathrm{Var}\,X=\mathbb{E}[X^2]-\mathbb{E}[X]^2=O\left(n^3p^2(pn)^{1/7}\right),\qquad\text{so}\qquad\sqrt{\mathrm{Var}\,X} = O\left(n^2p\sqrt{\frac{(pn)^{1/7}}{n}}\right).\] Finally, \(\left|X-\frac{1}{4m}\left(\sum_{a\in U}d_a\right)^2\right|\le|X-\mathbb{E}X|+O((pn)^{8/7})\) and \((pn)^{8/7}=o\left(n^2p\sqrt{(pn)^{1/7}/n}\right)\), so the result follows from Chebyshev’s inequality. ◻

C.2 Degree regularity

We prove results about the degrees to vertex subsets in random graphs using the enumeration theorems of Appendix A.1. The calculations mostly follow a simplified version of those in Appendix A of (Chakraborti et al. 2023).

Our key result is as follows.

Theorem C.2. Fix a real parameter \(\theta\in(1/2,1)\) and a constant \(T>1\). There exists a constant \(C_{C.2}=C_{C.2}(\theta,T)>0\) such that for all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following are true.

  1. Select \(m\in\mathbb{Z}\) satisfying \(|m-pn(n-1)/2|\le Tn^2p/\sqrt{pn}\), and select \(\mathbf{d}\in\mathcal{D}_{n,m}^{\text{graph}}\) such that \(d_i = pn + \beta_i\sqrt{pn}\) where \(|\beta_i|\le\log n\). Pick a vertex \(v\in[n]\) and a subset \(S\subset[n]\) with size \(h=|S|\) satisfying \(h,n-h\ge T^{-1}n\). Pick an integer \(t\in[0,d_v]\) and write \(t=ph+\tau\sqrt{ph}\). Sample \(G\) uniformly at random from all graphs with degree sequence \(\mathbf{d}\). If \(|\tau|\ge \log^{100} n\), then \[\mathbb{P}[\deg^G_Sv = t] \le \exp(-C_{C.2}\tau^2).\]

  2. Select \(\ell\in\mathbb{Z}\cap[T^{-1}n,Tn]\). Select \(m\in\mathbb{Z}\) satisfying \(|m-p\ell n| \le T n^2p/\sqrt{pn}\), and select \((\mathbf{s},\mathbf{t})\in\mathcal{D}_{\ell,n,m}^{\text{bigraph}}\) such that \(s_i = pn + \alpha_i\sqrt{pn}\) and \(t_j = p\ell + \beta_j\sqrt{p\ell}\), where \(|\alpha_i|,|\beta_j|\le\log n\) for all \(i\in[\ell]\) and \(j\in[n]\). Pick a vertex \(v\in[\ell]\) and a subset \(S\subset[n]\) with size \(h=|S|\) satisfying \(h,n-h\ge T^{-1}n\). Pick an integer \(t\in[0,s_v]\) and write \(t=ph+\tau\sqrt{ph}\). Sample \(G\) uniformly at random from all bigraphs with degree sequence \((\mathbf{s},\mathbf{t})\). If \(|\tau|\ge\log^{100} n\), then \[\mathbb{P}[\deg^G_Sv = t] \le \exp(-C_{C.2}\tau^2).\]

We prove this through a series of lemmas. We begin with a pair of technical estimates.

Lemma C.3. Fix a real parameter \(\theta\in(1/2,1)\) and a constant \(T>1\). For all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following are true.

  1. Select \(m\in\mathbb{Z}\) satisfying \(|m-pn(n-1)/2|\le Tn^2p/\sqrt{pn}\), and select \(d_v\in\mathbb{Z}\) satisfying \(|d_v-pn|\le\sqrt{pn}\log n\). Then, \[\frac{\binom{(n-1)(n-2)/2}{m-d_v}\binom{(n-1)(n-2)}{2m-2d_v}^{-1}}{\binom{n(n-1)/2}{m}\binom{n(n-1)}{2m}^{-1}} = \exp\left(O(\log n)\right)p^{-d_v}e^{pn}.\]

  2. Select \(\ell\in\mathbb{Z}\cap[T^{-1}n,Tn]\). Select \(m\in\mathbb{Z}\) satisfying \(|m-p\ell n| \le T n^2p/\sqrt{pn}\), and select \(s_v\in\mathbb{Z}\) satisfying \(|s_v-pn|\le\sqrt{pn}\log n\). Then, \[\frac{\binom{\ell n}{m}}{\binom{(\ell-1)n}{m-s_v}} = \exp\left(O(\log n)\right)p^{-s_v}e^{pn}.\]

Read proofProof of Lemma C.3

Proof. We prove (i); the proof of (ii) is similar and simpler. (For (ii), the ratio equals \(\frac{(\ell n)!}{(\ell n-n)!}\cdot\frac{(m-s_v)!}{m!}\cdot\frac{(\ell n-m-(n-s_v))!}{(\ell n-m)!}\), whose three logarithms are \(n\log(\ell n)-\frac{n}{2\ell}+O(1/\ell)\), \(-s_v\log m+O(p)\), and \(-(n-s_v)\log(\ell n-m)+\frac{n}{2\ell}+O(p)\) by the same expansions as below; summing them and expanding \(\frac{m}{p\ell n}=1+O(1/\sqrt{pn})\) exactly as in the last step below gives \(-s_v\log p+pn+O(\log n)\).)

Note that \[\begin{aligned} \frac{\binom{(n-1)(n-2)/2}{m-d_v}}{\binom{n(n-1)/2}{m}} &= \left[\frac{\left[\frac{n(n-1)}{2}\right]!}{\left[\frac{n(n-1)}{2}-(n-1)\right]!}\right]^{-1}\left[\frac{m!}{(m-d_v)!}\right]\left[\frac{\left[\frac{n(n-1)}{2}-m\right]!}{\left[\frac{n(n-1)}{2}-m-(n-1-d_v)\right]!}\right]. \end{aligned}\] We find that \[\begin{aligned} \log\left[\frac{\left[\frac{n(n-1)}{2}\right]!}{\left[\frac{n(n-1)}{2}-(n-1)\right]!}\right] &= \sum_{i=0}^{n-2}\log\left(\frac{n(n-1)}{2}-i\right) \\ &= (n-1)\log\left(\frac{n(n-1)}{2}\right) + \sum_{i=0}^{n-2}\log\left(1-\frac{i}{\frac{n(n-1)}{2}}\right) \\ &= (n-1)\log\left(\frac{n(n-1)}{2}\right) - \sum_{i=0}^{n-2}\frac{i}{\frac{n(n-1)}{2}} + O(1/n) \\ &= (n-1)\log\left(\frac{n(n-1)}{2}\right) - 1 + O(1/n) \end{aligned}\] and \[\begin{aligned} \log\left[\frac{m!}{(m-d_v)!}\right] &= d_v\log m + \sum_{i=0}^{d_v-1}\log\left(1-\frac{i}{m}\right) \\ &= d_v\log m + O(d_v^2/m) \\ &= d_v\log m + O(p) \end{aligned}\] and \[\begin{aligned} &\log\left[\frac{\left[\frac{n(n-1)}{2}-m\right]!}{\left[\frac{n(n-1)}{2}-m-(n-1-d_v)\right]!}\right] \\ &\quad= \sum_{i=0}^{n-2-d_v}\log\left(\frac{n(n-1)}{2}-m-i\right) \\ &\quad= (n-1-d_v)\log\left(\frac{n(n-1)}{2}-m\right) + \sum_{i=0}^{n-2-d_v}\log\left(1-\frac{i}{\frac{n(n-1)}{2}-m}\right) \\ &\quad= (n-1-d_v)\log\left(\frac{n(n-1)}{2}-m\right) - \sum_{i=0}^{n-2-d_v}\frac{i}{\frac{n(n-1)}{2}-m} + O(1/n) \\ &\quad= (n-1-d_v)\log\left(\frac{n(n-1)}{2}-m\right) - 1 + O(p), \end{aligned}\] so \[\frac{\binom{(n-1)(n-2)/2}{m-d_v}}{\binom{n(n-1)/2}{m}} = (1+O(p))\left(\frac{n(n-1)}{2}\right)^{1-n}m^{d_v}\left(\frac{n(n-1)}{2}-m\right)^{n-1-d_v}.\] We similarly derive \[\frac{\binom{(n-1)(n-2)}{2m-2d_v}}{\binom{n(n-1)}{2m}} = (1+O(p))\left(n(n-1)\right)^{3-2n}(2m)^{2d_v}\left(n(n-1)-2m\right)^{2n-3-2d_v}.\] Thus, \[\frac{\binom{(n-1)(n-2)/2}{m-d_v}\binom{(n-1)(n-2)}{2m-2d_v}^{-1}}{\binom{n(n-1)/2}{m}\binom{n(n-1)}{2m}^{-1}} = (1+O(p))\left[\frac{n(n-1)}{2m}\right]^{d_v}\left[\frac{\frac{n(n-1)}{2}}{\frac{n(n-1)}{2}-m}\right]^{n-2-d_v}.\] We see that \[\begin{aligned} \log\left(\left[\frac{n(n-1)}{2m}\right]^{d_v}\right) &= d_v\log\left(\frac{n^2}{2m}\right) + O(p) \\ &= -d_v\log p - d_v\log\left(\frac{2m}{pn^2}\right) + O(p) \\ &= -d_v\log p - d_v\left[\frac{2m}{pn^2}-1\right] + O(1) \\ &= -d_v\log p - \frac{2m}{n} + pn + O(\log n), \end{aligned}\] where in the third line we used \(\frac{2m}{pn^2}-1=O(1/\sqrt{pn})\), so that \(d_v\left(\frac{2m}{pn^2}-1\right)^2=O(1)\), and in the last line we wrote \(d_v=pn+\beta_v\sqrt{pn}\) with \(\beta_v:=(d_v-pn)/\sqrt{pn}\), so that \(|\beta_v|\le\log n\) by hypothesis and \(\beta_v\sqrt{pn}\left(\frac{2m}{pn^2}-1\right)=O(\log n)\); and \[\begin{aligned} \log\left(\left[\frac{\frac{n(n-1)}{2}}{\frac{n(n-1)}{2}-m}\right]^{n-2-d_v}\right) &= (n-2-d_v)\log\left[\frac{1}{1-\frac{2m}{n(n-1)}}\right] \\ &= \frac{2m}{n} + O(np^2). \end{aligned}\] Adding these two directly implies the desired result. ◻

Lemma C.4. Fix a real parameter \(\theta\in(1/2,1)\) and a constant \(T>1\). For all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following are true.

  1. Select \(m\in\mathbb{Z}\) satisfying \(|m-pn(n-1)/2|\le Tn^2p/\sqrt{pn}\), and select \(\mathbf{d}\in\mathcal{D}_{n,m}^{\text{graph}}\) such that \(d_i = pn + \beta_i\sqrt{pn}\) where \(|\beta_i|\le\log n\). Pick a vertex \(v\in[n]\) and a subset \(S\subset[n]\) with size \(h=|S|\) satisfying \(h,n-h\ge T^{-1}n\). Pick an integer \(t\in[0,d_v]\). Sample \(G\) uniformly at random from all graphs with degree sequence \(\mathbf{d}\). We have \[\mathbb{P}[\deg^G_Sv = t] = \exp\left(O(\log^4 n)\right)\frac{\binom{h-\mathbf{1}_S(v)}{t}\binom{n-h-\mathbf{1}_{[n]\setminus S}(v)}{d_v-t}}{\binom{n-1}{d_v}}\mathbb{E}_R[\exp(\Lambda_R)]\] where \(R=R_1\cup R_2\) is a random set chosen by picking \(R_1\) uniformly from \(\binom{S\setminus\{v\}}{t}\) and \(R_2\) uniformly from \(\binom{[n]\setminus(S\cup\{v\})}{d_v-t}\) (if one of these two families is empty, then the corresponding binomial coefficient vanishes and both sides are \(0\)), and where \[\Lambda_R := \sum_{i\in R}\frac{\beta_i}{\sqrt{pn}} - \sum_{i\in [n]\setminus(\{v\}\cup R)}\frac{\sqrt{pn}}{n}\beta_i.\]

  2. Select \(\ell\in\mathbb{Z}\cap[T^{-1}n,Tn]\). Select \(m\in\mathbb{Z}\) satisfying \(|m-p\ell n| \le T n^2p/\sqrt{pn}\), and select \((\mathbf{s},\mathbf{t})\in\mathcal{D}_{\ell,n,m}^{\text{bigraph}}\) such that \(s_i = pn + \alpha_i\sqrt{pn}\) and \(t_j = p\ell + \beta_j\sqrt{p\ell}\), where \(|\alpha_i|,|\beta_j|\le\log n\) for all \(i\in[\ell]\) and \(j\in[n]\). Pick a vertex \(v\in[\ell]\) and a subset \(S\subset[n]\) with size \(h=|S|\) satisfying \(h,n-h\ge T^{-1}n\). Pick an integer \(t\in[0,s_v]\). Sample \(G\) uniformly at random from all bigraphs with degree sequence \((\mathbf{s},\mathbf{t})\). We have \[\mathbb{P}[\deg^G_Sv = t] = \exp\left(O(\log^4 n)\right)\frac{\binom{h}{t}\binom{n-h}{s_v-t}}{\binom{n}{s_v}}\mathbb{E}_R[\exp(\Lambda_R)]\] where \(R=R_1\cup R_2\) is a random set chosen by picking \(R_1\) uniformly from \(\binom{S}{t}\) and \(R_2\) uniformly from \(\binom{[n]\setminus S}{s_v-t}\), and where \[\Lambda_R:=\sum_{j\in R}\frac{\beta_j}{\sqrt{p\ell}} - \sum_{j\in [n]\setminus R}\frac{\sqrt{p\ell}}{\ell}\beta_j.\]

Read proofProof of Lemma C.4

Proof. We prove only (i); the proof of (ii) is similar but uses Theorem A.4 instead of Theorem A.3, and Lemma C.3(ii) instead of Lemma C.3(i).

Let \(\mathbb{P}_{\mathbf{d}}\) denote the uniform distribution on graphs with degree sequence \(\mathbf{d}\). Given \(R\subset[n]\setminus\{v\}\) of size \(d_v\), we begin by computing \(\mathbb{P}_{G\sim\mathbb{P}_{\mathbf{d}}}[N_G(v) = R]\). To this end, define \[\mathbf{d}_R = (d_w - \mathbf{1}_{w\in R})_{w\in[n]\setminus\{v\}}.\] Note that \(2m = \sum_{i\in[n]}d_i\) and let \(m_R = m-d_v\), and let \(d=2m/n\) and \(d_R = 2m_R/(n-1)\). Note that by Bayes’ theorem, \[\mathbb{P}_{G\sim\mathbb{P}_\mathbf{d}}[N_G(v) = R] = \mathbb{P}_{G\sim G(n,m)}[N_G(v)=R]\frac{\mathbb{P}_{G(n-1,m_R)}[\mathbf{d}_R]}{\mathbb{P}_{G(n,m)}[\mathbf{d}]} = \frac{\binom{(n-1)(n-2)/2}{m-d_v}}{\binom{n(n-1)/2}{m}}\frac{\mathbb{P}_{G(n-1,m_R)}[\mathbf{d}_R]}{\mathbb{P}_{G(n,m)}[\mathbf{d}]},\] where \(\mathbb{P}_{G(n,m)}\) and \(\mathbb{P}_{G(n-1,m_R)}\) are the degree-sequence laws of Definition A.1: the graphs with degree sequence \(\mathbf{d}\) and \(N_G(v)=R\) correspond bijectively to the graphs on \([n]\setminus\{v\}\) with degree sequence \(\mathbf{d}_R\), and the latter number \(\binom{(n-1)(n-2)/2}{m-d_v}\mathbb{P}_{G(n-1,m_R)}[\mathbf{d}_R]\), while the former are \(\binom{n(n-1)/2}{m}\mathbb{P}_{G(n,m)}[\mathbf{d}]\) in total. We compute the remaining two probabilities by appealing to Theorem A.3. Indeed, note that \(\mu = \frac{d}{n-1} = p + O(p/\sqrt{pn})\), and \(\gamma_2(\mathbf{d}) = O(p\log^2 n)\), and similarly \(\mu_R = \frac{d_R}{n-2} = p + O(p/\sqrt{pn})\) and \(\gamma_2(\mathbf{d}_R) = O(p\log^2 n)\). Thus, by Theorem A.3, we have \[\begin{aligned} \mathbb{P}_{G\sim\mathbb{P}_\mathbf{d}}[N_G(v) = R] &= \exp\left(O(\log^4 n)\right)\frac{\binom{(n-1)(n-2)/2}{m-d_v}}{\binom{n(n-1)/2}{m}}\frac{\frac{\prod_{w\in [n]\setminus\{v\}}\binom{n-2}{d_w-\mathbf{1}_{w\in R}}}{\binom{(n-1)(n-2)}{2m-2d_v}}}{\frac{\prod_{w\in[n]}\binom{n-1}{d_w}}{\binom{n(n-1)}{2m}}} \\ &= \exp\left(O(\log^4 n)\right)\frac{\binom{(n-1)(n-2)/2}{m-d_v}\binom{(n-1)(n-2)}{2m-2d_v}^{-1}}{\binom{n(n-1)/2}{m}\binom{n(n-1)}{2m}^{-1}}\frac{\prod_{w\in [n]\setminus\{v\}}\binom{n-2}{d_w-\mathbf{1}_{w\in R}}}{\prod_{w\in[n]}\binom{n-1}{d_w}}. \end{aligned}\] Note that \[\begin{aligned} \frac{\prod_{w\in [n]\setminus\{v\}}\binom{n-2}{d_w-\mathbf{1}_{w\in R}}}{\prod_{w\in[n]}\binom{n-1}{d_w}} &= \frac{1}{\binom{n-1}{d_v}}\prod_{i\in R}\frac{d_i}{n-1}\prod_{i\in[n]\setminus(\{v\}\cup R)}\frac{n-1-d_i}{n-1} \\ &= \frac{\exp(O(1))}{\binom{n-1}{d_v}}p^{d_v}(1-p)^{n-1-d_v}\prod_{i\in R}\left[1 + \frac{\beta_i}{\sqrt{pn}}\right]\prod_{i\in [n]\setminus(\{v\}\cup R)}\left[1 - \frac{\sqrt{pn}}{n}\beta_i\right] \\ &= \frac{\exp(O(\log^2 n))}{\binom{n-1}{d_v}}p^{d_v}e^{-np}\exp\left[\sum_{i\in R}\frac{\beta_i}{\sqrt{pn}} - \sum_{i\in [n]\setminus(\{v\}\cup R)}\frac{\sqrt{pn}}{n}\beta_i\right], \end{aligned}\] so by Lemma C.3(i), we have \[\mathbb{P}_{G\sim\mathbb{P}_\mathbf{d}}[N_G(v) = R] = \exp\left(O(\log^4 n)\right)\frac{\exp(\Lambda_R)}{\binom{n-1}{d_v}}.\] Now pick \(R_1\) uniformly from \(\binom{S\setminus\{v\}}{t}\) and \(R_2\) uniformly from \(\binom{[n]\setminus(\{v\}\cup S)}{d_v-t}\), and let \(R=R_1\cup R_2\). Under this setup, we have \[\mathbb{P}_{G\sim\mathbb{P}_{\mathbf{d}}}[\deg^G_Sv=t] = \binom{h-\mathbf{1}_S(v)}{t}\binom{n-h-\mathbf{1}_{[n]\setminus S}(v)}{d_v-t}\mathbb{E}_R[\mathbb{P}_{G\sim\mathbb{P}_\mathbf{d}}[N_G(v) = R]],\] so \[\mathbb{P}[\deg^G_Sv=t] = \exp\left(O(\log^4 n)\right)\frac{\binom{h-\mathbf{1}_S(v)}{t}\binom{n-h-\mathbf{1}_{[n]\setminus S}(v)}{d_v-t}}{\binom{n-1}{d_v}}\mathbb{E}_R[\exp(\Lambda_R)],\] as desired. ◻

The following lemma compares \(\mathbb{E}[e^X]\) with \(e^{\mathbb{E}X}\) when \(X\) is a sum of small weights over a uniformly random subset of prescribed size; it is what lets us replace \(\mathbb{E}_R[\exp(\Lambda_R)]\) by \(\exp(\mathbb{E}_R[\Lambda_R])\) up to a factor \(\exp(O(\log^2n))\).

Lemma C.5. Fix a real parameter \(\theta\in(1/2,1)\) and a constant \(T>1\). For all sufficiently large \(n\in\mathbb{Z}\) and \(p\in(T^{-1}n^{-\theta},Tn^{-\theta})\), the following is true.

Fix real numbers \(a_1,\ldots,a_n\in\mathbb{R}\) with \(|a_i|\le T\log n/\sqrt{pn}\) for all \(i\), and consider an integer \(s\in[T^{-1}pn,Tpn]\). Pick \(\xi\in\{0,1\}^n\) uniformly at random, and then condition on \(\sum_i\xi_i = s\). Let \(X = \sum_i \xi_i a_i\). Then, \[\mathbb{E}\left[e^X\right] \le O(\sqrt{pn})\exp\left(\mathbb{E}[X]+O(\log^2 n)\right).\]

Read proofProof of Lemma C.5

Proof. Let \(q=s/n\), and let \(Y = \sum_i \zeta_i a_i\), where the \(\zeta_i\) are independent \(\mathrm{Ber}(q)\) random variables. Since \(q\asymp p\), \[\mathbb{E}\left[e^Y\right] \ge \mathbb{P}[\mathrm{Bin}(n,q)=s]\mathbb{E}\left[e^X\right] \ge \Omega(1/\sqrt{pn})\mathbb{E}\left[e^X\right].\] Also, \[\log\mathbb{E}\left[e^Y\right] =\sum_{i=1}^n\log\left(1+q(e^{a_i}-1)\right) =q\sum_{i=1}^n a_i+O\left(q\sum_{i=1}^n a_i^2\right) =\mathbb{E}[X]+O(\log^2 n),\] using \(|a_i|\le T\log n/\sqrt{pn}\). Combining the two displays proves the claim. ◻

We are now ready to prove our main result.

Read proofFull argument

Proof of Theorem C.2. We only prove (i), as (ii) has a similar proof but uses Lemma C.4(ii) instead of Lemma C.4(i).

Define \(\Lambda_R\) as in Lemma C.4. We begin by computing its expectation over the randomness of \(R\). We have \[\begin{aligned} \mathbb{E}_R[\Lambda_R] &= \sum_{x\in S\setminus\{v\}}\frac{t}{|S\setminus\{v\}|}\frac{\beta_x}{\sqrt{pn}} + \sum_{x\in[n]\setminus(S\cup\{v\})}\frac{d_v-t}{|[n]\setminus(S\cup\{v\})|}\frac{\beta_x}{\sqrt{pn}} \\ &\quad-\sum_{x\in S\setminus\{v\}}\left(1-\frac{t}{|S\setminus\{v\}|}\right)\frac{\sqrt{pn}}{n}\beta_x - \sum_{x\in[n]\setminus(S\cup\{v\})}\left(1 - \frac{d_v-t}{|[n]\setminus(S\cup\{v\})|}\right)\frac{\sqrt{pn}}{n}\beta_x \\ &= \sum_{x\in S}\left[\frac{t}{h} - p\right]\frac{\beta_x}{\sqrt{pn}} + \sum_{x\in[n]\setminus S}\left[\frac{d_v-t}{n-h}-p\right]\frac{\beta_x}{\sqrt{pn}} + O(\log n) \\ &= O(|\tau|\log n + \log^2 n). \end{aligned}\] We first dispose of the case in which \(t\) or \(d_v-t\) is small. Let \(\epsilon=\epsilon(T)>0\) be a sufficiently small constant, and suppose that \(t\le\epsilon pn\) or \(d_v-t\le\epsilon pn\). The hypergeometric factor in Lemma C.4 is the probability that a uniformly random \(d_v\)-subset of \([n]\setminus\{v\}\) meets \(S\setminus\{v\}\) in exactly \(t\) elements. This hypergeometric variable has mean \(d_v(h-\mathbf{1}_S(v))/(n-1)\), which lies in \([d_v/(2T),d_v(1-1/(2T))]\) for large \(n\), so for \(\epsilon\) small enough our \(t\) is at distance \(\Omega(pn)\) from the mean, and Hoeffding’s inequality (which applies to sampling without replacement) bounds the factor by \(\exp(-cpn)\) for a constant \(c=c(T)>0\). Since \(|\Lambda_R|\le d_v\log n/\sqrt{pn}+\sqrt{pn}\log n=O(\sqrt{pn}\log n)\) deterministically, Lemma C.4 gives \(\mathbb{P}[\deg^G_Sv=t]\le\exp\left(O(\log^4 n)+O(\sqrt{pn}\log n)-cpn\right)\le\exp(-cpn/2)\), while \(|t-ph|\le\max(ph,d_v)=O(pn)\) gives \(\tau^2=(t-ph)^2/(ph)=O(pn)\). Hence \(\mathbb{P}[\deg^G_Sv=t]\le\exp(-c_1\tau^2)\) in this case, for a suitable constant \(c_1=c_1(T)>0\).

We may therefore assume that \(\epsilon pn\le t\le d_v-\epsilon pn\). Writing \(\xi_i:=\mathbf{1}_{i\in R}\), we have \(\Lambda_R=\sum_{i\ne v}\xi_ia_i-\sum_{i\ne v}\frac{\sqrt{pn}}{n}\beta_i\) with \(a_i:=\beta_i\left(\frac{1}{\sqrt{pn}}+\frac{\sqrt{pn}}{n}\right)=O(\log n/\sqrt{pn})\), and \(R_1\) and \(R_2\) are independent uniformly random subsets of \(S\setminus\{v\}\) and of \([n]\setminus(S\cup\{v\})\) of sizes \(t\) and \(d_v-t\) respectively; both sizes are of order \(pn\), hence of order \(p\) times the size of the ambient set, which is the hypothesis of Lemma C.5. Applying that lemma separately to the two pieces, and using \(\log(pn)=O(\log n)\), gives \(\mathbb{E}_R[\exp(\Lambda_R)]\le\exp(\mathbb{E}_R[\Lambda_R]+O(\log^2 n))=\exp(O(|\tau|\log n+\log^2n))\). Jensen’s inequality supplies the matching lower bound \(\mathbb E_R[e^{\Lambda_R}]\ge e^{\mathbb E_R[\Lambda_R]}\), so in fact \(\mathbb E_R[e^{\Lambda_R}]=\exp(O(|\tau|\log n+\log^2n))\). Together with Lemma C.4, whose factor \(\exp(O(\log^4 n))\) is absorbed into \(\exp(O(|\tau|\log n))\) because \(|\tau|\ge\log^{100}n\), we obtain \[\begin{aligned} \mathbb{P}[\deg^G_Sv=t] &= \exp(O(|\tau|\log n + \log^2 n))\frac{\binom{h-\mathbf{1}_S(v)}{t}\binom{n-h-\mathbf{1}_{[n]\setminus S}(v)}{d_v-t}}{\binom{n-1}{d_v}} \\ &= \exp(O(|\tau|\log n + \log^2 n))\frac{\binom{h}{t}\binom{n-h}{d_v-t}}{\binom{n}{d_v}}, \end{aligned}\] where the second line uses \(\binom{h-1}{t}/\binom{h}{t}=1-t/h=1-O(p)\) and its two analogues. We now bound the hypergeometric term. Indeed, we have that \[\begin{aligned} \frac{\binom{h}{t}\binom{n-h}{d_v-t}}{\binom{n}{d_v}} &= \frac{\binom{d_v}{t}\binom{n-d_v}{h-t}}{\binom{n}{h}} \\ &= (1+o(1))\binom{d_v}{t}\frac{h^t(n-h)^{d_v-t}}{n^{d_v}} \\ &\le (1+o(1))\mathbb{P}\left[\left|\mathrm{Bin}(d_v,\tfrac{h}{n})-d_v\tfrac{h}{n}\right|\ge\left(\frac{|\tau|}{\sqrt T}-\log n\right)\sqrt{pn}\right] \\ &\le 2(1+o(1))\exp\left(-\frac{2(|\tau|/\sqrt T-\log n)^2}{1+\beta_v/\sqrt{pn}}\right), \end{aligned}\] where the second line holds because the ratio of the two sides is \(\exp(O(t^2/h+d_v^2/n))=\exp(O(p^2n))\), which tends to \(1\) since \(\theta>1/2\); the first inequality uses \(t-d_vh/n=\tau\sqrt{ph}-\beta_v\sqrt{pn}\,h/n\) together with \(h\ge T^{-1}n\) and \(h\le n\); and the last inequality follows from Hoeffding’s inequality. Thus, since \(|\tau|\ge\log^{100} n\), there is some constant \(c_2>0\) (depending on \(T\)) such that \[\mathbb{P}[\deg^G_Sv=t]\le\exp(-c_2\tau^2)\] in this case. Taking \(C_{C.2}:=\min\{c_1,c_2\}\) proves the theorem. ◻

Appendix D Inverse-function theorems for conditional-mean maps

This appendix proves that the map sending the mean of a Gaussian vector to its conditional mean given a fixed open convex set is a diffeomorphism onto that set, and that a map which is uniformly close to such a diffeomorphism on compact sets still hits every target in a compact subset of the set, with a preimage close to the exact one. The first statement is what makes the universal recursion of Section 4 well defined; the second is what produces the tilts of the idealized process in Appendix E. The first statement is the classical fact that the mean-value map of a regular exponential family is a diffeomorphism onto the interior of the convex support; we give the short self-contained proof. The second is an application of Brouwer’s fixed point theorem. The appendix uses only Appendix A.5.

D.1 Strong bijections

Definition D.1 (Strong bijection). Let \(d\ge1\) and let \(B\subseteq\mathbb{R}^d\) be open. A map \(f\colon\mathbb{R}^d\to B\) is a strong bijection if it is a bijection and both \(f\) and \(f^{-1}\colon B\to\mathbb{R}^d\) are smooth.

Lemma D.2 (Lipschitz bounds on compact sets). Let \(f\colon\mathbb{R}^d\to B\) be a strong bijection and let \(K\subseteq B\) be compact. Then there is a constant \(L=L(f,K)\ge1\) such that \[L^{-1}|y-z|\le\left|f^{-1}(y)-f^{-1}(z)\right|\le L|y-z|\qquad\text{for all }y,z\in K .\]

Read proofProof of Lemma D.2

Proof. We first record that a smooth map \(h\colon W\to\mathbb{R}^d\) on an open set \(W\subseteq\mathbb{R}^d\) is Lipschitz on every compact \(K\subseteq W\). For \(K=\emptyset\) this is immediate, so assume \(K\ne\emptyset\). Since \(K\) is compact and \(W\) is open there is \(\rho>0\) such that the closed \(\rho\)-neighborhood \(K_\rho:=\{x:\operatorname{dist}(x,K)\le\rho\}\) is contained in \(W\); the derivative \(Dh\) is continuous, hence bounded by some \(L_1\) on the compact set \(K_\rho\). If \(y,z\in K\) and \(|y-z|\le\rho\), the segment from \(y\) to \(z\) lies in \(K_\rho\), and the mean value inequality gives \(|h(y)-h(z)|\le L_1|y-z|\). If \(|y-z|>\rho\), then \(|h(y)-h(z)|\le2\sup_K|h|\le(2\sup_K|h|/\rho)\,|y-z|\). So \(h\) is Lipschitz on \(K\) with constant \(\max\{L_1,2\sup_K|h|/\rho\}\).

Applying this to \(h=f^{-1}\) on \(W=B\) gives the upper bound with some constant \(L'\). For the lower bound, the set \(K':=f^{-1}(K)\) is compact, being the image of a compact set under the continuous map \(f^{-1}\); applying the fact to \(h=f\) on \(W=\mathbb{R}^d\) gives \(L''\) with \(|f(a)-f(b)|\le L''|a-b|\) for \(a,b\in K'\), and taking \(a=f^{-1}(y)\), \(b=f^{-1}(z)\) yields \(|y-z|\le L''|f^{-1}(y)-f^{-1}(z)|\). Take \(L:=\max\{L',L'',1\}\). ◻

D.2 The conditional-mean map

Theorem D.3 (The conditional-mean map is a strong bijection). Let \(d\ge1\), let \(\Sigma\in\mathbb{R}^{d\times d}\) be positive definite, and let \(\mathcal{O}\subseteq\mathbb{R}^d\) be a nonempty open convex set. For \(\gamma\in\mathbb{R}^d\) let \(X^\gamma\sim\mathcal{N}(\gamma,\Sigma)\). The map \[F_{\mathcal{O}}\colon\mathbb{R}^d\to\mathcal{O},\qquad F_{\mathcal{O}}(\gamma):=\mathbb{E}\left[X^\gamma\mid X^\gamma\in\mathcal{O}\right],\] is well defined, that is, its values lie in \(\mathcal{O}\), and it is a strong bijection. Its Jacobian at \(\gamma\) is \(\mathrm{Cov}(X^\gamma\mid X^\gamma\in\mathcal{O})\,\Sigma^{-1}\), which is invertible.

Read proofProof of Theorem D.3

Proof. That \(F_{\mathcal{O}}\) is well defined with values in \(\mathcal{O}\) is Lemma A.12. Define \[\Phi\colon\mathbb{R}^d\to\mathbb{R},\qquad\Phi(\vartheta):=\log\int_{\mathcal{O}}\exp\left(\vartheta\cdot x-\tfrac12x^\top\Sigma^{-1}x\right)dx .\] The integrand is bounded by \(\exp(|\vartheta||x|-\frac12\lambda_{\min}|x|^2)\), where \(\lambda_{\min}>0\) is the smallest eigenvalue of \(\Sigma^{-1}\), so the integral converges for every \(\vartheta\), and differentiation under the integral sign (justified by the same Gaussian domination, locally uniformly in \(\vartheta\)) shows that \(\Phi\) is smooth with \[\nabla\Phi(\vartheta)=\mathbb{E}_\vartheta[X],\qquad\nabla^2\Phi(\vartheta)=\mathrm{Cov}_\vartheta(X),\] where \(\mathbb{P}_\vartheta\) denotes the probability measure on \(\mathcal{O}\) with density proportional to \(\exp(\vartheta\cdot x-\frac12x^\top\Sigma^{-1}x)\). Since \[-\tfrac12(x-\gamma)^\top\Sigma^{-1}(x-\gamma)=x\cdot\Sigma^{-1}\gamma-\tfrac12x^\top\Sigma^{-1}x-\tfrac12\gamma^\top\Sigma^{-1}\gamma,\] the law of \(X^\gamma\) conditioned on \(\{X^\gamma\in\mathcal{O}\}\) is \(\mathbb{P}_{\Sigma^{-1}\gamma}\). Hence \[\label{eq:F-gradient} F_{\mathcal{O}}(\gamma)=\nabla\Phi(\Sigma^{-1}\gamma)\qquad\text{and}\qquad DF_{\mathcal{O}}(\gamma)=\nabla^2\Phi(\Sigma^{-1}\gamma)\,\Sigma^{-1}=\mathrm{Cov}(X^\gamma\mid X^\gamma\in\mathcal{O})\,\Sigma^{-1},\] so \(F_{\mathcal{O}}\) is smooth, and its Jacobian is invertible because \(\mathrm{Cov}(X^\gamma\mid X^\gamma\in\mathcal{O})\) is positive definite by Lemma A.12.

Injectivity. By (D.1) and Lemma A.12, \(\nabla^2\Phi\) is positive definite everywhere, so \(\Phi\) is strictly convex. If \(\nabla\Phi(\vartheta)=\nabla\Phi(\vartheta')\) with \(\vartheta\ne\vartheta'\), then the strictly convex function \(t\mapsto\Phi(\vartheta+t(\vartheta'-\vartheta))\) would have equal derivatives at \(t=0\) and \(t=1\), which is impossible. Hence \(\nabla\Phi\) is injective, and so is \(F_{\mathcal{O}}=\nabla\Phi\circ\Sigma^{-1}\).

Surjectivity. Fix \(y\in\mathcal{O}\) and consider the smooth function \(\Psi(\vartheta):=\Phi(\vartheta)-\vartheta\cdot y\). We show that \(\Psi(\vartheta)\to\infty\) as \(|\vartheta|\to\infty\). Since \(\mathcal{O}\) is open there is \(\eta>0\) with \(B(y,2\eta)\subseteq\mathcal{O}\). For a unit vector \(e\) and \(t>0\), the ball \(B(y+\frac32\eta e,\frac12\eta)\) is contained in \(B(y,2\eta)\subseteq\mathcal{O}\) and in the half-space \(\{x:(x-y)\cdot e>\eta\}\), so \[\Psi(te)=\log\int_{\mathcal{O}}\exp\left(t(x-y)\cdot e-\tfrac12x^\top\Sigma^{-1}x\right)dx \ge\log\left(e^{t\eta}\,m_0\right)=t\eta+\log m_0,\] where \[m_0:=\mathrm{vol}\left(B(0,\tfrac12\eta)\right)\inf_{|x-y|\le2\eta}e^{-\frac12x^\top\Sigma^{-1}x}>0\] does not depend on \(e\). Hence \(\Psi\ge t\eta+\log m_0\) on the sphere of radius \(t\), which exceeds \(\Psi(0)\) for \(t\) large. A continuous function on a closed ball attains its minimum; as \(\Psi\) is larger on the boundary of a large ball than at its center, the minimum over the ball is attained at an interior point \(\vartheta^\ast\), where \(\nabla\Psi(\vartheta^\ast)=0\), that is, \(\nabla\Phi(\vartheta^\ast)=y\). Thus \(F_{\mathcal{O}}(\Sigma\vartheta^\ast)=y\).

Smoothness of the inverse. \(F_{\mathcal{O}}\) is a smooth bijection \(\mathbb{R}^d\to\mathcal{O}\) whose Jacobian is everywhere invertible, so by the inverse function theorem it is a local diffeomorphism around every point; hence its inverse is smooth on \(\mathcal{O}\). ◻

Corollary D.4 (Conditional means on a cone). Let \(d\ge1\), let \(0\le r\le d\), let \(M\in\mathbb{R}^{r\times d}\) have rank \(r\), and let \(\Sigma\in\mathbb{R}^{d\times d}\) be positive definite. Let \(\mathcal{C}_M:=\{x\in\mathbb{R}^d:Mx>0\}\), where \(Mx>0\) means that every coordinate is positive, so that \(\mathcal{C}_M=\mathbb{R}^d\) when \(r=0\). Then \(\mathcal{C}_M\) is a nonempty open convex set, and the map \(F_{\mathcal{C}_M}\) of Theorem D.3 is a strong bijection \(\mathbb{R}^d\to\mathcal{C}_M\).

Read proofProof of Corollary D.4

Proof. \(\mathcal{C}_M\) is the intersection of \(r\) open half-spaces, hence open and convex. It is nonempty: since \(M\) has rank \(r\), the map \(x\mapsto Mx\) is onto \(\mathbb{R}^r\), so some \(x\) has \(Mx=(1,\ldots,1)\). Apply Theorem D.3 with \(\mathcal{O}=\mathcal{C}_M\). ◻

D.3 Solving perturbed equations

Theorem D.5 (Perturbation of a strong bijection). Let \(d\ge1\), let \(B\subseteq\mathbb{R}^d\) be open, let \(f\colon\mathbb{R}^d\to B\) be a strong bijection, let \(\mathcal{K}\subseteq B\) be compact, and let \(C_0>0\). Put \(R_0:=\max_{y\in\mathcal{K}}|f^{-1}(y)|+1\) when \(\mathcal{K}\ne\emptyset\), and \(R_0:=1\) when \(\mathcal{K}=\emptyset\). There exist \(\varepsilon_0>0\) and \(C>0\), depending only on \(f\), \(\mathcal{K}\), and \(C_0\), such that the following holds. Let \(0<\varepsilon<\varepsilon_0\) and let \(g\colon\mathbb{R}^d\to\mathbb{R}^d\) be a continuous map with \[\sup_{|x|\le R_0}\left|g(x)-f(x)\right|\le C_0\,\varepsilon .\] Then for every \(y\in\mathcal{K}\) there is \(x\in\mathbb{R}^d\) with \[g(x)=y\qquad\text{and}\qquad\left|x-f^{-1}(y)\right|\le C\varepsilon .\] In particular this applies to \(B=\mathcal{C}_M\) as in Corollary D.4 and, for \(T>1\), to the compact set \[\mathcal{K}_T:=\left\{y\in\mathcal{C}_M:\left\lVert y\right\rVert_\infty\le T\text{ and }\min_{1\le i\le r}(My)_i\ge T^{-1}\right\}\] (the closed cube \([-T,T]^d\) when \(r=0\)), with \(R_0\), \(\varepsilon_0\), and \(C\) depending only on \(d\), \(M\), \(f\), \(C_0\), and \(T\).

Read proofProof of Theorem D.5

Proof. If \(\mathcal{K}=\emptyset\), the conclusion is vacuous, so take \(\varepsilon_0=C=1\). Assume henceforth that \(\mathcal{K}\ne\emptyset\). Since \(\mathcal{K}\) is compact and \(B\) is open, \(r_0:=\frac12\operatorname{dist}(\mathcal{K},\mathbb{R}^d\setminus B)\) is positive (with \(r_0:=1\) if \(B=\mathbb{R}^d\)), and \(\mathcal{K}':=\{z:\operatorname{dist}(z,\mathcal{K})\le r_0\}\) is a compact subset of \(B\). Let \(L:=L(f,\mathcal{K}')\) be the constant of Lemma D.2, and put \[\varepsilon_0:=\min\left\{\frac{r_0}{C_0},\ \frac{1}{L\,C_0}\right\},\qquad C:=L\,C_0.\] Fix \(\varepsilon\in(0,\varepsilon_0)\), a map \(g\) as in the statement, and \(y\in\mathcal{K}\), and let \(x_0:=f^{-1}(y)\), so that \(|x_0|\le R_0-1\). For \(x\) in the closed ball \(\overline{B}(x_0,1)\) we have \(|x|\le R_0\), hence \(|f(x)-g(x)|\le C_0\varepsilon<r_0\), so the point \[z(x):=y+f(x)-g(x)\] lies in \(\mathcal{K}'\subseteq B\), and \(h(x):=f^{-1}(z(x))\) is defined. The map \(h\colon\overline{B}(x_0,1)\to\mathbb{R}^d\) is continuous, being a composition of continuous maps, and by Lemma D.2 on \(\mathcal{K}'\), \[|h(x)-x_0|=\left|f^{-1}(z(x))-f^{-1}(y)\right|\le L\,|z(x)-y|\le L\,C_0\,\varepsilon\le1 .\] Thus \(h\) maps \(\overline{B}(x_0,1)\) into itself, and by Brouwer’s fixed point theorem (Hatcher 2002, Corollary 2.15) it has a fixed point \(x^\ast\). Then \(f(x^\ast)=z(x^\ast)=y+f(x^\ast)-g(x^\ast)\), that is, \(g(x^\ast)=y\), and the displayed inequality with \(x=x^\ast\) gives \(|x^\ast-f^{-1}(y)|\le L\,C_0\,\varepsilon=C\varepsilon\).

For the last assertion, \(\mathcal{K}_T\) is closed and bounded, hence compact, and it is contained in \(\mathcal{C}_M\); the constants then depend on \(\mathcal{K}_T\) only through \(d\), \(M\), and \(T\). ◻

Appendix E The idealized process: existence, perturbation, and the edge day

This appendix proves the theorems of Section 5. Its inputs are the Gaussian approximations of Appendix A.2 (Theorem A.6 and Theorem A.7), the inverse-function theorems of Appendix D, and the universal recursion of Section 4. Throughout, \(\theta\in(1/2,1)\) and \(T>1\) are fixed, \(N\) is large, \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), and for a size vector \(n\in\mathbb{Z}_{\ge1}^{\{0,1\}^k}\) and a tilt \(\lambda\) we write \(A_{s,\bullet}(n,\lambda)\) for the row vector of Definition 3.2. For \(s\in\{0,1\}^k\) we write \(M_s\in\{0,\pm1\}^{(k-1)\times2^k}\) for the matrix whose \(r\)th row is the coefficient vector of the form \(Z_{s,r}\) of Definition 4.1, and \(\ge'_s\in\{\ge,>\}^{k-1}\) for the relation such that \(\mathcal{I}_s(x)\) is the assertion \(M_sx\ge'_s0\) (Definition 3.1 and the proof of Lemma B.6); the rows of \(M_s\) are nonzero and pairwise orthogonal.

E.1 Uniqueness of tilts

Lemma E.1 (The conditioned mean map is injective). Let \(d\ge1\), let \(\eta\in\mathbb{Z}_{\ge1}^d\), let \(M\in\mathbb{R}^{r\times d}\), and let \(\ge'\in\{\ge,>\}^r\). Suppose that the set \(S:=\{a\in\prod_{t\in[d]}\{0,\ldots,\eta_t\}:Ma\ge'0\}\) is not contained in an affine hyperplane of \(\mathbb{R}^d\). For \(q\in(0,1)^d\) let \(A^q\) have independent coordinates \(A^q_t\sim\mathrm{Bin}(\eta_t,q_t)\). Then \(\mathbb{P}[MA^q\ge'0]>0\) for every \(q\), and the map \[(0,1)^d\to\mathbb{R}^d,\qquad q\mapsto\mathbb{E}\left[A^q\mid MA^q\ge'0\right],\] is injective.

Read proofProof of Lemma E.1

Proof. Every point \(a\) of the box \(\prod_t\{0,\ldots,\eta_t\}\) has \(\mathbb{P}[A^q=a]=\prod_t\binom{\eta_t}{a_t}q_t^{a_t}(1-q_t)^{\eta_t-a_t}>0\), and \(S\) is nonempty (a set contained in no affine hyperplane contains \(d+1\) affinely independent points), so \(\mathbb{P}[MA^q\ge'0]=\mathbb{P}[A^q\in S]>0\). Write \(\vartheta_t:=\log\frac{q_t}{1-q_t}\), which is a bijection \((0,1)^d\to\mathbb{R}^d\), and \(\binom{\eta}{a}:=\prod_t\binom{\eta_t}{a_t}\). Since \(q_t^{a_t}(1-q_t)^{\eta_t-a_t}=e^{\vartheta_ta_t}(1-q_t)^{\eta_t}\), \[\mathbb{P}\left[A^q=a\mid A^q\in S\right]=\binom{\eta}{a}\exp\left(\vartheta\cdot a-\psi(\vartheta)\right)\quad(a\in S),\qquad\psi(\vartheta):=\log\sum_{a\in S}\binom{\eta}{a}e^{\vartheta\cdot a}.\] The function \(\psi\) is smooth on \(\mathbb{R}^d\) (a logarithm of a finite positive sum of exponentials), and differentiating gives \(\nabla\psi(\vartheta)=\mathbb{E}[A^q\mid A^q\in S]\) and \(\nabla^2\psi(\vartheta)=\mathrm{Cov}(A^q\mid A^q\in S)\). For \(u\in\mathbb{R}^d\setminus\{0\}\), \(u^\top\nabla^2\psi(\vartheta)u=\mathrm{Var}(u\cdot A^q\mid A^q\in S)\), and this vanishes only if \(u\cdot a\) is constant over \(S\) (all points of \(S\) have positive conditional probability), that is, only if \(S\) lies in an affine hyperplane, which is excluded. Hence \(\psi\) is strictly convex, so \(\nabla\psi\) is injective (if \(\nabla\psi(\vartheta)=\nabla\psi(\vartheta')\) with \(\vartheta\ne\vartheta'\), the strictly convex function \(t\mapsto\psi(\vartheta+t(\vartheta'-\vartheta))\) would have equal derivatives at \(0\) and \(1\)), and so is \(q\mapsto\nabla\psi(\vartheta(q))\). ◻

In the applications below, \(M=M_s\) or \(M=M_{sb}\) (defined in Lemma E.3 below), and \(S\) contains every lattice point of a box of side \(\sqrt{pN}\) around a point \(p\,\eta+\sqrt{pN}\,x_0\) with \(x_0\) interior to the cone, so that the hypothesis of Lemma E.1 holds for large \(N\).

E.2 Gaussian limits of the binomial row model

We first record the regularity of the Gaussian functionals that appear as limits.

Lemma E.2 (Regularity of Gaussian functionals). Let \(d\ge1\), \(0\le r\le d\), let \(M\in\mathbb{R}^{r\times d}\) have rank \(r\), and let \(\mathcal{P}\subseteq\mathbb{R}^d\times\mathbb{R}_{>0}^d\times\mathbb{R}^r\) be compact. For \((m,v,u)\in\mathcal{P}\) let \(X\sim\mathcal{N}(m,\operatorname{diag}(v))\) and let \(\mathcal{E}_u:=\{x\in\mathbb{R}^d:Mx\ge-u\}\), the inequality holding coordinatewise. Then there are constants \(c_{\mathcal{P}}>0\) and \(L_{\mathcal{P}}\) such that \(\mathbb{P}[X\in\mathcal{E}_u]\ge c_{\mathcal{P}}\) on \(\mathcal{P}\), and each of the functions \[(m,v,u)\mapsto\mathbb{P}\left[X\in\mathcal{E}_u\right],\qquad\mathbb{E}\left[X_t\mathbf{1}_{X\in\mathcal{E}_u}\right],\qquad\mathbb{E}\left[X_tX_{t'}\mathbf{1}_{X\in\mathcal{E}_u}\right]\qquad(t,t'\in[d])\] is Lipschitz on \(\mathcal{P}\) with constant \(L_{\mathcal{P}}\). Consequently the conditional expectations \(\mathbb{E}[X_t\mid X\in\mathcal{E}_u]\) and \(\mathbb{E}[X_tX_{t'}\mid X\in\mathcal{E}_u]\), and the conditional covariances, are Lipschitz on \(\mathcal{P}\) as well.

Read proofProof of Lemma E.2

Proof. Since \(M\) has rank \(r\), the linear map \(x\mapsto Mx\) is onto \(\mathbb{R}^r\), so \(\mathcal{E}_u\), the preimage of the closed orthant \(\{z\ge-u\}\), has nonempty interior, and \(\mathbb{P}[X\in\mathcal{E}_u]>0\). The functions in the statement are continuous in \((m,v,u)\): in \((m,v)\) by dominated convergence, and in \(u\) because the boundary of \(\mathcal{E}_u\) is a finite union of hyperplanes, which is Lebesgue-null. A positive continuous function on the compact set \(\mathcal{P}\) is bounded below, which gives \(c_{\mathcal{P}}\).

For the Lipschitz bounds, enlarge \(\mathcal P\) to a compact rectangular box in \(\mathbb R^d\times\mathbb R_{>0}^d\times\mathbb R^r\). All variances on this box remain bounded away from zero, and the box contains the line segments used in the mean value inequality below. Proving the bounds on this box suffices for the original set. Write \(\varphi_{m,v}\) for the density of \(X\) and let \(h\) be one of the functions \(1\), \(x_t\), \(x_tx_{t'}\). The partial derivatives \(\partial_{m_t}\varphi_{m,v}=\frac{x_t-m_t}{v_t}\varphi_{m,v}\) and \(\partial_{v_t}\varphi_{m,v}=\big(\frac{(x_t-m_t)^2}{2v_t^2}-\frac{1}{2v_t}\big)\varphi_{m,v}\) are bounded in absolute value by \(C(1+|x|^2)\varphi_{m,v}(x)\) for a constant \(C\) depending on \(\mathcal{P}\), and \((1+|x|^2)|h(x)|\varphi_{m,v}(x)\) is integrable uniformly over \(\mathcal{P}\); hence \((m,v)\mapsto\int_{\mathcal{E}_u}h\,\varphi_{m,v}\) is continuously differentiable with derivatives bounded on \(\mathcal{P}\), uniformly in \(u\), and therefore Lipschitz in \((m,v)\). For the dependence on \(u\), let \(u,u'\in\mathbb{R}^r\) and write \(Z:=MX\). The symmetric difference \(\mathcal{E}_u\,\triangle\,\mathcal{E}_{u'}\) is contained in \(\bigcup_{i\le r}\{x:-\max(u_i,u_i')\le(Mx)_i<-\min(u_i,u'_i)\}\), so \[\left|\int_{\mathcal{E}_u}h\varphi_{m,v}-\int_{\mathcal{E}_{u'}}h\varphi_{m,v}\right|\le\sum_{i\le r}\mathbb{E}\left[|h(X)|\,\mathbf{1}\{Z_i\in J_i\}\right],\qquad J_i:=\left[-\max(u_i,u'_i),-\min(u_i,u'_i)\right].\] Each \(Z_i\) is a nondegenerate Gaussian variable whose variance is bounded below on \(\mathcal{P}\), so its density is bounded by a constant \(C'\); and given \(Z_i=z\), the vector \(X\) is Gaussian with mean affine in \(z\) and bounded covariance, so \(\mathbb{E}[|h(X)|\mid Z_i=z]\le C''(1+z^2)\). Integrating over \(z\in J_i\) gives \(\mathbb{E}[|h(X)|\mathbf 1\{Z_i\in J_i\}]\le C'C''\sup_{z\in J_i}(1+z^2)\,|u_i-u'_i|\), which is at most a constant times \(|u-u'|\) on the compact set \(\mathcal{P}\). The conditional quantities are quotients of Lipschitz functions by the function \(\mathbb{P}[X\in\mathcal{E}_u]\), which is Lipschitz and bounded below by \(c_{\mathcal{P}}\); hence they are Lipschitz. ◻

The next lemma is the bridge between the binomial row models of Section 3 and the Gaussian row models of Section 4. For \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\) let \(M_{sb}\in\mathbb{R}^{k\times2^k}\) be the matrix whose rows are the rows of \(M_s\) followed by \((-1)^b\) times the coefficient vector of \(Z_{s,k}\), and \(\ge'_{sb}\in\{\ge,>\}^k\) the relation such that \(\mathcal{J}_{sb}(x)\) is the assertion \(M_{sb}x\ge'_{sb}0\); as for \(M_s\), the rows of \(M_{sb}\) are nonzero and pairwise orthogonal. For \(u\in\mathbb{R}\) let \(\mathcal{J}^{u}_{sb}(x)\) be the assertion “\(\mathcal{I}_s(x)\) and \((-1)^b(Z_{s,k}(x)+u)>0\)”, the majority decision with its threshold shifted by \(u\); thus \(\mathcal{J}^0_{sb}(x)\) is \(\mathcal{J}_{sb}(x)\) with a strict last inequality, which is immaterial for Gaussian vectors. The shift appears because the binomial row model centered at \(p\eta\) has \(Z_{s,k}(p\eta)\ne0\) when the sizes \(\eta\) are not balanced between the two opinions.

Lemma E.3 (Gaussian limits of the binomial row model). Fix \(\theta\in(1/2,1)\), \(k\ge1\), \(s\in\{0,1\}^k\), \(T>1\), \(\ell\ge1\), and \(R>0\). There are constants \(\ell'=\ell'(k,\ell)\), \(c_0=c_0(k,T,R)>0\), and \(C=C(\theta,k,T,\ell,R)\) such that for all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), every \(\xi\in(0,T]\), and every \(\eta\in\mathbb{Z}^{\{0,1\}^k}\) with \[\left|\eta[t]-N\nu[t]\right|\le\frac{N}{\sqrt{pN}}\log^\ell N\ \text{ for all }t,\qquad\left\lVert M_s\eta\right\rVert_\infty\le\xi\,\frac{N}{\sqrt{pN}},\qquad\left|Z_{s,k}(\eta)\right|\le T\frac{N}{\sqrt{pN}},\] the following holds with \(\epsilon:=\frac{\log^{\ell'}N}{\sqrt{pN}}+\xi\) and \(u_\eta:=p\,Z_{s,k}(\eta)/\sqrt{pN}\in[-T,T]\). For \(\sigma\in\mathbb{R}^{\{0,1\}^k}\) with \(\left\lVert\sigma\right\rVert_\infty\le R\), let \(A^\sigma\) have independent coordinates \(A^\sigma_t\sim\mathrm{Bin}\big(\eta[t]-\mathbb{1}_{s=t},\Lambda_{N,p}(\sigma[t],\nu[t])\big)\) and let \(W^\sigma\) have independent coordinates \(W^\sigma_t\sim\mathcal{N}(\sigma[t],\nu[t])\). Then all of the following quantities on the binomial side are smooth functions of \(\sigma\), and for all \(t,t'\in\{0,1\}^k\) and \(b\in\{0,1\}\):

  1. \(\mathbb{P}[\mathcal{I}_s(W^\sigma)]\ge c_0\) and \(\mathbb{P}[\mathcal{J}^{u_\eta}_{sb}(W^\sigma)]\ge c_0\); \(\ \big|\mathbb{P}[\mathcal{I}_s(A^\sigma)]-\mathbb{P}[\mathcal{I}_s(W^\sigma)]\big|\le C\epsilon\); and \(\big|\mathbb{P}[\mathcal{J}_{sb}(A^\sigma)\mid\mathcal{I}_s(A^\sigma)]-\mathbb{P}[\mathcal{J}^{u_\eta}_{sb}(W^\sigma)\mid\mathcal{I}_s(W^\sigma)]\big|\le C\epsilon\);

  2. \(\displaystyle\left|\frac{\mathbb{E}[A^\sigma_t\mid\mathcal{I}_s(A^\sigma)]-p\,\eta[t]}{\sqrt{pN}}-\mathbb{E}[W^\sigma_t\mid\mathcal{I}_s(W^\sigma)]\right|\le C\epsilon\), and the same with \(\mathcal{I}_s(A^\sigma)\) replaced by \(\mathcal{J}_{sb}(A^\sigma)\) and \(\mathcal{I}_s(W^\sigma)\) by \(\mathcal{J}^{u_\eta}_{sb}(W^\sigma)\);

  3. \(\displaystyle\left|\frac{\mathrm{Cov}(A^\sigma_t,A^\sigma_{t'}\mid\mathcal{I}_s(A^\sigma))}{pN}-\mathrm{Cov}(W^\sigma_t,W^\sigma_{t'}\mid\mathcal{I}_s(W^\sigma))\right|\le C\epsilon\).

If moreover \(|Z_{s,k}(\eta)|\le\xi\frac{N}{\sqrt{pN}}\), then \(|u_\eta|\le\xi\le\epsilon\), and (i) and (ii) hold with \(\mathcal{J}^{u_\eta}_{sb}(W^\sigma)\) replaced by \(\mathcal{J}_{sb}(W^\sigma)\). In particular \(F_{s,\nu}(\sigma)=\mathbb{E}[W^\sigma\mid\mathcal{I}_s(W^\sigma)]\) is the vector on the Gaussian side of (ii).

Read proofProof of Lemma E.3

Proof. Write \(d:=2^k\), \(\eta'_t:=\eta[t]-\mathbb{1}_{s=t}\), and let \(N\) be large enough that \(\eta'_t\in(\frac12N\nu[t],2N\nu[t])\) for all \(t\). Put \[\alpha_t:=\frac{\sigma[t]}{\nu[t]}\sqrt{\frac{\eta'_t}{N}},\qquad\text{so that}\qquad\Lambda_{N,p}(\sigma[t],\nu[t])=\frac{\frac{p}{1-p}e^{\alpha_t/\sqrt{p\eta'_t}}}{1+\frac{p}{1-p}e^{\alpha_t/\sqrt{p\eta'_t}}},\] and \(|\alpha_t|\le R\sqrt{2/\nu[t]}\). Let \(T_1\) be a constant, depending on \(\theta,k,T,R\), exceeding \(2T\), \(2/\min_t\nu[t]\), and \(\max_t R\sqrt{2/\nu[t]}\). We apply Theorem A.6 with \(d\), \(n=N\), the constant \(T_1\), \(\eta=\eta'\), \(\alpha\) as above, and \(\rho\in\{1,x_t,x_tx_{t'}\}\), once with \((M,\ge')=(M_s,\ge'_s)\) and once with \((M,\ge')=(M_{sb},\ge'_{sb})\); its hypotheses hold because \(\eta'_t\in(T_1^{-1}N,T_1N)\), \(|\alpha_t|<T_1\), \(p\in(T_1^{-1}N^{-\theta},T_1N^{-\theta})\), and \(\left\lVert M_s\eta'\right\rVert_\infty\le\left\lVert M_s\eta\right\rVert_\infty+1\le TN/\sqrt{pN}+1<T_1N/\sqrt{pN}\), while \(\left\lVert M_{sb}\eta'\right\rVert_\infty=\max\{\left\lVert M_s\eta'\right\rVert_\infty,|Z_{s,k}(\eta')|\}\le\max\{\left\lVert M_s\eta\right\rVert_\infty,|Z_{s,k}(\eta)|\}+1<T_1N/\sqrt{pN}\). Its conclusion is, for each admissible \(\rho\) and \(M\), \[\label{eq:gl-gpc} \mathbb{E}\left[\rho(A^\sigma-p\eta')\mathbf{1}_{MA^\sigma\ge'0}\right]=\mathbb{E}\left[\rho(X)\mathbf{1}_{MX\ge-pM\eta'}\right]+O\left(\sqrt{pN}^{\deg\rho-1}\log^{5+d}N\right),\] where \(X\) has independent coordinates \(X_t\sim\mathcal{N}(\sqrt{p\eta'_t}\,\alpha_t,\,p\eta'_t)\), and the events \(\{MA^\sigma\ge'0\}\) are \(\mathcal{I}_s(A^\sigma)\) and \(\mathcal{J}_{sb}(A^\sigma)\) respectively.

Normalization. Put \(\hat X:=X/\sqrt{pN}\), which has independent coordinates \(\hat X_t\sim\mathcal{N}(\hat m_t,\hat v_t)\) with \[\hat m_t=\frac{\sigma[t]\,\eta'_t}{N\nu[t]},\qquad\hat v_t=\frac{\eta'_t}{N},\qquad|\hat m_t-\sigma[t]|\le\frac{R}{\nu[t]}\left(\frac{\log^\ell N}{\sqrt{pN}}+\frac1N\right),\qquad|\hat v_t-\nu[t]|\le\frac{\log^\ell N}{\sqrt{pN}}+\frac1N,\] and the event \(\{MX\ge-pM\eta'\}\) is \(\{M\hat X\ge-u\}\) with \(u:=pM\eta'/\sqrt{pN}\). For \(M=M_s\), \(\left\lVert u\right\rVert_\infty\le\xi+p/\sqrt{pN}\le2\epsilon\). For \(M=M_{sb}\), the first \(k-1\) coordinates of \(u\) are those of the previous case and the last is \((-1)^bpZ_{s,k}(\eta')/\sqrt{pN}=(-1)^b(u_\eta+O(p/\sqrt{pN}))\), so that \(\{M_{sb}\hat X\ge-u\}\) is, up to a shift of the first \(k-1\) thresholds by \(O(\epsilon)\) and of the last by \(O(p/\sqrt{pN})\le O(\epsilon)\), the event \(\mathcal{J}^{u_\eta}_{sb}(\hat X)\). Dividing (E.1) by \(\sqrt{pN}^{\deg\rho}\), \[\label{eq:gl-normalized} \mathbb{E}\left[\rho\left(\frac{A^\sigma-p\eta'}{\sqrt{pN}}\right)\mathbf{1}_{MA^\sigma\ge'0}\right]=\mathbb{E}\left[\rho(\hat X)\mathbf{1}_{M\hat X\ge-u}\right]+O\left(\frac{\log^{5+d}N}{\sqrt{pN}}\right).\]

Comparison of the Gaussian functionals. Apply Lemma E.2 with \(M\in\{M_s,M_{sb}\}\) and the compact parameter set \(\mathcal{P}\) of all \((m,v,u)\) with \(\left\lVert m\right\rVert_\infty\le2R/\min_t\nu[t]\), \(\frac12\nu[t]\le v_t\le2\nu[t]\), and \(\left\lVert u\right\rVert_\infty\le2T+1\). For large \(N\) the triple \((\hat m,\hat v,u)\) lies in \(\mathcal{P}\), and so does the triple \((\sigma,\nu,0)\) for \(M=M_s\), respectively \((\sigma,\nu,(0,\ldots,0,(-1)^bu_\eta))\) for \(M=M_{sb}\); the two triples are at distance \(O(\log^\ell N/\sqrt{pN}+\xi+p/\sqrt{pN})=O(\epsilon)\) from each other. Hence the right-hand side of (E.2) differs by \(O(\epsilon)\) from \(\mathbb{E}[\rho(W^\sigma)\mathbf{1}_{\mathcal{I}_s(W^\sigma)}]\) for \(M=M_s\), respectively from \(\mathbb{E}[\rho(W^\sigma)\mathbf{1}_{\mathcal{J}^{u_\eta}_{sb}(W^\sigma)}]\) for \(M=M_{sb}\), where we used that \(\{M_sW^\sigma\ge0\}\) and \(\{M_{sb}W^\sigma\ge-(0,\ldots,0,(-1)^bu_\eta)\}\) coincide with \(\mathcal{I}_s(W^\sigma)\) and \(\mathcal{J}^{u_\eta}_{sb}(W^\sigma)\) up to null sets. Taking \(\ell':=5+d+\ell\), we conclude that for \(\rho\in\{1,x_t,x_tx_{t'}\}\), \[\label{eq:gl-final} \mathbb{E}\left[\rho\left(\frac{A^\sigma-p\eta'}{\sqrt{pN}}\right)\mathbf{1}_{\mathcal{I}_s(A^\sigma)}\right]=\mathbb{E}\left[\rho(W^\sigma)\mathbf{1}_{\mathcal{I}_s(W^\sigma)}\right]+O(\epsilon),\] and the same with \(\mathcal{J}_{sb}(A^\sigma)\) and \(\mathcal{J}^{u_\eta}_{sb}(W^\sigma)\) in place of \(\mathcal{I}_s(A^\sigma)\) and \(\mathcal{I}_s(W^\sigma)\).

Uniform denominator bounds. The lower probability bound in Lemma E.2 applies also at the actual parameters \((\hat m,\hat v,u)\in\mathcal{P}\). Choose \(c_0>0\) as the minimum of these compact-family lower bounds over the finitely many matrices \(M_s\) and \(M_{sb}\) with \(s\in\{0,1\}^k\) and \(b\in\{0,1\}\). Equation (E.2) with \(\rho=1\) gives, for each of these matrices, \[\mathbb{P}[MA^\sigma\ge'0]\ge c_0-O\left(\frac{\log^{5+d}N}{\sqrt{pN}}\right)\ge\frac{c_0}{2}\] uniformly for sufficiently large \(N\). The error tends to zero uniformly in the density window, regardless of \(\xi\in(0,T]\); the later error \(O(\epsilon)\) need not tend to zero. Thus both the binomial history and child-event probabilities are bounded away from zero before we divide the raw-moment comparisons.

Conclusion. The lower bounds \(\mathbb{P}[\mathcal{I}_s(W^\sigma)]\ge c_0\) and \(\mathbb{P}[\mathcal{J}^{u_\eta}_{sb}(W^\sigma)]\ge c_0\) follow from the choice of \(c_0\) and Lemma E.2 at the parameters \((\sigma,\nu,0)\) and \((\sigma,\nu,(0,\ldots,0,(-1)^bu_\eta))\). The two approximation bounds of (i) are (E.3) with \(\rho=1\), the second after dividing the \(\mathcal{J}\) version by the \(\mathcal{I}\) version and using the Gaussian lower bound \(c_0\) and the binomial lower bound \(c_0/2\) just proved. For (ii), (E.3) with \(\rho=x_t\) and \(\rho=1\) gives \[\frac{\mathbb{E}[A^\sigma_t\mid\mathcal{I}_s(A^\sigma)]-p\eta'_t}{\sqrt{pN}}=\frac{\mathbb{E}[W^\sigma_t\mathbf{1}_{\mathcal{I}_s(W^\sigma)}]+O(\epsilon)}{\mathbb{P}[\mathcal{I}_s(W^\sigma)]+O(\epsilon)}=\mathbb{E}[W^\sigma_t\mid\mathcal{I}_s(W^\sigma)]+O(\epsilon),\] and \(p\eta'_t\) differs from \(p\eta[t]\) by at most \(p\le\sqrt{pN}\,\epsilon\); the \(\mathcal{J}\) version is identical. For (iii), use \(\rho=x_tx_{t'}\), \(x_t\), \(x_{t'}\), and \(1\) in the same way. Finally, if \(|Z_{s,k}(\eta)|\le\xi N/\sqrt{pN}\) then \(|u_\eta|\le\xi\le\epsilon\), and by Lemma E.2 the Gaussian quantities with the event \(\mathcal{J}^{u_\eta}_{sb}(W^\sigma)\) differ from those with \(\mathcal{J}_{sb}(W^\sigma)\) by \(O(\epsilon)\). Smoothness in \(\sigma\): each binomial quantity is a rational function, with positive denominator, of the finitely many values \(\Lambda_{N,p}(\sigma[t],\nu[t])^{a}(1-\Lambda_{N,p}(\sigma[t],\nu[t]))^{\eta'_t-a}\), which are smooth in \(\sigma\). ◻

E.3 The linear response of the binomial row model

Lemma E.4 (Linear response to a small tilt). Fix \(\theta\in(1/2,1)\), an integer \(k\) with \(1\le k<\frac1{1-\theta}\), \(s\in\{0,1\}^k\), \(T>1\), and \(R>0\). There are constants \(\kappa=\kappa(\theta,k)>0\) and \(C=C(\theta,k,T,R)\) such that for all sufficiently large \(N\), all \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\), all \(\tau\in[T^{-1},T]\), and every \(n\in\mathbb{Z}^{\{0,1\}^k}\) with \(|n[t]-\widetilde{n}[t]|\le T\sqrt N\sqrt{pN}^{\,k-1}\) for all \(t\), the following holds, where \((\widetilde n,\widetilde m,\widetilde\lambda)\) is the idealized process of Theorem 5.2 with \(D=D_\theta\) and \(\widetilde A_{s,\bullet}=A_{s,\bullet}(\widetilde n_k,\widetilde\lambda_k)\). Write \(\beta_0:=\sqrt{pN}^{\,k-1}/\sqrt N\). For \(\sigma\in\mathbb{R}^{\{0,1\}^k}\) with \(\left\lVert\sigma\right\rVert_\infty\le R\) let \(q^\sigma\in(0,1)^{\{0,1\}^k}\) be defined by \[\log\frac{q^\sigma[t]\left(n[t]-\mathbb{1}_{s=t}-p\,\widetilde n[t]\right)}{\left(1-q^\sigma[t]\right)p\,\widetilde n[t]} =\widetilde\vartheta[s,t]+\tau\beta_0\,\sigma[t],\qquad\widetilde\vartheta[s,t]:=\log\frac{\widetilde\lambda[s,t]\left(\widetilde n[t]-\mathbb{1}_{s=t}-p\,\widetilde n[t]\right)}{\left(1-\widetilde\lambda[s,t]\right)p\,\widetilde n[t]},\] and let \(A^\sigma\) have independent coordinates \(A^\sigma_t\sim\mathrm{Bin}(n[t]-\mathbb{1}_{s=t},q^\sigma[t])\). Then \(q^\sigma\) and the quantities below are smooth in \(\sigma\), \(|q^\sigma[t]-p|\le C\,p/\sqrt{pN}\), and for all \(t\in\{0,1\}^k\) and \(b\in\{0,1\}\):

  1. \(\displaystyle\left|\frac{\mathbb{E}[A^\sigma_t\mid\mathcal{I}_s(A^\sigma)]-\widetilde m[s,t]/\widetilde n[s]}{\tau\beta_0\,pN}-(\Sigma_s\sigma)[t]\right|\le CN^{-\kappa}\), where \(\Sigma_s\) is the conditional covariance of Lemma 4.6;

  2. with \(W_{s,\bullet}\) the day-\(k\) Gaussian row model, \[\begin{gathered} \left|\frac{\mathbb{P}[\mathcal{J}_{sb}(A^\sigma)\mid\mathcal{I}_s(A^\sigma)]-\mathbb{P}[\mathcal{J}_{sb}(\widetilde A_{s,\bullet})\mid\mathcal{I}_s(\widetilde A_{s,\bullet})]}{\tau\beta_0\sqrt{pN}}\right.\\ \left.-\frac{\nu[sb]}{\nu[s]}\sum_{t'}\sigma[t']\left(\mathbb{E}[W_{s,t'}\mid\mathcal{J}_{sb}(W_{s,\bullet})]-\mathbb{E}[W_{s,t'}\mid\mathcal{I}_s(W_{s,\bullet})]\right)\right|\le CN^{-\kappa}; \end{gathered}\]

  3. \(\displaystyle\left|\mathbb{E}[A^\sigma_t\mid\mathcal{J}_{sb}(A^\sigma)]-\mathbb{E}[\widetilde A_{s,t}\mid\mathcal{J}_{sb}(\widetilde A_{s,\bullet})]\right|\le C\tau\beta_0\,pN\);

  4. \(\mathbb{P}[\mathcal{I}_s(A^\sigma)]\ge\phi^\ast_k/4\) and \(\phi^\ast_k/2\le\mathbb{P}[\mathcal{J}_{sb}(A^\sigma)\mid\mathcal{I}_s(A^\sigma)]\le1-\phi^\ast_k/2\), with \(\phi^\ast_k\) the constant of Lemma 4.11.

Read proofProof of Lemma E.4

Proof. Write \(d:=2^k\) and \(c_t:=p\,\widetilde n[t]\). Since \(k(1-\theta)<1\), the number \(c_1:=\frac12(1-k(1-\theta))\) is positive and \[\label{eq:beta0-small} \beta_0\sqrt{pN}=\frac{\sqrt{pN}^{\,k}}{\sqrt N}\le T^{k/2}N^{-c_1},\] so \(\beta_0\sqrt{pN}\log^{O(1)}N\to0\). We use Theorem 5.2(v) throughout; in particular \(\widetilde n[t]\asymp N\), \(\widetilde m[s,t]/\widetilde n[s]-c_t=c_t\mu[s,t]/\sqrt{pN}+O(\log^\ell N)=O(\sqrt{pN})\), and \(|\widetilde\lambda[s,t]-p|=O(p/\sqrt{pN})\) (because \(\Lambda_{N,p}(\gamma,\nu)-p=O(p/\sqrt{pN})\) and \(\log^\ell N/N\le p/\sqrt{pN}\) for large \(N\)).

The tilt. By definition, \(\operatorname{logit}q^\sigma[t]=\operatorname{logit}\widetilde\lambda[s,t]+\log\frac{\widetilde n[t]-\mathbb{1}_{s=t}-c_t}{n[t]-\mathbb{1}_{s=t}-c_t}+\tau\beta_0\sigma[t]\), and the middle term is \(O(|n[t]-\widetilde n[t]|/N)=O(\beta_0)\) by the hypothesis on \(n\). Hence \(|\operatorname{logit}q^\sigma[t]-\operatorname{logit}\widetilde\lambda[s,t]|=O(\beta_0)\), so \(|q^\sigma[t]-\widetilde\lambda[s,t]|=O(p\beta_0)\) and \(|q^\sigma[t]-p|=O(p/\sqrt{pN})\); smoothness in \(\sigma\) is clear. Now apply Theorem A.7 with \(d\), \(n=N\), a sufficiently large constant \(T_1=T_1(\theta,k,T,R)\ge T\) in place of \(T\), reference sizes \(\widetilde\eta_t:=\widetilde n[t]\), trial counts \(\widetilde\eta'_t:=\widetilde n[t]-\mathbb{1}_{s=t}\) and \(\eta_t:=n[t]-\mathbb{1}_{s=t}\), success probabilities \(\widetilde q:=\widetilde\lambda[s,\bullet]\) and \(q:=q^\sigma\), and \(\rho\in\{1,x_t\}\), once with \((M_s,\ge'_s)\) and once with \((M_{sb},\ge'_{sb})\). Its hypotheses hold for large \(N\): \(p\in(T_1^{-1}N^{-\theta},T_1N^{-\theta})\); \(\widetilde\eta_t\asymp N\); \(|\widetilde\eta'_t-\widetilde\eta_t|\le1\); \(|\eta_t-\widetilde\eta_t|\le T\sqrt N\sqrt{pN}^{k-1}+1\le T^{1+k/2}N/\sqrt{pN}\) by (E.4); \(|\widetilde q_t-p|,|q_t-p|=O(p/\sqrt{pN})\); and its tilt vector is exactly \(\beta_t=\tau\beta_0\sigma[t]\), by the definition of \(q^\sigma\), so \(\left\lVert\beta\right\rVert_\infty\le TR\beta_0<T_1/(\sqrt{pN}\log^2N)\) by (E.4). Writing \(E_1:=\max\{p,\left\lVert\beta\right\rVert_\infty^2pN\log^2N\}\), the conclusions are, for the event \(\mathcal{I}_s\) (and identically for \(\mathcal{J}_{sb}\)), \[\begin{aligned} \mathbb{P}[\mathcal{I}_s(A^\sigma)]&=\widetilde P+\sum_{t'}\beta_{t'}J_{t'}+O(E_1\log^2N),\label{eq:lr-prob}\\ \mathbb{E}\left[(A^\sigma_t-c_t)\mathbf{1}_{\mathcal{I}_s(A^\sigma)}\right]&=\widetilde E_t\widetilde P+\sum_{t'}\beta_{t'}K_{t't}+O(E_1\sqrt{pN}\log^3N),\label{eq:lr-mean} \end{aligned}\] where \(\widetilde P:=\mathbb{P}[\mathcal{I}_s(\widetilde A)]\), \(\widetilde E_t:=\mathbb{E}[\widetilde A_t-c_t\mid\mathcal{I}_s(\widetilde A)]\), \(J_{t'}:=\mathrm{Cov}(\widetilde A_{t'},\mathbf{1}_{\mathcal{I}_s(\widetilde A)})\), and \(K_{t't}:=\mathbb{E}[(\widetilde A_{t'}-c_{t'})(\widetilde A_t-c_t)\mathbf{1}_{\mathcal{I}_s(\widetilde A)}]-\mathbb{E}[\widetilde A_{t'}-c_{t'}]\,\widetilde E_t\widetilde P\); here \(\widetilde A:=\widetilde A_{s,\bullet}\). By Theorem 5.2(ii), \(\widetilde E_t=\widetilde m[s,t]/\widetilde n[s]-c_t=O(\sqrt{pN})\). By Lemma E.3 applied with \(\eta=\widetilde n_k\) (so \(\left\lVert M_s\eta\right\rVert_\infty=0\) by Theorem 5.2(iv) and Corollary 4.10(iii), and we may take \(\xi=\sqrt{pN}/N\)) and with \(\sigma\) the vector \(\widetilde\sigma\) defined by \(\Lambda_{N,p}(\widetilde\sigma[t],\nu[t])=\widetilde\lambda[s,t]\), which satisfies \(\left\lVert\widetilde\sigma-\gamma[s,\bullet]\right\rVert_\infty=O(\log^\ell N/\sqrt{pN})\) by (v) and is therefore bounded, we have \(\widetilde P\ge\phi^\ast_k/2\), \(\mathbb{P}[\mathcal{J}_{sb}(\widetilde A)\mid\mathcal{I}_s(\widetilde A)]=\nu[sb]/\nu[s]+O(\epsilon_0)\), and \[\label{eq:lr-cov-limit} \frac{K_{t't}-J_{t'}\widetilde E_t}{\widetilde P}=\mathrm{Cov}\left(\widetilde A_{t'},\widetilde A_t\mid\mathcal{I}_s(\widetilde A)\right)=pN\,\Sigma_s[t',t]+O(pN\epsilon_0),\qquad\epsilon_0:=\frac{\log^{\ell'}N}{\sqrt{pN}}+\frac{\sqrt{pN}}{N},\] where the first equality is a direct expansion of the definitions. The second is Lemma E.3(iii) together with the Lipschitz dependence of the Gaussian conditional covariance on the mean (Lemma E.2), which converts the covariance of \(W^{\widetilde\sigma}\) given \(\mathcal{I}_s\) into \(\Sigma_s\) at the cost of \(O(\log^\ell N/\sqrt{pN})\). Also \(|J_{t'}|\le\sqrt{\mathrm{Var}(\widetilde A_{t'})}\), which is \(O(\sqrt{pN})\), and \(|K_{t't}|=O(pN)\).

Proof of (i). Dividing (E.6) by (E.5), with \(u:=\sum_{t'}\beta_{t'}J_{t'}/\widetilde P=O(\left\lVert\beta\right\rVert_\infty\sqrt{pN})=O(\beta_0\sqrt{pN})\), \[\begin{aligned} \mathbb{E}[A^\sigma_t\mid\mathcal{I}_s(A^\sigma)]-c_t&=\frac{\widetilde E_t\widetilde P+\sum_{t'}\beta_{t'}K_{t't}+O(E_1\sqrt{pN}\log^3N)}{\widetilde P\left(1+u+O(E_1\log^2N)\right)}\\ &=\widetilde E_t+\sum_{t'}\beta_{t'}\frac{K_{t't}-J_{t'}\widetilde E_t}{\widetilde P}+O\left(E_1\sqrt{pN}\log^3N+\beta_0^2\,pN\sqrt{pN}\right), \end{aligned}\] where the last error collects the second-order terms \(u^2\widetilde E_t\) and \(u\sum\beta K/\widetilde P\), both \(O(\beta_0^2pN\sqrt{pN})\), and \(\widetilde E_t\cdot O(E_1\log^2N)=O(E_1\sqrt{pN}\log^2N)\). Substituting \(\widetilde E_t=\widetilde m[s,t]/\widetilde n[s]-c_t\) and (E.7), and dividing by \(\tau\beta_0pN\), the main term becomes \((\Sigma_s\sigma)[t]+O(\epsilon_0)\) and the error terms become \[O\left(\frac{p\sqrt{pN}\log^3N}{\beta_0pN}+\frac{\beta_0^2pN\log^2N\sqrt{pN}\log^3N}{\beta_0pN}+\beta_0\sqrt{pN}\right) =O\left(\frac{\sqrt p\log^3N}{\sqrt{pN}^{\,k-1}}+\beta_0\sqrt{pN}\log^5N\right),\] using \(\left\lVert\beta\right\rVert_\infty\le TR\beta_0\) and \(\beta_0=\sqrt{pN}^{k-1}/\sqrt N\). The first term is at most \(\sqrt p\log^3N\) and the second is \(O(N^{-c_1}\log^5N)\) by (E.4); together with \(\epsilon_0=O(\log^{\ell'}N/\sqrt{pN})\), all are \(O(N^{-\kappa})\) for \(\kappa:=\frac12\min\{c_1,\theta/2,(1-\theta)/2\}\) and large \(N\).

Proof of (ii). Write \(\widetilde P_J:=\mathbb{P}[\mathcal{J}_{sb}(\widetilde A)]\) and \(J^{(b)}_{t'}:=\mathrm{Cov}(\widetilde A_{t'},\mathbf{1}_{\mathcal{J}_{sb}(\widetilde A)})\). Dividing the \(\mathcal{J}_{sb}\) version of (E.5) by the \(\mathcal{I}_s\) version, \[\mathbb{P}[\mathcal{J}_{sb}(A^\sigma)\mid\mathcal{I}_s(A^\sigma)]=\frac{\widetilde P_J}{\widetilde P}+\sum_{t'}\beta_{t'}\left(\frac{J^{(b)}_{t'}}{\widetilde P}-\frac{\widetilde P_J\,J_{t'}}{\widetilde P^2}\right)+O\left(E_1\log^2N+\beta_0^2pN\right),\] and a direct expansion gives \(\frac{J^{(b)}_{t'}}{\widetilde P}-\frac{\widetilde P_JJ_{t'}}{\widetilde P^2}=\frac{\widetilde P_J}{\widetilde P}\left(\mathbb{E}[\widetilde A_{t'}\mid\mathcal{J}_{sb}(\widetilde A)]-\mathbb{E}[\widetilde A_{t'}\mid\mathcal{I}_s(\widetilde A)]\right)\). By Lemma E.3(i) and (ii) at \(\widetilde\sigma\), together with the Lipschitz dependence on the mean of Lemma E.2, this equals \(\sqrt{pN}\,\frac{\nu[sb]}{\nu[s]}\left(\mathbb{E}[W_{s,t'}\mid\mathcal{J}_{sb}(W_{s,\bullet})]-\mathbb{E}[W_{s,t'}\mid\mathcal{I}_s(W_{s,\bullet})]\right)+O(\sqrt{pN}\epsilon_0)\). Dividing by \(\tau\beta_0\sqrt{pN}\) and using \(\beta_{t'}=\tau\beta_0\sigma[t']\) gives the main term of (ii); the errors are \(O(\epsilon_0)\) from the main term and \[O\left(\frac{p\log^2N}{\beta_0\sqrt{pN}}+\frac{\beta_0^2pN\log^4N}{\beta_0\sqrt{pN}}+\frac{\beta_0^2pN}{\beta_0\sqrt{pN}}\right)=O\left(\frac{\sqrt p\log^2N}{\sqrt{pN}^{\,k-1}}+\beta_0\sqrt{pN}\log^4N\right)=O(N^{-\kappa}).\]

Proof of (iii). Dividing the \(\mathcal{J}_{sb}\) versions of (E.6) and (E.5), exactly as in the proof of (i) but with \(\mathcal{J}_{sb}\) in place of \(\mathcal{I}_s\) and with the lower bound \(\widetilde P_J\ge\widetilde P\,\phi^\ast_k/4\), the difference \(\mathbb{E}[A^\sigma_t\mid\mathcal{J}_{sb}(A^\sigma)]-\mathbb{E}[\widetilde A_t\mid\mathcal{J}_{sb}(\widetilde A)]\) equals \(\sum_{t'}\beta_{t'}\mathrm{Cov}(\widetilde A_{t'},\widetilde A_t\mid\mathcal{J}_{sb}(\widetilde A))\) plus the error \(O(E_1\sqrt{pN}\log^3N+\beta_0^2pN\sqrt{pN})\); the sum is \(O(\left\lVert\beta\right\rVert_\infty pN)=O(\tau\beta_0pN)\) and the error is smaller, by the computation in the proof of (i).

Proof of (iv). By (E.5), \(\mathbb{P}[\mathcal{I}_s(A^\sigma)]=\widetilde P+O(\beta_0\sqrt{pN}+E_1\log^2N)\), and \(\widetilde P\ge\phi^\ast_k/2\), so the first bound holds for large \(N\) by (E.4). By (ii), \(\mathbb{P}[\mathcal{J}_{sb}(A^\sigma)\mid\mathcal{I}_s(A^\sigma)]=\mathbb{P}[\mathcal{J}_{sb}(\widetilde A)\mid\mathcal{I}_s(\widetilde A)]+O(\beta_0\sqrt{pN})=\nu[sb]/\nu[s]+O(\epsilon_0+\beta_0\sqrt{pN})\), and \(\nu[sb]/\nu[s]=\mathbb{P}[\mathcal{J}_{sb}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})]\in[\phi^\ast_k,1-\phi^\ast_k]\) by (4.3) and Lemma 4.11. ◻

E.4 Proof of Theorem 5.2

Read proofFull argument

Proof of Theorem 5.2. Throughout, constants implicit in \(O(\cdot)\) depend only on \(\theta\), \(D\), and \(T\), and “for large \(N\)” means for \(N\) exceeding a threshold depending on the same parameters, uniformly in \(p\in(T^{-1}N^{-\theta},TN^{-\theta})\). We write \(\widetilde A:=\widetilde A_{s,\bullet}\) when \(s\) is fixed.

The reflection. Let \(R\) be the reflection \((Rx)[t]:=x[\overline t]\) of the proof of Lemma 4.5. For every real vector \(x\), every \(s\in\{0,1\}^k\), and every \(b\), \[\label{eq:exact-reflection} \mathcal{I}_s(Rx)\iff\mathcal{I}_{\overline s}(x)\qquad\text{and}\qquad\mathcal{J}_{sb}(Rx)\iff\mathcal{J}_{\overline s\,\overline b}(x),\] including ties. Indeed, with \(Y_r:=\sum_u(-1)^{u[r-1]}x[u]\), the \(r\)th inequality of \(\mathcal{I}_s(Rx)\) reads \[-Y_r\ge_{s[r-1]s[r]}0,\] and by inspection of the table defining \(\ge_{ab}\), the assertion \(-Y\ge_{ab}0\) is equivalent to \(Y\ge_{\overline a\,\overline b}0\) for each of the four pairs \(ab\): for instance, \(-Y\ge0\) holds if and only if \(Y\le0\), which is \(Y\ge_{11}0\). The same applies to the \(k\)th inequality of \(\mathcal{J}_{sb}\).

Day one. Define \(\widetilde n_1\) and \(\widetilde m_1\) by (i). Then (iv) holds at \(k=1\), and so does (v) with any \(\ell\ge1\): \(|\widetilde n[s]-N/2|\le1\), and \(|\widetilde m[s,t]-p\widetilde n[s]\widetilde n[t]|=p\widetilde n[s]\mathbb{1}_{s=t}\le p\widetilde n[s]\widetilde n[t]\frac{\log N}{pN}\) because \(\widetilde n[t]\ge N/3\); recall \(\nu[s]=1/2\) and \(\mu\equiv0\) at day \(1\).

Induction. Suppose that for some \(1\le k\le D-1\) the vectors \(\widetilde n_j,\widetilde m_j\) (\(j\le k\)) and \(\widetilde\lambda_j\) (\(j\le k-1\)) have been constructed so that (i)–(iv) hold as far as they concern these vectors, and (v) holds for \(j\le k\) with an exponent \(\ell_k\) depending only on \(k\). We construct \(\widetilde\lambda_k\), \(\widetilde n_{k+1}\), and \(\widetilde m_{k+1}\), and prove (ii)–(v) for them with an exponent \(\ell_{k+1}\) depending only on \(k\); the theorem then follows with \(\ell:=\ell_D\), since \(\log^{\ell_j}N\le\log^{\ell_D}N\).

Step 1: the sizes are balanced. By (iv) at day \(k\), pairing \(t\) with \(\overline t\) gives \(Z_{s,r}(\widetilde n_k)=0\) for all \(s\) and \(1\le r\le k\); that is, \(M_s\widetilde n_k=0\) and \(Z_{s,k}(\widetilde n_k)=0\).

Step 2: existence of \(\widetilde\lambda_k\). Fix \(s\in\{0,1\}^k\). Let \(v_s:=(\nu[t]\mu[s,t])_{t\in\{0,1\}^k}\), which lies in \(\mathcal{C}_s\) with \(Z_{s,r}(v_s)\ge\varsigma^\ast_k\) for \(r\le k-1\) by Lemma 4.11, and let \(T'\) be a constant, depending only on \(k\), with \(T'\ge2\max_{s,t}|\nu[t]\mu[s,t]|+1\) and \(T'\ge2/\varsigma^\ast_k\). Consider the compact set \(\mathcal{K}_{T'}\subseteq\mathcal{C}_s\) of Theorem D.5 for \(M=M_s\), the strong bijection \(f:=F_{s,\nu}\colon\mathbb{R}^{\{0,1\}^k}\to\mathcal{C}_s\) of Proposition 4.2, and the radius \(R_0:=\max_{y\in\mathcal{K}_{T'}}|F_{s,\nu}^{-1}(y)|+1\), a constant depending only on \(k\). Apply Lemma E.3 with \(\eta:=\widetilde n_k\), exponent \(\ell_k\), radius \(R_0\), and \(\xi:=\log^{\ell'}N/\sqrt{pN}\), where \(\ell'=\ell'(k,\ell_k)\) is the exponent of that lemma; its hypotheses hold by (v) at day \(k\) and Step 1, and \(\epsilon=2\log^{\ell'}N/\sqrt{pN}\). For \(\sigma\in\mathbb{R}^{\{0,1\}^k}\) let \(A^\sigma\) be as in that lemma, that is, \(A^\sigma=A_{s,\bullet}(\widetilde n_k,\lambda^\sigma)\) with \(\lambda^\sigma[s,t]:=\Lambda_{N,p}(\sigma[t],\nu[t])\), and define \[g(\sigma):=\left(\frac{\mathbb{E}[A^\sigma_t\mid\mathcal{I}_s(A^\sigma)]-p\,\widetilde n[t]}{\sqrt{pN}}\right)_{t\in\{0,1\}^k}.\] The map \(g\) is defined and smooth on all of \(\mathbb{R}^{\{0,1\}^k}\): \(\mathbb{P}[\mathcal{I}_s(A^\sigma)]>0\) for every \(\sigma\) because \(A^\sigma\) has full support on its box and, for large \(N\), the box contains points satisfying \(\mathcal{I}_s\) (Step 4 below exhibits many), and the conditional expectation is a rational function with positive denominator of the smooth functions \(\lambda^\sigma[s,t]\). By Lemma E.3(ii), \(\sup_{|\sigma|\le R_0}|g(\sigma)-F_{s,\nu}(\sigma)|\le C_0\epsilon\) for a constant \(C_0\) depending only on \(\theta,k,T\). Let \[y^{(s)}:=\left(\frac{\widetilde m[s,t]/\widetilde n[s]-p\,\widetilde n[t]}{\sqrt{pN}}\right)_{t\in\{0,1\}^k}.\] By (v) at day \(k\), \(\widetilde m[s,t]/\widetilde n[s]=p\widetilde n[t]\big(1+\frac{\mu[s,t]}{\sqrt{pN}}\big)+O(\log^{\ell_k}N)\) and \(\widetilde n[t]/N=\nu[t]+O(\log^{\ell_k}N/\sqrt{pN})\), whence \[\label{eq:target-close} \left\|y^{(s)}-v_s\right\|_\infty=O\left(\frac{\log^{\ell_k}N}{\sqrt{pN}}\right),\] so \(y^{(s)}\in\mathcal{K}_{T'}\) for large \(N\) by the choice of \(T'\). Theorem D.5 (with \(\varepsilon:=\epsilon\), which is below its \(\varepsilon_0\) for large \(N\)) yields \(\sigma_s\in\mathbb{R}^{\{0,1\}^k}\) with \(g(\sigma_s)=y^{(s)}\) and \(|\sigma_s-F^{-1}_{s,\nu}(y^{(s)})|\le C\epsilon\). Since \(F^{-1}_{s,\nu}(v_s)=\gamma[s,\bullet]\) by Definition 4.3, Lemma D.2 on \(\mathcal{K}_{T'}\) and (E.9) give \[\label{eq:sigma-close} \left\|\sigma_s-\gamma[s,\bullet]\right\|_\infty=O\left(\frac{\log^{\ell''}N}{\sqrt{pN}}\right),\qquad\ell'':=\max\{\ell_k,\ell'\}.\] Set \(\widetilde\lambda[s,t]:=\lambda^{\sigma_s}[s,t]=\Lambda_{N,p}(\sigma_s[t],\nu[t])\). Then \(\widetilde A_{s,\bullet}=A^{\sigma_s}\), and \(g(\sigma_s)=y^{(s)}\) says exactly that \(\widetilde n[s]\,\mathbb{E}[\widetilde A_{s,t}\mid\mathcal{I}_s(\widetilde A)]=\widetilde m[s,t]\) for all \(t\). Together with \(\widetilde n[s]\ge1\), \(\widetilde m[s,t]>0\) (from (v)) and \(\mathbb{P}[\mathcal{I}_s(\widetilde A)]>0\), this is (ii) except for uniqueness.

Step 3: the tilt estimate. Since \(\partial_g\Lambda_{N,p}(g,v)=\Lambda_{N,p}(g,v)(1-\Lambda_{N,p}(g,v))/(v\sqrt{pN})=O(p/\sqrt{pN})\) for bounded \(g/v\), (E.10) gives \(|\widetilde\lambda[s,t]-\Lambda_{N,p}(\gamma[s,t],\nu[t])|=O\big(\frac{p}{\sqrt{pN}}\cdot\frac{\log^{\ell''}N}{\sqrt{pN}}\big)=O(\log^{\ell''}N/N)\), which is the last bound of (v) at day \(k\) once \(\ell_{k+1}\ge\ell''+1\).

Step 4: uniqueness. Apply Lemma E.1 with \(d=2^k\), \(\eta_t:=\widetilde n[t]-\mathbb{1}_{s=t}\), \(M=M_s\), and \(\ge'=\ge'_s\). Let \(\rho_0:=\varsigma^\ast_k/2^{k+1}\) and let \(B\) be the box of all \(a\in\mathbb{Z}^{\{0,1\}^k}\) with \(|a[t]-p\widetilde n[t]-\sqrt{pN}v_s[t]|\le\sqrt{pN}\rho_0\) for all \(t\). For \(a\in B\), Step 1 gives \(M_sa=\sqrt{pN}\,M_s(v_s+w)\) with \(\left\lVert w\right\rVert_\infty\le\rho_0\), so \(Z_{s,r}(a)\ge\sqrt{pN}(\varsigma^\ast_k-2^k\rho_0)>0\) for all \(r\le k-1\); hence every \(a\in B\) satisfies \(\mathcal{I}_s(a)\) strictly, and \(B\subseteq S\) for large \(N\) (when \(B\) lies inside \(\prod_t\{0,\ldots,\eta_t\}\)). A box of integer points of side at least \(2\) contains \(d+1\) affinely independent points, so \(S\) is not contained in an affine hyperplane, and Lemma E.1 shows that \(\widetilde\lambda[s,\bullet]\) is the unique tilt with the solvability property for the row \(s\). This completes (ii).

Step 5: symmetry of the tilt. Define \(\lambda'[s,t]:=\widetilde\lambda[\overline s,\overline t]\). The row vector \(A'_{s,\bullet}:=A_{s,\bullet}(\widetilde n_k,\lambda')\) has independent coordinates \(A'_{s,t}\sim\mathrm{Bin}(\widetilde n[t]-\mathbb{1}_{s=t},\widetilde\lambda[\overline s,\overline t])=\mathrm{Bin}(\widetilde n[\overline t]-\mathbb{1}_{\overline s=\overline t},\widetilde\lambda[\overline s,\overline t])\), using \(\widetilde n[t]=\widetilde n[\overline t]\); this is the law of \(\widetilde A_{\overline s,\overline t}\), so \(A'_{s,\bullet}\overset{d}{=}R\widetilde A_{\overline s,\bullet}\). By (E.8) and (ii) for the row \(\overline s\), \[\mathbb{E}\left[A'_{s,t}\mid\mathcal{I}_s(A'_{s,\bullet})\right]=\mathbb{E}\left[\widetilde A_{\overline s,\overline t}\mid\mathcal{I}_{\overline s}(\widetilde A_{\overline s,\bullet})\right]=\frac{\widetilde m[\overline s,\overline t]}{\widetilde n[\overline s]}=\frac{\widetilde m[s,t]}{\widetilde n[s]},\] so \(\lambda'[s,\bullet]\) has the solvability property for the row \(s\), and by uniqueness \(\lambda'=\widetilde\lambda\), that is, \(\widetilde\lambda[\overline s,\overline t]=\widetilde\lambda[s,t]\).

Step 6: day \(k+1\) and its symmetry. The local template \((\widetilde n^{\mathrm{loc}},\widetilde\ell^{\mathrm{loc}},\widetilde m^{\mathrm{loc}})\) of \((\widetilde n_k,\widetilde m_k,\widetilde\lambda_k)\) is defined, since the hypotheses of Definition 3.2 are part of (ii); define \(\widetilde n_{k+1}\) and \(\widetilde m_{k+1}\) by (iii). By the symmetry of \(\widetilde n_k\) and \(\widetilde\lambda_k\), \(\widetilde A_{\overline s,\bullet}\overset{d}{=}R\widetilde A_{s,\bullet}\), and by (E.8) the events \(\mathcal{I}_{\overline s}(\widetilde A_{\overline s,\bullet})\) and \(\mathcal{J}_{\overline s\,\overline b}(\widetilde A_{\overline s,\bullet})\) correspond to \(\mathcal{I}_s(\widetilde A_{s,\bullet})\) and \(\mathcal{J}_{sb}(\widetilde A_{s,\bullet})\) under this identification. Hence \(\widetilde n^{\mathrm{loc}}[\overline s\,\overline b]=\widetilde n^{\mathrm{loc}}[sb]\), \(\widetilde\ell^{\mathrm{loc}}[\overline s\,\overline b,\overline t]=\widetilde\ell^{\mathrm{loc}}[sb,t]\), and therefore \(\widetilde m^{\mathrm{loc}}[\overline s\,\overline b,\overline t\,\overline c]=\widetilde m^{\mathrm{loc}}[sb,tc]\), which is (iv) at day \(k+1\).

Step 7: asymptotics at day \(k+1\). Fix \(s,t\) and \(b,c\). Let \(W_{s,\bullet}\) be the day-\(k\) Gaussian row model, whose means are \(\gamma[s,\bullet]\). By Lemma E.3(i) and (ii) at \(\sigma=\sigma_s\) (with \(Z_{s,k}(\widetilde n_k)=0\) by Step 1, so the events \(\mathcal{J}_{sb}\) are unshifted), followed by the Lipschitz dependence on the mean of Lemma E.2 and (E.10), \[\begin{aligned} \mathbb{P}\left[\mathcal{J}_{sb}(\widetilde A)\mid\mathcal{I}_s(\widetilde A)\right]&=\mathbb{P}\left[\mathcal{J}_{sb}(W_{s,\bullet})\mid\mathcal{I}_s(W_{s,\bullet})\right]+O(\epsilon'')=\frac{\nu[sb]}{\nu[s]}+O(\epsilon''),\label{eq:split-asym}\\ \mathbb{E}\left[\widetilde A_{s,t}\mid\mathcal{J}_{sb}(\widetilde A)\right]&=p\,\widetilde n[t]+\sqrt{pN}\left(\mathbb{E}\left[W_{s,t}\mid\mathcal{J}_{sb}(W_{s,\bullet})\right]+O(\epsilon'')\right),\label{eq:condmean-asym} \end{aligned}\] with \(\epsilon'':=\log^{\ell''}N/\sqrt{pN}\), where (E.11) uses (4.3). By Definition 3.2 and (E.11), \(\widetilde n^{\mathrm{loc}}[sb]=\widetilde n[s]\,\mathbb{P}[\mathcal{J}_{sb}(\widetilde A)\mid\mathcal{I}_s(\widetilde A)]=N\nu[sb]+O(N\epsilon'')\), using \(\widetilde n[s]=N\nu[s]+O(N\epsilon'')\); the floor changes this by at most \(1\), which proves the size bound of (v) at day \(k+1\) with any \(\ell_{k+1}\ge\ell''+1\). For the edge counts, write \(e_{sb,t}:=\nu[t]^{-1}\mathbb{E}[W_{s,t}\mid\mathcal{J}_{sb}(W_{s,\bullet})]\), so that \(\mu[sb,tc]=e_{sb,t}+e_{tc,s}-\mu[s,t]\) by (4.4). Since \(\widetilde\ell^{\mathrm{loc}}[sb,t]=\widetilde n^{\mathrm{loc}}[sb]\,\mathbb{E}[\widetilde A_{s,t}\mid\mathcal{J}_{sb}(\widetilde A)]\) and \(\sqrt{pN}\,\nu[t]/(p\widetilde n[t])=(1+O(\epsilon''))/\sqrt{pN}\), (E.12) gives \[\widetilde\ell^{\mathrm{loc}}[sb,t]=\widetilde n^{\mathrm{loc}}[sb]\,p\,\widetilde n[t]\left(1+\frac{e_{sb,t}}{\sqrt{pN}}+O\left(\frac{\epsilon''}{\sqrt{pN}}\right)\right),\] and likewise for \(\widetilde\ell^{\mathrm{loc}}[tc,s]\). Divide the product by \(\widetilde m[s,t]=p\widetilde n[s]\widetilde n[t](1+\mu[s,t]/\sqrt{pN}+O(\log^{\ell_k}N/pN))\) and expand; the second-order terms are \(O(1/pN)\), and we obtain \[\begin{aligned} \widetilde m[sb,tc]&=p\,\widetilde n^{\mathrm{loc}}[sb]\,\widetilde n^{\mathrm{loc}}[tc]\left(1+\frac{e_{sb,t}+e_{tc,s}-\mu[s,t]}{\sqrt{pN}}+O\left(\frac{\log^{\ell''}N}{pN}\right)\right)\\ &=p\,\widetilde n^{\mathrm{loc}}[sb]\,\widetilde n^{\mathrm{loc}}[tc]\left(1+\frac{\mu[sb,tc]}{\sqrt{pN}}+O\left(\frac{\log^{\ell''}N}{pN}\right)\right). \end{aligned}\] Replacing \(\widetilde n^{\mathrm{loc}}\) by \(\widetilde n_{k+1}\) changes the right-hand side by a relative \(O(1/N)\), which is absorbed. This proves the edge-count bound of (v) at day \(k+1\) with \(\ell_{k+1}:=\ell''+1\), and completes the induction. Finally, since (i), (iii), and the uniqueness in (ii) determine the family recursively, it depends only on \((N,p)\). ◻

E.5 Proof of Theorem 5.4

Read proofFull argument

Proof of Theorem 5.4. Throughout, constants implicit in \(O(\cdot)\) and thresholds for “large \(N\)” depend only on \(\theta,k,T,\delta\); they are uniform in \(p\), \(\tau\), and \(y\). Let \(\ell=\ell(\theta,D_\theta,T)\) be the exponent of Theorem 5.2, put \[\beta_0:=\frac{\sqrt{pN}^{\,k-1}}{\sqrt N},\qquad c_1:=\tfrac12\left(1-k(1-\theta)\right)>0,\qquad\epsilon'':=\frac{\log^{\ell}N}{\sqrt{pN}},\] and recall from (E.4) that \(\beta_0\sqrt{pN}\le T^{k/2}N^{-c_1}\); in particular \(\beta_0\le1/\sqrt{pN}\) for large \(N\), and \(\epsilon''\le N^{-(1-\theta)/4}\) for large \(N\). Let \(\kappa=\kappa(\theta,k)\) be the exponent of Lemma E.4, and define \[\delta_1:=\tfrac12\min\left\{\kappa,\ \delta,\ c_1,\ \tfrac{1-\theta}{4}\right\},\] so that \(N^{-\delta}\), \(\epsilon''\), and \(\beta_0\) are all \(O(N^{-2\delta_1})\), and \(1/\sqrt{pN}\), \(\beta_0\sqrt{pN}\), \(\epsilon''\), \(N^{-\delta}\) are all at most \(N^{-\delta_1}\) for large \(N\). Fix \(y=(\Pi,m,1)\in\mathcal{G}_k^{(p)}(T,\delta,\tau)\) and write \(n[s]:=|\Pi[s]|\). Conditions (F1) and (F2) read \[\begin{aligned} n[t]&=\widetilde n[t]+\beta_0N\left(\tau\varepsilon[t]+O(N^{-\delta})\right),\label{eq:pe-sizes}\\ m[s,t]&=\widetilde m[s,t]\left(1+\tau\beta_0\left(\frac{\varepsilon[s]}{\nu[s]}+\frac{\varepsilon[t]}{\nu[t]}\right)\right)+O\left(\beta_0N^{-\delta}N^2p\right),\label{eq:pe-edges} \end{aligned}\] and Theorem 5.2(v) gives \(\widetilde n[t]=N\nu[t](1+O(\epsilon''))\) and \(\widetilde m[s,t]=p\widetilde n[s]\widetilde n[t](1+\mu[s,t]/\sqrt{pN}+O(\epsilon''/\sqrt{pN}))\). In particular \(|n[t]-\widetilde n[t]|\le T_2\beta_0N\) with \(T_2:=T(\max_t|\varepsilon[t]|+1)\), so Lemma E.4 applies to \(n\) with \(T_2\) in place of \(T\); we use it with the radius \(R_0\) specified in Step 1, and write \(A^\sigma\), \(q^\sigma\) for the objects of that lemma for the row \(s\), and \(\widetilde A:=\widetilde A_{s,\bullet}\).

Step 1: the tilt. Fix \(s\). Let \(f(\sigma):=\Sigma_s\sigma\), a linear bijection of \(\mathbb{R}^{\{0,1\}^k}\) by Lemma 4.6, hence a strong bijection onto \(B=\mathbb{R}^{\{0,1\}^k}\); let \(\mathcal{K}:=[-R_\varepsilon,R_\varepsilon]^{\{0,1\}^k}\) with \(R_\varepsilon:=\max_t|\varepsilon[t]|+1\), and let \(R_0:=\max_{y'\in\mathcal{K}}|\Sigma_s^{-1}y'|+1\), a constant depending only on \(k\). Define \[g(\sigma):=\left(\frac{\mathbb{E}[A^\sigma_t\mid\mathcal{I}_s(A^\sigma)]-\widetilde m[s,t]/\widetilde n[s]}{\tau\beta_0\,pN}\right)_{t\in\{0,1\}^k},\qquad y^{(s)}:=\left(\frac{m[s,t]/n[s]-\widetilde m[s,t]/\widetilde n[s]}{\tau\beta_0\,pN}\right)_{t\in\{0,1\}^k}.\] The map \(g\) is continuous on \(\mathbb{R}^{\{0,1\}^k}\) (it is smooth, by Lemma E.4, whose argument for smoothness does not use the bound on \(\sigma\)), and Lemma E.4(i) gives \(\sup_{|\sigma|\le R_0}|g(\sigma)-f(\sigma)|\le C_0N^{-\kappa}\). We compute \(y^{(s)}\). By (E.13) and \(N/\widetilde n[s]=\nu[s]^{-1}(1+O(\epsilon''))\), \(n[s]=\widetilde n[s]\big(1+\tau\beta_0\varepsilon[s]/\nu[s]+O(\beta_0N^{-\delta}+\beta_0\epsilon'')\big)\), and dividing (E.14) by this, \[\frac{m[s,t]}{n[s]}=\frac{\widetilde m[s,t]}{\widetilde n[s]}\left(1+\tau\beta_0\frac{\varepsilon[t]}{\nu[t]}+O\left(\beta_0N^{-\delta}+\beta_0\epsilon''+\beta_0^2\right)\right)+O\left(\beta_0N^{-\delta}Np\right).\] Since \(\widetilde m[s,t]/\widetilde n[s]=pN\nu[t](1+O(\epsilon''))\), this gives \[\frac{m[s,t]}{n[s]}-\frac{\widetilde m[s,t]}{\widetilde n[s]}=\tau\beta_0pN\varepsilon[t]+O\left(\beta_0pN\left(N^{-\delta}+\epsilon''+\beta_0\right)\right),\] that is, \[\label{eq:pe-target} y^{(s)}=\varepsilon+O\left(N^{-\delta}+\epsilon''+\beta_0\right)=\varepsilon+O\left(N^{-2\delta_1}\right)\] by the choice of \(\delta_1\), so \(y^{(s)}\in\mathcal{K}\) for large \(N\). Theorem D.5 with \(\varepsilon:=N^{-\kappa}\) yields \(\sigma_s\) with \(g(\sigma_s)=y^{(s)}\) and \(|\sigma_s-\Sigma_s^{-1}y^{(s)}|\le CN^{-\kappa}\); since \(\Sigma_s\) is symmetric, (4.6) says \(\Sigma_s\beta[s,\bullet]=\varepsilon\), so by (E.15) \[\label{eq:pe-sigma} \left\|\sigma_s-\beta[s,\bullet]\right\|_\infty=O\left(N^{-2\delta_1}\right),\] and in particular \(\left\lVert\sigma_s\right\rVert_\infty\le R_0\) for large \(N\). Set \(\lambda_y[s,t]:=q^{\sigma_s}[t]\). Then \(A_{s,\bullet}(n,\lambda_y)=A^{\sigma_s}\), and \(g(\sigma_s)=y^{(s)}\) says exactly that \(n[s]\,\mathbb{E}[A_{s,t}\mid\mathcal{I}_s(A_{s,\bullet})]=m[s,t]\) for all \(t\); moreover \(\mathbb{P}[\mathcal{I}_s(A_{s,\bullet})]>0\) by Lemma E.4(iv). By the definition of \(q^\sigma\) in Lemma E.4, \(\vartheta_y[s,t]=\widetilde\vartheta[s,t]+\tau\beta_0\sigma_s[t]\), so (E.16) gives \[\left|\vartheta_y[s,t]-\widetilde\vartheta[s,t]-\tau\beta_0\beta[s,t]\right|=\tau\beta_0\left|\sigma_s[t]-\beta[s,t]\right|=O\left(\beta_0N^{-2\delta_1}\right),\] which is (b) once \(T_1\) exceeds the implied constant.

Step 2: uniqueness. As in Step 4 of the proof of Theorem 5.2, apply Lemma E.1 with \(\eta_t:=n[t]-\mathbb{1}_{s=t}\): for \(a\) in the box of integer points with \(|a[t]-pn[t]-\sqrt{pN}v_s[t]|\le\sqrt{pN}\rho_0\), where \(v_s:=(\nu[t]\mu[s,t])_t\) and \(\rho_0:=\varsigma^\ast_k/2^{k+1}\), we have \(M_sa=pM_sn+\sqrt{pN}M_s(v_s+w)\) with \(\left\lVert w\right\rVert_\infty\le\rho_0\); by (E.13), the pairing symmetry of Theorem 5.2(iv), and Corollary 4.10(i), \(\left\lVert M_sn\right\rVert_\infty=O(\beta_0N^{1-\delta})\), so \(p\left\lVert M_sn\right\rVert_\infty=O(\sqrt{pN}\cdot\beta_0\sqrt{pN}N^{-\delta})=o(\sqrt{pN})\), and every such \(a\) satisfies \(\mathcal{I}_s(a)\) strictly for large \(N\). Hence the support is not contained in an affine hyperplane, and \(\lambda_y[s,\bullet]\) is the unique tilt of the row \(s\) with the solvability property.

Step 3: admissibility. We verify (LA1)–(LA9) for \((y,\lambda_y)\) with \(\phi_1:=\phi^\ast_k/4\) and a constant \(T_1\) depending only on \(\theta,k,T,\delta\). (LA1) is part of Definition 5.3. (LA2): \(n[s]=N\nu[s](1+O(\epsilon''+\beta_0))\ge N/T_1\) once \(T_1\ge2/\min_s\nu[s]\). For \(1\le r\le k-1\), by (E.13), the pairing symmetry of \(\widetilde n\), and Corollary 4.10(i), \[\left|\sum_t(-1)^{t[r-1]}n[t]\right|=\left|\tau\beta_0N\sum_t(-1)^{t[r-1]}\varepsilon[t]\right|+O\left(\beta_0N^{1-\delta}\right)=O\left(\beta_0N^{1-\delta}\right),\] which is at most \(T_1N/\sqrt{pN}\) because \(\beta_0\sqrt{pN}\le T^{k/2}\). (LA3) and (LA4): multiplying the expansions of \(n[s]\) and \(n[t]\) from (E.13), \[pn[s]n[t]=p\widetilde n[s]\widetilde n[t]\left(1+\tau\beta_0\left(\frac{\varepsilon[s]}{\nu[s]}+\frac{\varepsilon[t]}{\nu[t]}\right)+O\left(\beta_0N^{-\delta}+\beta_0\epsilon''+\beta_0^2\right)\right),\] and comparing with (E.14) and the expansion of \(\widetilde m[s,t]\) gives \[m[s,t]-pn[s]n[t]=p\widetilde n[s]\widetilde n[t]\cdot O\left(\frac{1}{\sqrt{pN}}+\frac{\log^{\ell}N}{pN}+\beta_0N^{-\delta}+\beta_0\epsilon''+\beta_0^2\right)=O\left(\frac{N^2p}{\sqrt{pN}}\right),\] where the first two terms are the \(\mu[s,t]/\sqrt{pN}\) of \(\widetilde m[s,t]\) and its error, the third is the error term of (E.14) divided by \(p\widetilde n[s]\widetilde n[t]\asymp pN^2\), and the last two come from the expansion of \(pn[s]n[t]\); the last three are \(O(\beta_0)=O(1/\sqrt{pN})\) because \(\beta_0\sqrt{pN}=\sqrt{pN}^{\,k}/\sqrt N\le T^{k/2}N^{(k(1-\theta)-1)/2}\le T^{k/2}\). In particular \(m[s,t]=p\widetilde n[s]\widetilde n[t](1+o(1))>0\). (LA5): fix \(s\) and \(1\le r\le k-1\). In all four cases of the relation \(\ge_{s[r-1]s[r]}\), the condition is implied by \((-1)^{s[r]}\sum_t(-1)^{t[r-1]}m[s,t]\ge2T_1^{-1}N^2p/\sqrt{pN}\). By (E.14) and the expansion of \(\widetilde m\), \[\begin{aligned} \sum_t(-1)^{t[r-1]}m[s,t]&=p\widetilde n[s]\sum_t(-1)^{t[r-1]}\widetilde n[t]\left(1+\frac{\mu[s,t]}{\sqrt{pN}}\right)\left(1+\tau\beta_0\left(\frac{\varepsilon[s]}{\nu[s]}+\frac{\varepsilon[t]}{\nu[t]}\right)\right)\\ &\qquad+O\left(\frac{N^2p\,\epsilon''}{\sqrt{pN}}+\beta_0N^{-\delta}N^2p\right)\\ &=p\widetilde n[s]\left[\frac{N}{\sqrt{pN}}(-1)^{s[r]}Z_{s,r}(v_s)+\tau\beta_0N\sum_t(-1)^{t[r-1]}\varepsilon[t]\right]\\ &\qquad+O\left(\frac{N^2p}{\sqrt{pN}}\left(\epsilon''+\beta_0\log^\ell N+\beta_0N^{-\delta}\sqrt{pN}\right)\right), \end{aligned}\] all three error terms being \(o(N^2p/\sqrt{pN})\), where we used \(\sum_t(-1)^{t[r-1]}\widetilde n[t]=0\) (pairing), \(\widetilde n[t]=N\nu[t]+O(N\epsilon'')\), \(\widetilde n[t]/\nu[t]=N+O(N\epsilon'')\), and \(\beta_0\le1/\sqrt{pN}\). The second bracketed term vanishes by Corollary 4.10(i), and \(Z_{s,r}(v_s)\ge\varsigma^\ast_k\) by Lemma 4.11; hence \((-1)^{s[r]}\sum_t(-1)^{t[r-1]}m[s,t]\ge\frac12\nu[s]\varsigma^\ast_k\,N^2p/\sqrt{pN}\) for large \(N\), which is (LA5) once \(T_1\ge4/(\min_s\nu[s]\,\varsigma^\ast_k)\). (LA6) is the bound \(|q^{\sigma_s}[t]-p|\le Cp/\sqrt{pN}\) of Lemma E.4. (LA7) and (LA9) are Lemma E.4(iv) with \(\phi_1=\phi^\ast_k/4\). (LA8) was established in Step 1. This proves (a).

Step 4: the template sizes. Fix \(s,b\), and let \((\widetilde n^{\mathrm{loc}},\widetilde\ell^{\mathrm{loc}},\widetilde m^{\mathrm{loc}})\) be the local template of \((\widetilde n_k,\widetilde m_k,\widetilde\lambda_k)\), so that \(\widetilde n^{\mathrm{loc}}[sb]=\widetilde n[s]\,\mathbb{P}[\mathcal{J}_{sb}(\widetilde A)\mid\mathcal{I}_s(\widetilde A)]\), \(\widetilde n[sb]=\lfloor\widetilde n^{\mathrm{loc}}[sb]\rfloor\), and \(\widetilde m[sb,tc]=\widetilde m^{\mathrm{loc}}[sb,tc]\) by Theorem 5.2(iii). By Lemma E.4(ii) at \(\sigma_s\), then (E.16), then (4.7), \[\begin{aligned} \mathbb{P}[\mathcal{J}_{sb}(A_{s,\bullet})\mid\mathcal{I}_s(A_{s,\bullet})]&=\frac{\widetilde n^{\mathrm{loc}}[sb]}{\widetilde n[s]}+\tau\beta_0\sqrt{pN}\,\frac{\nu[sb]}{\nu[s]}\sum_{t'}\beta[s,t']\Big(\mathbb{E}[W_{s,t'}\mid\mathcal{J}_{sb}]-\mathbb{E}[W_{s,t'}\mid\mathcal{I}_s]\Big)\\ &\qquad+O\left(\beta_0\sqrt{pN}N^{-2\delta_1}\right)\\ &=\frac{\widetilde n^{\mathrm{loc}}[sb]}{\widetilde n[s]}+\tau\beta_0\sqrt{pN}\,\frac{\varepsilon[sb]}{\nu[s]}+O\left(\beta_0\sqrt{pN}N^{-2\delta_1}\right), \end{aligned}\] where \(\mathcal{J}_{sb}\) and \(\mathcal{I}_s\) abbreviate \(\mathcal{J}_{sb}(W_{s,\bullet})\) and \(\mathcal{I}_s(W_{s,\bullet})\). Multiplying by \(n[s]=\widetilde n[s]+\beta_0N(\tau\varepsilon[s]+O(N^{-\delta}))\) and using \(\widetilde n^{\mathrm{loc}}[sb]/\widetilde n[s]=\nu[sb]/\nu[s]+O(\epsilon'')\), which follows from Theorem 5.2(v) at days \(k\) and \(k+1\) since \(\widetilde n^{\mathrm{loc}}[sb]\in[\widetilde n[sb],\widetilde n[sb]+1)\), together with \(n[s]=N\nu[s](1+O(\epsilon''+\beta_0))\), \[\begin{gathered} n^{\mathrm{loc}}[sb]=\widetilde n^{\mathrm{loc}}[sb]+\tau\beta_0N\sqrt{pN}\,\varepsilon[sb]+\tau\beta_0N\varepsilon[s]\frac{\nu[sb]}{\nu[s]}\\ +O\left(\beta_0N\sqrt{pN}\left(N^{-2\delta_1}+\epsilon''+\beta_0\right)+\beta_0N\left(N^{-\delta}+\epsilon''\right)\right). \end{gathered}\] Now \(\tau\beta_0N\sqrt{pN}\varepsilon[sb]=\tau\sqrt N\sqrt{pN}^{\,k}\varepsilon[sb]\), \(0\le\widetilde n^{\mathrm{loc}}[sb]-\widetilde n[sb]<1\), and every remaining term is \(O(\beta_0N\sqrt{pN}\cdot N^{-\delta_1})\): the third term because \(1/\sqrt{pN}\le N^{-\delta_1}\), and the error terms because \(N^{-2\delta_1}\), \(\epsilon''\), \(\beta_0\), and \(N^{-\delta}\) are all at most \(N^{-\delta_1}\) for large \(N\), by the choice of \(\delta_1\). This is the size bound of (c).

Step 5: the template edge counts. Fix \(s,t,b,c\). By Definition 3.2, \(\ell^{\mathrm{loc}}[sb,t]=n^{\mathrm{loc}}[sb]\,\mathbb{E}[A_{s,t}\mid\mathcal{J}_{sb}(A_{s,\bullet})]\) and \(\widetilde\ell^{\mathrm{loc}}[sb,t]=\widetilde n^{\mathrm{loc}}[sb]\,\mathbb{E}[\widetilde A_{s,t}\mid\mathcal{J}_{sb}(\widetilde A)]\), where \(\mathbb{E}[\widetilde A_{s,t}\mid\mathcal{J}_{sb}(\widetilde A)]=p\widetilde n[t]+O(\sqrt{pN})\asymp pN\) by Lemma E.3(ii). By Lemma E.4(iii), \(\mathbb{E}[A_{s,t}\mid\mathcal{J}_{sb}(A_{s,\bullet})]=\mathbb{E}[\widetilde A_{s,t}\mid\mathcal{J}_{sb}(\widetilde A)](1+O(\beta_0))\), and therefore \[m^{\mathrm{loc}}[sb,tc]=\frac{\ell^{\mathrm{loc}}[sb,t]\,\ell^{\mathrm{loc}}[tc,s]}{m[s,t]}=\widetilde m^{\mathrm{loc}}[sb,tc]\cdot\frac{n^{\mathrm{loc}}[sb]}{\widetilde n^{\mathrm{loc}}[sb]}\cdot\frac{n^{\mathrm{loc}}[tc]}{\widetilde n^{\mathrm{loc}}[tc]}\cdot\frac{\widetilde m[s,t]}{m[s,t]}\cdot\left(1+O(\beta_0)\right).\] By Step 4 and \(\widetilde n^{\mathrm{loc}}[sb]=N\nu[sb](1+O(\epsilon''))\), \[\frac{n^{\mathrm{loc}}[sb]}{\widetilde n^{\mathrm{loc}}[sb]}=1+\tau\beta_0\sqrt{pN}\,\frac{\varepsilon[sb]}{\nu[sb]}+O\left(\beta_0\sqrt{pN}\left(N^{-\delta_1}+\epsilon''\right)\right),\] and likewise for \(tc\); by (E.14), \(\widetilde m[s,t]/m[s,t]=1+O(\beta_0)\). Multiplying out, with \(\widetilde m^{\mathrm{loc}}[sb,tc]=\widetilde m[sb,tc]\asymp N^2p\) and second-order terms \(O(\beta_0^2pN)\), \[\begin{gathered} m^{\mathrm{loc}}[sb,tc]=\widetilde m[sb,tc]\left(1+\tau\beta_0\sqrt{pN}\left(\frac{\varepsilon[sb]}{\nu[sb]}+\frac{\varepsilon[tc]}{\nu[tc]}\right)\right)\\ +O\left(N^2p\left(\beta_0\sqrt{pN}\left(N^{-\delta_1}+\epsilon''\right)+\beta_0+\beta_0^2pN\right)\right). \end{gathered}\] Since \(\beta_0\sqrt{pN}=\sqrt{pN}^k/\sqrt N\), the main term is the one in (c). In the error, \(\beta_0=\beta_0\sqrt{pN}\cdot(1/\sqrt{pN})\) and \(\beta_0^2pN=\beta_0\sqrt{pN}\cdot\beta_0\sqrt{pN}\) are both at most \(\beta_0\sqrt{pN}\,N^{-\delta_1}\) for large \(N\), and \(\epsilon''\le N^{-\delta_1}\), by the choice of \(\delta_1\); so the error is \(O(\beta_0\sqrt{pN}N^{-\delta_1}N^2p)\). This is the edge-count bound of (c) and completes the proof, with \(T_1\) the maximum of \(T\) and the finitely many constants required above. ◻

E.6 Proof of Theorem 5.5

Read proofFull argument

Proof of Theorem 5.5. Throughout, constants implicit in \(O(\cdot)\) and thresholds for “large \(N\)” depend only on \(\theta,T,\delta\), uniformly in \(p\), \(\tau\), and \(y\). Write \(k:=k_0\), let \(\ell\) be the exponent of Theorem 5.2 with \(D=D_\theta\), and put \[\beta_0:=\frac{\sqrt{pN}^{\,k-1}}{\sqrt N},\qquad\epsilon'':=\frac{\log^\ell N}{\sqrt{pN}},\qquad\varpi:=pN^{\theta}\in(T^{-1},T).\] Since \(k(1-\theta)=1\), we have \(pN=\varpi N^{1-\theta}\) and hence the exact identity \[\label{eq:edge-beta0} \beta_0\sqrt{pN}=\frac{(pN)^{k/2}}{\sqrt N}=\varpi^{k/2}\in\left(T^{-k/2},T^{k/2}\right);\] Put \(\delta':=\min\{\delta,(1-\theta)/4\}\) and \(\delta_1:=\delta'/2\). Fix \(y=(\Pi,m,1)\in\mathcal{G}^{(p)}_{k}(T,\delta,\tau)\), write \(n[s]:=|\Pi[s]|\), and note that (E.13) and (E.14) hold verbatim (they are (F1) and (F2)), as do \(\widetilde n[t]=N\nu[t](1+O(\epsilon''))\) and \(\widetilde m[s,t]=p\widetilde n[s]\widetilde n[t](1+\mu[s,t]/\sqrt{pN}+O(\epsilon''/\sqrt{pN}))\).

Step 1: the actual sizes as an input to Lemma E.3. By (E.13), \(|n[t]-N\nu[t]|\le\frac{N}{\sqrt{pN}}\log^\ell N+O(\beta_0N)\le\frac{N}{\sqrt{pN}}\log^{\ell+1}N\) for large \(N\), by (E.17). By (E.13), the pairing symmetry of Theorem 5.2(iv), and Corollary 4.10(i), \[M_sn=\tau\beta_0N\,M_s\varepsilon+O\left(\beta_0N^{1-\delta}\right)=O\left(\beta_0N^{1-\delta}\right)=O\left(N^{-\delta}\frac{N}{\sqrt{pN}}\right),\] so the hypothesis \(\left\lVert M_sn\right\rVert_\infty\le\xi N/\sqrt{pN}\) of Lemma E.3 holds with \(\xi:=C_\xi N^{-\delta}\) for a constant \(C_\xi\). On the other hand, by Corollary 4.10(ii), \[\label{eq:edge-shift} u_n:=\frac{p\,Z_{s,k}(n)}{\sqrt{pN}}=\frac{p}{\sqrt{pN}}\left(\tau\beta_0N\,S_k+O(\beta_0N^{1-\delta})\right)=\tau\,\varpi^{k/2}S_k+O(N^{-\delta}),\] where \(S_k:=\sum_{t}(-1)^{t[k-1]}\varepsilon[t]=2\sum_{t'\in\{0,1\}^{k-1}}\varepsilon[t'0]>0\); so that for large \(N\), \(u_n\in[u_{\min},u_{\max}]\) with \(u_{\min}:=\frac12T^{-1-k/2}S_k>0\) and \(u_{\max}:=2T^{1+k/2}S_k\), constants depending only on \(\theta,T\). In particular \(|Z_{s,k}(n)|\le T_3N/\sqrt{pN}\) for a constant \(T_3\). We apply Lemma E.3 with \(\eta:=n\), the constant \(\max\{T,T_3\}\), the exponent \(\ell+1\), the radius \(R_0\) of Step 2 of the proof of Theorem 5.2, and this \(\xi\); its \(\epsilon\) satisfies \(\epsilon=O(\log^{\ell'}N/\sqrt{pN}+N^{-\delta})=O(N^{-\delta'})\). For \(\sigma\in\mathbb{R}^{\{0,1\}^k}\) let \(A^\sigma=A_{s,\bullet}(n,\lambda^\sigma)\) with \(\lambda^\sigma[s,t]:=\Lambda_{N,p}(\sigma[t],\nu[t])\) be the row vector of that lemma.

Step 2: the tilt. Fix \(s\) and define \[g(\sigma):=\left(\frac{\mathbb{E}[A^\sigma_t\mid\mathcal{I}_s(A^\sigma)]-p\,n[t]}{\sqrt{pN}}\right)_{t},\qquad y^{(s)}:=\left(\frac{m[s,t]/n[s]-p\,n[t]}{\sqrt{pN}}\right)_{t},\qquad v_s:=\left(\nu[t]\mu[s,t]\right)_t .\] As in Step 2 of the proof of Theorem 5.2, \(g\) is smooth on \(\mathbb{R}^{\{0,1\}^k}\), and Lemma E.3(ii) gives \(\sup_{|\sigma|\le R_0}|g(\sigma)-F_{s,\nu}(\sigma)|=O(N^{-\delta'})\). We compute \(y^{(s)}\). Exactly as in Step 1 of the proof of Theorem 5.4 (that computation did not use \(k<\frac1{1-\theta}\)), \[\frac{m[s,t]}{n[s]}=\frac{\widetilde m[s,t]}{\widetilde n[s]}\left(1+\tau\beta_0\frac{\varepsilon[t]}{\nu[t]}+O\left(\beta_0N^{-\delta}+\beta_0\epsilon''+\beta_0^2\right)\right)+O\left(\beta_0N^{-\delta}Np\right),\] while \(p\,n[t]=p\widetilde n[t]+p\beta_0N(\tau\varepsilon[t]+O(N^{-\delta}))\) by (E.13). Subtracting, and using \(\widetilde m[s,t]/\widetilde n[s]=p\widetilde n[t](1+\mu[s,t]/\sqrt{pN}+O(\epsilon''/\sqrt{pN}))\) and \(\widetilde n[t]/\nu[t]=N(1+O(\epsilon''))\), the two terms involving \(\varepsilon[t]\) cancel to first order: \[\begin{aligned} \frac{m[s,t]}{n[s]}-p\,n[t]&=p\widetilde n[t]\frac{\mu[s,t]}{\sqrt{pN}}+p\tau\beta_0\varepsilon[t]\left(\frac{\widetilde n[t]}{\nu[t]}-N\right)+O\left(pN\beta_0\left(N^{-\delta}+\epsilon''+\beta_0\right)+\frac{pN\epsilon''}{\sqrt{pN}}\right)\\ &=p\widetilde n[t]\frac{\mu[s,t]}{\sqrt{pN}}+O\left(pN\beta_0\left(N^{-\delta}+\epsilon''+\beta_0\right)+\frac{pN\epsilon''}{\sqrt{pN}}\right). \end{aligned}\] Dividing by \(\sqrt{pN}\) and using (E.17), which gives \(\beta_0\sqrt{pN}=O(1)\) and \(\beta_0=O(1/\sqrt{pN})\), \[\label{eq:edge-target} y^{(s)}=v_s+O\left(N^{-\delta}+\epsilon''+\beta_0\right)=v_s+O\left(N^{-\delta'}\right).\] With \(T'\) and \(\mathcal{K}_{T'}\) as in Step 2 of the proof of Theorem 5.2, \(y^{(s)}\in\mathcal{K}_{T'}\) for large \(N\), and Theorem D.5 with \(\varepsilon:=N^{-\delta'}\) yields \(\sigma_s\) with \(g(\sigma_s)=y^{(s)}\) and, by Lemma D.2 and (E.19), \[\label{eq:edge-sigma} \left\|\sigma_s-\gamma[s,\bullet]\right\|_\infty=O\left(N^{-\delta'}\right).\] Set \(\lambda_y[s,t]:=\Lambda_{N,p}(\sigma_s[t],\nu[t])\), so that \(A_{s,\bullet}(n,\lambda_y)=A^{\sigma_s}\), \(\mathbb{P}[\mathcal{I}_s(A_{s,\bullet})]>0\), and \(g(\sigma_s)=y^{(s)}\) is the solvability identity \(n[s]\,\mathbb{E}[A_{s,t}\mid\mathcal{I}_s(A_{s,\bullet})]=m[s,t]\). Since \(\partial_g\Lambda_{N,p}=O(p/\sqrt{pN})\) on bounded sets, (E.20) gives \(|\lambda_y[s,t]-\Lambda_{N,p}(\gamma[s,t],\nu[t])|=O(N^{-\delta'}p/\sqrt{pN})\le N^{-\delta_1}p/\sqrt{pN}\) for large \(N\), which is (b). Uniqueness follows from Lemma E.1 exactly as in Step 2 of the proof of Theorem 5.4: \(p\left\lVert M_sn\right\rVert_\infty=O(pN^{-\delta}N/\sqrt{pN})=O(N^{-\delta}\sqrt{pN})=o(\sqrt{pN})\), so the box of lattice points around \(pn+\sqrt{pN}v_s\) of side \(2\sqrt{pN}\varsigma^\ast_k/2^{k+1}\) lies in the support.

Step 3: admissibility. Conditions (LA1), (LA2), (LA3), (LA4), (LA5), and (LA8) are verified exactly as in Step 3 of the proof of Theorem 5.4, whose computations used only (E.13), (E.14), the asymptotics of \(\widetilde n\) and \(\widetilde m\), Corollary 4.10(i) for \(r\le k-1\), and the bounds \(\beta_0\le T^{k/2}/\sqrt{pN}\) and \(\beta_0N^{-\delta}\sqrt{pN}\le T^{k/2}N^{-\delta}\), all of which hold here by (E.17). (LA6): \(|\lambda_y[s,t]-p|\le|\Lambda_{N,p}(\gamma[s,t],\nu[t])-p|+O(p/\sqrt{pN})=O(p/\sqrt{pN})\) by Definition 5.1. (LA7): by Lemma E.3(i) at \(\sigma_s\), Lemma E.2, and (E.20), \(\mathbb{P}[\mathcal{I}_s(A_{s,\bullet})]=\mathbb{P}[\mathcal{I}_s(W_{s,\bullet})]+O(N^{-\delta'})\ge\phi^\ast_k/2\) for large \(N\), where \(W_{s,\bullet}\) is the day-\(k\) Gaussian row model. (LA9): by Lemma E.3(i) at \(\sigma_s\) with the shifted events, \(\mathbb{P}[\mathcal{J}_{sb}(A_{s,\bullet})\mid\mathcal{I}_s(A_{s,\bullet})]=\mathbb{P}[\mathcal{J}^{u_n}_{sb}(W^{\sigma_s})\mid\mathcal{I}_s(W^{\sigma_s})]+O(N^{-\delta'})\), and \(\mathbb{P}[\mathcal{J}^{u_n}_{sb}(W^{\sigma_s})]\ge c_0\) for both \(b\), where \(c_0\) depends only on \(k,T,R_0\); since the two events partition \(\mathcal{I}_s(W^{\sigma_s})\) up to a null set, the conditional probability lies in \([c_0,1-c_0]\), and (LA9) holds with \(\phi_1:=\min\{\phi^\ast_k,c_0\}/4\) for large \(N\). This proves (a) with \(T_1\) the maximum of \(T\) and the constants required.

Step 4: the shifted decision. Let \(W:=W_{s,\bullet}\) be the day-\(k\) Gaussian row model and, for \(u\in\mathbb{R}\), let \[\pi_b(u):=\mathbb{P}\left[\mathcal{J}^{u}_{sb}(W)\mid\mathcal{I}_s(W)\right],\qquad\text{so that}\qquad\pi_b(0)=\frac{\nu[sb]}{\nu[s]}\] by (4.3). For \(u>0\), \(\mathcal{J}^u_{s0}(W)\supseteq\mathcal{J}^0_{s0}(W)\) and \(\pi_0(u)-\pi_0(0)=\mathbb{P}[-u<Z_{s,k}(W)\le0\mid\mathcal{I}_s(W)]\), while \(\pi_1(u)-\pi_1(0)=-(\pi_0(u)-\pi_0(0))\) because \(\pi_0(u)+\pi_1(u)=1\). The coefficient vectors of \(Z_{s,1},\ldots,Z_{s,k}\) are linearly independent, so \(x\mapsto(Z_{s,1}(x),\ldots,Z_{s,k}(x))\) maps \(\mathbb{R}^{\{0,1\}^k}\) onto \(\mathbb{R}^k\), and the conditional law of \(Z_{s,k}(W)\) given \(W\in\mathcal{C}_s\) has a density that is positive on all of \(\mathbb{R}\) (the set \(\mathcal{C}_s\cap\{Z_{s,k}=z\}\) is a nonempty relatively open subset of the hyperplane for every \(z\), and the density of \(W\) is positive). Hence \(\pi_0(u)-\pi_0(0)>0\) for every \(u>0\), and since it is continuous in \(u\), taking the minimum over \(u\in[u_{\min},u_{\max}]\) and the finitely many \(s\in\{0,1\}^k\) gives a constant \(\zeta'>0\) depending only on \(\theta,T\). Thus \[\label{eq:edge-zeta} (-1)^b\left(\pi_b(u)-\frac{\nu[sb]}{\nu[s]}\right)\ge\zeta'\qquad\text{for all }u\in[u_{\min},u_{\max}]\text{ and }b\in\{0,1\}.\]

Step 5: the template sizes. By Definition 3.2, Lemma E.3(i) at \(\sigma_s\) with the shifted events, Lemma E.2 (Lipschitz dependence on the mean, at the fixed shift \(u_n\)), and (E.20), \[n^{\mathrm{loc}}[sb]=n[s]\,\mathbb{P}\left[\mathcal{J}_{sb}(A_{s,\bullet})\mid\mathcal{I}_s(A_{s,\bullet})\right]=n[s]\left(\pi_b(u_n)+O(N^{-\delta'})\right).\] Therefore, by (E.21), \(u_n\in[u_{\min},u_{\max}]\), and \(|n[s]-N\nu[s]|=O(N\epsilon''+\beta_0N)=o(N)\), \[\begin{aligned} (-1)^b\left(n^{\mathrm{loc}}[sb]-N\nu[sb]\right)&=n[s]\,(-1)^b\left(\pi_b(u_n)-\frac{\nu[sb]}{\nu[s]}\right)+\frac{\nu[sb]}{\nu[s]}(-1)^b\left(n[s]-N\nu[s]\right)+O\left(N^{1-\delta'}\right)\\ &\ge n[s]\zeta'-o(N)\ge\tfrac12\nu[s]\zeta'N-o(N), \end{aligned}\] which is at least \(\zeta N\) for large \(N\) with \(\zeta:=\frac14\min_s\nu[s]\,\zeta'\), a constant depending only on \(\theta\) and \(T\). Thus the fixed displacement of the conditional split probability contributes the order-\(N\) first term, while the discrepancy of the parent size and the Gaussian-comparison error are both \(o(N)\). This is (c). ◻

Benjamini, Itai, Siu-On Chan, Ryan O’Donnell, Omer Tamuz, and Li-Yang Tan. 2016. “Convergence, Unanimity and Disagreement in Majority Dynamics on Unimodular Graphs and Random Graphs.” Stochastic Processes and Their Applications 126 (9): 2719–33.
Bentkus, V. 2005. “A Lyapunov-Type Bound in \(\mathbb{R}^d\).” Theory Probab. Appl. 49 (2): 311–23.
Berkowitz, Ross, and Pat Devlin. 2022. “Central Limit Theorem for Majority Dynamics: Bribing Three Voters Suffices.” Stochastic Process. Appl. 146: 187–206. https://doi.org/10.1016/j.spa.2022.01.010.
Canfield, E. R., C. Greenhill, and B. D. McKay. 2008. “Asymptotic Enumeration of Dense 0-1 Matrices with Specified Line Sums.” J. Combin. Theory Ser. A 115 (1): 32–66. https://doi.org/10.1016/j.jcta.2007.03.009.
Cartwright, Dorwin, and Frank Harary. 1956. “Structural Balance: A Generalization of Heider’s Theory.” Psychological Review 63 (5): 277–93. https://doi.org/10.1037/h0046049.
Chakraborti, Debsoumya, Jeong Han Kim, Joonkyung Lee, and Tuan Tran. 2023. “Majority Dynamics on Sparse Random Graphs.” Random Structures Algorithms 63 (1): 171–91. https://doi.org/10.1002/rsa.21139.
Fountoulakis, Nikolaos, Mihyun Kang, and Tamás Makai. 2020. “Resolution of a Conjecture on Majority Dynamics: Rapid Stabilization in Dense Random Graphs.” Random Structures Algorithms 57 (4): 1134–56. https://doi.org/10.1002/rsa.20970.
Goles, E., and J. Olivos. 1980. “Periodic Behaviour of Generalized Threshold Functions.” Discrete Math. 30 (2): 187–89.
Hatcher, Allen. 2002. Algebraic Topology. Cambridge University Press, Cambridge.
Jaffe, Sean. 2025. “A New Bound in Majority Dynamics on Random Graphs.” arXiv:2503.14401.
Kim, Jeong Han, and BaoLinh Tran. 2025. “A New Density Limit for Unanimity in Majority Dynamics on Random Graphs.” arXiv:2503.07447.
Krivelevich, Michael, and Benny Sudakov. 2006. “Pseudo-Random Graphs.” In More Sets, Graphs and Numbers, 15:199–262. Bolyai Soc. Math. Stud. Springer, Berlin.
Liebenau, Anita, and Nick Wormald. 2023. “Asymptotic Enumeration of Digraphs and Bipartite Graphs by Degree Sequence.” Random Structures Algorithms 62 (2): 259–86. https://doi.org/10.1002/rsa.21105.
———. 2024. “Asymptotic Enumeration of Graphs by Degree Sequence, and the Degree Sequence of a Random Graph.” J. Eur. Math. Soc. (JEMS) 26 (1): 1–40. https://doi.org/10.4171/JEMS/1355.
McCulloch, Warren S., and Walter Pitts. 1943. “A Logical Calculus of the Ideas Immanent in Nervous Activity.” The Bulletin of Mathematical Biophysics 5 (4): 115–33.
McKay, Brendan D., and Nicholas C. Wormald. 1990. “Asymptotic Enumeration by Degree Sequence of Graphs of High Degree.” European J. Combin. 11 (6): 565–80. https://doi.org/10.1016/S0195-6698(13)80042-X.
———. 1997. “The Degree Sequence of a Random Graph. I. The Models.” Random Structures Algorithms 11 (2): 97–117. https://doi.org/10.1002/(SICI)1098-2418(199709)11:2<97::AID-RSA1>3.3.CO;2-E.
Mossel, Elchanan, and Omer Tamuz. 2017. “Opinion Exchange Dynamics.” Probab. Surv. 14: 155–204. https://doi.org/10.1214/14-PS230.
Sah, Ashwin, and Mehtaab Sawhney. 2025. “Majority Dynamics: The Power of One.” Israel J. Math. 267 (1): 85–133. https://doi.org/10.1007/s11856-024-2690-1.
Tran, BaoLinh, and Van Vu. 2025. “The ‘Power of Few’ Phenomenon: The Sparse Case.” Random Structures Algorithms 66 (1): Paper No. e21260. https://doi.org/10.1002/rsa.21260.
Tran, Linh, and Van Vu. 2023. “Reaching a Consensus on Random Networks: The Power of Few.” Theory Comput. 19: Paper No. 6, 21 pp. https://doi.org/10.4086/toc.2023.v019a006.
Vershynin, R. 2018. High-Dimensional Probability. Vol. 47. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, Cambridge. https://doi.org/10.1017/9781108231596.
Wormald, N. 2018. “Asymptotic Enumeration of Graphs with Given Degree Sequence.” In Proceedings of the International Congress of Mathematicians—Rio de Janeiro 2018. Vol. IV. Invited Lectures, 3245–64. World Sci. Publ., Hackensack, NJ.
Both paperseach link opens the PDF at the exact statement
PRE-AI PAPER · 45 PAGESp. 1open PDF ↗
CURRENT PAPER · 86 PAGESp. 1open PDF ↗