Ramsey Numbers and Extremal Graphs: Two Combinatorics Results
The last two chapters of OpenAI’s collection of ten results sit in extremal combinatorics.1 They are the most classical problems in the set: one asks how many colours you need before a triangle becomes unavoidable, the other asks how many edges a graph can carry while avoiding a fixed subgraph.
Both chapters answer questions that Erdős posed and, in two cases, attached prize money to. Neither answer is a small improvement to a constant. The Ramsey chapter closes a gap between an exponential lower bound and a factorial upper bound that had stood since the 1950s. The extremal chapter produces explicit graphs that falsify two conjectures about how extremal numbers should behave.
The multicolour Ramsey function
Write for the least such that every colouring of the edges of the complete graph with colours contains a monochromatic triangle. For the answer is 6: the edges of split into an outer pentagon and an inner pentagram, each a five-cycle and therefore triangle-free, while no two-colouring of escapes.
The pigeonhole argument behind generalises. Pick a vertex, look at its edges, and note that some colour appears on at least of them. If that neighbourhood contains an edge of the same colour you have a triangle; otherwise you have reduced to a -colour problem on a smaller vertex set. Iterating the recurrence gives the Erdős–Szekeres-style bound, which after successive refinements stands at
Factorial growth. Written in the form , this says .
Lower bounds worked from the other side, by exhibiting triangle-free colourings. The standard tool is a product construction: a triangle-free -colouring on vertices and a triangle-free -colouring on vertices combine into a triangle-free -colouring on vertices, so
Tensoring a good small colouring with itself is efficient, but it is inherently exponential: the best you can extract is for whatever base your seed colouring supplies. Decades of work on sum-free partitions and hand-found colourings pushed that base up, ending at .
The gap was not a constant factor
An exponential lower bound against a factorial upper bound is a widening gap, not a stubborn constant. Fekete’s lemma applied to the product construction shows the limit
exists in , and the open question was whether it is finite at all. Erdős offered $250 for the value of and $100 for deciding whether it is finite. Graham, Rothschild and Spencer recorded the superexponential growth question in their textbook; Conlon, Fox and Sudakov flagged the exponential-versus-factorial gap again in their survey.2
Plotting the exponent makes the shape of the gap visible. The old lower bound’s exponent decays like , so it certified nothing at all in the limit.
- Upper bound (classical)
- Rk(3) ≤ (e − 1/6)·k! + 1 for k ≥ 4
- k(1+o(1))k, factorial growth
- Lower bound (before)
- Rk(3) ≥ 380k/5 − O(1)
- purely exponential; θ decays like 1/log k
- Lower bound (this work)
- Rk(3) ≥ (c·k1/3 / log k)k
- k(1/3−o(1))k, superexponential, so Rk(3) = kΘ(k)
Chapter 9 proves the following.
Combined with the factorial upper bound this gives
and in particular . The growth rate is now pinned to within a constant factor in the exponent’s exponent, which is the coarse question that had been open. The exact constant, whether is , , or something between, remains open.
How the colouring is built
The construction is recursive and its invariant is stronger than triangle-freeness: at stage , each colour class is required to be properly -colourable as a graph.
Vertices are grouped into blocks. Each block carries a palette , a subset of the available colours, recording exactly which colours are missing from that block; the rest are active there. Inside a block sits a relabelled copy of the previous stage’s colouring, using only the active colours, so every active colour arrives with a proper vertex labelling.
The work is in colouring edges between two blocks. Because the palettes were chosen by a maximal packing, distinct palettes differ in many colours in each direction, so for blocks there are colours and . A vertex’s internal labels in those colours form a word in . The choice of cross-edge colour is then made by a pair of fixed maps with the property that for all words there is a coordinate with
Such maps come from a saturated matrix: a random matrix over colours in which any columns contain a row displaying every colour, which a union bound supplies for and . This ingredient is adapted from work of Alon, Ben-Eliezer, Shangguan and Tamo on zero-error list decoding; the chapter’s contribution is applying it to .
Two consequences do the combinatorial work. Every cross-edge colour is active at exactly one endpoint’s block and missing at the other, and the proper label at the active endpoint is determined by the opposite endpoint. Triangles spanning two blocks die because two same-coloured edges from an outside vertex force equal internal labels, so the edge between their endpoints cannot carry that colour. Triangles spanning three blocks die by a parity argument on symmetric differences: a colour would have to lie in , and simultaneously, which is impossible.
Multiplying palette-family sizes over stages yields a triangle-free colouring with colours on at least vertices. Since , that is the theorem.
A corollary about Shannon capacity
The Ramsey–Shannon correspondence, implicit in Erdős, McEliece and Taylor and made explicit by Alon and Orlitsky, converts the bound into a statement about information theory.3 Given a triangle-free -colouring of , let be the graph of colour and take the complete join . Then , while the diagonal words form an independent set in the -fold strong power, so the Shannon capacity satisfies .
Setting and using produces graphs with independence number 2 and arbitrarily large Shannon capacity. Shannon capacity therefore cannot be bounded above by any function of the independence number.
Turán-type extremal numbers
Chapter 10 changes the question. For a family of graphs, the extremal number is
where -free means containing no member of as a subgraph. For a single graph one writes . When is bipartite the answer is a polynomial for some exponent, and determining those exponents is the central open programme of the subject.
Compactness: does a family reduce to one member?
Forbidding more graphs can only lower the extremal number. Erdős and Simonovits conjectured that it cannot lower it by much.4 The original formulation has easy counterexamples. The family has while its members have extremal numbers and , so the corrected statement restricts to families whose members all contain a cycle:
For every finite nonempty family of graphs, each containing a cycle, do there exist and with for all large ?
The chapter answers no, and does so with a family whose members are all connected and bipartite.
The construction takes . The two extra pieces come from templates built out of subdivided complete bipartite graphs, where is with every edge replaced by a two-edge path, glued in the style of Bukh and Conlon’s rooted-power construction, then closed under admissible quotients: identifications of vertices that respect the proper two-colouring and stay injective on distinguished subgraphs. Closing under quotients is what makes the family finite and what makes it hard to avoid.
The two bounds come from opposite directions.
- Upper. Counting short paths in any -free host graph forces , and .
- Lower. For each individual , the incidence graph of a generalized quadrangle is -free and has edges. Crucially, the field characteristic is allowed to depend on which is being avoided, so a single host does not have to work for the whole family.
That asymmetry is the whole idea. Every member is individually easy to avoid at density , but no single algebraic host avoids all of them at once, and the gap is polynomial rather than a constant factor.
Degeneracy: does local sparsity fix the exponent?
A graph is -degenerate if every nonempty subgraph has a vertex of degree at most . Erdős conjectured in 1967 that this local sparsity determines the extremal exponent for bipartite graphs:
The conjecture is true in several restricted settings: when one bipartition class has maximum degree at most , for -degenerate blow-ups of trees, and for grids at . Alon, Krivelevich and Sudakov proved the weaker general estimate .5 A companion conjecture of Erdős asserted that is 2-degenerate if and only if ; Janzer disproved the reverse implication in 2021 by building 3-regular bipartite graphs with extremal number , but the forward implication, the case above, stayed open.6
Chapter 10 kills it.
The counterexample is built in layers. Start with a layer of vertices; for each subsequent layer, add one new vertex for every pair of vertices in the previous layer, joined to exactly those two parents. Every new vertex has degree 2 at birth, so is 2-degenerate, connected and bipartite by construction, with layers as a tunable depth.
The lower bound comes from a random host. Take the two sides to be copies of , join opposite vertices whose Hamming distance is at most , then independently retain each vertex with probability . A second-moment computation shows the sampled graph still has edges for suitable and , and padding extends it to every large order.
Showing that does not embed is where the layered design pays off. Each candidate embedding is scored by an entropy potential: for a parent array and child array , the quantity
measures how much conditional entropy a child bit carries given its two parent bits at a random coordinate. Low-entropy arrays are too numerous to survive sampling: a counting argument shows that arrays with are excluded with high probability, at every layer and on both sides. So any embedding must raise by a fixed amount per layer, and is bounded above by 1. After enough layers that is impossible, so has no copy in the host. Choosing the depth large enough to exhaust the potential is exactly the role of the parameter thresholds .
The Erdős ledger
Both of these chapters land on problems from Erdős’s list, as does OpenAI’s separately reported May 2026 result on the unit-distance problem in discrete geometry.7 That is not incidental. Erdős problems are unusually good targets for a search process: each is a self-contained combinatorial statement with a crisp yes-or-no answer, a documented history of partial results to calibrate against, and, in the counterexample direction, a certificate that is a finite object one can check.
What the three results have in common on the mathematical side is that the winning move was construction rather than argument. A superexponential Ramsey lower bound is a colouring. A refutation of compactness is a family of graphs. A refutation of the degeneracy conjecture is one bipartite graph plus a random host. In each case the difficulty was in finding an object with several tightly coupled properties, not in reasoning about objects already in hand.
The upper bounds, meanwhile, have barely moved. is still bracketed between and , and the value of , Erdős’s $250 question, is untouched. Deciding whether it is finite was the $100 question, and that one is now answered.
References
Footnotes
-
OpenAI, “Ten Advances in Mathematics and Theoretical Computer Science,” 2026. https://cdn.openai.com/pdf/ten-proofs-oai.pdf ↩
-
David Conlon, Jacob Fox, and Benny Sudakov, “Recent developments in graph Ramsey theory,” Surveys in Combinatorics, 2015. https://arxiv.org/abs/1501.02474 ↩
-
Noga Alon and Alon Orlitsky, “Repeated communication and Ramsey graphs,” IEEE Transactions on Information Theory, 1995. https://ieeexplore.ieee.org/document/412701 ↩
-
Paul Erdős and Miklós Simonovits, “Compactness results in extremal graph theory,” Combinatorica, 1982. https://link.springer.com/article/10.1007/BF02579234 ↩
-
Noga Alon, Michael Krivelevich, and Benny Sudakov, “Turán numbers of bipartite graphs and related Ramsey-type questions,” Combinatorics, Probability and Computing, 2003. https://www.cs.tau.ac.il/~nogaa/PDFS/turanr3.pdf ↩
-
Oliver Janzer, “Disproof of a conjecture of Erdős and Simonovits on the Turán number of graphs with minimum degree 3,” International Mathematics Research Notices, 2023. https://arxiv.org/abs/2109.06110 ↩
-
OpenAI, “An OpenAI model has disproved a central conjecture in discrete geometry,” 2026. https://openai.com/index/model-disproves-discrete-geometry-conjecture/ ↩