6fbd3ac Δ f6bf760 Δ 56bc728 Δ b1f9bc4 Δ b34550f Δ e72c8de Δ 2d5618e Δ 57567ed
editors: nobody
For integers $s \ge 2$ and $t \ge 2$, the Ramsey number $r(s,t)$ is the smallest $N$ such that every finite simple graph on $N$ vertices contains a clique of order $s$ or an independent set of order $t$. The logarithmic exponent of $r(s,t)$ in the regime of fixed $s \ge 6$ and $t \to \infty$ is $s-2$, in the sense that

$$ r(s,t) = \frac{t^{s-1}}{(\log t)^{s-2+o(1)}} \qquad (t \to \infty). $$

Concretely, for each fixed $s \ge 6$ and each $\varepsilon > 0$ there is a constant $C_s > 0$ with

$$ \frac{t^{s-1}}{(\log t)^{s-2+\varepsilon}} \le r(s,t) \le C_s\frac{t^{s-1}}{(\log t)^{s-2}} $$

for every sufficiently large integer $t$. Equivalently,

$$ \lim_{t\to\infty} \frac{(s-1)\log t - \log r(s,t)}{\log\log t} = s-2. $$

This determines the exponent, not the constant: no assertion is made that $r(s,t)$ is bounded below by a fixed positive multiple of $t^{s-1}/(\log t)^{s-2}$. All logarithms are natural.

The finiteness of $r(s,t)$ is Ramsey's theorem, obtained in his study of a decision problem of first-order logic. The classical Erd\H{o}s--Szekeres argument gives $r(s,t) \le \binom{s+t-2}{s-1}$ and hence the bound $O_s(t^{s-1})$ at fixed $s$. Ajtai, Koml\'os and Szemer\'edi obtained the logarithmic improvement $O_s(t^{s-1}/(\log t)^{s-2})$, and Li, Rousseau and Zang refined the leading coefficient to $1+o(1)$. The power $s-2$ is therefore the natural upper-bound power, and the difficulty is to reach it from below.

Sources: Erd\H{o}s--Szekeres (./erdos-szekeres-1935-a-combinatorial-problem-in-geometry.pdf). Ramsey's 1930 paper, the AKS upper bound and the Li--Rousseau--Zang refinement are traced in Brada\v{c} (./bradac-2026-off-diagonal-ramsey-numbers.pdf), whose bibliography contains the precise statements.

For $s=3$ the value is known to be $\Theta(t^2/\log t)$ by Kim. For each fixed $s \ge 5$ the local-lemma construction of Spencer gives $\Omega_s((t/\log t)^{(s+1)/2})$, and the random $K_s$-free process of Bohman and Keevash improves the logarithmic factor to $t^{(s+1)/2}(\log t)^{1/(s-2) - (s+1)/2}$. A different route uses finite geometry. Mubayi and Verstra\"ete observed that a certain density-optimal $K_s$-free pseudorandom graph would give the order $t^{s-1}/(\log t)^{2s-4}$, and Mattheus and Verstra\"ete realised this for $s=4$, obtaining $\Omega(t^3/(\log t)^4)$. Brada\v{c} then constructed such graphs for every fixed $s \ge 3$, proving $r(s,t) \ge c_s t^{s-1}/(\log t)^{2s-4}$ and thus determining the polynomial exponent for every fixed $s$. The remaining gap between the powers $2s-4$ and $s-2$ is the logarithmic gap addressed below.

Sources: Bohman--Keevash (./bohman-keevash-2010-the-early-evolution-of-the-h-free-process.pdf), Mubayi--Verstra\"ete (./mubayi-verstraete-2024-a-note-on-pseudorandom-ramsey-graphs.pdf), Mattheus--Verstra\"ete (./mattheus-verstraete-2024-the-asymptotics-of-r4t.pdf), Brada\v{c} (./bradac-2026-off-diagonal-ramsey-numbers.pdf). Kim and Spencer are covered by Brada\v{c}'s survey of the local-lemma tradition.

The geometric ingredients carry their own history. The bipartite orthogonality and spectral estimates used below are modelled on Alon and Krivelevich, while the ordered flag construction used below is a higher-dimensional version of the incidence constructions of Codenotti, Pudl\'ak and Resta and of Kostochka, Pudl\'ak and R\"odl. The distinction between a marking step that shrinks a candidate set substantially and a step that leaves few possible choices appears in the independent-set counting argument of Alon and R\"odl. In the presence of selection, that distinction must be combined with an entropy estimate for a tuple chosen from a random stream, since selection need not preserve uniformity.

Sources: Alon--Krivelevich (./alon-krivelevich-1997-constructive-bounds-for-a-ramsey-type-problem.pdf), Codenotti--Pudl\'ak--Resta (./codenotti-pudlak-resta-2000-low-rank-matrices-computational-complexity.pdf), Kostochka--Pudl\'ak--R\"odl (./kostochka-pudlak-rodl-2010-some-constructive-bounds-on-ramsey-numbers.pdf).

The positive-characteristic algebraic estimates used below are adapted from Dvir's finite-field Kakeya argument, from the polynomial partition scheme of Guth and Katz and Elekes, Kaplan and Sharir, and from the positive-characteristic obstruction theory of Ellenberg and Hablicsek. The rich-subspace bound for high-rank classes follows from Nie and Wang's finite-degree closure inequality, and the interpolation technique uses the Schwartz--Zippel zero-counting estimate.

Sources: Dvir (./dvir-2009-on-the-size-of-kakeya-sets-in-finite-fields.pdf), Guth--Katz (./guth-katz-2010-algebraic-methods-in-discrete-analogs-of-the-kakeya-problem.pdf), Elekes--Kaplan--Sharir (./elekes-kaplan-sharir-2011-on-lines-joints-and-incidences-in-three-dimensions.pdf), Ellenberg--Hablicsek (./ellenberg-hablicsek-2016-an-incidence-conjecture-of-bourgain-over-fields-of-positive-characteristic.pdf), Nie--Wang (./nie-wang-2015-hilbert-functions-and-the-finite-degree-zariski-closure.pdf). The Schwartz--Zippel zero-counting bound is the standard textbook statement, proved in Dvir (Section 2) via the same partial-degree induction.

The construction. Fix an integer $d \ge 5$ and a real number $0 < \eta < 1/10$. For a graph $G$, write $\alpha(G)$ for its independence number. The main step is the following prime-indexed construction.

For every sufficiently large prime $q$, with $\sigma = \log q$, there is a graph $G$ such that

$$ |V(G)| = \lfloor q^d \sigma \rfloor, \qquad K_{d+1} \not\subseteq G, \qquad \alpha(G) < \lfloor q \sigma^{1+\eta} \rfloor. $$

The graph is built from flags as follows. A point of $\PG(d,q)$ is a one-dimensional linear subspace of $\F_q^{d+1}$; a dual point is a one-dimensional subspace of the dual space, that is, a projective hyperplane. Write $a \perp b$ for the incidence between a point $a$ and a dual point $b$, meaning that $b$ vanishes on $a$. A flag is an incident pair $(a,b)$.

Choose $N = \lfloor q^d \sigma \rfloor$ flags independently and uniformly and let the positions $1, \ldots, N$ be the vertices of $G$. Declare positions $i<j$ adjacent in $G$ if

$$ a_i \perp b_j \quad \text{and} \quad a_j \not\perp b_i. $$

The asymmetry in this rule records the order of the positions. Linear independence of the covectors of a clique shows $K_{d+1} \not\subseteq G$. An independent set, taken in its natural order, is therefore a flag sequence satisfying

$$ i < j \text{ and } a_i \perp b_j \implies a_j \perp b_i. $$

This implication is called consistency. Reversing the order and interchanging the two endpoint spaces preserves it. The bound on $\alpha(G)$ therefore reduces to the statement that no stream of $N$ independent uniform flags contains a consistent $k$-tuple, with $k = \lfloor q \sigma^{1+\eta} \rfloor$.

Selecting a length-$k$ tuple from the stream may heavily bias its law. Nevertheless, counting gives every selected tuple $F$ of deterministic length $\ell = \Theta(k)$ an entropy lower bound

$$ H(F) \ge d \sigma \ell + \eta \ell \log\sigma - O(k). $$

The bound survives any fixed number of restrictions to events of probability bounded below, and it does not require the selection to be independent of auxiliary randomness. The strategy is to contradict this lower bound by exhibiting a succession of increasingly short descriptions of the tuple, each using a smaller flag domain than the last.

Why the descriptions must be short. Brada\v{c}'s direct counting argument records $O(q\sigma)$ expensive flags, each carrying $O(\sigma)$ bits. The resulting $O(q\sigma^2)$ allowance for the expensive flags already exceeds the surplus $\eta\ell\log\sigma$ when $\ell = \Theta(q\sigma^{1+\eta})$, so the trivial message overshoots. The leading term $d\sigma\ell$ allows $d\sigma$ bits per retained flag; only by replacing the flag domain by a smaller domain of size $q^d e^{O(K)}$ with $K = o(\sigma)$ can the excess cost of the expensive flags be reduced below what the entropy surplus forbids. The messages used below are not stacked: each new description replaces the old one and the new decoder does not need the old history.

The three components of the argument.

First, describing a sparse pair of point sets. Let $S, T$ be sets in the two opposite point systems of $\PG(j,q)$ with $2 \le j \le d$, and suppose $|S||T|$ is close on a logarithmic scale to $q^{j+1}$ while the incidence density $e(S,T)/(|S||T|)$ is much smaller than $1/q$. A geometric lemma produces a short message specifying a set that captures a fixed fraction of the smaller support and is not much larger than the support. Separate validation samples then produce small domains on both sides that retain almost all of $S$ and of $T$. Higher projective dimensions are reduced by repeated projection to dimensions two and three, and the low-dimensional case is closed by a sampling argument with independent Poisson batches. A moment argument controls the size of the decoded set; the geometric input is a rich-line estimate whose hypotheses keep the field characteristic larger than the relevant polynomial degree.

Second, finding supports to which the description applies. Consistency lets all but $O(q\log q)$ positions be assigned to explicitly known flag domains of size $O(q^d)$. The entropy deficit in these domains bounds the dependence between representative positions and the remaining sequence, so most representative pairs have almost no one-way incidence conflict. In the reciprocal marginal classes, whose two prescribed endpoint-domain bounds multiply to $O(q^{d+1})$, consistency turns small information into sparse incidence between endpoint supports; possible exact incidences are charged to small occupied flag rectangles. The other classes have large endpoint rank and are described directly using two independent sample rows together with a polynomial bound on the union of rich subspaces.

Third, iterating without retaining old information. In a reciprocal class the representative pairs are arranged in time order and the sparse-pair description is applied along a balanced binary tree. Each successful node restricts one endpoint domain for each child, and fresh validation samples bound the loss from each restriction before any later success is imposed. An additive potential bounds the total length of the message. The new decoder starts from the full projective spaces and reads only the new message; it does not need the previous context, hidden supports, or conditional laws. The resulting entropy upper bound is $d\sigma\ell + O(k)$, which contradicts the lower bound for large $q$ and completes the proof of the prime-indexed construction.

