Retained-Set Descent for Diagonal Ramsey Numbers

Sep 13, 2026·
Zhipeng Lu
,
Sichen Wang
Publication
Preprint, arXiv:2609.14525
Abstract
We study how far a fixed Ramsey upper bound can be improved by descending through blue neighborhoods in one vertex set while keeping a second set fixed. A weighted inequality in the two set sizes determines when the descent can stop. For the source bound specified here, the infimum diagonal exponent over all finite derivations lies in $[1.305,\,1.307]$. A finite derivation gives $R(k,k)\le3.69507^k$ for all sufficiently large $k$; a concave polygon proves the lower bound for every finite depth. We also characterize the infimum as a greatest fixed point and show that every larger exponent has a finite derivation valid uniformly for nearby clique-size ratios.
publications

1 Introduction

Let $R(k,\ell)$ be the least integer $N$ such that every red–blue coloring of $K_{N}$ contains a red $K_{k}$ or a blue $K_{\ell}\text{.}$ Ramsey’s theorem [Ram] guarantees that these numbers are finite. The Erdős–Szekeres recurrence [ES] gives $R(k,\ell)\leq\binom{k+\ell-2}{k-1}\text{,}$ and hence $R(k,k)\leq 4^{k}\text{.}$ In the other direction, Erdős’s random-coloring argument [Er] gives a lower bound of order $k2^{k/2}\text{;}$ Spencer [Spe] improved its leading constant using the Lovász local lemma.

Thomason [Tho] improved the classical upper bound by a polynomial factor using quasirandomness: a coloring close to the inductive bound must have degrees and small-subgraph counts close to those of a random coloring. Conlon [Con] developed this approach to obtain $R(k,k)\leq 4^{k}\exp(-c(\log k)^{2}/\log\log k)\text{.}$ Sah [Sah] strengthened the estimate to $R(k,k)\leq 4^{k}\exp(-c(\log k)^{2})\text{.}$ Each bound holds for a suitable absolute constant $c>0$ and all sufficiently large $k\text{.}$ These results gave successively larger subexponential improvements while retaining exponential base $4\text{.}$

Campos, Griffiths, Morris, and Sahasrabudhe [CGMS] obtained the first improvement in the exponential base, proving $R(k,k)\leq(4-\varepsilon)^{k}$ for an absolute $\varepsilon>0$ and all sufficiently large $k\text{.}$ Their book algorithm works with two vertex sets and controls the red density between them. Gupta, Ndiaye, Norin, and Wei [GNNW] replaced this algorithm by a candidate induction, obtained stronger off-diagonal estimates, and optimized the resulting parameters to give $R(k,k)\leq 3.8^{k+o(k)}\text{.}$ Their candidate induction and reuse of improved Ramsey bounds in this optimization are the starting points of our work.

We improve the diagonal bound to $3.69507^{k}$ for all sufficiently large $k\text{.}$ Our descent applies density bounds inside a vertex set $X$ while keeping a second set $Y$ fixed for a final inequality in $|X|^{w}|Y|\text{,}$ with $w>0\text{.}$ Each resulting bound can be used inside $X$ in a later descent. We also ask how small an exponent finitely many such repetitions can give from a fixed initial bound.

We call this initial bound the source. It has the form $\log R(a,b)\leq af(b/a)+o(a)$ for integers $1\leq b\leq a\text{,}$ where $f$ is a fixed concave function on $[0,1]$ and the error is uniform in $b\text{.}$ Section 2 specifies $f\text{,}$ and Appendix B proves the bound.

A conditional bound at density $p\in(0,1)$ and ratio $s\in(0,1]$ applies to colorings with at least a fraction $p$ of their edges red. An exponent $z$ means that, for some fixed $C\geq 1$ and all sufficiently large $k\text{,}$ order at least $C\mathrm{e}^{zk}$ guarantees a red $K_{k}$ or a blue $K_{\lfloor sk\rfloor}\text{.}$ We use families of such bounds on closed intervals of $s\text{,}$ with continuous exponents and common constants and thresholds.

Starting from the conditional bounds supplied by the source, we apply the descent rule using bounds proved at earlier steps. We may also restrict ratio intervals, increase a density threshold or an exponent, and combine bounds at the same density on a finite closed cover of a ratio interval. A finite proof uses only finitely many of these operations; Definition 4.1 gives the precise rules.

Let $U_{\rm fin}(p,s)$ be the infimum of the exponents obtained at density $p$ and ratio $s$ by such finite proofs. In the diagonal case $(p,s)=(1/2,1)\text{,}$ we construct a finite proof with rational exponent $z_{+}$ and a rational lower bound $z_{-}$ for all finite proofs. Their exact values are given in Section 6.

Theorem 1.

For this source and these finite proof rules,

$$1.305<z_{-}\leq U_{\rm fin}(1/2,1)\leq z_{+}<1.307.$$(1)

The exponent $z_{+}$ has a finite proof. For all sufficiently large integers $k\text{,}$

$$R(k,k)\leq\left\lceil 150003\exp(z_{+}k)\right\rceil,$$(2)

and hence $R(k,k)\leq 3.69507^{k}\text{.}$

For the Ramsey bound, choose the denser color as red and apply the conditional bound at $(p,s)=(1/2,1)\text{.}$

1.1 Proof Outline

We use disjoint sets $X,Y\text{,}$ keeping $Y$ fixed and requiring each vertex of $X$ to have at least a fixed positive fraction of $Y$ as red neighbors. The red target $k$ and the blue target $\ell$ in $Y$ stay fixed while the blue target $t$ in $X$ decreases. When $X$ is large enough for a conditional bound at density $q\text{,}$ we either finish at red density at least $q$ or descend to a blue neighborhood of size greater than $(1-q)(|X|-1)\text{.}$ Restricting $X$ to this neighborhood preserves its red degrees into $Y$ and reduces $t$ by one: a blue $K_{t-1}$ there extends through the chosen vertex.

Write the required size of $X$ at $s=t/k$ as $\exp(kg(s))\text{,}$ with $g$ piecewise affine. On a cell of slope $d\text{,}$ the threshold falls by a factor $\mathrm{e}^{-d}$ per step, so we take $d>-\log(1-q)$ to allow for the neighborhood loss. The profile $g$ must also exceed the exponents of the bounds used inside $X\text{.}$ With slopes and calls fixed, optimizing its vertical shift under these conditions and the initial and terminal inequalities gives the cost in Equation 12.

Reusing these bounds and iterating from the source gives a decreasing sequence of exponents whose limit is a greatest fixed point (Theorem 3). Strict inequalities persist on neighborhoods of ratios; compactness selects finitely many neighborhoods and hence a common finite depth for a whole descent. Hence every exponent strictly above the limit has a finite proof, uniformly near its target ratio.

For the lower bound, a concave polygon $F$ assigns exponent $F(s)$ at densities up to $1-\mathrm{e}^{-d}$ on a segment of slope $d\text{.}$ Where a descent using bounds that respect this estimate has $g<F\text{,}$ its call density must exceed $1-\mathrm{e}^{-d}\text{,}$ forcing the slope of $g$ above $d\text{.}$ Thus $g-F$ decreases as the descent moves to smaller ratios. We choose $F$ so that the terminal weighted inequality cannot hold below it. The supporting-line formula reduces this requirement to one-variable inequalities at its vertices (Theorem 4); the certificates in Section 6 complete the proof of Theorem 1.

The Lean 4 formalization and the Python code for exact certificate checks are available in the accompanying repository.11 1 https://github.com/sichen-wang/diagonal-ramsey-numbers

2 Source Bounds

We now describe the source function and express its bound through pairs $(x,y)\text{.}$ These pairs supply the weighted inequality and the initial conditional bounds used in the descent.

All logarithms are natural. Let

$$h(s)=(1+s)\log(1+s)-s\log s,\qquad h(0)=0.$$

The classical Ramsey bound gives $\log R(k,\ell)\leq kh(\ell/k)$ for $1\leq\ell\leq k$ [ES].

Our fixed source is

$$f(s)=h(s)+s\mathrm{e}^{-s}P(s)\qquad(0\leq s\leq 1),$$(3)

where the piecewise cubic $P$ is specified by the rational partition points, values, and derivatives in data/source.json. This source satisfies

$$\log R(a,b)\leq af(b/a)+o(a)\qquad(1\leq b\leq a),$$(4)

with an error uniform in $b\text{.}$ Appendix B proves this bound and the properties of $f$ used below.

2.1 Source Pairs and Supporting Lines

The weighted inequality uses bounds of the form $R(a,b)\leq x^{-a}y^{-b}\text{.}$ We say that $(x,y)\in(0,1)^{2}$ is an admissible Ramsey pair if this bound holds for all sufficiently large $a+b\text{.}$ Color symmetry in Equation 4 leads to the extension

$$\widehat{f}(t)=\begin{cases}f(t),&0\leq t\leq 1,\\ tf(1/t),&t\geq 1.\end{cases}$$

The source exponent for arbitrary positive targets $a,b$ is then $b\widehat{f}(a/b)\text{.}$ We call $(x,y)\in(0,1)^{2}$ a source pair if $b\widehat{f}(a/b)\leq-a\log x-b\log y$ for all $a,b>0\text{,}$ and write $\mathcal{B}_{f}$ for their set. Every interior point of $\mathcal{B}_{f}$ is admissible: choose a slightly larger pair still in $\mathcal{B}_{f}$ and apply Equation 4 with color symmetry. The resulting error is $o(a+b)\text{,}$ which the strict coordinate gaps absorb.

Supporting lines give a convenient description of these pairs. The source verification shows that $f$ is continuous on $[0,1]$ and is $C^{1}$ on $(0,1]\text{,}$ where it is strictly concave and increasing. It also gives $f(0)=0$ and $2f^{\prime}(1)>f(1)\text{.}$ It follows that $\widehat{f}$ is increasing and concave. On each smooth piece with $t>1\text{,}$ $\widehat{f}^{\prime\prime}(t)=t^{-3}f^{\prime\prime}(1/t)<0\text{;}$ its first derivative is continuous at the reflected source partition points. At $t=1\text{,}$ the derivative drops from $f^{\prime}(1)$ to $f(1)-f^{\prime}(1)\text{.}$ Strict concavity and $f(0)=0$ give $f(s)-sf^{\prime}(s)>0\text{,}$ so the reflected branch is increasing. The expression in Equation 3 gives $\widehat{f}^{\prime}(0+)=\infty\text{,}$ $\widehat{f}^{\prime}(\infty)=0\text{,}$ and $\widehat{f}(t)/t\to 0$ as $t\to\infty\text{.}$

