← All papers
First page of Improving the stepping-up lemma for hypergraph Ramsey numbers, with proofs verified in Lean

Improving the stepping-up lemma for hypergraph Ramsey numbers, with proofs verified in Lean

Christian Lysenstøen

math.CO Nov 26, 2026 · v1 cs.DM cs.LO
Formalizes new stepping-up lemmas for hypergraph Ramsey numbers in Lean 4 with Mathlib; proofs largely written by an LLM-based autonomous system.
The stepping-up lemma of Erdős and Hajnal turns a colouring of the $k$-subsets of an $N$-set into a colouring of the $(k+1)$-subsets of a $2^N$-set. We give versions that keep the palette and accept every input colouring. At $k=4$, Theorem A raises two sizes by two and the others by one; in particular $R(s+2,t+2;5)>2^{R(s,t;4)-1}$ for all $s,t\ge4$, where Theorem 4 of Conlon, Fox and Sudakov gives $(s+3,t+3)$. At odd $k\ge5$ we show $R(k+2,2n+k-2\lceil\log_2(k+1)\rceil;k+1)>2^{R(k+1,n;k)-1}$ for all $n\ge k+1$, and the second size is sharp for the colouring we use; at $k=5$ it is $2n-1$, where the published transfers of Mubayi and Suk give $6n$ and $12n$. From published colourings, our sizes for the two-input step of He, Nie, Wigderson and Yu at $k=3$ give $R(8,8;4)>2^{37}$, and Theorem A gives $R(7,7;5)>2^{48}$ and $R(7,8;5)>2^{200}$; from a new colouring of the $4$-subsets of the projective line over $\mathbb{F}_{857}$, which shows $R(5,7;4)\ge859$, it gives $R(7,9;5)>2^{858}$. These four bounds exceed those given by the ordered-path theorem of Moshkovitz and Shapira, and to our knowledge they are the best known lower bounds for these numbers. With two colours we also obtain $(+1,+2)$ at every $k\ge5$ once the sizes pass explicit floors, against $(+2,+2)$ at odd $k$ and $(+3,+3)$ at even $k$ from Conlon, Fox and Sudakov, and $R(k+2,n+2;k+1)>2^{R(k+1,n;k)-1}$ at every $k\ge7$ once $n\ge\max(k+1,2^{k-3}-1)$. As in the colouring of Jartoux, Keller, Smorodinsky and Yuditsky, every caterpillar takes the input colour of its set of splitting levels; where they use one to three new colours, we colour the other sets with original colours. Theorems A-D and the step with two input colourings are formalized in Lean 4 with Mathlib. A new colouring of the triples of $\mathbb{Z}_{100}$ shows $R(5,5;3)\ge101$. The formal proofs, the two colourings and programs that check them accompany the paper.

The Erdős–Hajnal stepping-up lemma turns a colouring of k-subsets into a colouring of (k+1)-subsets of an exponentially larger set. The sizes it achieves, and those in later palette-preserving versions such as Conlon–Fox–Sudakov, give weak lower bounds on hypergraph Ramsey numbers. The aim is to improve these sizes while keeping the palette fixed and accepting every input colouring.

The new colourings follow Jartoux–Keller–Smorodinsky–Yuditsky: each caterpillar receives the input colour of its set of splitting levels. Non-caterpillar sets are given original colours rather than new ones, using combinatorial lemmas on the cube about rank and near-caterpillars. Theorems A–D, the two-input step and several remarks are formalized in Lean 4 with Mathlib. Most of the theorems and their Lean proofs were produced by Solon, an autonomous research system built on Claude and Codex. New explicit colourings are given, together with programs that check them.

Theorem A gives R(s+2,t+2;5)>2^{R(s,t;4)-1} for all s,t≥4. Further results give improved sizes at odd k≥5 and other uniformities, and new lower bounds including R(7,7;5)>2^{48}, R(7,9;5)>2^{858} and R(8,8;4)>2^{37}. New colourings show R(5,7;4)≥859 and R(5,5;3)≥101.

inputsourceby Theorem A
R(5,5;4) ≥ 49[34]R(7,7;5) > 2^48
R(5,6;4) ≥ 201[23]R(7,8;5) > 2^200
R(5,7;4) ≥ 859Prop. 8.1R(7,9;5) > 2^858
Lower bounds obtained from published or new colourings via Theorem A