Passing from primes to every integer uses an elementary form of the prime number theorem sufficient to find a prime in any fixed-ratio interval. The upper bound is the independence estimate for triangle-free graphs of Shearer and Alon, together with the elementary amplification scheme of Ajtai--Koml\'os--Szemer\'edi.

Sources: Davies--Jenssen--Perkins--Roberts (./davies-jenssen-perkins-roberts-2018-average-size-of-independent-sets-in-triangle-free-graphs.pdf) for sharp modern bounds; the classical Shearer and Alon statements are traced in Brada\v{c} (./bradac-2026-off-diagonal-ramsey-numbers.pdf).

The construction relies on four mutually dependent technical devices: a projective sparse-pair description, a marking procedure that tracks the expensive flags, a compression that replaces the current context by a shorter message, and an iteration that reduces the entropy budget below the selected-tuple lower bound.

Proj Incidence and Flag Graph. Fix an integer $d \ge 5$ and a real number in $(0, 1/10)$, denoted by $\eta$ throughout. Let $\sigma = \log q$. Write $Q_j$ for $|\PG(j,q)|$, so $Q_j = 1 + q + \cdots + q^j$. A projective point is a one-dimensional subspace of $\F_q^{j+1}$; a projective hyperplane is a codimension-one subspace, or equivalently a one-dimensional subspace of the dual. Write $a \perp b$ when the dual point $b$ vanishes on the point $a$.

Lemma (uniform hitting). If $a$ is uniform on $\PG(j,q)$ and $b$ is a fixed nonzero dual point, then $\Pr[a \perp b] = Q_{j-1}/Q_j$. Dually, if $b$ is uniform on the dual projective space and $a$ is a fixed point, the same probability holds. Hence $\Pr[a \perp b] = q^{-1}(1 + O(1/q))$ in either case, and $\Pr[a \not\perp b] = 1 - q^{-1} + O(q^{-2})$.

Proof. The hyperplane $b^\perp$ is a codimension-one linear subspace, whose projective points number $Q_{j-1}$. Of the $Q_j$ projective points, $Q_{j-1}$ lie in $b^\perp$. The dual statement follows by exchanging the roles of points and hyperplanes.

Sources: Alon and Krivelevich, constructive bounds for a Ramsey-type problem (./alon-krivelevich-1997-constructive-bounds-for-a-ramsey-type-problem.pdf).

Lemma (linear independence of cliques). For any graph defined by the flag rule, no clique of order $d+1$ occurs.

Proof. Suppose $\{i_1 < \cdots < i_{d+1}\}$ forms a clique. Write $a_u = a_{i_u}$ and $b_v = b_{i_v}$ for $1 \le u, v \le d+1$. The edge condition between $i_u$ and $i_v$ with $u < v$ gives $a_u \perp b_v$ and $a_v \not\perp b_u$; the flag condition gives $a_u \perp b_u$.

Claim: $a_1, \ldots, a_u$ are linearly independent for every $u \in \{1, \ldots, d+1\}$. The case $u=1$ is immediate. For $u \ge 2$, suppose $\sum_{v < u} c_v a_v = a_u$. Applying the covector $b_{u-1}$ gives
$$ b_{u-1}(a_u) = \sum_{v < u} c_v b_{u-1}(a_v). $$
On the left, edge $u-1 < u$ gives $a_u \not\perp b_{u-1}$, so the left-hand side is nonzero. On the right, $v \le u-2$ gives $a_v \perp b_{u-1}$ (edge $v < u-1$), and $v = u-1$ gives $a_{u-1} \perp b_{u-1}$ (flag), so every summand is zero. Contradiction. Hence $a_u \notin \mathrm{span}(a_1, \ldots, a_{u-1})$.

Taking $u = d+1$: the vectors $a_1, \ldots, a_{d+1}$ span $V = \F_q^{d+1}$. The covector $b_{d+1}$ annihilates each of them — for $u \le d$ by the edge condition $a_u \perp b_{d+1}$, and for $u = d+1$ by the flag condition $a_{d+1} \perp b_{d+1}$. A linear functional vanishing on a spanning set is the zero functional, so $b_{d+1} = 0$, contradicting that $b_{d+1}$ is a nonzero dual point. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 2.5.

Lemma (rectangle occupancy). For each subspace $U$ of $\F_q^{d+1}$ with $r = \dim U$ in $\{1, \ldots, d\}$, let $\mathcal R(U)$ be the set of flags $(a,b)$ with $a \in U$ and $b \in U^\perp$. Then $|\mathcal R(U)| = Q_{r-1} Q_{d-r}$. The occupancy of $\mathcal R(U)$ among $N$ iid uniform flags is binomial with mean at most $16\sigma$. For $A > 16e$,
$$ \Pr\{\text{occupancy of } \mathcal R(U) > A\sigma\} \le (16e/A)^{A\sigma}. $$
For each $r \in \{1,\ldots,d\}$ the number of subspaces is at most $q^{r(d+1-r)} \le q^{d^2/4}$, so the union of these events over all $U$ has probability at most $d q^{d^2/4}(16e/A)^{A\sigma}$. Choosing $A$ so that $(16e/A)^{A\sigma} \le q^{-d^2/4-10}$ bounds this by $O(q^{-10})$.

Proof. Enumerate the ordered bases of $U$ (there are $q^{(d+1-r)r}$ of them); the same bound gives $Q_{r-1} = (q^r - 1)/(q - 1) \le q^{r-1}(1 + q^{-1} + \cdots)$, and similarly $Q_{d-r} \le q^{d-r}(1 + \cdots)$. The product $\le 4q^{d-1}$ for $r \ge 1$. A single flag lies in $\mathcal R(U)$ with probability $Q_{r-1}Q_{d-r}/(Q_d Q_{d-1}) \le 4 q^{d-1} / ((1/4)q^{2d-1}) = 16 q^{-d}$. The occupancy mean is at most $16 q^{-d} N = 16\sigma$. For each $U$ with $\dim U = r$, the number of subspaces is at most $q^{(d+1-r)r} \le q^{r(d+1-r)}$; summing over $r \in \{1,\ldots,d\}$ and applying the Chernoff bound for binomial tails completes the probability estimate. $\square$

Sources: for the Chernoff bound see the elementary tails lemma below; for rectangular-set-occupancy style estimates in the random process framework see Alon and Krivelevich (./alon-krivelevich-1997-constructive-bounds-for-a-ramsey-type-problem.pdf).

Lemma (elementary tails). If $X$ is binomial or Poisson with mean $\mu$, then $\E e^{tX} \le \exp((e^t - 1)\mu)$ for every real $t$. For each fixed $\delta \in (0,1)$ there is $c_\delta > 0$ with
$$ \Pr(|X - \mu| \ge \delta\mu) \le 2e^{-c_\delta \mu}. $$
And for $h \ge e\mu > 0$,
$$ \Pr(X \ge h) \le (e\mu/h)^h. $$

Proof. Bernoulli: $\E e^{tX} = 1 + p(e^t - 1) \le e^{p(e^t - 1)}$; multiply over independent trials. Poisson: the exponent $e^{\mu(e^t-1)}$ is exact. Exponential Markov with $t = \log(1+\delta)$ gives the upper tail and \(t = \log(1-\delta)\) gives the lower. For the third bound, apply $\Pr(X \ge h) \le \E(e^{tX})e^{-th} \le \exp(\mu(e^t - 1) - th)$ with \(t = \log(h/\mu) \ge 1\). Then \(\mu e^t = h\), so
$$ e^{\mu(e^t - 1) - th} = e^{h - \mu}(h/\mu)^{-h} = e^{-\mu}(e\mu/h)^h \le (e\mu/h)^h, $$
using \(e^{-\mu} < 1\). $\square$


Entropy of a Selected Tuple. For a discrete random variable $X$ with mass function $p$, write $H(X) = -\sum_x p(x) \log p(x)$, with the convention $0\log 0 = 0$. Conditional entropy is the average conditional entropy at the conditioning variable. The chain rule and the identity $\mathrm{MI}(X;Y) = \mathrm{KL}(P_{X,Y} \,\|\, P_X \otimes P_Y)$ apply to countable variables of finite entropy.

Lemma (selected-tuple entropy). Let a random stream on flags in $\PG(d,q)$ have law dominated by $C_0$ times the $N$-fold iid uniform flag law, with $C_0$ depending only on $d$. Extract from this stream, using arbitrary dependent auxiliary randomness, a tuple $F$ of deterministic length $\ell = \Theta(k) = \Theta(q\sigma^{1+\eta})$. The order of $F$ is either increasing stream order, or reversed stream order with the two endpoints interchanged. Then
$$ H(F) \ge d\sigma\ell + \eta\ell\log\sigma - O(k). $$

Proof. For a prescribed tuple $f = (f_1, \ldots, f_\ell)$, the event $\{F = f\}$ implies that $f$ occurs on some increasing set of $\ell$ stream positions in one of the two allowed orientations. For each such set and each orientation its iid probability is $(Q_d Q_{d-1})^{-\ell}$. Domination and a union bound give
$$ \Pr(F = f) \le 2C_0 \binom N\ell (Q_d Q_{d-1})^{-\ell}. $$
Shannon entropy is at least minus the logarithm of the largest atom. Now
$$ \log(Q_d Q_{d-1}) = (2d-1)\sigma + O(1/q), \qquad \log(eN/\ell) = (d-1)\sigma - \eta\log\sigma + O(1). $$
Using $\binom N\ell \le (eN/\ell)^\ell$,
$$ H(F) \ge \ell \log(Q_d Q_{d-1}) - \ell \log(eN/\ell) - \log(2C_0) \ge d\sigma\ell + \eta\ell\log\sigma - O(\ell). $$
Since $\ell = \Theta(k)$, the error term is $O(k)$. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 3.

The contradiction below is between two estimates of the entropy of the same tuple. The lower bound $\eta\ell\log\sigma - O(k)$ exceeds a fixed multiple of $k\log\sigma$ for large $q$, so a compressed encoding whose total entropy is only $d\sigma\ell + O(k)$ cannot exist.

Sparse-Pair Description. The main geometric workhorse is a compression of a pair of sets in opposite point systems of a low-dimensional projective space. A message is an output from an encoder that knows $S$ and $T$; the decoder knows the message, the ambient dimension $j$, the field size $q$, and the sizes $d_S = \log |U_S|$ and $d_T = \log |U_T|$ of the two domains $U_S, U_T$, but not $S$ or $T$. The message allows reconstruction of a set $W$ that is contained in $U_S$, has size comparable to $|S|$, and retains a fixed fraction of $S$. Two further fresh tables then let the decoder shrink $U_S$ and $U_T$ to "caps" that retain almost all of $S$ and almost all of $T$ while having much smaller size.

Setup. Fix an integer $j$ with $2 \le j \le d$. Let $U_S \subseteq \PG(j,q)$ be a domain of projective points, $U_T \subseteq \PG(j,q)^\vee$ a domain of dual points (projective hyperplanes). For brevity the dual $\PG(j,q)^\vee$ is identified with $\PG(j,q)$; the incidence relation is symmetric. Set $n = |S| \le m = |T|$ and let $e(S,T) = \#\{(a,b) \in S \times T : a \perp b\}$ be the number of incidences.

