The Harary–Hill and Zarankiewicz crossing-number formulas

The classic crossing formulas for drawing complete networks are exact.

2 papers September 23, 2026 Explained by AI

Join every pair of n dots with a line, and some lines must cross. Harary and Hill conjectured in 1963 a formula for the fewest crossings. Zarankiewicz proposed a similar formula for two groups of dots, each dot joined to every dot of the other group. These two papers prove both formulas for every size.

First step
1960
Richard Guy, first published upper bound
Significance
Major
It settles two well-known exact formulas that were proved only for small cases or restricted drawings.
Trust
Formal proof listed
Field
Combinatorics
2 papers

The explanation

Put five dots on a page and join every pair with a line. That makes ten lines. Lines may curve, but however you route them, at least two must cross somewhere. One crossing is enough. With six dots and fifteen lines, the best drawing has three crossings. With seven dots it has nine. How does that number grow?

The guess has a precise form. Write n for the number of dots. Take n/2, (n−1)/2, (n−2)/2 and (n−3)/2, round each one down, multiply them, and divide by 4. For 5 dots that gives 2 × 2 × 1 × 1 / 4 = 1. For 11 dots it gives 100. Richard Guy published a drawing with this many crossings in 1960. In 1963, Frank Harary and Anthony Hill stated the conjecture: no drawing does better.

Drawings with that count were known. The hard part was the other direction. A drawing can route its lines in endless ways. Showing that nothing beats the formula means ruling out every one of them. Progress came in pieces. In 2007, Shengjun Pan and R. Bruce Richter used a computer to prove the formula for 11 dots, which gives exactly 100. Oswin Aichholzer reported a computer-assisted proof for 13 dots in 2021, giving 225. For large n, the best general bound reached more than 0.98559895 times the formula in 2019. Other proofs worked only when the drawing was restricted. One such rule puts every dot on one line and keeps each link to one side of it.

A second puzzle has the same shape. Paul Turán traced it to a brick factory near Budapest in 1944, with rail lines joining kilns to storage yards. In graph terms, every one of m dots on one side joins every one of n dots on the other. Casimir Zarankiewicz drew a layout with a matching formula, but his published proof that it was best had a gap. For three dots on each side, the formula gives one crossing. Daniel Kleitman proved the formula in 1970 when one side has at most six dots.

These two papers prove both formulas for every size, with any curved lines allowed. The single difficulty, ruling out every drawing, is removed by turning a drawing into algebra. Each crossing gets a sign that records which way the lines pass. The paper also records the order in which lines leave each dot. For closed loops in the plane, these signed counts always cancel to zero. That fact is turned into a statement about polynomials, formulas in several variables.

Take an odd number of dots. The paper builds a family of polynomials whose number of independent members is exactly the conjectured count. It shows that the crossings of a drawing carry enough information to pin down every member. A counting argument from linear algebra then shows the drawing needs at least that many crossings. Removing one dot handles even numbers. Known drawings show the count is reached.

The theorems count every crossing point. If two lines cross three times, that is three crossings. Other ways of counting, such as counting each crossing pair of lines once, are different questions. Drawings that must use straight lines are also a separate question. The formula now holds for every number of dots, not only the cases computers could check.

How sure is this? A computer proof checker called Lean has checked formal versions of both formulas, including drawings that reach them. Those formal versions count crossings as points, as the papers do. No specialist review of either paper has been published.

What it doesn't show. This does not settle the crossing numbers of drawings that must use straight lines.

Where it came from

This result comes from an unreleased OpenAI model, published in the openai/math release on 6 October 2026.

Hype check

Major if the proofs hold. Lean checks formal versions of both formulas and matching drawings; no specialist review of either paper is published.

Words used

Complete graph
A set of dots with a line joining every pair.
Complete bipartite graph
Two groups of dots, with every dot of one group joined to every dot of the other.
Crossing number
The fewest crossing points any drawing of a graph can have.
Polynomial
A formula built from variables by adding and multiplying, such as x²y + 3.
Two-page drawing
A drawing with every dot on one line and each edge on one side of it.

The original papers (2)

All quoted lines (6)

  1. Thus Theorem … resolves the Harary–Hill conjecture positively. The cases n=1,2n=1,2 have crossing-free drawings and the same floor product is zero.
    The crossing number of complete graphs Back to text
  2. For all positive integers m,nm,n, the ordinary crossing number of the complete bipartite graph Km,nK_{m,n} is ⌊m2⌋⌊m−12⌋⌊n2⌋⌊n−12⌋.\left\lfloor\frac m2\right\rfloor \left\lfloor\frac{m-1}{2}\right\rfloor \left\lfloor\frac n2\right\rfloor \left\lfloor\frac{n-1}{2}\right\rfloor.
    The crossing number of complete bipartite graphs Back to text
  3. The vanishing of algebraic intersections of closed plane curves makes these blocks additive modulo row-plus-column terms (Section …).
    The crossing number of complete bipartite graphs Back to text
  4. This space has dimension Z(2s+1)Z(2s+1).
    The crossing number of complete graphs Back to text
  5. Vertex deletion gives the even case.
    The crossing number of complete graphs Back to text
  6. Write c(D)c(D) for the number of crossing points of a drawing DD, counting every crossing when two edges meet repeatedly.
    The crossing number of complete graphs Back to text

Other sources

  1. R. K. Guy, “A combinatorial problem”, Nabla (Bulletin of the Malayan Mathematical Society) 7 (1960), 68–72 (no online copy found)
  2. F. Harary and A. Hill, “On the Number of Crossings in a Complete Graph”, Proceedings of the Edinburgh Mathematical Society 13(4) (1963), 333–338
  3. S. Pan and R. B. Richter, “The crossing number of K11 is 100”, Journal of Graph Theory 56(2) (2007), 128–134
  4. O. Aichholzer, “Another Small but Long Step for Crossing Numbers: cr(13)=225 and cr(14)=315”, Proceedings of the 33rd Canadian Conference on Computational Geometry (2021), 72–77
  5. J. Balogh, B. Lidický and G. Salazar, “Closing in on Hill’s Conjecture”, SIAM Journal on Discrete Mathematics 33(3) (2019), 1261–1276
  6. B. M. Ábrego, O. Aichholzer, S. Fernández-Merchant, P. Ramos and G. Salazar, “The 2-Page Crossing Number of Kn”, Discrete & Computational Geometry 49(4) (2013), 747–777
  7. P. Turán, “A note of welcome”, Journal of Graph Theory 1(1) (1977), 7–9
  8. C. Zarankiewicz, “On a problem of P. Turan concerning graphs”, Fundamenta Mathematicae 41(1) (1955), 137–145
  9. D. J. Kleitman, “The crossing number of K5,n”, Journal of Combinatorial Theory 9(4) (1970), 315–323
  10. openai/math release notes (2026): model provenance and review status manuscripts and supporting proof artifacts produced by an internal OpenAI model