For $A>0\text{,}$ define the intercept of the supporting line with slope $A$ by

$$b(A)=\sup_{t\geq 0}\{\widehat{f}(t)-At\},\qquad\widehat{f}(t)=\inf_{A>0}\{At+b(A)\}\quad(t>0).$$(5)

For fixed $A>0\text{,}$ $\widehat{f}(t)-At\to-\infty$ as $t\to\infty\text{,}$ while $f(t)/t\to\infty$ as $t\downarrow 0$ makes this expression positive for small positive $t\text{.}$ By continuity, the supremum is positive and attained at some $t>0\text{.}$ At each $t>0\text{,}$ concavity supplies a supporting slope $A>0\text{:}$ use the derivative, or any slope between the one-sided derivatives at $t=1\text{.}$ For this slope $b(A)=\widehat{f}(t)-At\text{,}$ proving the second identity.

Writing $x=\mathrm{e}^{-A}$ and $y=\mathrm{e}^{-B}\text{,}$ the source-pair condition becomes $B\geq b(A)\text{,}$ so

$$\mathcal{B}_{f}=\{(\mathrm{e}^{-A},\mathrm{e}^{-B}):A>0,\ B\geq b(A)\}.$$

The finite convex function $b$ is continuous on $A>0\text{,}$ so interior source pairs correspond to $B>b(A)\text{.}$ Taking $(a,b)=(1,s)$ in the support inequality gives

$$A+sb(A)\geq f(s)\qquad(0<s\leq 1).$$(6)

2.2 The Weighted Candidate Bound

Write $N_{\chi}(v)$ for the neighborhood of $v$ in color $\chi\in\{R,B\}$ and $\deg_{\chi}(v,Z)=|N_{\chi}(v)\cap Z|\text{.}$ For disjoint nonempty vertex sets $X,Y\text{,}$ let $e_{R}(X,Y)$ be the number of red edges between them and write $d_{R}(X,Y)=e_{R}(X,Y)/(|X||Y|)\text{.}$ Following [GNNW], a candidate is an ordered pair $(X,Y)$ of such sets. We say that a candidate is $(k,\ell,t)$-good if $X\cup Y$ contains a red $K_{k}\text{,}$ or $X$ contains a blue $K_{t}\text{,}$ or $Y$ contains a blue $K_{\ell}\text{.}$ The target in the retained set $Y$ is $\ell\text{,}$ while the target $t$ in $X$ may decrease.

Lemma 2.1 (Weighted Candidate Bound).

Fix $w>0$ and $\mu,p,x,y\in(0,1)$ with $(x,y)\in\operatorname{int}\mathcal{B}_{f}$ and

$$x<(1-\mu)^{w}p^{1/(1-\mu)}.$$

For all sufficiently large $\ell\text{,}$ uniformly in positive integers $k,t\text{,}$

$$d_{R}(X,Y)\geq p,\qquad|X|^{w}|Y|\geq x^{-k}y^{-\ell}\mu^{-wt}$$

imply that $(X,Y)$ is $(k,\ell,t)$-good.

Proof.

Choose a slightly larger pair $(\widehat{x},\widehat{y})$ still in $\operatorname{int}\mathcal{B}_{f}\text{.}$ Once $\ell$ is large, admissibility guarantees a red $K_{a}$ or a blue $K_{\ell}$ in every vertex set of size at least $\widehat{x}^{-a}\widehat{y}^{-\ell}\text{,}$ uniformly for $a\geq 1\text{.}$ Applying Lemma A.1 with $C=1$ proves the claim. ∎

2.3 Conditional Bounds

To reuse a bound during a descent, we need it for an interval of blue-to-red target ratios, with a single size constant and a single threshold for $k\text{.}$

Definition 2.2 (Conditional Bound).

For $p\in(0,1)\text{,}$ a compact interval $I\subset(0,1]\text{,}$ and a continuous function $L:I\to(0,\infty)\text{,}$ we say that the conditional bound $\mathsf{D}(p,L,I)$ holds if some $C\geq 1,K$ have the following property uniformly for $r\in I$ and integers $k\geq K\text{:}$ a coloring of red density at least $p$ and order at least $C\mathrm{e}^{kL(r)}$ contains a red $K_{k}$ or a blue $K_{\lfloor rk\rfloor}\text{.}$ We choose $K$ so that all blue targets are positive. For a constant exponent $z\text{,}$ the notation $\mathsf{D}(p,z,I)$ means $L\equiv z\text{.}$

We call $(w,\mu,x,y)$ a strict control at density $p$ when it satisfies the parameter conditions of Lemma 2.1. Write $A=-\log x\text{,}$ $B=-\log y\text{,}$ and $\beta=-\log\mu\text{.}$ Apply the weighted candidate bound with $t=\ell$ to a balanced partition whose red cross-density is at least $p\text{;}$ such a partition exists by averaging. Both set sizes are a constant fraction of the graph’s order, so the corresponding exponent is

$$L(r)=\frac{A+rB+wr\beta}{1+w}.$$(7)

Choose $y_{1}>y$ with $(x,y_{1})\in\operatorname{int}\mathcal{B}_{f}\text{.}$ For $\ell=\lfloor rk\rfloor$ and a host of order $N\geq\mathrm{e}^{kL(r)}\text{,}$ the partition satisfies

$$|X|^{w}|Y|\geq\frac{x^{-k}y^{-\ell}\mu^{-w\ell}}{3^{w+1}}\geq x^{-k}y_{1}^{-\ell}\mu^{-w\ell}.$$

The first inequality uses $kr\geq\ell$ and $B+w\beta>0\text{;}$ the second holds once $(y_{1}/y)^{\ell}\geq 3^{w+1}\text{.}$ Applying Lemma 2.1 at $(x,y_{1})$ proves $\mathsf{D}(p,L,I)$ with $C=1$ on every compact $I\subset(0,1]\text{.}$ The threshold is uniform in $r\in I\text{,}$ since $\ell\geq k\min I-1\text{.}$ These weighted source bounds are the starting points of our finite derivations, and we call them source leaves.

3 Retained-Set Descent and Its Cost

We now allow the conditional bound used in $X$ to change as its blue target decreases. Throughout the descent we keep $\deg_{R}(v,Y)\geq\pi|Y|$ for every $v\in X\text{,}$ for a fixed $\pi\in(0,1)\text{.}$ This gives cross-density at least $\pi$ after every restriction of $X\text{.}$ A positive function $g(s)$ specifies the required size $\exp(kg(s))$ of $X$ at target $t=sk\text{.}$ To use a bound $\mathsf{D}(q,L,I)\text{,}$ we require $g>L$ to absorb its size constant; the slope condition below absorbs the loss in a blue-neighborhood step.

Definition 3.1 (Route).

A route consists of a partition $0<\theta=u_{0}<\cdots<u_{m}=\lambda\leq 1$ and, on each closed cell $J_{j}=[u_{j-1},u_{j}]\text{,}$ a proved call $\mathsf{D}(q_{j},L_{j},I_{j})$ with $J_{j}\subseteq I_{j}\text{.}$ It also specifies slopes

$$d_{j}>c(q_{j}):=-\log(1-q_{j})$$

and a continuous positive function $g\text{,}$ constant on $[0,\theta]$ and affine with slope $d_{j}$ on $J_{j}\text{,}$ such that $g>L_{j}$ on every closed cell.

The descent starts at ratio $\lambda$ and stops at $\theta\text{.}$ Write $d(t)$ for the piecewise constant slope on $[\theta,\lambda]\text{,}$ taking the right-hand slope at $\theta$ and internal partition points and the left-hand slope at $\lambda\text{.}$

Theorem 2 (Retained-Set Rule).

Fix a route as above, an outer density $p\text{,}$ and a row density $0<\pi<p<1\text{.}$ Choose a strict control at density $\pi$ as the route’s terminal parameters. If

$$z>g(\lambda),\qquad z+wg(\theta)>A+\lambda B+w\theta\beta,$$(8)

then $\mathsf{D}(p,z,\{\lambda\})$ holds with

$$C=\frac{3(1-\pi)}{p-\pi}.$$(9)

The conclusion is uniform over truncations and vertical shifts of one fixed route when the new endpoint, output exponent, and shift depend continuously on a parameter in a compact set; the stopping ratio, slopes, densities, calls, and terminal controls stay fixed. At endpoint $r\text{,}$ retain the closed cells $[u_{j-1},\min\{u_{j},r\}]$ with $u_{j-1}<r$ and require positive uniform margins in $g>L_{j}$ and in Equation 8. Such a family may include $r=\theta\text{,}$ with no internal calls.

Proof.

If $\lambda=\theta\text{,}$ the size tests give

$$(1+w)z>z+wg(\theta)>A+\theta B+w\theta\beta.$$

The source leaf at density $\pi$ proves the conclusion at density $p>\pi\text{,}$ with constant $1\leq C\text{.}$

Suppose $\theta<\lambda\text{,}$ and take a graph of red density at least $p$ and order $N\geq C\mathrm{e}^{kz}\text{.}$ Averaging gives a balanced partition $X_{0},Y$ with cross-density at least $p$ and both parts of size at least $N/3\text{.}$ Keep in $X_{0}$ only the vertices with at least $\pi|Y|$ red neighbors in $Y\text{.}$ The surviving set $X$ satisfies

$$(p-\pi)|X_{0}||Y|\leq e_{R}(X,Y)-\pi|X||Y|\leq(1-\pi)|X||Y|.$$

The choice of $C$ gives $|X|,|Y|\geq\mathrm{e}^{kz}\text{.}$ Every nonempty subset of $X$ has red cross-density at least $\pi$ with this fixed $Y\text{.}$