Fix a small constant $\tau > 0$ and a parameter $P \ge C_d \sigma$, where $C_d$ depends only on $d$. The pair $(S,T)$ is $(\tau, P)$-sparse if:
$$ |S||T| \ge q^{j+1}e^{-P}, \qquad e(S,T) \le \frac{\tau |S||T|}{P q}, \qquad n \ge qe^{-P}. $$
The upper bounds $|S| \le C_0 q^{(j+1)/2}$ and $|T| \le C_0 q^j$ are consequences of the lower product bound $|S||T| \ge q^{j+1}e^{-P}$ together with the incidence theorem of Alon and Krivelevich applied to projective spaces over $\F_q$; these bounds are used in the technical lemmas below without qualification.

Source: Alon and Krivelevich, constructive bounds for a Ramsey-type problem (./alon-krivelevich-1997-constructive-bounds-for-a-ramsey-type-problem.pdf); see also the sparse-incidence estimate in Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf).

Lemma (sparse-pair description). For every $j$ with $2 \le j \le d$ there exists $C_d > 0$ with the following property. If $(S,T)$ is $(\tau, P)$-sparse with $\tau \le 1/C_d$ and $P \ge C_d \sigma$, then either
(a) $n \le 100 q P$, and a message of $O(\sigma + n(d_S + 1))$ bits encodes $W = S$ directly; or
(b) there exists a set $W \subseteq U_S$ and a message of at most $C_d q P(d_S + d_T + 1)$ bits that determines $W$ at the decoder, with
$$ |W| \le n e^{C_d P}, \qquad |W \cap S| \ge n/C_d. $$
The decoder is required to produce $W$ with certainty from the message; randomisation is not permitted at the decoder.

The bound on $n$ in (a) is up to a constant: the enumeration of $S$ among $\binom{|U_S|}{n}$ subsets can be transmitted in $\log_2 \binom{|U_S|}{n} \le n(d_S + 1)$ bits, and a further $O(\sigma)$ bits communicate $n$.


Fresh validation. The description produces a decoder-known set $W \subseteq U_S$ that captures most of $S$. Two further independent samples, each compressed into a message of length $C_d q P(d_S + d_T + 1)$, then shrink both ambient domains to caps that still capture almost all of $S$ and $T$ but are much smaller. The message of each cap is a random row of points in the opposite system; the decoder intersects the input domain with the ambient test "fewer than $h/(5q)$ incidences with the row". Conditional on the cap being produced, its row has law dominated by the uniform row law on a fixed hidden source, so later uses of the same row are covered by the same domination factor.

Lemma (fresh validation). Under the hypotheses of the sparse-pair description lemma, let $W$ be a decoder-known set with $|W| \le |S|e^{C_d P}$ and $|W \cap S| \ge |S|/C_d$. Then further independent tables and a message of length $C_d q P(d_S + d_T + 1)$ produce caps $U_T' \subseteq U_T$ and $U_S' \subseteq U_S$, with additional failure probability $C_d e^{-cq}$, such that
$$ |U_T'| \le \frac{C_d q^{j+1}}{|S|}, \quad |U_S'| \le \frac{C_d q^{j+1}}{|T|}, \quad |U_T' \cap T| \ge .99|T|, \quad |U_S' \cap S| \ge .99|S|. $$

Proof. Let $S_0 = S \cap W$, so $|S_0| \ge |S|/C_d$. The first test samples a row $R$ of $h_1 = \lceil C_1 q(d_T + 1)\rceil$ points uniformly at random from $S_0$, resampling if necessary so that the row satisfies the two acceptance criteria:
- (size) for every $x \in U_T$ with $|x \cap S_0|/|S_0| \le K_1/q$, at most $h_1/(5q)$ points of $R$ lie in $x$, where $K_1$ is a fixed absolute constant;
- (capture) at least $1 - e^{-c h_1}$ of the points of $S$ satisfy at most $h_1/(5q)$ incidences with $R$.

Both events are measure-$\Theta(1)$ under the uniform row law on $S_0^{h_1}$: the size event holds because for typical $x \in U_T$ the mean $|x \cap S_0|/|S_0|$ is at most $2/q$ (by the ambient incidence estimate in $\PG(j,q)$), so the $\text{Binomial}(h_1, 2/q)$ count stays below $h_1/(5q)$ with probability $1 - e^{-c h_1}$; the capture event holds because the sparsity $e(S,T) \le \tau |S||T|/(Pq)$ forces $|a \cap T| \le \tau |T|/(P q)$ at all but a $O(1/P)$-fraction of $a \in S$, and the row $R \subseteq S_0 \subseteq S$ preserves this on average. A constant fraction of rows therefore pass; repeated independent proposals find one in $O(1)$ trials whp.

Set $U_T' = \{x \in U_T : R \text{ meets } x \text{ in at most } h_1/(5q) \text{ points}\}$. By the capture condition, $|U_T' \cap T| \ge (1-e^{-ch_1})|T| \ge .99|T|$. For $x \in U_T$ with $|x \cap S_0|/|S_0| \le K_1/q$ the size criterion puts $x \in U_T'$; for $x$ with $|x \cap S_0|/|S_0| > K_1/q$ the number of incidences is right-skewed, and the Chernoff bound $\Pr(\text{Inc}(x, R) < h_1/(5q)) \le e^{-c h_1}$ applies. Consequently $|U_T'| \le |U_T|\cdot(e^{-c h_1/K_1} + K_1/q)$ as long as the "exceptional" $x$ with too few incidences to $R$ are bounded proportionally. With $h_1 = C_1 q(d_T+1)$ and $K_1$ fixed, $e^{-c h_1/K_1} \le q^{-c C_1/K_1}$, and for $C_1$ large enough $q^{-c C_1 /K_1} \le q^{j+1}/(2q^j |S|) \le Cq^{j+1}/|S|$, as required.

The second test uses the known domain $U_T'$ as its ambient source. Sample a row $R'$ of $h_2 = \lceil C_1 q(d_S + 1)\rceil$ hyperplanes uniformly at random from $U_T'$, resampling so that:
- (size) for every $a \in U_S$ with $|a \cap U_T'|/|U_T'| \le K_1/q$, the row $R'$ meets $a$ in at most $h_2/(5q)$ incidences;
- (capture) at least $1 - e^{-c h_2}$ of the points of $S$ satisfy at most $h_2/(5q)$ incidences with $R'$.

Rows satisfying these criteria exist and are produced by the encoder: since $|U_T' \cap T| \ge .99|T|$, a uniform row sample from $U_T'$ meets $T$ with positive density, and the same $O(1/P)$-sparsity argument as in the first test bounds the "concentrated on $S$" points of $U_T'$. Set $U_S' = \{a \in U_S : R' \text{ meets } a \text{ in at most } h_2/(5q) \text{ hyperplanes}\}$. Then $|U_S' \cap S| \ge .99|S|$, and by the Chernoff estimate on concentrated $a$,
$$ |U_S'| \le |U_S|\cdot(e^{-c h_2/K_1} + K_1/q) \le Cq^{j+1}/|T|. \qquad \square $$

Lemma (the law of a produced test). Consider either test in the fresh-validation lemma, conditional on the data making that test ready but not on any later event. Suppose its hidden source $X_0$ is a subset of an original support $X$ with $|X_0| \ge c|X|$. For every fixed opposite point $y$,
$$ \Pr\{\text{the test is produced and its ambient test excludes } y\} \le C q \frac{|X \cap N(y)|}{|X|}. $$
Conditional on production, the row law is dominated by a constant times the uniform row law on $X_0$. The bound may be averaged over earlier readiness data whenever its right-hand side is fixed.

Proof. Conditional on readiness, the produced row is a uniform element of $X_0^h$ subject to the acceptance criterion. Because $X_0 \subseteq X$ and the acceptance has probability bounded below by a constant, each acceptance event is handled by multiplying the uniform-on-$X_0^h$ estimate by $O(1)$. For the ambient test at $y$: a row entry $u$ is excluded at $y$ precisely when $u \perp y$ (or the symmetric incidence), so the failure event has probability at most $q|X \cap N(y)|/|X|$ for each entry; a union bound over the $h$ entries and a Chernoff estimate for large $h$ yield the stated bound. Domination on $X_0$: conditional on having produced a row at all, each entry independently follows a law that is a normalised restriction of the original ambient law to $X_0$, hence dominated by $C$ times uniform on $X_0$ for a fixed $C$. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 3.


Low-Dimensional Preparation. The base case of the sparse-pair description is $j \in \{2,3\}$. Fix a support $S \subseteq U_S$ with $n = |S| \le m = |T|$, sparsity parameter $P \ge C_d\sigma$, and density parameter $\tau \le 1/P$. The description reduces to producing, from $S$ alone (given that $T$ exists but is hidden at the decoder), a candidate set $W \subseteq U_S$ with $|W| \le ne^{C_d P}$ and $|W \cap S| \ge n/C_d$.

Preparation of $S'$. Write $n = q^{1+v}$, $g = (v-1/2)\sigma$. If $n \le 100 q P$ the enumeration of $S$ uses $O(\sigma + n(d_S + 1))$ bits (part (a) of the description lemma). Assume $n > 100 q P$, so $v > 0$. In dimension three, if $g > P/10^{4}$ and there is a plane of $S$ containing at least $K_p = n^{4/3}q^{-1}e^{-g/5}$ points, greedily extract such planes into an ordered list $\Pi_1, \ldots, \Pi_J$ removing at least $n/2$ of $S$; in the other case set $S' = S$, obtainable without a plane list. When a list is present, the cells $C_i = S' \cap (\Pi_i \setminus \bigcup_{h<i}\Pi_h)$ partition $S'$, have nonincreasing size and every $|C_i| < .04n'$, $n' = |S'| \in [n/2, n]$. The decoder learns $J$ and the sizes $|C_i|$ but not the cell contents.

For a query point $x \in U_S$, let $O_x = C_i$ where $\Pi_i$ is the first listed plane containing $x$, and $O_x = \emptyset$ if no such plane occurs. Set $f_x = |O_x|/n' \le .04$ and $X_x = S' \setminus (O_x \cup \{x\})$, so $X_x$ is the "own-cell residue" of $S'$ at $x$. In dimension two $O_x = \emptyset$ always.

Sampling and the score. Draw $R$ independent batches. Batch $r$ is a Poisson sample of points in $U_S$ with mean $\mu = qL$, $L = \Theta(P)$ fixed; the entries are uniform in $U_S$. For each $x$ let
$$ N_r(x) = \#\{p \in \text{batch } r : p \perp x\}, \qquad A_x = \sum_{r=1}^R (1_{N_r(x) = 0} - b_x), $$
where $b_x = \Prob(N_r(x) = 0)$ under a "null" model that treats every point of $U_S \setminus (O_x \cup \{x\})$ as follows: each element of $X_x$ is hit with probability $L a_\ell$ where $a_\ell = q|\ell \cap X_x|/n'$ is the strength of the radial line through that element, and points of $X_x$ on distinct radial lines are independent. Batches on $X_x$ are thus driven by a family of independent Poisson variables $N_r(\ell)$ indexed by radial lines, with means $La_\ell$.

Decomposition. Split $A_x$ into the contribution $Z_x$ of hyperplanes passing through $O_x$ (fixed once $O_x$ is fixed) and the typical contribution $T_x^*$ from hyperplanes avoiding $O_x \cup \{x\}$. The score is designed so that typical $S'$-points have small $Z_x$ (a typical hyperplane of $S$ passes through very few lines of $X_x$), while for most ambient points $Z_x$ is close to a certain deterministic value $z_{\min}$. The exceptional hyperplanes -- those meeting $O_x \cup \{x\}$ at all -- contribute $(1-b_x)^R$ each, and their total number over the pencil is controlled by the regularity lemma below.

Lemma (empty exceptional set). There is a fixed $c_0 > 0$ such that with probability at least $c_0 e^{-8P\tau}$,
$$ z \ge z_{\min} := c_0 q B e^{-b - 8P\tau}, \qquad \sum_{H \in Z}\lambda_H \le .001z, $$
where $Z$ is the pencil of hyperplanes through a given support point, $\lambda_H = q|H \cap X_x|/n'$, $B = q^j/n'$ and $b \le P$. For every such $Z$, at least $.99n'$ points of $S'$ have $z_x \le .1 z/q$, whereas all but $O(q^{j+1}/z)$ ambient points have $z_x \ge .8z/q$. At a regular pencil the exceptional-hyperplane part of $A_x$ differs from $(1-b_x)^R z_x$ by at most $b_x B e^\xi = o(z_{\min}/q)$ uniformly in the samples, and $(1-b_x)^R = 1 - o(1)$.

Proof. The pencil $Z$ is the set of hyperplanes corresponding to the points of a fixed set; by the regularity of the pencil, the summands $(1-b_x)^R - 1$ are small outside a set of $O(q^{j+1}/z)$ ambient points and outside $.01 n'$ exceptional training points. The upper bound $c_0 q B e^{-b - 8P\tau}$ on $z$ follows from the pointwise lower bound on each $\lambda_H$ for typical $H$, and the exceptional total follows from the pointwise estimate by Markov. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 4.


Moment Bounds for the Typical Contribution. Fix $x$ and condition on its being unsampled in $S'$ and on the point-batch counts in $O_x \setminus \{x\}$. Denote this conditioning data by $\mathcal {O}_x$. The own-cell multipliers in $A_x$ are then fixed zeros or ones; batch counts on $X_x$ are unchanged independent Poisson variables. Grouping them by radial line gives independent line-batch schedules, with hit probability at most $La_\ell$ in one batch. Distinct radial lines in $X_x$ are disjoint because the center is removed.

For one hyperplane $H$ and one batch, let $X_H = 1_{H \cap X_x \text{ empty in this batch}} - b_x$. Its mean $u_H$ and pair-moments satisfy
$$ u_H = e^{-L\lambda'_H} - b_x, \quad |u_H| \le Le^{-.75L}|\delta'_H|, $$
$$ \E[X_HX_{H'}] = u_H u_{H'} + e^{-L(\lambda'_H + \lambda'_{H'})}(e^{L\theta_{HH'}} - 1), $$
$$ |\E[X_HX_{H'}]| \le L^2e^{-.75L}(|\delta'_H\delta'_{H'}| + \theta_{HH'}), \quad \E X_H^2 \le 2e^{-.75L}, $$
where $\lambda'_H = q|H \cap X_x|/n'$, $\delta'_H = \lambda'_H - b_x$ (with $b_x$ the chosen null base rate, close to a typical $\lambda'_H$), and $\theta_{HH'} = q|H \cap H' \cap X_x|/n'$ is the overlap of the two hyperplanes through $x$. The covariance identity is the Poisson emptiness formula for a union; its bound uses $\lambda'_H + \lambda'_{H'} - \theta_{HH'} \ge .75$ and $e^u - 1 \le ue^u$ for $u \ge 0$.

Lemma (second moment). If $x \notin D_0 \cup D_2$, where $D_0$ is the static exceptional set of the geometric preparation and $D_2$ the exceptional set of the score separation, then conditionally on $\mathcal {O}_x$,
$$ \E\bigl((T_x^*)^2 \,\bigm|\, \mathcal {O}_x\bigr) \le B^2 e^{-.6P}. $$
The set $D_1$ of the score's static exceptions is not excluded.

Proof. Expand $(T_x^*)^2$ over ordered pairs $(H, H')$ of typical hyperplanes through $x$. The diagonal contribution is bounded by $Q_{j-1}(2e^{-.75L})^R = O(B e^{-.75LR})$. The off-diagonal contribution splits into three kinds:
- (uncorrelated) $H \ne H'$ with overlap $\theta_{HH'} \le t_* = e^{-.4L}$; bound by $|u_H u_{H'}| \le L^2 e^{-1.5L}|\delta'_H\delta'_{H'}|$, and sum over dyadic overlap classes.
- (mildly correlated) $\theta_{HH'}$ in the dyadic window $[2^a, 2^{a+1})$ for $a \le \log t_*$; use the covariance formula with $e^{L\theta} - 1 \le L\theta e^{L\theta} \le 2L\theta$ for $\theta \le t_*$, and the overlap graph estimate $E_a \le B^2 e^{2\chi}a^{-200}$.
- (strongly correlated) $\theta_{HH'} > t_*$; use $|\E[X_HX_{H'}]| \le L^2 e^{-.75L}\theta_{HH'}$ and the degree estimate $\Delta_{t_*} \le B e^{-3P}$.

Multiplying by $R^2$ for the batch independence, using $\chi = P/100$ and $t_*$-based dyadic sums, and absorbing polynomial factors into the exponential $e^{-.6P}$ bound for large $P$. $\square$

Lemma (high moment). Let $p$ be a fixed even integer with $p \ge 4$. If $x \notin D_0 \cup D_1 \cup D_2$, then conditionally on $\mathcal {O}_x$,
$$ \E\bigl((T_x^*)^p \,\bigm|\, \mathcal {O}_x\bigr) \le B^p e^{-.1pP}. $$

Proof. Expand $(T_x^*)^p$ over ordered $p$-tuples of typical hyperplanes through $x$. The evenness of $p$ multiplies magnitudes; the sign of a summand depends only on the number of exact same-index repetitions. For each ordered tuple, decompose the set of distinct hyperplanes into components of the join graph $H \sim H'$ iff $\theta_{HH'} > t_*$. A one-element component with the hyperplane appearing only once in the tuple is a \emph{simple singleton}; all other components are nonsimple.

For a nonsimple component with all factor magnitudes at most one, keep just one hyperplane's factors, giving $|E| \le (2e^{-.74L})^R \le e^{-.7P}$. For a simple singleton keep its signed expectation, giving
$$ e^{-.68P}(|\delta'_H|^{R/2} + (p\theta_{\max})^{200} + 1_{\{H \text{ touched in } \ge R/2 \text{ batches}\}}), $$
where $\theta_{\max}$ is the largest overlap to another distinct tuple hyperplane. Absorbed into an $e^{-.68P}$ factor.

The key combinatorial step is to sum these fixed-tuple bounds over all choices of the tuple. For each valid tuple, retain $\exp(-.7P)$ per nonsimple component and $\exp(-.68P)$ per simple position, and expand the three terms at each simple position. The resulting bounds are nonnegative and summable: the first term sum is at most $B^{p}e^{-.68P\cdot(\#\text{simple})}$, the second at most $B^{p}e^{-.68P\cdot(\#\text{simple})}$ times a constant bounded by the $e^{2\chi}$ factor in the overlap input, and the third gives a union-bound on events $\mathcal {B}_H$ whose per-tuple probability is bounded by the corresponding product of $La_\ell$'s.

The remaining probabilistic factor in the third term is bounded by a union bound over a family of certificates, one per tuple. Each certificate is a set of external line-batch hit-events; the product of their probabilities is bounded by the corresponding union of $\{N_r(\ell \cap X_x) > 0\}$'s, whose total probability factor is $\prod La_\ell$. Since line strengths on the tuple hyperplanes sum to at most $p\theta_{\max} \le .01$, and since the number of distinct directions in any certificate is at most $O(p)$, the assignment of each charged event to a tuple hyperplane costs at most $e^{o(P)}$ per simple position. Combined with the simple-singleton attenuation $e^{-.68P}$ this furnishes
$$ \E[(T_x^*)^p \mid \mathcal O_x] \le B^p \cdot e^{-.68pP + .58pP} = B^p e^{-.1pP}. \qquad\square $$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 4.

A Successful True-Law Row. With the moments in hand, the Bernoulli-threshold test captures a fixed fraction of $S$ and shrinks ambient points to a manageable set.

Lemma (a successful true-law row). For the Poisson batches sampled independently from $S'$, with probability at least $ce^{-8P\tau}$ their total size is at most $2qP$ and the test
$$ A_x < z/(2q) $$
(including all sampled points) captures at least $cn$ points of $S$ and admits at most $ne^{CP}$ ambient points, where $z$ and $A_x$ are those determined by the same batches.

Proof. Use the deterministic threshold $z_{\min}/(10q)$. By Lemma (high moment), the probability that $|T_x^*|$ exceeds it, conditionally on $\mathcal {O}_x$, is at most
$$ \exp\{-.1pP + p(b + 8P\tau + O(1))\} \le e^{-.09pP} \le q^{-50} $$
outside $D_0 \cup D_1 \cup D_2$. By Lemma (second moment), the corresponding bound outside $D_0 \cup D_2$ is $e^{-cP}$. Multiply each conditional estimate by the probability that $x$ is unsampled and average its own schedules. These bounds therefore hold for the event that $x$ is unsampled and its typical contribution exceeds the threshold.

For training points, the expected number of these failures is at most $n'e^{-cP}$. With failure probability $O(e^{-cP}) = o(e^{-8P\tau})$, fewer than $.01n'$ failures occur outside $D_0 \cup D_2$. For ambient points, the expected number is at most $Q_jq^{-50}$, so Markov gives at most $ne^{CP}$ failures with a further $o(e^{-8P\tau})$ exceptional probability. The parameters satisfy $j \le 3$ and $P\tau = o(\sigma)$.

Intersect with the empty-exceptional-set event of probability $\ge c_0 e^{-8P\tau}$. Their failure probabilities are subtracted from that event's probability, not conditioned on its occurrence. The total sample count is Poisson with mean $qP$, so exceeding $2qP$ costs $e^{-cqP}$ by elementary tails, again negligible. The remaining probability is at least $ce^{-8P\tau}$.

On this joint event, at least $.99n'$ training points satisfy $z_x \le .1z/q$. Apart from $o(n)$ static exceptions and $.01n'$ unsampled failures, their exceptional and typical score contributions give $A_x < z/(2q)$, by the empty-exceptional-set lemma and $z \ge z_{\min}$. Sampled points are included automatically. This retains a fixed fraction of $S'$ and hence of $S$.

Conversely, an unsampled point with $z_x \ge .8z/q$, a regular pencil, and typical contribution of magnitude at most $z_{\min}/(10q)$ has $A_x > z/(2q)$ for large $q$. The further exception depending on $Z$ has size
$$ O(q^{j+1}/z) \le Cn'e^{b+8P\tau} \le ne^{CP}. $$
Together with the static exceptions, ambient failures, and at most $2qP$ sampled points, this establishes the size bound after enlarging $C$. $\square$


Implementation by Proposals. The true-law row gives, with probability bounded below by a positive constant, a test that captures a fixed fraction of $S'$ and admits few ambient points. Turn this into a message-based description by giving the decoder only the row, not the support.

Lemma (implementation). The successful true-law row of the previous lemma realises the description lemma of the sparse-pair scheme.

Proof. The encoder transmits:
- the prepared plane list (empty in dimension two) and the sizes $|C_i|$ of its cells, at $O(q + \sigma)$ bits;
- the two integers $n, n'$ at $O(\sigma)$ bits each;
- the mode flag (class, orientation, $j$);

and the batch family $\mathcal B = \{(p_{r,1}, \ldots, p_{r,h_r})\}_{r=1}^R$, where $h_r = |\text{batch } r|$ is a random Poisson $qL$ variable and the entries are independent uniform points of $U_S$. The encoder resamples the batch family until it satisfies the "successful" criterion of the true-law lemma. The total transmitted length is
$$ R \cdot qL \cdot d_S \le C_d q P \, d_S, $$
which is within $C_d q P(d_S + d_T + 1)$ bits.

The decoder knows $U_S$, the plane list, all sizes, and the batch family. It does not know $S$ or $T$. It reconstructs the set
$$ W = \{a \in U_S : A_a^\mathcal B < z/(2q)\}, $$
where the score $A_a^\mathcal B$ is computed using only the transmitted batches and the plane list (both public). This is a deterministic function of public data and the message.

The successful true-law lemma asserts that, on the event that the family was accepted, $W$ captures at least $cn$ points of $S$ and has $|W \cap S| \ge n/C$, while $|W| \le ne^{C_d P}$. So the reconstructed $W$ satisfies the description lemma's specifications. The total failure probability is bounded by that of the true-law lemma, $O(e^{-8P\tau})$ per trial, and is eliminated with high probability by resampling within a polynomial cut-off, since the acceptance probability is at least $ce^{-8P\tau}$ and $P\tau = o(\sigma)$.

For the decoder's reconstruction of $n, n'$: the sizes are transmitted, and $z$ is deterministic from the plane list and the batches; $B = q^j/n'$ is recovered from the transmitted $n'$ and the ambient $j$. The roundings of $h_r$ to integers cost an additional $O(\sigma)$ bits. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 4.

Bounded Higher-Dimensional Projection. For $j \ge 4$, the base case is not yet available and the sparse-pair description is reduced to lower dimension.

Lemma (projection). Let $(S,T)$ be $(\tau, P)$-sparse with $j \ge 4$ and $n = |S| \le m = |T|$. Then there is a set $S_0 \subseteq S$ of size $\ge .99n$, a lower-dimensional sparse pair $(S_0^\pi, T^\pi)$ in $\PG(j-1,q)$, and a message of $O(\sigma)$ bits that specifies the projection, such that:
- $(S_0^\pi, T^\pi)$ is $(\tau', P + O(1))$-sparse in $\PG(j-1,q)$ with $|S_0^\pi| \le |S_0|$ and $|T^\pi| \le |T|$;
- both $|S_0^\pi||T^\pi| \ge q^{j} e^{-P - O(1)}$ and $e(S_0^\pi, T^\pi)/(|S_0^\pi||T^\pi|) \le \tau'/(Pq)$, $\tau' \le \tau + O(1/P)$;
- every point of $S_0^\pi$ has a first preimage in $S_0$ under the projection, and the projection loses at most $o(|S|)$ points of $S$.

Proof. Choose a center $z \in \PG(j,q)$ uniformly at random. For a point $a \in S$ with $a \ne z$ let $\pi_z(a) \in \PG(j-1,q)$ be its image under the projection from $z$. Set
$$ S_0 = S \setminus (\{z\} \cup \{a : a \text{ has a preimage collision at } \pi_z(a)\}), $$
where a collision means $\pi_z(a) = \pi_z(a')$ for some other $a' \in S$. Set $S_0^\pi = \pi_z(S_0)$; set $T^\pi = \{\pi_z(b) : b \in T, b \not\ni z\}$.

Distinct points of $S$ collide in the projection only when $z$ lies on the line joining them, an event of probability at most $(q+1)/Q_j \le Cq^{1-j}$ per pair. So
$$ \E[\text{collisions in } S] \le C|S|^2/q^{j-1}, \quad \frac{\E[\text{collisions in } S]}{n} \le Cq^{(3-j)/2} = o(1), $$
where the last inequality uses $|S| \le C q^{(j+1)/2}$ (the sparse-pair incidence bound). So Markov gives $|S_0| \ge (1-o(1))n$ with probability $1-o(1)$.

For the hyperplane side: a hyperplane $b$ through $z$ has no image $\pi_z(b)$ (the projection degenerates); write $T^\pi$ as the image of $T$ excluding those $b \ni z$. The "dual cut" through $z$ acts on $T$ as follows: the set of $b \in T$ that contain $z$ has expected size at most $n|T|/Q_j$ (the number of hyperplanes through $z$ is $Q_{j-1} \le q^{j-1}$, and the density of $T$ is at most $|T|/Q_{j-1}$). Actually by linearity and independence: $\E|\{b \in T : b \ni z\}| \le \E\sum_{b \in T} \Pr[z \in b] = |T| \cdot q^{j-1}/q^j \cdot (1+o(1)) = |T|(1+o(1))/q$. So the dual cut loses at most $|T|/q \le $ fraction $1/q \ll 1$ of $T$.

Product and density: by projection, two points $a, a'$ with $a, a'$ colliding at $\pi_z$ merge, reducing the projected support size. And two points $a, a'$ whose projections satisfy $a \perp \pi_z^{-1}(b)$ in the quotient correspond in the original space to $a, b$ incidence. Because the projection is a homomorphism for the incidence relation, $e(S_0^\pi, T^\pi) \le e(S_0, T)$ and the projected product is bounded below by $(|S_0|/|S|)(|T^\pi|/|T|)\cdot|S||T| \ge (1-o(1))q^{j+1}e^{-P} \cdot (1/q)/(1+o(1)) \ge q^j e^{-P-O(1)}$. The density scales similarly: $e(S_0^\pi, T^\pi)/(|S_0^\pi||T^\pi|) \le e(S_0,T)/(|S_0^\pi||T^\pi|)$, and $|S_0^\pi| \ge (1-o(1))|S_0|$, $|T^\pi| \ge (1-o(1))|T|$, so the density bound holds with enlarged $\tau' \le \tau(1+o(1))$.

The total projection change in the parameter is bounded by $O(1)$ because both the $S$-side and $T$-side shrink by factors of the form $1 \pm O(q^{-1})$, and the logarithmic gaps $|S|q^{-(j-1)/2}$, $|T|q^{-(j-1)}$ each change by $O(1)$. The message specifies $z$ in $O(\sigma)$ bits and a fixed coordinate convention on the quotient, costing no more.

Lift. Given a decoder-known set $W^\pi \subseteq \PG(j-1,q)$ from the induction hypothesis (dimension $j-1$) with $|W^\pi| \le |S_0^\pi| e^{C' P}$ and $|W^\pi \cap S_0^\pi| \ge |S_0^\pi|/C'$, the decoder lifts to the ambient $\PG(j,q)$:
$$ W = \pi_z^{-1}(W^\pi) \cap U_S. $$
The lift removes the preimage of $z$ and any point of $\PG(j,q)$ whose projection lands outside $W^\pi$; it also includes $z$ itself if $z \in S$. Each point of $W^\pi$ has at most $q^{j+1}/Q_j$ preimages in the quotient point space, and the center $z$ is excluded by the projection. The resulting set satisfies $|W| \le |S|e^{CP}$ and $|W \cap S| \ge |S_0|/C' - o(n) \ge |S|/C$ for large $q$, by the projection loss $o(n)$. The cost of the lift is $O(1)$ in the message because the projection and its preimages are determined by $z$ and the quotient.

One subtlety: the induction is applied to $(S_0^\pi, T^\pi)$ with strictly smaller $j$. Its cost is $C_{j-1} q (P + O(1))(d_S^\pi + d_T^\pi + 1)$, which is at most $C_d q P (d_S + d_T + 1)$ after enlarging $C_d$ (since $d_S^\pi \le d_S + O(\sigma)$ and similarly for $d_T$). Every prior estimate ($d_S, d_T$ definitions) refers to the ambient domains, so the constant absorption holds. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 3.

Assembling the Sparse-Pair Description. Combined with the low-dimensional base case and the projection, this closes the sparse-pair description lemma.

Proof of the sparse-pair description lemma. Induct on $j \in \{2, \ldots, d\}$.

Base case $j=2,3$: if $n \le 100 q P$, part (a) of the lemma applies. Otherwise the low-dimensional preparation and the successful true-law row of the learning lemma produce, using the implementation-by-proposals step, a message of $C_d q P(d_S + d_T + 1)$ bits that determines $W$ with $|W| \le ne^{C_d P}$ and $|W \cap S| \ge n/C_d$. That is part (b).

Induction step $j \ge 4$: apply the projection lemma to obtain a message of $O(\sigma)$ bits (the center $z$), a lower-dimensional sparse pair $(S_0^\pi, T^\pi)$ in $\PG(j-1,q)$ with $\ge (1-o(1))n$ points, and reduced parameters $(\tau', P+O(1))$. Apply the induction hypothesis to $(S_0^\pi, T^\pi)$. This produces a decoder-known set $W^\pi \subseteq \PG(j-1,q)$ of size $|W^\pi| \le |S_0^\pi|e^{C_{j-1}(P+O(1))}$ capturing $\ge |S_0^\pi|/C_{j-1}$ points of $S_0^\pi$, at cost at most $C_{j-1} q (P+O(1))(d_S^\pi + d_T^\pi + 1)$ bits. Concatenate with $z$ (in $O(\sigma)$ bits) and the initial data. The lift $W = \pi_z^{-1}(W^\pi) \cap U_S$, as above, satisfies $|W| \le |S| e^{C_d P}$ and $|W \cap S| \ge |S|/C_d$. Enlarge the constant $C_d = \max_j C_j$ uniformly in the induction to absorb the $P+O(1)$.

If the pair $(S_0^\pi, T^\pi)$ fails some hypothesis of the induction (e.g. $|S_0^\pi| \le 100 q (P+O(1))$), apply part (a) of the lemma: the encoder enumerates $S_0^\pi$ among $\binom{|U_S^\pi|}{n}$ subsets, at cost at most $O(\sigma + n(d_S^\pi + 1))$. This lift is direct; concatenation with $z$ and the quotient identification costs $O(\sigma)$ bits. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Sections 3-4.


Marking and the Entropy of a Tuple. The compression will replace the current context by a shorter message. The benefit of that substitution is measured by how much entropy the tuple already possesses under the current context. The tool is a marking step, applied to the tuple in its current conditional law.

Setup. Fix a consistent tuple $F$ of length $\ell = \Theta(k)$ selected from the stream, and let $\Lambda, \Delta$ be the current entropy and slot-domain budgets. Set $\beta > 0$ small and
$$ D_0 = \sigma^\beta, \quad D_1 = D_0\sigma^{1-\eta/2}, \quad D_2 = D_0\sigma^{1-\eta}, \quad D_3 = D_0\sigma^{1-3\eta/2}, $$
the four possible "stage constants". Define $D \in [D_0, D_1]$ (open, integer, or high class) and
$$ K = D\sigma^{3\beta}, \quad K_* = D\sigma^{6\beta}, \quad \tau = \sigma^{-\eta/2}, \quad P = \sigma^{1-\eta/2 + 3\beta}, \quad b = \sigma. $$
The precise constants are tuned so that $K/\sigma \to 0$ and $K_*/\sigma\to 0$, while $P/\sigma \gg 1$ and $P = o(\sigma)$.

Marking scan. In a forward pass, maintain for each second-side point $y$ of the flag sequence a linear subspace $V(y) \subseteq (\F_q^{d+1})^\vee$; initially $V(y) = \{0\}$. For each current flag $(a_i, b_i)$, put $r = \dim V(b_i)$, let $Z_j = \{y : \dim V(y) = j\}$ for $j = 0, \ldots, r$, and let $l \in \{0, \ldots, r\}$ maximize $|Z_l|$ with fixed tie-breaking. Declare $i$ \emph{popular-cheap} if $|\{y \in Z_l : b_i \subseteq V(y)\}| \ge |Z_l|/(16q)$; otherwise declare it \emph{poor-cheap} if $|\{y \in Z_l : a_i \perp y\}| \le |Z_l|/(8q)$; otherwise declare it \emph{expensive} and adjoin $b_i$ to $V(y)$ for every $y \in a_i^\perp$. A backward pass marks expensive positions similarly with the roles of the two endpoints exchanged. The two masks together are the marking message.

Lemma (marking message and entropy budget). Under the marking stage budget, both scans together mark $h \le Cq\sigma$ positions expensive. The old context, the two rank and type masks, and the values of all positions expensive in either scan form a message $\theta_0$ satisfying
$$ H(\theta_0) \le \Lambda + O(k) + (d\sigma + \Delta + O(1)) \E h. $$
At a fixed $\theta_0$, every cheap (non-expensive) unspecified flag has a known joint domain of size at most $e^{J_0}$, with $J_0 = d\sigma + O(1)$ deterministic. For the set $U$ of cheap slots and every $\theta_0$-determined subset $S \subseteq U$,
$$ 0 \le \E\bigl[|S|J_0 - H_{\theta_0}(F_S)\bigr] \le C(\Lambda + k + \Delta q\sigma). $$
Independently of the extraction entropy lower bound, the same message gives
$$ H(F) \le d\sigma\ell + \Lambda + O(k) + O(\Delta q\sigma). $$

Proof. Fix a position $i$ and a current history. At a known state and a known first-side rank $r \le d$, the second endpoint $b$ of any candidate flag with $a \perp b$ lies in some subspace of dimension $d - r$ (the annihilator of the first endpoint), giving at most $Q_{d-r} \le q^{d-r}$ second-side choices. Dually $a$ has at most $Q_r \le q^r$ choices once $b$ is fixed. So the joint domain of a single flag at the current history is at most $q^d$ when the rank is $r = 0$ and, for arbitrary rank, at most $q^{d+r} \cdot q^{-r} = q^d$ times a small factor. This is the atom-size bound for unspecified slots. (The two scans together are what make the bound independent of realized history; the first pass handles the $r$-side, the backward pass the complementary side.)

Number of expensive flags. At an expensive step, more than $|Z_l|/(8q)$ points of $Z_l$ are incident with $a_i$, and fewer than $|Z_l|/(16q)$ already have $b_i \subseteq V(y)$. Each of the former with $b_i \notin V(y)$ has its $V(y)$-rank increase from $l$ to $l+1$ once $b_i$ is adjoined, so at least $|Z_l|/(16q)$ points of $Z_l$ incur a rank increase. The cumulative set $U_l = \bigcup_{j \le l} Z_j$ has size at most $(d+1)|Z_l|$, so $|U_l|$ loses a fraction at least $1/(16(d+1)q)$ at this step. Each $U_l$ is nonincreasing throughout the scan. A nonempty integer-sized set starting from $O(q^d)$ points can undergo only $O(q\log q)=O(q\sigma)$ such multiplicative decreases. Charging each expensive step to its chosen $l$ and summing over $0 \le l \le d$ bounds the expensive-position count in each scan by $O(q\sigma)$, so both scans together satisfy $h \le Cq\sigma$. Only the flag values themselves and the rank/type masks need to be transmitted; each flag value costs at most $d\sigma + O(1)$ bits and each rank mask costs $O(\Delta)$ per recorded flag. The total is
$$ H(\theta_0) \le \Lambda + O(k) + (d\sigma + \Delta + O(1))\E h. $$

Domain size at fixed $\theta_0$: each unspecified slot has known first-side rank $r$ and second-side rank $r'$ with $r + r' = d$; the domains are the rank-$r$ subspace and its annihilator of rank $d - r = r'$, giving $Q_rQ_{r'} \le q^d$ jointly. So $J_0 = d\sigma + O(1)$.

Entropy decomposition. Conditional on $\theta_0$, the values of the $h$ expensive slots are already transmitted, so $H(F_{\mathrm{exp}} \mid \theta_0) = 0$; each of the remaining $\ell - h$ cheap slots has $H(F_i \mid \theta_0) \le J_0$. Hence
$$ H(F) = H(\theta_0) + H(F_{\mathrm{cheap}} \mid \theta_0) \le H(\theta_0) + (\ell - h)J_0. $$
Substituting $H(\theta_0) \le \Lambda + O(k) + (d\sigma + \Delta + O(1))h$ and $\ell J_0 = d\sigma\ell + O(\ell)$ gives $H(F) \le d\sigma\ell + \Lambda + O(k) + \Delta h + O(h)$, because the $d\sigma h$ in $H(\theta_0)$ cancels against the $h d\sigma$ share of $\ell J_0$. Since $h \le Cq\sigma$ and $q\sigma = O(k)$, this becomes
$$ H(F) \le d\sigma\ell + \Lambda + O(k) + O(\Delta q\sigma). $$
Finally, let $W = U$ denote the set of cheap slots, so $|W| = \ell - h$. For every $\theta_0$-determined subset $S \subseteq W$: the deficit $|S|J_0 - H_{\theta_0}(F_S)$ is nonnegative, since $H_{\theta_0}(F_S) \le |S|J_0$; it is at most the deficit on all of $W$ by the chain rule, which decomposes $H_{\theta_0}(F_W) = \sum_{i \in W} H_{\theta_0}(F_i \mid F_{<i})$ into nonnegative increments each bounded by $J_0$. For $S = W$, use $H_{\theta_0}(F_W) = H(F \mid \theta_0) \ge H(F) - H(\theta_0)$, the extraction entropy lower bound $H(F) \ge d\sigma\ell + \eta\ell\log\sigma - O(k)$, and $H(\theta_0) \le \Lambda + O(k) + (d\sigma + \Delta)h$. Then
$$ |W|J_0 - H_{\theta_0}(F_W) \le (\ell-h)(d\sigma+O(1)) - (d\sigma\ell+\eta\ell\log\sigma) + O(k) + \Lambda + (d\sigma+\Delta)h \le \Lambda + O(k) + \Delta h. $$
The two $d\sigma h$ terms cancel and the $-\eta\ell\log\sigma + O(\ell)$ term is nonpositive for large $\ell$. With $h \le Cq\sigma$, this is $O(\Lambda + k + \Delta q\sigma)$, proving the subset-deficit bound. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Sections 3-4. The accounting is information-theoretic: message length, not algorithm length, drives the bound. The family of estimates matches the random-process counting style while preserving the flag structure that the counting step relies on.

Conditional classes and windows. The marking message gives the decoder a conditional law in which each unspecified flag lives in a smaller domain. The compression step exploits this by grouping cheap slots into windows of equal size and by handling those windows in two auxiliary modes depending on their internal geometry.

Fix the prestage of the previous lemma, so the marking message $\theta_0$ and the conditioning data are fixed. For each slot $i \in U$, let $u_i = \log(Q_{r_i}Q_{d-r_i})$ be the "slack" (log-domain excess) of that slot, and $\delta_i = J_0 - H_{\theta_0}(F_i)$ its deficit. The slots break into classes:
- an \emph{open} class, in which $u_i \in [\sigma^{1-\eta/2}, \sigma^{1-\eta/2+3\beta}]$ and $\delta_i \le \sigma^{7\beta/2}$;
- an \emph{integer} class, in which $u_i \in [\sigma^{1-\eta}, \sigma^{1-\eta+3\beta/2}]$;
- a \emph{high} class, in which $u_i \in [\sigma^{1-3\eta/2}, \sigma^{1-3\eta/2+3\beta/2}]$.

Each slot falls in at most one class; the remaining slots are "trivial" and can be described with $O(\sigma)$ bits each. The slot count of each class determines a window size $m$ (the number of consecutive slots grouped together), chosen so that the window is effectively one "block" at the compression-step scale.


One-Step Compression. The compression replaces the current context $\Lambda, \Delta$ by a shorter message $C'$ that carries the tuple into a smaller flag domain, without retaining the old history. Specifically, at each of the $\ell - h$ cheap slots the new message specifies a sub-domain of size at most $q^d e^{C_d K_*}$, replacing the current domain of size $q^d e^\Delta$; the $h$ expensive slots already have their values transmitted. The log-slack $\Delta$ measures the ratio of the current cheap domain to the base $q^d$.

Lemma (one-step compression). Under the marking stage budgets with parameter $D \in [\sigma^\beta, \sigma^{1-\eta/2}]$, there is a message $\mathcal C'$ determined from the retained tuple $F$ and the stream (using the old context as a source of randomness) with the following properties.
- Information-theoretic length: $H(\mathcal C') \le C_d q P \log(w+2)(\sigma + wP) + C_d w \sigma$, where $w = w(D)$ is the number of windows in the reciprocal class, or $w = 1$ in the high class, and $w \le C_d \sigma^{1+\eta/2}/D$.
- New slot-domain budget: $\Delta' \le C_d K_*$, with $K_* = D\sigma^{6\beta}$.
- Retention: a deterministic tuple length $\Theta(k)$ is retained in increasing or reversed order, with the same domination factor and the same occupancy bound.
- Decoder: the decoder uses only $\mathcal C'$, the public parameters $(d, \eta, D)$ and the public tables; it does not access the old context $\mathcal C$.

Proof. The proof splits into two cases depending on which conditional class is selected by the marking step.

High-rank class. In the high class, each unspecified slot $i$ has a conditional law under which the second endpoint $b_i$ lies in a subspace of dimension $r + 1$ (fixed by earlier expensive flags) and the first endpoint $a_i$ in a complementary subspace of dimension $d - r$. The decoder does not know these subspaces; only the marking message $\theta_0$ identifies the ranks $r, r'$ at each slot.

Encoder step. Extract two independent auxiliary rows $\mathcal R_1, \mathcal R_2$ of length $h = \lceil q\sigma^\beta \rceil$ from the conditional joint law of a representative flag (as determined by the marking message). For each second-side point $y$ in the residual ambient domain, let $V_y = \mathrm{span}(y, b^{(1)}_t : a^{(1)}_t \perp y, 1 \le t \le h)$, where $(a^{(1)}_t, b^{(1)}_t)$ are entries of $\mathcal R_1$. The subspaces $V_y$ have dimension at most $r$ by the high-rank structure. Pass the rows themselves in the message.

Decoder step. From $\mathcal R_1$ and $r$, the decoder reconstructs, for each $y$ in its domain, the subspace $V_y$ (deterministic function of the transmitted rows). Define the capped domain
$$ U_y' = \{c : c \perp V_y\} \cap \{c : \#\{t : b^{(2)}_t \subseteq V_y\} \ge .1 h / q\}, $$
where $b^{(2)}_t$ are the second entries of $\mathcal R_2$ and the second condition is an ambient filter.

Analysis. The size of the second-row-pruned domain is bounded by the rich-union lemma: if $X \subseteq \PG(r,q)$ is a union of rich subspaces and $U_y$ ranges over the ambient class, the number of $y$ with $|U_y'|$ exceeding $C q^r e^{K}$ is bounded by $q^{r} (Ce^K/u_0)^{d+1}$ after choosing a threshold $u_0$ small in terms of $d$. Capture: at the true hidden endpoint $y_* \in T$ captured by the first row, the first $r$-dimensional span $V_{y_*}$ contains all the second endpoints of the true tuple at $y_*$; the Chernoff bound for the second row yields that at least $.9 h/q$ second-row endpoints land in $V_{y_*}$, so $y_*$ survives the filter. The retained support size at $y_*$ is at most $Cq^r e^{K}$: the message length is $2 h \sigma = O(q\sigma^{1+\beta})$, which is $\le C_d q P$ with $P \ge \sigma^{1-\eta/2+3\beta}$ chosen above.

Reciprocal class. In the reciprocal classes, the slot domain is a product of two ~$q^{r}$ and ~$q^{d-r}$ subspaces with $r \asymp d/2$; the two sides are "reciprocal" and neither concentrates. The compression uses the sparse-pair description plus the validation lemma, arranged in a balanced binary tree.

Windows. Split the unspecified slots in increasing stream order into windows $W_1, \ldots, W_w$ of $m$ consecutive slots each, with $m$ chosen so that the window count is $w \asymp \sigma^{1+\eta/2}/D$ up to a fixed constant; this gives $m = \Theta(k/w) = \Theta(q D\sigma^{\eta/2})$, far above $\sigma^{3\beta}$ for the high-class parameter range $D \ge \sigma^\beta$. In a window $W_i = (i, \ldots, i+m-1)$ the first $m/2$ slots contribute the first endpoint $A_i$ and the last $m/2$ the second endpoint $B_i$, giving a sparse pair $A_i \subseteq U_S$, $B_i \subseteq U_T$ with $|A_i||B_i| \in [q^{d+1}e^{-K_*}, q^{d+1}e^{K_*}]$ from the reciprocal structure. Deletion: if $m < \sigma^\beta$ no window is used and the high-rank argument suffices; otherwise every window is used.

Support preparation. For each window $W_i$, use the joint conditional law to draw an auxiliary support $(A_i, B_i)$ with $|A_i| = n_i$, $|B_i| = m_i$ satisfying $n_i m_i \ge q^{d+1}e^{-CK_*}$ and $e(A_i,B_i) \le \sigma^{-1000\beta} n_i m_i/q$ (that is, $(\tau, P)$-sparse with $\tau \le \sigma^{-1000\beta}$, $P = O(K_*/ \sigma)$ adjusted). Prepare using the tree description of the sparse-pair description lemma: the auxiliary support is a random object sampled independently of the actual flags.

Tree. Build the balanced binary search tree on the window list $(W_1, \ldots, W_w)$. The middle window is the root; the earlier and later halves are treated recursively. Each node holds two inherited domains $U_A, U_B$, initially the full projective spaces. At the node, apply the sparse-pair description to the pair of *trimmed* supports
$$ S = A \cap U_A, \quad T = B \cap U_B, $$
yielding a decoder-known $W \subseteq S$. If the trim loses more than $.1|A|$ or $.1|B|$, or if the density $e(A,B)/(|A||B|)$ exceeds $\sigma^{-1000\beta}/q$, the whole subtree is deleted. Otherwise proceed to the validation lemma, which produces caps $U_A', U_B'$ capturing $.99$ of $S$ and $.99$ of $T$ and with sizes bounded by $|U_A'| \le C_d q^{j+1}/|B|$, $|U_B'| \le C_d q^{j+1}/|A|$. The nodes of the tree inherit $U_A'$ on the left child and $U_B'$ on the right child. The description of a node and the validation caps are transmitted; failed subtrees are not transmitted (the decoder detects failure from the inherited domains).

Budget. A successful node costs at most $C_d q P(\sigma + wP)$ bits: the sparse-pair description costs $C_d q P(d_{U_A} + d_{U_B} + 1)$ with $d_{U_A}, d_{U_B} \le \sigma + O(P) \le O(\sigma)$, and both calls are bounded by the same constant. There are $O(w)$ nodes and $O(\log(w+2))$ levels; summing over successful nodes and adding $O(w\sigma)$ for the plane and cell data,
$$ H(\mathcal C') \le C_d q P \log(w+2)(\sigma + wP) + C_d w\sigma. $$

New slot domain. For a successfully compressed slot in the reciprocal class, the conditional domain at the residual node is contained in the cap $U_A'$ or $U_B'$, whose log-size is at most $d\sigma + K_*$ (from the validation size bound). The ratio to the original $q^d$ domain is at most $e^{K_*}$. So the new slot-domain budget satisfies $\Delta' \le C K_*$.

Retention. The trimmed-tree construction is designed so that, with probability at least $1 - o(1)$, at least $.99$ of the middle targets survive the tree; a deterministic count of $\Theta(k)$ retained slots is chosen by selecting a fixed number of the surviving windows. Fresh public-table choices are averaged first; a single table family is then fixed; conditioning on the retention event preserves domination, since the retention event has probability bounded below by a positive constant.

Decoder locality. At each successful node, its header supplies $n_A, n_B$ and the orientation and mode. The inherited domains are decoded from earlier transmitted caps. The validation row lengths and cutoff lengths are determined by these integers and the public constants. No step requires the old context $\mathcal C$.

Retention of occupancy. The retained tuple is an ordered subtuple of the input tuple in the selected orientation; it satisfies the occupancy bound of the stream's rectangle structure by the pointwise specification of the marking message, which rejects a non-negligible fraction of stream events and hence preserves dominance in the surviving branch. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Sections 4-5.

Lemma (tree loss). The expected number of middle targets lost through the pre-tree deletions, deleted subtrees, or exclusion by produced caps is $o(k)$. In particular, a prescribed deterministic number $\Theta(k)$ of retained targets survives with probability bounded below.

Proof. Pre-tree deletions are bounded by a $\sigma^{-\eta/2}$ fraction via the good-noise guarantee for representative indices.

A trim failure at a node after all previous successes requires loss of at least one tenth of an original support to its ancestor tests. Using the produced-test lemma, the joint probability of this event and reaching the node is at most $Cj\varepsilon$ where $\varepsilon = \sigma^{-1000\beta}$ and $j$ is the depth. Markov's inequality bounds the unconditional same-node density rejection by $C\sigma^{-1000\beta}$.

Conditional on reaching a ready node, a description or validation failure costs $Ce^{-cq}$, uniformly in the input data. For a window's deletion to a depth-$H$ event, the loss probability is at most
$$ C\varepsilon H^2 + C\sigma^{-1000\beta}H + Ce^{-cq}H = o(1), $$
with $H = C\log(w+2)$. Summing over the $\Theta(k)$ middle targets, the expected loss is $o(k)$. So a deterministic $\Theta(k)$ targets survive with probability bounded below. $\square$

Source: Brada\v{c}, off-diagonal Ramsey numbers (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 5.


Iteration. The one-step compression is applied a bounded number of times to reduce the entropy budget to a level where it contradicts the selected-tuple entropy lower bound.

Parameter contraction. Start from the initial context, in which there is no prior message and every slot sees the full flag domain, so
$$ \Lambda_0 = 0, \quad \Delta_0 = (d-1)\sigma, \quad D_0 = O(\sigma^{1-\eta/2+\beta}). $$
At the $t$-th stage with parameter $D_t$, the one-step compression produces budgets $(\Lambda_{t+1}, \Delta_{t+1})$ satisfying
$$ \frac{\Lambda_{t+1}}{k} \le C_d \sigma^{10\beta - \eta} D_t + O(\sigma^{-1/2} D_t^{-1}), \quad \Delta_{t+1} \le C_d D_t\sigma^{6\beta}, \quad 1 \le w_t \le C_d\sigma^{1+\eta/2}/D_t. $$
The first inequality uses the budget formula of the compression lemma with $w = w_t$; the leading $\sigma$-power in the cost is $qP\sigma \log w \asymp k \cdot D_t \sigma^{10\beta-\eta}$, so the term $D_t^{-1}$ is dominated by the $D_t^0$ piece from the discrete data. Splitting the two cases $D_t \le \sigma^{2\beta}$ (where the second term already yields $o(1)$) and $D_t > \sigma^{2\beta}$:
$$ D_{t+1} \le \sigma^{-\eta/4} D_t + C_d \sigma^{2\beta}, \qquad \frac{\Lambda_{t+1}}{k} \le C_d \sigma^{10\beta - \eta} D_t + C_d D_t^{-1}. $$

Running the recursion. Choose $T = \lceil 8/\eta \rceil$. Iterating the $D$-recursion and using $D_0 = O(\sigma)$:
$$ D_T \le \sigma^{1-T\eta/4} + \frac{\sigma^{2\beta}}{1-\sigma^{-\eta/4}} \le 2\sigma^{2\beta}. $$
One further compression stage produces $(\Lambda_*, \Delta_*)$ with
$$ \frac{\Lambda_*}{k} \le 2\sigma^{2\beta-\eta/3} = o(1), \qquad \frac{\Delta_* q\sigma}{k} \le C_d\sigma^{8\beta-\eta} = o(1). $$
These are $o(1)$ for large $q$, because $\beta < \eta/8$.

Probabilistic invariants. At each stage the compression lemma first averages over fresh public tables and fixes a table family with extraction probability bounded below. It then conditions on the extraction event and retains a prescribed deterministic number of slots in the selected orientation. The new decoder uses only its new message and its fixed tables; its entropy budget is $\Lambda'$ alone, not the sum of earlier budgets. Every retained tuple is consistent, remains in the original stream in an allowed orientation, and satisfies the same rectangle occupancy bound. The domination factor is preserved because the conditioning event has probability bounded below.

Final contradiction. After $T + 1$ stages the retained tuple $F_*$ has deterministic length $\ell_* = \Theta(k)$, and the marking step applies with the final message $\theta_*$. The selected-tuple entropy lower bound then gives
$$ H(F_*) \ge d\sigma\ell_* + \eta\ell_*\log\sigma - O(k), $$
whereas the marking entropy lemma with the final budgets gives
$$ H(F_*) \le d\sigma\ell_* + \Lambda_* + O(k) + O(\Delta_* q\sigma) = d\sigma\ell_* + O(k). $$
The two bounds conflict for large $q$, since $\ell_* = \Theta(k)$, $\log\sigma\to\infty$, and $\eta\ell_*\log\sigma = \eta \Theta(q\sigma^{1+\eta})\log\sigma$ grows faster than any $O(k)$. So no stream of $N$ independent uniform flags contains a consistent $k$-tuple.

Consequently a graph $G$ from the flag construction has no consistent $k$-tuple, so $\alpha(G) < k$, and $G$ is $K_{d+1}$-free by the linear-independence lemma. Its order is $N = \lfloor q^d\sigma\rfloor$.

Sources: The prime-indexed construction is a higher-dimensional version of the flag-graph construction used by Brada\v{c} (./bradac-2026-off-diagonal-ramsey-numbers.pdf). The entropy lower bound for any consistent tuple is the selected-tuple lemma above. The stepwise compression of the tuple's context is the new ingredient; the accounting is information-theoretic, not algorithmic.

From Prime Parameters to Integers. The construction above runs at prime field orders $q$. Extending it to all sufficiently large $t$ requires a prime in a short interval.

Lemma (prime interval). For every sufficiently large real $x$ the interval $[x, x(1 + 1/\log^2 x)]$ contains a prime.

Proof. Let $\psi$ and $\vartheta$ be the Chebyshev functions. The central binomial coefficient estimate
$$ \psi(2m) \ge \log \binom{2m}{m} \ge 2m\log 2 - \log(2m+1) $$
follows from the fact that the largest of the $2m+1$ binomial coefficients is at least their average $4^m/(2m+1)$. For proper prime powers the estimate
$$ 0\le \psi(x) - \vartheta(x) \le C\sqrt{x}\log^2(x+2) = o(x) $$
suffices: there are $O(\log x)$ exponents $h \ge 2$, at most $\sqrt{x}$ possible bases for each, and each weight is at most $\log x$. It follows, first for even integers and then by monotonicity for all large real $x$, that $\vartheta(x) \ge cx$ for a fixed $c > 0$. Choose $c_0 < c/2$. For sufficiently large $x$, $\vartheta(x) > \vartheta(c_0 x)$ (since the left side is $\ge cx$ and the right is $\le c_0 x + x/\log^2 x$), yielding a prime in the stated interval. $\square$

Source: distribution of primes in short intervals, e.g. by partial-summation arguments from Chebyshev's estimates; see Brada\v{c} (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 6.

Reduction to the integer case. Given $s \ge 6$, let $d = s - 1$ and $\eta \in (0, 1/10)$. Fix $\varepsilon > 0$ small and choose $\eta < \varepsilon/(2d)$. For each sufficiently large integer $t$, apply the prime-interval lemma with $x = t/(\log t)^{1+\eta}$. The resulting prime $q$ tends to infinity and $\log q \sim \log t$. Moreover $\sigma = \log q$ satisfies
$$ q(\log q)^{1+\eta} = \frac{t}{(\log t)^{1+\eta}} \cdot \sigma^{1+\eta} = t\left(\frac{\sigma}{\log t}\right)^{1+\eta} < t $$
for $\sigma < \log t$ (which holds for large $q$ because $\sigma = \log q < \log t$). The graph $G$ from the prime construction therefore has $\alpha(G) < \lfloor q\sigma^{1+\eta}\rfloor < t$ and no $K_s = K_{d+1}$, giving
$$ r(s,t) > \lfloor q^d\sigma \rfloor \ge c_{s,\eta}\frac{t^{s-1}}{(\log t)^{s-2+(s-1)\eta+o(1)}}. $$
For the stated $\varepsilon$, the choice $\eta \le \varepsilon/(2(s-1))$ makes $(s-1)\eta \le \varepsilon/2 < \varepsilon$, so
$$ r(s,t) \ge \frac{t^{s-1}}{(\log t)^{s-2+\varepsilon}} $$
for all sufficiently large $t$. $\square$

Triangle-Free Independent Sets and the Upper Bound. The matching upper bound for $r(s,t)$ is classical: Ajtai--Koml\'os--Szemer\'edi obtained $O_s(t^{s-1}/(\log t)^{s-2})$, and Li--Rousseau--Zang sharpened the leading coefficient to $1+o(1)$. The version below suffices for the exponent.

Lemma (independent sets in a triangle-free graph). If a triangle-free graph $H$ has $n > 0$ vertices and maximum degree at most a real $D_0 \ge 1$, then
$$ \alpha(H) \ge \frac{n\log(D_0+1)}{8(D_0+1)}. $$

Proof. Choose an independent set $J$ uniformly from all independent sets of $H$, including the empty set, and write $\mu = \E|J|/n$. At a vertex $x$, expose $J$ outside the closed neighborhood of $x$. Let $Z_x$ be the number of neighbors that have no neighbor in this exposed part of $J$. These available neighbors are mutually nonadjacent because $H$ is triangle-free. The remaining independent-set choices are either $\{x\}$ or an arbitrary subset of the $Z_x$ available neighbors, all with equal conditional probability. Hence
$$ \Prob(x \in J \mid \text{exposure}) = \frac1{1+2^{Z_x}}, \quad \E(|J \cap N(x)| \mid \text{exposure}) = \frac{Z_x 2^{Z_x-1}}{1+2^{Z_x}} \ge \frac{Z_x}{4}. $$
The last inequality includes $Z_x = 0$. Averaging also over a uniform vertex $x$, the degree bound gives $\E Z_x/4 \le D_0\mu$. Since $(1+2^z)^{-1} \ge 2^{-z}/2$ for $z \ge 0$, Jensen's inequality gives
$$ \mu \ge \tfrac12 \E 2^{-Z_x} \ge \tfrac12 2^{-\E Z_x} \ge \tfrac12 2^{-4D_0\mu}. $$
If $\mu < \log(D_0+1)/(8(D_0+1))$, then the inequality implies $\mu > 1/(2\sqrt{D_0+1})$. This is impossible: $\log u \le 2\sqrt{u}$ for $u \ge 1$ gives $\log u/(8u) < 1/(2\sqrt{u})$. So $\mu$ has the claimed lower bound and $\alpha(H) \ge \E|J| = n\mu$. $\square$

Sources: Davies, Jenssen, Perkins and Roberts (./davies-jenssen-perkins-roberts-2018-average-size-of-independent-sets-in-triangle-free-graphs.pdf) for sharpened constant estimates of the triangle-free independence bound; the elementary uniformly-chosen-independent-set proof is a standard argument, and the matching upper-bound route via AKS is traced in Brada\v{c} (./bradac-2026-off-diagonal-ramsey-numbers.pdf).

Proposition (upper bound). For every fixed integer $s \ge 2$ there is a constant $C_s > 0$ such that for all sufficiently large integers $t$,
$$ r(s,t) \le C_s \frac{t^{s-1}}{(\log t)^{s-2}}. $$

Proof. Induct on $s$. The case $s = 2$ is $r(2,t) = t$. If a triangle-free graph has no independent set of size $t$, all its degrees are below $t$, because every neighborhood is independent. The independence lemma with $D_0 = t$ bounds its order by $8t(t+1)/\log(t+1)$, which proves $s=3$.

Now let $s \ge 4$ and suppose the estimate holds at smaller clique parameters. Let $G$ have $n > 0$ vertices, maximum degree $h$, no $K_s$, and no independent set of size $t$. Every neighborhood avoids $K_{s-1}$ and an independent $t$-set. So $h < r(s-1,t)$. The common neighborhood of an edge, in turn, avoids $K_{s-2}$ and an independent $t$-set, so
$$ |N(u) \cap N(v)| \le m := r(s-2,t) \quad \text{for every edge } uv. $$
Summing these common-neighborhood sizes over edges counts each triangle three times, so $G$ has at most $nhm/6$ triangles.

If $h \le t^{s-5/2}$, the greedy bound $\alpha(G) \ge n/(h+1)$ gives $n < t(h+1) = O(t^{s-3/2})$, which is $o(t^{s-1}/(\log t)^{s-2})$ and hence dealt with. So $h > t^{s-5/2}$; set $\lambda = (hm)^{-1/2} \le 1$. The induction bound on $m$ gives
$$ \lambda h = \sqrt{h/m} \ge c_s t^{1/4}(\log t)^{(s-4)/2} \ge t^{1/5} $$
for sufficiently large $t$.

Retain each vertex independently with probability $\lambda$. Delete all retained vertices whose sampled degree exceeds $12\lambda h$, and then delete one vertex from each remaining triangle. If $E_0, T_0$ are the initial sampled edge and triangle counts, the first deletion removes at most $2E_0/(12\lambda h)$ vertices and the second at most $T_0$. Their expected numbers are at most
$$ \frac{\lambda^2 nh}{12\lambda h} = \frac{n\lambda}{12}, \quad \frac{\lambda^3 nhm}{6} = \frac{n\lambda}{6}. $$
Some realization therefore leaves a triangle-free induced subgraph $H$ with
$$ |V(H)| \ge \tfrac34 n\lambda, \quad \Delta(H) \le 12\lambda h. $$
Deleting further vertices cannot increase degrees, so both conclusions hold simultaneously.

By the independence lemma and the sample-degree estimate,
$$ t > \alpha(H) \ge \frac{(3/4)n\lambda\log(12\lambda h + 1)}{8(12\lambda h+1)} \ge c\frac{n\log t}{h}. $$
Finally substituting $h < r(s-1,t)$ and its induction bound gives $n \le C_s t^{s-1}/(\log t)^{s-2}$. Increasing $C_s$ absorbs the additive one in the passage from the order of an avoiding graph to its Ramsey number. $\square$

Sources: the induction is the standard argument of Ajtai, Koml\'os and Szemer\'edi, presented in Brada\v{c} (./bradac-2026-off-diagonal-ramsey-numbers.pdf), Section 6.

Main Theorem. Combining the lower and upper bounds.

Proof of the main theorem. The lower bound from the prime construction and the reduction to integers gives, for every $\varepsilon > 0$ and all sufficiently large $t$,
$$ r(s,t) \ge \frac{t^{s-1}}{(\log t)^{s-2+\varepsilon}}. $$
The upper bound proposition gives, for every $\varepsilon > 0$ and all sufficiently large $t$,
$$ r(s,t) \le C_s\frac{t^{s-1}}{(\log t)^{s-2}} \le \frac{t^{s-1}}{(\log t)^{s-2-\varepsilon}}. $$
Taking logarithms and dividing by $\log\log t > 0$ bounds
$$ \frac{(s-1)\log t - \log r(s,t)}{\log\log t} $$
between $s-2-\varepsilon$ and $s-2+\varepsilon$. Since $\varepsilon$ is arbitrary, the limit is $s-2$. $\square$