Put $n_{0}=\lfloor\theta k\rfloor$ and $\ell=\lfloor\lambda k\rfloor\text{,}$ taking $k$ large enough that $n_{0}\geq 1\text{.}$ To track the loss, define for integers $0\leq t\leq\ell$

$$\Gamma_{k}(t)=kg(\theta)+\sum_{j=n_{0}+1}^{t}d(j/k)\quad(t>n_{0}),\qquad\Gamma_{k}(t)=kg(\theta)\quad(0\leq t\leq n_{0}).$$

For $V=d_{1}+\sum_{j<m}|d_{j+1}-d_{j}|\text{,}$

$$\Gamma_{k}(t)-\Gamma_{k}(t-1)=d(t/k)\quad(t>n_{0}),\qquad|\Gamma_{k}(t)-kg(t/k)|\leq V.$$(10)

For the second bound, express $d$ as its initial step at $\theta$ and its subsequent jumps. For each unit step, the mesh count differs from $k$ times its integral by at most one, even when a jump lies on the mesh. Summing the absolute jump sizes gives $V\text{.}$

Let $C_{j}$ be the call constants and put

$$\delta=\min_{j}\min_{J_{j}}(g-L_{j})>0,\qquad\eta=\min_{j}(1-q_{j}-\mathrm{e}^{-d_{j}})>0.$$

Choose $k$ so that $k\delta>V+\max_{j}\log C_{j}$ and $\eta\mathrm{e}^{kg(\theta)}>1\text{,}$ and so that all call and candidate thresholds hold. We prove by induction on $t=1,\ldots,\ell$ that $(Z,Y)$ is $(k,\ell,t)$-good whenever $Z\subseteq X$ and $|Z|\geq\mathrm{e}^{\Gamma_{k}(t)}\text{.}$

For $t\leq n_{0}\text{,}$ the terminal test gives

$$\log(|Z|^{w}|Y|)\geq k[wg(\theta)+z]>k(A+\lambda B+w\theta\beta)\geq kA+\ell B+wt\beta.$$

Since $d_{R}(Z,Y)\geq\pi\text{,}$ Lemma 2.1 applies.

For $t>n_{0}\text{,}$ put $s=t/k$ and use the cell with assigned slope $d_{j}\text{.}$ If the red density in $Z$ is at least $q_{j}\text{,}$ then $\log|Z|\geq kg(s)-V>kL_{j}(s)+\log C_{j}\text{.}$ The call gives a red $K_{k}$ or a blue $K_{t}\text{.}$ Otherwise some vertex has a blue neighborhood $Z^{\prime}\subseteq Z$ with

$$|Z^{\prime}|>(\mathrm{e}^{-d_{j}}+\eta)(|Z|-1)>\mathrm{e}^{-d_{j}}|Z|\geq\mathrm{e}^{\Gamma_{k}(t-1)}.$$

The middle inequality follows from $\eta|Z|>1$ and $\mathrm{e}^{-d_{j}}+\eta<1\text{.}$ Induction applies to $(Z^{\prime},Y)\text{.}$ A blue $K_{t-1}$ extends through the chosen vertex; either of the other two outcomes already proves the claim.

Finally, Equation 10 and the endpoint test give $\Gamma_{k}(\ell)\leq kg(\lambda)+V<kz$ for large $k\text{.}$ The claim therefore applies to $Z=X$ at $t=\ell\text{.}$

For uniformity, take the minimum stopping height and the minima of the strict gaps over the compact parameter set, and the maxima of the finitely many call thresholds. The same $V$ bounds every truncated profile, since truncation only removes slope jumps. These choices give a common threshold for $k\text{;}$ at $\lambda=\theta$ use the fixed source control as above. ∎

3.1 The Cost of a Descent

Fix the partition, calls, slopes, and terminal controls, and vary the vertical position of $g\text{.}$ Put

$$S(s)=\int_{s}^{\lambda}d(t)\,dt,\qquad M=\max_{j}\max_{s\in J_{j}}\{L_{j}(s)+S(s)\}.$$(11)

The quantity $S(s)$ is the cumulative logarithmic loss in descending from $\lambda$ to $s\text{.}$ Every $g$ with the specified slopes has the form $g(s)=H-S(s)$ on $[\theta,\lambda]\text{.}$ The internal conditions are exactly $H>M\text{;}$ they also make $g$ positive, since $M\geq L_{1}(\theta)+S(\theta)>S(\theta)\text{.}$ The conditions in Equation 8 now read

$$H<z,\qquad wH+z>A+\lambda B+w\theta\beta+wS(\theta).$$

There is such an $H>M$ exactly when

$$z>Z:=\max\left\{M,\frac{A+\lambda B+w\theta\beta+wS(\theta)}{1+w}\right\}.$$(12)

Necessity follows from $z>H>M$ and $(1+w)z>z+wH\text{.}$ Conversely, if $z>Z\text{,}$ choose $H<z$ sufficiently close to $z$ to satisfy both inequalities. Thus $Z$ is the infimum output exponent over these vertical positions. The term $M$ accounts for every internal call together with the loss needed to reach it; the other term is the least exponent compatible with the weighted terminal inequality.

For one call $\mathsf{D}(q,L,[\theta,\lambda])$ with affine $L\text{,}$ choose a slope $d>c(q)\text{.}$ Here $S(s)=d(\lambda-s)\text{,}$ so $L+S$ is affine and its maximum occurs at an endpoint. Substitution in Equation 12 gives

$$Z=\max\left\{L(\lambda),\ L(\theta)+d(\lambda-\theta),\ \frac{A+\lambda B+w\theta\beta+wd(\lambda-\theta)}{1+w}\right\}.$$

The first two terms require enough vertices to use the call at both ends of the interval; the second includes all the loss incurred before reaching $\theta\text{.}$ The third requires enough vertices to apply the weighted bound at $\theta\text{.}$ Every $z>Z$ therefore gives a new conditional bound at $\lambda\text{.}$

3.2 Reuse on an Interval

To obtain bounds at smaller target ratios, keep the same calls and terminal controls. For $\theta\leq r\leq\lambda\text{,}$ restrict the profile $g$ to $[0,r]$ and allow a nonnegative vertical shift. Such a shift preserves the inequalities $g>L_{j}\text{.}$ The resulting infimum is

$$E(r)=\max\left\{g(r),\frac{A+rB+w\{\theta\beta+g(r)-g(\theta)\}}{1+w}\right\},\qquad\theta\leq r\leq\lambda.$$(13)

For every $\varepsilon>0\text{,}$ the whole family $\mathsf{D}(p,E+\varepsilon,[\theta,\lambda])$ holds with the constant in Equation 9. To check strictness uniformly, use the shift $H_{r}=E(r)-g(r)+\varepsilon/2$ and output $z_{r}=E(r)+\varepsilon\text{.}$ The endpoint gap is $\varepsilon/2\text{,}$ and

$$z_{r}+w[g(\theta)+H_{r}]-A-rB-w\theta\beta\geq(1+w/2)\varepsilon.$$

Theorem 2 applies uniformly.

A source leaf is affine, and $E$ is the maximum of two affine functions on each affine piece of $g\text{.}$ When a new route uses one of these bounds as a call, refine its cell at the partition points of the called profile. On each resulting piece, adding the affine loss $S$ preserves convexity. The maximum in Equation 11 is therefore attained at an endpoint of a call cell or a partition point of the called profile inside that cell.

4 The Optimum over Finite Proofs

We keep the source $\mathcal{B}_{f}$ fixed and minimize over all finite repetitions of the retained-set rule.

Definition 4.1 (Finite Proof).

A finite proof is a finite derivation of conditional bounds using the following rules:

  1. 1.

    Start with a weighted source bound from Equation 7.

  2. 2.

    Apply Theorem 2 with previously derived conditional bounds as its calls, including its uniform families.

  3. 3.

    Restrict to a closed ratio interval, increase the density, or increase the continuous exponent function pointwise.

  4. 4.

    Combine finitely many bounds: on a finite closed cover of a compact ratio interval, use a continuous output that dominates a proved family at the same density on each cover interval.

Taking the maximum of the constants and thresholds validates the last rule. Let $U_{\rm fin}(p,s)$ be the infimum of the exponents obtained at $(p,s)$ by these finite proofs.

To compare these proofs across all finite depths, first let $U_{0}(p,s)$ be the infimum over source leaves alone. It is finite: take $w=1\text{,}$ $\mu=1/2\text{,}$ $A>\log 2-2\log p\text{,}$ and $B>b(A)\text{.}$ These strict controls give $0\leq U_{0}(p,s)<\infty\text{.}$

To treat all possible descents at once, let $u(p,s)$ specify the required exponent for a call at $(p,s)\text{.}$ Order these functions pointwise and consider the complete lattice $\mathcal{L}=\{u:(0,1)\times(0,1]\to\mathbb{R}:0\leq u\leq U_{0}\}\text{.}$

Define $T(u)(p,\lambda)$ as the infimum of $U_{0}(p,\lambda)$ and all $z>0$ admitted by the following data: a finite partition $0<\theta=u_{0}<\cdots<u_{m}=\lambda\text{,}$ densities $q_{j}\in(0,1)\text{,}$ slopes $d_{j}>c(q_{j})\text{,}$ and a continuous positive function $g\text{,}$ affine with slope $d_{j}$ on each $J_{j}$ and constant on $[0,\theta]\text{,}$ such that

$$g(s)>u(q_{j},s)\qquad(s\in J_{j}).$$(14)

The terminal parameters form a strict control at some row density $0<\pi<p$ and satisfy Equation 8. All data are finite and fixed before $k$ is chosen.

The operator is monotone: decreasing the internal requirements can only add feasible routes. Its output is nonincreasing in the outer density $p\text{,}$ since any leaf or route valid at $p$ remains valid at a larger density. Set

$$U_{n+1}=T(U_{n}),\qquad U_{\infty}=\inf_{n\geq 0}U_{n}.$$

We say that $v\in\mathcal{L}$ is a lower bound preserved by the rules if $v\leq T(v)\text{.}$ In standard order terminology, such a function is a post-fixed point of $T\text{.}$ Equivalently, every leaf and every route using internal requirements $v$ has output at least $v\text{.}$ Here a proof on a relative neighborhood of $s$ means a conditional bound on a compact ratio interval containing that neighborhood.

Theorem 3 (Finite Proofs and Preserved Lower Bounds).

The sequence $U_{n}$ decreases to the greatest fixed point $U_{\infty}$ of $T$ in $\mathcal{L}\text{,}$ and

$$U_{\rm fin}(p,s)=U_{\infty}(p,s)=\sup_{\begin{subarray}{c}v\in\mathcal{L}\\ v\leq T(v)\end{subarray}}v(p,s).$$(15)

Every $z>U_{\infty}(p,s)$ has a finite proof with constant output $z$ on a relative neighborhood of $s\text{,}$ with uniform constants.

The order comparison is the classical greatest-fixed-point principle [Tarski, Theorem 1]. Strict inequalities and compactness also identify the limit with finite conditional proofs, including the uniformity required for their reuse.

Proof.

Since $T(U_{0})\leq U_{0}\text{,}$ monotonicity gives $U_{n+1}\leq U_{n}\text{.}$ By induction on $n\text{,}$ we prove both that each ratio section $U_{n}(p,\cdot)$ is upper semicontinuous and that every $z>U_{n}(p,s)$ has a finite proof with constant output $z$ on a relative neighborhood of $s\text{.}$ Upper semicontinuity means that a strict inequality $U_{n}(p,s)<a$ persists near $s\text{.}$ At level zero, both conclusions follow by choosing a continuous source leaf strictly below $z\text{.}$

Suppose the claim holds at level $n\text{,}$ and let $z>U_{n+1}(p,\lambda)\text{.}$ Choose a leaf or a formal route against $U_{n}$ with output $z^{\prime}<z\text{.}$ A leaf again gives both conclusions by continuity. For a route, truncate or extend its last affine cell, keeping the density and slope. Upper semicontinuity preserves $g>U_{n}(q_{m},\cdot)$ near $\lambda\text{,}$ and the strict endpoint and terminal tests persist by continuity. Thus the same output $z^{\prime}$ is feasible for nearby endpoints, proving $U_{n+1}(p,r)<z$ there.

Choose a compact interval of endpoints within this range that contains a relative neighborhood of $\lambda\text{.}$ To replace the formal calls by finite proofs, consider the call cells up to the largest endpoint in this neighborhood. At each point $s$ of a cell with density $q_{j}\text{,}$ choose

$$U_{n}(q_{j},s)<z_{s}<g(s).$$

The induction hypothesis gives a finite proof with constant output $z_{s}$ near $s\text{.}$ Shrink this neighborhood until $z_{s}<g$ throughout. Compactness gives a finite subcover of each cell. Subdivide into closed subcells contained in these neighborhoods and use the corresponding proofs, with the original density and slope. The calls and their strict inequalities also hold at every shared endpoint. There are finitely many subcells, so their positive gaps have a common positive lower bound. The uniform part of Theorem 2 now gives a finite proof with constant output $z$ on the chosen endpoint neighborhood. This completes the induction.

We next show that $U_{\infty}$ is fixed. Monotonicity gives $T(U_{\infty})\leq U_{n+1}$ for every $n\text{,}$ hence $T(U_{\infty})\leq U_{\infty}\text{.}$ For the reverse inequality, take a route feasible against $U_{\infty}\text{.}$ On each closed cell $J_{j}\text{,}$ the sets

$$O_{n}=\{s\in J_{j}:U_{n}(q_{j},s)<g(s)\}$$

are relatively open, increase with $n\text{,}$ and cover $J_{j}\text{.}$ Compactness and nesting give a common $N$ with $O_{N}=J_{j}$ on every cell. The route is therefore feasible against $U_{N}\text{,}$ so its output is at least $U_{N+1}\geq U_{\infty}\text{.}$ The leaf alternative is also at least $U_{\infty}\text{.}$ Taking infima gives $T(U_{\infty})=U_{\infty}\text{.}$

If $v\in\mathcal{L}$ and $v\leq T(v)\text{,}$ then $v\leq U_{0}$ and

$$v\leq U_{n}\quad\Longrightarrow\quad v\leq T(v)\leq T(U_{n})=U_{n+1}.$$

Hence $v\leq U_{\infty}\text{.}$ As $U_{\infty}$ is itself fixed, it is the greatest post-fixed point.

Every finite proof has output at least $U_{\infty}\text{,}$ by induction through its rules. This holds for leaves since $U_{0}\geq U_{\infty}\text{.}$ A route whose calls are at least $U_{\infty}$ is feasible against $U_{\infty}\text{,}$ so its output is at least $T(U_{\infty})=U_{\infty}\text{.}$ The case $\lambda=\theta$ reduces to a leaf. Restriction, increasing the exponent, and finite patching preserve the comparison. Increasing the density does too, since $U_{\infty}$ is nonincreasing in that density. Thus $U_{\rm fin}\geq U_{\infty}\text{.}$

Conversely, every $z>U_{\infty}(p,s)$ exceeds $U_{n}(p,s)$ for some finite $n\text{.}$ The local proof constructed above gives $U_{\rm fin}\leq U_{\infty}$ and the claimed uniformity. ∎

5 Concave Lower Bounds

We construct a function $v\leq T(v)\text{,}$ giving the lower estimate by Theorem 3. Its exponent will be a concave polygon: a continuous piecewise affine concave function $F:[0,1]\to\mathbb{R}\text{.}$ Write its partition points and values as

$$0=s_{0}<s_{1}<\cdots<s_{N}=1,\qquad F_{i}=F(s_{i}),\qquad F_{0}=0,$$

and suppose the slopes $d_{i}=(F_{i}-F_{i-1})/(s_{i}-s_{i-1})$ satisfy $d_{1}\geq\cdots\geq d_{N}>0\text{.}$ A call at density $q>1-\mathrm{e}^{-d_{i}}$ requires a route slope greater than $c(q)>d_{i}\text{.}$ This relation suggests using $1-\mathrm{e}^{-d_{i}}$ as the density up to which $F$ gives a lower bound. Define

$$p_{F}(s)=1-\mathrm{e}^{-d_{i}}\quad(s_{i-1}<s\leq s_{i}),\qquad v_{F}(p,s)=\begin{cases}F(s),&p\leq p_{F}(s),\\ 0,&p>p_{F}(s).\end{cases}$$

At each $s_{i}>0\text{,}$ $p_{F}$ uses the slope of the segment ending there.

Proposition 5.1 (A Preserved Lower Bound).

Suppose every strict terminal control of row density at most $p_{F}(\lambda)$ satisfies

$$F(\lambda)+wF(\theta)\leq A+\lambda B+w\theta\beta\qquad(0\leq\theta\leq\lambda\leq 1,\ \lambda>0).$$(16)

Then $v_{F}\leq U_{\infty}\text{.}$ If $d_{N}\geq\log 2\text{,}$ in particular $F(1)\leq U_{\infty}(1/2,1)\text{.}$

Proof.

Taking $\theta=\lambda$ in Equation 16 shows that every source leaf at density $p\leq p_{F}(\lambda)$ has exponent at least $F(\lambda)\text{.}$ Thus $0\leq v_{F}\leq U_{0}\text{.}$

Consider a route feasible against $v_{F}$ at density $p\leq p_{F}(\lambda)\text{,}$ with output $z<F(\lambda)\text{.}$ Its endpoint satisfies $g(\lambda)<F(\lambda)\text{.}$ Refine the call partition at the points $s_{i}\text{.}$ On a resulting cell $[a,b]\text{,}$ let $\ell_{j}$ and $d_{i}$ be the slopes of $g$ and $F\text{.}$ If $g(b)<F(b)\text{,}$ the closed call condition forces $q_{j}>p_{F}(b)=1-\mathrm{e}^{-d_{i}}\text{,}$ since $p_{F}$ uses the left slope at $b\text{.}$ Consequently $\ell_{j}>c(q_{j})>d_{i}\text{,}$ and

$$g(a)-F(a)=g(b)-F(b)-(\ell_{j}-d_{i})(b-a)<0.$$

Starting at $\lambda$ and applying this implication backward through the finite partition gives $g(\theta)<F(\theta)\text{.}$ The row density satisfies $\pi<p\leq p_{F}(\lambda)\text{,}$ so Equation 16 now contradicts $z+wg(\theta)>A+\lambda B+w\theta\beta\text{.}$ Every route and leaf therefore has output at least $v_{F}\text{,}$ giving $v_{F}\leq T(v_{F})\text{.}$ Apply Theorem 3; the final assertion follows from $p_{F}(1)\geq 1/2\text{.}$ ∎

5.1 Elimination of the Terminal Controls

At each positive partition point, we maximize over the stopping ratio and combine the terminal inequalities with the supporting-line formula. This gives a test in the single parameter $\mu\text{.}$ For $0<\mu<1\text{,}$ write $\tau=-\log(1-\mu)$ and $\beta=-\log\mu\text{,}$ and define

$$\Psi(\lambda,z,\kappa,\mu)=\frac{1-\mu}{\kappa}\left[z-\lambda\widehat{f}\!\left(\frac{1-\kappa}{\lambda}\right)\right],\qquad\lambda>0,\quad 0<\kappa<1.$$(17)
Theorem 4 (Finite Polygon Criterion).

Suppose $F$ is as above and

$$0<F_{i}<\min\{f(s_{i}),h(s_{i})\}\qquad(1\leq i\leq N).$$(18)

For each $\mu\in(0,1)$ define

$$D_{i}(\beta)=\max_{0\leq j\leq i}(F_{j}-s_{j}\beta),\qquad\kappa_{i}=D_{i}(\beta)/\tau,\qquad P_{i}=-\log(1-\mathrm{e}^{-d_{i}}).$$(19)

If, for every $i$ and every $\mu$ with $D_{i}(\beta)>0\text{,}$

$$\Psi(s_{i},F_{i},\kappa_{i},\mu)\leq P_{i},$$(20)

then $v_{F}\leq U_{\infty}\text{.}$

Proof.

At endpoint $s_{i}\text{,}$ the function $F(\theta)-\theta\beta$ is affine between consecutive partition points, so

$$\max_{0\leq\theta\leq s_{i}}\{F(\theta)-\theta\beta\}=D_{i}(\beta).$$

Concavity of $h$ and Equation 18 put $F(\theta)$ strictly below $h(\theta)$ for $\theta>0\text{.}$ The minimum of $\tau+\theta\beta$ over $0<\mu<1$ occurs at $\mu=\theta/(1+\theta)$ and equals $h(\theta)\text{.}$ Thus

$$F(\theta)<h(\theta)\leq\tau+\theta\beta\qquad(\theta>0).$$

The term at $\theta=0$ is zero, so $0\leq D_{i}(\beta)<\tau\text{.}$

Fix a strict control at row density $\pi\leq 1-\mathrm{e}^{-d_{i}}$ and put $P_{\pi}=-\log\pi\geq P_{i}\text{.}$ If the terminal inequality fails at $\lambda=s_{i}$ for some stopping ratio, then

$$wD_{i}>A+s_{i}B-F_{i}>0,\qquad A>w\tau+\frac{P_{\pi}}{1-\mu}.$$

Here $A+s_{i}B-F_{i}>0$ because $A+s_{i}B\geq f(s_{i})>F_{i}\text{.}$ In particular $0<\kappa_{i}=D_{i}/\tau<1\text{.}$ Multiplying the second inequality by $\kappa_{i}$ and using the first gives

$$(1-\kappa_{i})A+s_{i}B<F_{i}-\frac{\kappa_{i}P_{\pi}}{1-\mu}.$$

Since $B>b(A)\text{,}$ the supporting-line formula Equation 5 gives

$$s_{i}\widehat{f}\!\left(\frac{1-\kappa_{i}}{s_{i}}\right)\leq(1-\kappa_{i})A+s_{i}B.$$

Combining these inequalities yields $P_{\pi}<\Psi(s_{i},F_{i},\kappa_{i},\mu)\leq P_{i}\text{,}$ a contradiction. Thus Equation 16 holds for every stopping ratio at each positive partition point.

Now fix controls at row density at most $1-\mathrm{e}^{-d_{i}}$ and let $\lambda\in[s_{i-1},s_{i}]\text{.}$ Since $F$ is affine on this interval,

$$\max_{0\leq\theta\leq\lambda}\{F(\theta)-\theta\beta\}=\max\{D_{i-1}(\beta),\ F(\lambda)-\lambda\beta\},$$

where $D_{0}=0\text{.}$ The largest terminal difference over all stopping ratios is therefore

$$F(\lambda)-A-\lambda B+w\max\{D_{i-1}(\beta),\ F(\lambda)-\lambda\beta\}.$$

This is convex in $\lambda\text{,}$ being affine plus a positive multiple of a maximum of two affine functions. It is nonpositive at $s_{i}$ by the inequality already proved there. The same holds at $s_{i-1}>0$ because the left slope of $F$ there is at least $d_{i}\text{;}$ at zero the value is $-A<0\text{.}$ Convexity gives Equation 16 throughout the interval. Apply Proposition 5.1. ∎

5.2 The Full Control Interval

For the supplied polygon, the remaining variable is $\tau\in(0,\infty)\text{,}$ with $\mu=1-\mathrm{e}^{-\tau}$ and $\beta(\tau)=-\log(1-\mathrm{e}^{-\tau})\text{.}$ We verify the criterion analytically near zero and infinity, leaving a compact interval for the finite computation. Let $L=1/10$ and $H=10\text{.}$ The supplied data satisfy

$$\beta(L)>d_{1},\qquad\beta(H)<F_{N}/2,\qquad F_{N}<H,\qquad 2H\mathrm{e}^{-H}<P_{1}.$$(21)

For $\tau\leq L\text{,}$ concavity gives $F_{j}\leq d_{1}s_{j}<\beta s_{j}$ for $j>0\text{,}$ so $D_{i}=0\text{.}$ For $\tau\geq H\text{,}$ concavity gives $F_{i}/s_{i}\geq F_{N}$ and hence $D_{i}\geq F_{i}-s_{i}\beta\geq F_{i}/2\text{.}$ Also $D_{i}\leq F_{N}<\tau\text{.}$ The source term in Equation 17 is nonnegative, so

$$\Psi(s_{i},F_{i},\kappa_{i},\mu)\leq\mathrm{e}^{-\tau}\frac{F_{i}\tau}{D_{i}}\leq 2\tau\mathrm{e}^{-\tau}\leq 2H\mathrm{e}^{-H}<P_{1}\leq P_{i}.$$

Thus only the closed interval $[L,H]$ requires subdivision.

On each control cell, outward interval arithmetic first encloses $\beta\text{.}$ The function $D_{i}$ is nonincreasing in $\beta\text{,}$ so its two endpoint evaluations enclose the finite maximum in Equation 19. The source $\widehat{f}$ increases, so its endpoint values enclose the source term in Equation 17. A cell is accepted if it proves $D_{i}=0$ throughout, or a nonpositive numerator in Equation 17 wherever $D_{i}>0\text{.}$ Points with $D_{i}=0$ already satisfy the terminal condition, since $F_{i}<A+s_{i}B\text{.}$ Otherwise the checker requires a positive lower bound for $\kappa_{i}$ before division, and accepts the cell only if it proves $P_{i}-\Psi>0\text{.}$ All other cells are subdivided. The checker verifies an exact closed cover of $[L,H]$ for every positive partition point. Theorem 4 then covers all weights, source supports, stopping ratios, endpoint ratios, and finite depths.

6 The Diagonal Bounds

We now evaluate the two sides of Equation 15. The repository specifies the source, a finite upper proof, and a rational lower polygon, with the following complete interval covers.

ConstructionSizeChecked Cells
Source profile2,279 cubic pieces12,319
Upper proof2,932 routes; depth 271,065,279
Lower polygon2,048 affine pieces853,082

The source inequalities are evaluated at 224 fractional binary bits, and the upper and lower inequalities at both 224 and 320 bits. An independent integer-prefix computation reproduces every route height and loss from the checked primitive enclosures. The repository contains the four rational inputs in data/, the Python certificate checker in proof/, and the Lean formalization in lean/. The Python checker uses only the standard library. Running python proof/replay.py --workers 16 from the repository root writes the results and input and code hashes to proof/build/replay/. The root README.md gives the build and reproduction instructions for both projects.

6.1 Exact Interval Arithmetic

Transcendental quantities are enclosed by intervals whose endpoints are integers divided by a fixed power of two. Rational inputs and arithmetic operations are rounded outward. For logarithms, reduce to $y\in[1,2]$ and put $u=(y-1)/(y+1)\in[0,1/3]\text{.}$ Then

$$\log y=2\sum_{j=0}^{m-1}\frac{u^{2j+1}}{2j+1}+E_{m},\qquad 0\leq E_{m}\leq\frac{3u^{2m+1}}{2m+1}.$$(22)

The tail is at most $2u^{2m+1}/((2m+1)(1-u^{2}))\text{.}$ The same formula encloses $\log 2$ for reversing the scaling.

For the exponential, put $S_{m}(z)=\sum_{j=0}^{m}z^{j}/j!$ for integers $m\geq 0\text{.}$ Successive terms after degree $m$ have ratio at most $z/(m+2)\text{,}$ so a geometric sum gives

$$S_{m}(z)<\mathrm{e}^{z}\leq S_{m}(z)+\frac{z^{m+1}}{(m+1)!}\frac{1}{1-z/(m+2)}\qquad(0<z<m+2).$$(23)

At zero the sum is exact. The interval backend reduces a nonnegative argument to $0\leq y\leq 1/8\text{,}$ where this tail is at most $2y^{m+1}/(m+1)!\text{.}$ Repeated squaring reverses the scaling; negative arguments use outward reciprocals. A logarithm or division is accepted only after its domain is checked. For the final exponential bound, a separate rational calculation applies Equation 23 directly with $m=140$ and compares the upper enclosure with $3.69507\text{.}$

6.2 A Finite Upper Proof

The file data/upper.json contains an ordered list of routes. A call names either a weighted source bound or an earlier route with a terminal control. All 2,932 routes are reachable from the root. The density, height, and output margins are all $10^{-12}\text{;}$ rounding is upward to multiples of $10^{-12}\text{.}$ The source pairs use the inward factor $1-10^{-9}\text{,}$ and we put $\rho=1-2\cdot 10^{-5}\text{.}$

For each control, let $\pi$ be its leaf density when it defines a source bound, and $\rho p$ when it ends a route at outer density $p\text{.}$ The checker computes

$$x_{\rm cap}=(1-\mu)^{w}\pi^{1/(1-\mu)}$$

and an explicit boundary pair $(\xi,\zeta)$ with $\xi\geq x_{\rm cap}\text{.}$ It uses $x=(1-10^{-9})x_{\rm cap}$ and $y=(1-10^{-9})\zeta\text{.}$ Both coordinates are strictly below a supporting pair, and $x<x_{\rm cap}\text{,}$ so the control is strict. Source supports are given explicitly in the data and checked by interval inequalities. For a source leaf, the coefficients $A/(1+w)$ and $(B+w\beta)/(1+w)$ are rounded upward, giving a rational affine upper bound for Equation 7.

For a reused child with stored profile $g$ and stopping ratio $\theta\text{,}$ upward enclosures of its terminal parameters give rational coefficients

$$a^{+}\geq\frac{A+w\theta\beta}{1+w},\qquad b^{+}\geq\frac{B}{1+w},\qquad t^{+}\geq\frac{w}{1+w}.$$

Its called family is

$$\max\{g(s),\ a^{+}+b^{+}s+t^{+}(g(s)-g(\theta))\}+10^{-12}.$$

This dominates Equation 13 with a strict allowance; rounding $t^{+}$ upward is valid because $g(s)-g(\theta)\geq 0\text{.}$

With these calls established, the parent route can be evaluated. Each slope is an upward-rounded enclosure of $c(q_{j})+10^{-12}\text{,}$ so the sums defining $S$ are rational. The endpoint rule in Equation 11 gives $M$ by checking the parent cell endpoints and the child profiles’ partition points inside each cell. With $Q=10^{12}\text{,}$ the parent stores

$$H=\frac{\lceil Q(M+10^{-12})\rceil}{Q},\qquad g=H-S.$$

The checker also verifies the full partitions, density implications, child-domain containment, and strict ordering of child indices. Induction through the ordered list and Theorem 2 prove all its conditional families.

The root has

$$p=\tfrac{1}{2},\qquad\pi=\tfrac{1}{2}-10^{-5},\qquad\theta=\tfrac{1}{4},\qquad\lambda=1,\qquad w=1,\qquad\mu=\tfrac{1}{4}.$$

It has 65 cells and uses the left source support in data/upper.json, at $t\approx 0.383\text{.}$ Exact reconstruction gives $g(1)>1.3\text{,}$ while the second term in Equation 13 is less than $1.2\text{.}$ Adding the output margin yields the constant conditional exponent

$$z_{+}=g(1)+10^{-12}=\frac{1306998938417}{10^{12}}.$$

Thus $U_{\infty}(1/2,1)\leq z_{+}\text{.}$

6.3 The Lower Polygon

The file data/lower.json specifies the 2,049 rational partition points and values of $F\text{.}$ Exact rational comparisons establish positive decreasing slopes and $F(0)=0\text{.}$ Interval comparisons establish Equation 18, the tail bounds in Equation 21, and $d_{N}>\log 2\text{.}$ The 853,082 closed control cells verify Equation 20. Theorem 4 and Proposition 5.1 therefore give

$$z_{-}:=F(1)=\frac{1305460275532}{10^{12}}\leq U_{\infty}(1/2,1).$$

The resulting interval for the finite-proof optimum has width less than $0.0016\text{.}$

Proof of Theorem 1.

The finite upper proof and the preserved polygon give Equation 1 by Theorem 3. In an arbitrary two-coloring, interchange the colors so that red has density at least $1/2$ and apply the root conditional bound. Its constant is

$$\frac{3(1-\pi)}{1/2-\pi}=150003,$$

which proves Equation 2. An independent rational Taylor enclosure gives $\mathrm{e}^{z_{+}}<3.69507\text{.}$ This strict gap absorbs the fixed factor and the ceiling for sufficiently large $k\text{.}$ ∎

References

Appendix A The Finite-Host Weighted Inequality

We prove the estimate used in Lemma 2.1. Its stopping assumption concerns only proper subsets of the host. This lets the same estimate prove the source bound by a smallest-counterexample argument in Appendix B.

Lemma A.1 (Finite-Host Weighted Candidate Bound).

Fix $w>0$ and parameters in $(0,1)$ satisfying

$$x_{0}<\widehat{x},\qquad y_{0}<\widehat{y},\qquad x_{0}<(1-\mu_{0})^{w}p^{1/(1-\mu_{0})}.$$

There is $L_{0}\text{,}$ depending only on these parameters, with the following property, uniformly in $C\geq 1$ and the finite host coloring $H\text{.}$ Fix $\ell\geq L_{0}\text{,}$ and suppose that for every integer $a\geq 1\text{,}$ every proper subset $Z\subsetneq V(H)$ of size

$$|Z|\geq C\widehat{x}^{-a}\widehat{y}^{-\ell}$$(24)

contains a red $K_{a}$ or a blue $K_{\ell}\text{.}$ Then, for all $k,t\geq 1\text{,}$ every candidate in $H$ satisfying

$$d_{R}(X,Y)\geq p,\qquad|X|^{w}|Y|\geq C^{w+1}x_{0}^{-k}y_{0}^{-\ell}\mu_{0}^{-wt}$$(25)

is $(k,\ell,t)$-good.

Proof.

We adapt the candidate induction of [GNNW, Lemma 12] to unequal weights. After removing rows with too few red neighbors, we either pass to a common blue neighborhood or choose a vertex whose red or blue child satisfies the induction hypothesis. A power of the excess red density controls the size loss in these steps.

Choose a fixed integer $r>\max\{1,w\}$ so large that $p^{1/r}>\mu_{0}$ and

$$x_{0}<(p^{1/r}-\mu_{0})^{r}(1-\mu_{0})^{w-r}.$$

The logarithm of the right side tends to $w\log(1-\mu_{0})+\log p/(1-\mu_{0})\text{.}$ The function

$$x_{0}^{1/r}(1-q)^{1-w/r}+\mu_{0}^{w/r}q^{1-w/r}$$

increases until $q=\mu_{0}/(\mu_{0}+x_{0}^{1/w})>\mu_{0}\text{,}$ and is less than $p^{1/r}$ at $q=\mu_{0}\text{.}$ By continuity choose

$$x_{0}<x<\widehat{x},\quad y_{0}<y<\widehat{y},\quad\mu_{0}<\mu<\beta<1,\quad 0<\delta<p/2,$$

and $\gamma>0$ so that, with $\bar{p}=p-\delta\text{,}$

$$\max_{0\leq q\leq\beta}\{x^{1/r}(1-q)^{1-w/r}+\mu^{w/r}q^{1-w/r}\}\leq(1-\gamma)\bar{p}^{1/r}.$$(26)

All these choices precede $C,H,k,\ell,t\text{.}$

Put $n=k+t\text{,}$ $\delta_{n}=\delta/n\text{,}$ and induct on $n\text{,}$ for fixed sufficiently large $\ell\text{,}$ using the stronger hypothesis

$$d_{R}(X,Y)\geq p-\delta_{n},\qquad Q_{n}=(d_{R}(X,Y)-p+\delta_{n})^{r}|X|^{w}|Y|\geq C^{w+1}x^{-k}y^{-\ell}\mu^{-wt}.$$(27)

After canceling $C^{w+1}\text{,}$ the conditions in Equation 25 imply this once $\ell$ is large, uniformly in $k,t\text{,}$ because

$$(\delta/n)^{r}(x/x_{0})^{k}(y/y_{0})^{\ell}(\mu/\mu_{0})^{wt}\geq 1.$$

The factors involving $k,t$ grow exponentially in $n\text{,}$ so their ratio to $n^{r}$ has a positive infimum; increasing $\ell$ makes the inequality hold. If $k=1$ or $t=1\text{,}$ any vertex of $X$ suffices. Henceforth $k,t\geq 2\text{,}$ and the density excess lies in $(0,1)\text{.}$

Regularize and stop if $Y$ is large. Delete rows of red degree less than $(p-\delta_{n})|Y|\text{.}$ The excess edge count $E=e_{R}(X,Y)-(p-\delta_{n})|X||Y|$ increases, and

$$Q_{n}=E^{r}|X|^{w-r}|Y|^{1-r}$$

does not decrease, since $r>w\text{.}$ Positive excess prevents deletion of the last row. Every nonempty $T\subseteq X$ now has $d_{R}(T,Y)\geq p-\delta_{n}\text{.}$ If $|Y|\geq C\widehat{x}^{-k}\widehat{y}^{-\ell}\text{,}$ apply the stopping assumption with $a=k\text{;}$ $Y$ is proper because $X\neq\varnothing\text{.}$ Otherwise $Q_{n}\leq|X|^{w}|Y|$ implies

$$|X|^{w}>C^{w}(\widehat{x}/x)^{k}(\widehat{y}/y)^{\ell}\mu^{-wt},\qquad|X|\geq C\exp(c(k+\ell+t))$$(28)

for a fixed $c>0\text{.}$

Find a common blue neighborhood or a suitable vertex. Define

$$b=\left\lceil\frac{2r\log n+r\log(1/\delta)+w\log 2}{w\log(\beta/\mu)}\right\rceil,\qquad m=\lceil 10\beta^{-1}b^{2}\rceil,$$

and $W=\{v\in X:\deg_{B}(v,X)\geq\beta|X|\}\text{.}$ Put $\xi_{n}=\delta/(2n^{2})\text{.}$ We choose $L_{0}$ once so that

$$|X|\geq 5m^{2},\qquad R(k,m)<\bar{p}\xi_{n}|X|,\qquad\frac{2n^{2}}{\delta|X|}<\gamma.$$

To justify a uniform choice, note that $b=O(\log n)\text{,}$ $m=O((\log n)^{2})\text{,}$ and $R(k,m)\leq\binom{k+m-2}{m-1}\leq k^{m-1}\text{;}$ the last inequality counts nondecreasing tuples in $\{1,\ldots,k\}^{m-1}\text{.}$ The logarithm of each required lower bound on $|X|$ is therefore $O((\log n)^{3})\text{.}$ Subtracting $cn$ leaves a function bounded above in $n\text{,}$ so Equation 28 supplies all three bounds for one $L_{0}\text{,}$ independently of $C\geq 1,k,t\text{.}$ We use the common-neighborhood averaging argument of [GNNW, Lemma 9]. When $|W|\geq R(k,m)\text{,}$ either a red $K_{k}$ finishes the proof, or $W$ contains a blue $m$-clique $U\text{.}$ Put $N_{X}=|X|\text{.}$ The blue density $\sigma$ between $U$ and $X\setminus U$ satisfies

$$\sigma\geq\frac{\beta N_{X}-m}{N_{X}-m}=\beta-\frac{(1-\beta)m}{N_{X}-m}\geq\beta-\frac{1}{4m}.$$

Choose a uniform $b$-subset of $U\text{,}$ and let $T$ be its common blue neighborhood in $X\setminus U\text{.}$ Convexity of the piecewise-linear extension of $j\mapsto\binom{j}{b}$ on nonnegative integers gives

$$\mathbb{E}|T|\geq(N_{X}-m)\frac{\binom{\lfloor\sigma m\rfloor}{b}}{\binom{m}{b}}\geq(N_{X}-m)(\sigma-b/m)^{b}.$$

The second inequality follows factor by factor from the binomial product. Since $m\geq 10\beta^{-1}b^{2}\text{,}$

$$\sigma-b/m\geq\beta\left(1-\frac{1}{8b}\right)>0,\qquad N_{X}-m\geq\frac{4}{5}N_{X}.$$

Bernoulli’s inequality gives $\mathbb{E}|T|\geq(7/10)\beta^{b}N_{X}\text{.}$ Thus some blue $b$-clique $S\subseteq U$ has a disjoint common blue neighborhood $T$ with $|T|\geq\beta^{b}|X|/2\text{.}$

If $b\geq t\text{,}$ then $S$ already contains the required blue clique. For $b<t\text{,}$ we have

$$\delta_{n-b}-\delta_{n}\geq\delta/n^{2},\qquad Q_{n-b}(T,Y)\geq(\delta/n^{2})^{r}2^{-w}\beta^{wb}|X|^{w}|Y|\geq C^{w+1}x^{-k}y^{-\ell}\mu^{-w(t-b)}.$$

The last inequality uses $Q_{n}\leq|X|^{w}|Y|$ and $(\beta/\mu)^{wb}\geq 2^{w}(n^{2}/\delta)^{r}\text{,}$ which follows from the choice of $b\text{.}$ Induction applies; a blue $K_{t-b}$ in $T$ joins $S$ to form a blue $K_{t}\text{,}$ and either of the other two outcomes already suffices.

We may now assume $|W|<R(k,m)<\bar{p}\xi_{n}|X|\text{.}$ Put $Y_{v}=N_{R}(v)\cap Y\text{,}$ $d=d_{R}(X,Y)\text{,}$ and $E_{0}=e_{R}(X,Y)\text{.}$ Row regularization gives $|Y_{v}|\geq\bar{p}|Y|>0$ for every $v\in X\text{.}$ Counting by vertices in $Y$ and applying Cauchy–Schwarz gives

$$\sum_{v\in X}d_{R}(X,Y_{v})|Y_{v}|=\frac{1}{|X|}\sum_{y\in Y}\deg_{R}(y,X)^{2}\geq dE_{0}.$$

Removing the terms indexed by $W$ loses at most $|W||Y|\text{,}$ so

$$\sum_{v\notin W}d_{R}(X,Y_{v})|Y_{v}|\geq dE_{0}-|W||Y|>(d-\xi_{n})E_{0}\geq(d-\xi_{n})\sum_{v\notin W}|Y_{v}|.$$

Here $E_{0}\geq\bar{p}|X||Y|$ and $d-\xi_{n}>0\text{.}$ Hence some $v\notin W$ satisfies $d_{R}(X,Y_{v})\geq d-\xi_{n}\text{.}$

Pass to a red or blue child. Set $Y^{\prime}=Y_{v}\text{,}$ $X_{R}=N_{R}(v)\cap X\text{,}$ $X_{B}=N_{B}(v)\cap X\text{,}$ and

$$a=|X_{R}|/|X|,\quad q=|X_{B}|/|X|,\quad\alpha=d_{R}(X,Y^{\prime})-p+\delta_{n-1}.$$

Then $a+q\leq 1\text{,}$ $q\leq\beta\text{,}$ and $\alpha\geq d-p+\delta_{n}+\delta/(2n^{2})>0\text{.}$ For $\chi\in\{R,B\}\text{,}$ set $\alpha_{\chi}=d_{R}(X_{\chi},Y^{\prime})-p+\delta_{n-1}$ when $X_{\chi}\neq\varnothing\text{,}$ and set $\alpha_{\chi}=0$ otherwise. Write $u_{+}=\max\{u,0\}$ and

$$Q_{\chi}=(\alpha_{\chi})_{+}^{r}|X_{\chi}|^{w}|Y^{\prime}|.$$

Splitting $X$ into its two children and the root gives

$$1\leq a\frac{(\alpha_{R})_{+}}{\alpha}+q\frac{(\alpha_{B})_{+}}{\alpha}+\frac{1}{\alpha|X|}.$$(29)

The root’s contribution is $(1-p+\delta_{n-1})/(\alpha|X|)\leq 1/(\alpha|X|)\text{.}$ We claim that

$$Q_{R}\geq xQ_{n}\qquad\text{or}\qquad Q_{B}\geq\mu^{w}Q_{n}.$$

If both inequalities failed, then $Q_{n}\leq\alpha^{r}|X|^{w}|Y|\text{,}$ $|Y^{\prime}|\geq\bar{p}|Y|\text{,}$ and Equation 29 would give

$$1\leq\bar{p}^{-1/r}\{x^{1/r}a^{1-w/r}+\mu^{w/r}q^{1-w/r}\}+\frac{1}{\alpha|X|}\leq 1-\gamma+\frac{2n^{2}}{\delta|X|}<1.$$

The second inequality uses $a\leq 1-q$ and Equation 26; the last is one of our three size bounds. Thus one child has a positive value of $Q_{n-1}$ meeting Equation 27, with $k$ reduced by one in the red child or $t$ reduced by one in the blue child. Induction applies. The root extends a red $K_{k-1}$ in $X_{R}\cup Y^{\prime}\text{,}$ or a blue $K_{t-1}$ in $X_{B}\text{,}$ respectively. Every other good outcome already gives a required clique. ∎

Corollary A.2 (Local Density Bound).

Under the stopping assumption of Lemma A.1, fix $w>0$ and $\mu,p,x,y\in(0,1)$ with $x<\widehat{x}\text{,}$ $y<\widehat{y}\text{,}$ and $x<(1-\mu)^{w}p^{1/(1-\mu)}\text{.}$ If a host has red density at least $p$ and order

$$N\geq Cx^{-k/(w+1)}(y\mu^{w})^{-\ell/(w+1)},$$(30)

then it contains a red $K_{k}$ or a blue $K_{\ell}$ for all sufficiently large $\ell\text{,}$ with a threshold independent of $C\geq 1$ and $k\text{.}$

Proof.

Choose $y<y_{1}<\widehat{y}\text{.}$ A uniformly chosen balanced partition has expected cross-density equal to the host density, so some disjoint $X,Y\text{,}$ each of size at least $N/3\text{,}$ satisfy $d_{R}(X,Y)\geq p\text{.}$ For large $\ell\text{,}$ $(y_{1}/y)^{\ell}\geq 3^{w+1}\text{.}$ The order bound therefore supplies Equation 25 at $(x,y_{1})$ with $t=\ell\text{,}$ and Lemma A.1 applies. ∎

Appendix B Admissibility of the Source

We first give a criterion for a concave Ramsey profile, then verify it for the specified function $f\text{.}$ For a continuous $F$ on $[0,1]$ with $F(0)=0\text{,}$ define

$$G_{F}(a,b)=\max(a,b)F\!\left(\frac{\min(a,b)}{\max(a,b)}\right),$$
$$\mathcal{B}_{F}=\{(x,y)\in(0,1)^{2}:G_{F}(a,b)\leq-a\log x-b\log y\text{ for all }a,b>0\}.$$

Thus $\mathcal{B}_{F}$ consists of the exponential bounds that dominate the profile in both coordinates. For $F=f\text{,}$ this agrees with the source pairs in Section 2, since $G_{f}(a,b)=b\widehat{f}(a/b)\text{.}$ In the source criterion, $X,Y$ denote scalar support parameters.

Lemma B.1 (Source Criterion).

Suppose $F$ is continuous on $[0,1]\text{,}$ $F(0)=0\text{,}$ is $C^{1}$ and concave on $(0,1]\text{,}$ and has $F^{\prime}>0\text{.}$ If for every $s\in(0,1]$ there are $w>0\text{,}$ $\mu,Y\in(0,1)$ with

$$p_{0}(s)=1-\mathrm{e}^{-F^{\prime}(s)},\quad X=(1-\mu)^{w}p_{0}(s)^{1/(1-\mu)},\quad(X,Y)\in\mathcal{B}_{F},$$

and

$$(w+1)F(s)+\log X+s\log Y+ws\log\mu>0,$$(31)

then, for every $\varepsilon>0\text{,}$ some $C_{\varepsilon}\geq 1$ satisfies

$$R(a,b)\leq\left\lceil C_{\varepsilon}\exp\bigl(G_{F}(a,b)+\varepsilon(a+b)\bigr)\right\rceil\qquad(a,b\in\mathbb{Z}_{\geq 1}).$$(32)
Proof.

Fix $\varepsilon>0\text{.}$ We first choose finitely many local bounds, then apply one of them to a smallest counterexample. Since $F(0)=0$ and $F^{\prime}>0\text{,}$ we have $F\geq 0\text{.}$ Choose $0<\alpha<1$ with $h(\alpha)<\varepsilon/2\text{;}$ the classical bound will handle smaller ratios. At each $s_{0}\in[\alpha,1]\text{,}$ choose $w,\mu,X,Y$ as in the hypothesis and put $\bar{x}=\mathrm{e}^{-\varepsilon}X\text{,}$ $\bar{y}=\mathrm{e}^{-\varepsilon}Y\text{.}$ Scaling the controls this way and replacing $F(s_{0})$ by $F(s_{0})+\varepsilon(1+s_{0})$ increases the slack by $w\varepsilon(1+s_{0})\text{.}$ We may therefore choose

$$0<x<\widehat{x}<\bar{x},\qquad 0<y<\widehat{y}<\bar{y},\qquad 0<p<p_{0}(s_{0}),$$

close enough to $(\bar{x},\bar{y},p_{0}(s_{0}))$ that $x<(1-\mu)^{w}p^{1/(1-\mu)}$ and

$$H(t):=-\frac{\log x+t\log(y\mu^{w})}{w+1},\qquad H(s_{0})<F(s_{0})+\varepsilon(1+s_{0}).$$

Continuity gives a neighborhood on which this inequality holds and $p_{0}(s)>p+2\eta_{s_{0}}$ for some $\eta_{s_{0}}>0\text{.}$ A finite subcover gives $\eta>0$ and a common threshold $L\geq 2$ for Corollary A.2, both independent of $C\text{.}$ At every $s\in[\alpha,1]\text{,}$ one selected local bound satisfies $H(s)<F(s)+\varepsilon(1+s)$ and $p_{0}(s)>p+2\eta\text{.}$ Every selected pair also satisfies

$$-a\log\widehat{x}-b\log\widehat{y}\geq G_{F}(a,b)+\varepsilon(a+b)\qquad(a,b>0),$$(33)

by the support condition and the scaling by $\mathrm{e}^{-\varepsilon}\text{.}$

Choose an integer $K$ with $\alpha K\geq L\text{,}$ and then $C\geq\max\{3,2/\eta,4^{K}\}\text{.}$ Suppose there is a coloring with no required clique at an integer order

$$N\geq C\exp\bigl(G_{F}(a,b)+\varepsilon(a+b)\bigr).$$

Choose one of smallest order among all parameter pairs and colorings. Interchange the colors if needed and write its targets as $k\geq\ell\text{.}$ The classical bound [ES] excludes $k<K\text{.}$ It also excludes $\ell/k\leq\alpha\text{,}$ since

$$\log R(k,\ell)\leq kh(\ell/k)\leq kh(\alpha)<\varepsilon k/2\leq kF(\ell/k)+\varepsilon(k+\ell)+\log C.$$

Thus $s=\ell/k\in[\alpha,1]$ and $\ell\geq L\text{.}$

For every integer $a\geq 1\text{,}$ minimality and Equation 33 give a red $K_{a}$ or a blue $K_{\ell}$ in each proper subset satisfying Equation 24. Thus the stopping assumption of Corollary A.2 holds for the local bound selected at $s\text{.}$ If the host’s red density is at least $p_{0}(s)-\eta>p\text{,}$ then $N>C\mathrm{e}^{kH(s)}\text{,}$ and Corollary A.2 gives a required clique.

Otherwise its blue density exceeds $q=\mathrm{e}^{-F^{\prime}(s)}+\eta<1\text{.}$ A blue neighborhood $Z$ has size at least $q(N-1)>N\mathrm{e}^{-F^{\prime}(s)}\text{,}$ since $N\eta>1\text{.}$ Concavity gives

$$k\bigl(F(s)-F(s-1/k)\bigr)\geq F^{\prime}(s).$$

Consequently

$$|Z|>N\mathrm{e}^{-F^{\prime}(s)}\geq\mathrm{e}^{\varepsilon}C\exp\bigl(kF(s-1/k)+\varepsilon(k+\ell-1)\bigr).$$

The proper subset $Z$ therefore has order above the proposed $(k,\ell-1)$ threshold. Minimality gives a red $K_{k}$ or a blue $K_{\ell-1}\text{;}$ in the latter case, add the chosen vertex. Either outcome contradicts the choice of the host.

Hence Equation 32 holds. For $1\leq b\leq a\text{,}$ its logarithm is at most $aF(b/a)+2\varepsilon a+\log(2C_{\varepsilon})\text{.}$ Since $\varepsilon$ is arbitrary, the error is uniform in $b\text{.}$ ∎

B.1 The Piecewise Cubic Profile

We now verify the criterion for $f$ in Equation 3. The function $P$ has 2,279 rational cubic pieces. The file data/source.json gives the rational partition points, values, and derivatives of $P\text{.}$ On a cell $[a,b]\text{,}$ set $u=t-a\text{,}$ $\delta=b-a\text{,}$ and $\Delta=P(b)-P(a)\text{.}$ Its exact polynomial is

$$P(a+u)=P(a)+P^{\prime}(a)u+\frac{3\Delta/\delta-2P^{\prime}(a)-P^{\prime}(b)}{\delta}u^{2}+\frac{P^{\prime}(a)+P^{\prime}(b)-2\Delta/\delta}{\delta^{2}}u^{3}.$$

Exact endpoint identities ensure that $P$ is globally $C^{1}\text{.}$ For $t>0$ in the interior of a piece, with $j(t)=t\mathrm{e}^{-t}P(t)\text{,}$

$$j^{\prime\prime}(t)=\mathrm{e}^{-t}\bigl((t-2)P+(2-2t)P^{\prime}+tP^{\prime\prime}\bigr),\qquad f^{\prime\prime}(t)=-\frac{1}{t(1+t)}+j^{\prime\prime}(t).$$

The cover in data/source_cells.json proves $1-t(1+t)j^{\prime\prime}(t)>0$ on each closed piece, using that piece’s endpoint derivatives, together with $f^{\prime}(1)>0$ and $2f^{\prime}(1)>f(1)\text{.}$ Consequently $f(0)=0\text{,}$ $f$ is continuous on $[0,1]\text{,}$ $C^{1}$ on $(0,1]\text{,}$ strictly concave and increasing.

To describe the boundary of $\mathcal{B}_{f}\text{,}$ put $x_{f}(t)=\mathrm{e}^{-f^{\prime}(t)}$ and $y_{f}(t)=\mathrm{e}^{tf^{\prime}(t)-f(t)}\text{.}$ Their endpoint limits are

$$x_{f}(t)=\frac{t}{1+t}\mathrm{e}^{-j^{\prime}(t)}\longrightarrow 0,\qquad y_{f}(t)=\frac{1}{1+t}\mathrm{e}^{tj^{\prime}(t)-j(t)}\longrightarrow 1.$$

Strict concavity makes $x_{f}$ increasing and $y_{f}$ decreasing. Also $x_{f}(t)<y_{f}(t)\text{:}$ the function $(1+t)f^{\prime}(t)-f(t)$ decreases to its positive value at $t=1\text{.}$ Writing $x_{1}=x_{f}(1)$ and $y_{1}=y_{f}(1)\text{,}$ the upper boundary is

$$Y_{f}(x)=\begin{cases}y_{f}(t),&0<x<x_{1},\quad x_{f}(t)=x,\\ \mathrm{e}^{-f(1)}/x,&x_{1}\leq x\leq y_{1},\\ x_{f}(t),&y_{1}<x<1,\quad y_{f}(t)=x.\end{cases}$$(34)

These are the supporting lines of $\widehat{f}$ on its two smooth branches and at its corner. Thus $b(A)=-\log Y_{f}(\mathrm{e}^{-A})\text{.}$

B.2 The Source Inequalities

The file data/source_cells.json supplies a cover of 12,319 closed cells and rational controls $r,w>0$ on each cell. Set $\mu=tr\text{,}$ take $X$ as in Lemma B.1, and choose $Y=Y_{f}(X)\text{.}$ With $\Delta_{f}$ denoting the left side of Equation 31, the cell inequalities give

$$\Delta_{f}(t)/t>10^{-8}\qquad(0<t\leq 1).$$

The cell inequalities also establish $0<\mu,p_{0}<1$ for positive $t\text{.}$ Since Lemma B.1 requires controls at each ratio, they may be chosen separately on each cell.

Near zero, we cancel the logarithmic terms before evaluating the slack. Define

$$L_{+}(u)=\frac{\log(1+u)}{u},\qquad L_{-}(u)=\frac{-\log(1-u)}{u},\qquad L_{+}(0)=L_{-}(0)=1,$$
$$U=(1+t)L_{+}(t)+\mathrm{e}^{-t}P(t),\quad u=\frac{\mathrm{e}^{-j^{\prime}(t)}}{1+t},\quad V=wrL_{-}(tr)+\frac{uL_{-}(tu)}{1-tr},$$
$$J(s)=L_{+}(s)+s\mathrm{e}^{-s}(P(s)-P^{\prime}(s)).$$

Then $f(t)/t=-\log t+U$ and $\log X=-tV\text{.}$ On the right supporting branch, write $X=y_{f}(t\sigma)\text{,}$ $Y=x_{f}(t\sigma)\text{.}$ Here $\log Y=\log t+\log\sigma-\log(1+t\sigma)-j^{\prime}(t\sigma)$ and $\log\mu=\log t+\log r\text{.}$ The terms in $\log t$ cancel in the normalized slack, giving

$$\begin{aligned} \displaystyle\sigma J(t\sigma) & \displaystyle=V, \\ \displaystyle\Delta_{f}(t)/t & \displaystyle=(w+1)U-V+\log\sigma-\log(1+t\sigma)-j^{\prime}(t\sigma)+w\log r. \end{aligned}$$

As $t\downarrow 0\text{,}$ $X\to 1$ implies $t\sigma\to 0\text{,}$ since $y_{f}$ is strictly decreasing with limit 1 only at zero. Thus $\sigma J(t\sigma)=V$ and $J(0)=1$ give the continuous extension $\sigma(0)=V(0)=wr+\mathrm{e}^{-P(0)}>0\text{.}$ On each cell near zero, the checker verifies the branch, a positive bracket for $\sigma\text{,}$ and $t\sigma\leq 1\text{.}$ The root is unique: $\sigma\mapsto\sigma J(t\sigma)=-\log y_{f}(t\sigma)/t$ is strictly increasing for $t>0\text{,}$ and is the identity at zero.

The verifier evaluates complete finite polynomial expansions. Source inverse brackets are accepted only after outward-rounded endpoint inequalities prove them. When $t$ and $t\sigma(t)$ lie in the interiors of source pieces, possibly different ones,

$$\sigma^{\prime}=\frac{V^{\prime}-\sigma^{2}J^{\prime}(t\sigma)}{J(t\sigma)+t\sigma J^{\prime}(t\sigma)},$$

with a checked positive denominator. The integral representations

$$L_{+}(u)=\int_{0}^{1}\frac{da}{1+ua},\qquad L_{-}(u)=\int_{0}^{1}\frac{da}{1-ua}$$

give endpoint enclosures for these functions and their derivatives, including at zero. Away from zero, the function $u\mapsto\log Y_{f}(\mathrm{e}^{u})\text{,}$ with $u<0\text{,}$ has derivative $-s\text{,}$ $-1\text{,}$ or $-1/s$ on the three branches of Equation 34, where $s$ is the supporting parameter. These derivatives agree at the branch junctions.

Together with Equations 22 and 23, these identities enclose each slack and its derivative. An enclosure at the cell center plus the derivative interval times the displacement encloses the slack throughout the cell. When a cell crosses a source partition point, enclosures from every adjoining piece are combined. The continuous compositions are locally Lipschitz, and the stated derivative bounds hold almost everywhere; integrating those bounds justifies the same enclosure across a junction. The complete cover verifies the hypotheses of Lemma B.1, which gives Equation 4 with an error uniform in $b\text{.}$