C times n pieces?
A preprint claims the Erdős–Gallai conjecture: the edges of every graph on n vertices split into at most a constant times n cycles and single edges
Covers result 181 in OpenAI’s catalog: its one paper. See its connections to other results and the work it cites.
7:04. English captions available. The video loads from YouTube when you press play.
Chapters
The claim, in plain words
Cut the edges of a graph into pieces, each either a cycle (a closed loop through at least three vertices, none repeated) or a single edge. Single edges cannot be avoided: a tree has no cycles, so a tree on n vertices needs n − 1 pieces, and since a cycle uses exactly two edges at each vertex it passes through, a vertex of odd degree always keeps a single edge. By our exact search, the complete graph on 8 vertices (28 edges, 7 at each vertex) needs exactly 7 pieces: three cycles through all 8 vertices and the 4 diameters. On 9 vertices, all 36 edges fall into 4 cycles. The Erdős–Gallai cycle-decomposition conjecture says that a fixed multiple of the number of vertices always suffices, however dense the graph.
As the paper recounts, the conjecture appears in a 1966 paper of Erdős, Goodman and Pósa, which records an O(n log n) bound. Conlon, Fox and Sudakov improved it to O(n log log n) in 2014, and Bucić and Montgomery to O(n log* n), published in 2024. Linear bounds were already known for graphs in which every vertex meets a fixed fraction of all vertices, for random graphs and for graphs of maximum degree at most four. Linear is the best possible order: trees need n − 1, and some complete bipartite graphs need nearly 3n/2. In our exhaustive search of all 1,252 graphs with 1 to 7 vertices, n − 1 pieces suffice up to 6 vertices, and exactly one 7-vertex graph needs 7: a triangle plus four vertices, each joined to all three corners. If pieces may overlap, Pyber showed that n − 1 always suffice; the point here is that every edge is used exactly once.
Result 181 is one OpenAI preprint, A linear cycle-and-edge decomposition of every graph (32 pages, dated September 24, 2026). Its Theorem 1.1: “There is an absolute constant C > 0 such that, for every finite simple undirected graph G with n vertices, E(G) has a partition into at most Cn parts, each of which is the edge set of a cycle or consists of a single edge.” Its Corollary 1.2: a graph with all degrees even splits into at most Cn cycles; and, with an equivalence of Girão, Granet, Kühn and Osthus, large such graphs in which every split into two big parts has proportionally many edges across need at most Δ/2 + δn cycles for any fixed δ > 0, where Δ is the largest degree and every cycle partition needs at least Δ/2.
What it doesn’t claim
A value for C. The constant is shown to exist but never computed. By our arithmetic on the paper’s own parameter choices (Section 7), the cutoff D* satisfies log2 D* ≥ 7.6 × 1012, and C ≥ 4T(D*) exceeds D*, so C is larger than 2 to the power 7.6 trillion, a number with about 2.3 trillion digits; for graphs with fewer than D* vertices the proof simply takes every edge on its own. Not the best constant: some complete bipartite graphs need nearly 3/2 pieces per vertex, and the paper says nothing about the true value. No efficient algorithm: several steps only show that a suitable random choice exists. Simple graphs only: two vertices joined by k parallel edges need k pieces.
Where it stands
- Posted as a preprint
- OpenAI, 32 pages, dated September 24, 2026
- Peer reviewed
- Not yet
- Checked in Lean
- The main theorem, stated exactly, formalized by OpenAI; not run by us
Last checked October 19, 2026. The preprint has not been revised since it was added to the repository in its initial commit on October 6, 2026. OpenAI published a Lean formalization whose comparator statement is Theorem 1.1 exactly, with the constant chosen before the graph. By our count the proof takes 34 files and 21,451 lines, excluding Mathlib, about 4,000 of them near-copies of other files (source). It includes a proof of Lovász’s path-and-cycle theorem, and proves the routing lemma by a greedy argument instead of the Aharoni–Haxell theorem; like the paper, it does not compute the constant. Corollary 1.2 is not formalized. We found no unproved steps by search; we have not rebuilt the proof. The paper is not among those OSVerify reviewed, and we have seen no expert review.
How the proof goes
- The accounting problem. A method that pays a cost proportional to the whole graph at every scale picks up a factor from the number of scales.
- Scales. At scale D (the next is D0.95), remove a few very long cycles, put the remaining edges into slightly overlapping boxes of at most D1.02 vertices, and cut each box along sparse cuts until the pieces expand: every cut crosses at least D0.9 edges per vertex of its smaller side. The cut-off edges are sparse enough for the next scale.
- Expanding pieces are cheap. Three small random reservoirs; each remaining edge misses at least one. Split those edges into paths with Lovász’s theorem and close each path through its reservoir; a routing lemma built on the Aharoni–Haxell theorem keeps the detours edge-disjoint. An expanding piece with r vertices costs at most 9r parts plus a tiny remainder.
- Pay once, then fold. One layer of expanding pieces pays for all earlier work and 200 further scales. Low-degree vertices that lie in a chosen expanding piece are glued in pairs, removing at least a third of them; the edges this would spoil, at most two per glued vertex, become single parts.
- Recurse and lift. The glued graphs are smaller, so induction splits them. A glued cycle may enter a pair at one vertex and leave at the other; a detour through the reserved piece joins them, so each glued cycle lifts to one cycle. A budget Cφ(n)n with φ(n) = max{1/2, 1 − 1/√log n} absorbs the overlap of the boxes.
The paper credits its expansion, matching and path-closing methods to Bucić and Montgomery, and reservoirs and sparse cuts to Conlon, Fox and Sudakov; what it calls new is the induction that saves vertices across scales while reserving edges to lift cycles.
The numbers in the video
- Exact minimum decompositions (our integer program): complete graphs on 3 to 8 vertices need 1, 3, 2, 5, 3 and 7 parts; the complete graph on 9 splits into 4 cycles (a classical construction); complete bipartite graphs with 3 vertices on one side and m on the other need m + ⌈m/3⌉ for m from 2 to 12.
- All 1,252 graphs with 1 to 7 vertices: the largest minimum is n − 1 up to 6 vertices; on 7 vertices it is 7, for one graph only (a 4-cycle, a 6-cycle and 5 single edges).
- The paper’s Figure 1, redrawn: a glued triangle lifts to one cycle (detour lengths schematic).
- The constant: our arithmetic on the paper’s condition (7.21) and parameters (θ = 0.95, K = 200, P0 = 804).
- The Lean count: our count of the import closure.
Read the source
- A linear cycle-and-edge decomposition of every graph (PDF), 32 pages.
- The Lean scope note.
- The collection’s catalog, where this is result 181.
The paper
OpenAI groups related papers into one result; this one has a single paper.
Transcript
Read the full script
0:00The question
Take a graph: dots joined by lines. Can you cut its lines into a few pieces, each either a cycle, a closed loop through at least three dots that never repeats a dot, or a single line? Single lines cannot be avoided. A tree has no cycles, so a tree with n dots needs n − 1 pieces. And a cycle uses exactly two lines at each dot it passes through, so at a dot with an odd number of lines, some line must be a single piece. The complete graph on eight dots has 28 lines, 7 at every dot. It needs at least 4 single lines, and in our exact search the minimum is 7 pieces: 3 cycles through all 8 dots, plus the 4 diameters. With a ninth dot, all 36 lines fall into just 4 cycles. The Erdős–Gallai cycle-decomposition conjecture says that some fixed multiple of the number of dots always suffices, however dense the graph. As the paper recounts, the conjecture appears in a 1966 paper of Erdős, Goodman and Pósa, which records a bound of order n log n. Conlon, Fox and Sudakov improved it to n log log n in 2014, and Bucić and Montgomery to n times log-star of n, published in 2024; log-star is at most 5 for every number with fewer than 19,000 digits. Linear bounds were already known for graphs in which every dot meets a fixed fraction of all the dots, for random graphs, and for graphs with at most four lines at each dot. Linear would be the best possible order: as the paper notes, some complete bipartite graphs need nearly three halves of n pieces. In our exact computations, among all 1,252 graphs with 1 to 7 dots, exactly one needs as many pieces as dots: a triangle plus four dots, each joined to all three corners. And overlaps are not allowed: with them, Pyber showed that n − 1 pieces always suffice.
1:56The claim
Result 181 is a single OpenAI preprint, 32 pages long, dated September 24, 2026. Its theorem: there is an absolute constant C such that the lines of every finite simple graph with n dots can be split into at most C times n pieces, each a cycle or a single line. That is the Erdős–Gallai cycle-decomposition conjecture. A corollary: when every dot has an even number of lines, C times n cycles suffice, with no single lines at all. And, combined with an equivalence proved by Girão, Granet, Kühn and Osthus: if such a graph is large, and every split of its dots into two big parts has proportionally many lines across, then half the largest number of lines at a dot, plus any small fraction of n, cycles suffice; that is close to the obvious lower bound. Not claimed: a value for C. The constant is shown to exist but never computed. By our arithmetic on the paper’s own choices, the proof needs a cutoff of more than 2 to the power 7.6 trillion dots, a number with about 2.3 trillion digits, and C larger still; below the cutoff, the proof simply takes every line on its own. Not the best constant: some complete bipartite graphs already need about one and a half pieces per dot, and the paper makes no claim about the true value. No efficient algorithm: several steps only show that a suitable random choice exists. And simple graphs only: two dots joined by many parallel lines would need one piece per line.
3:32How the proof goes
The difficulty is accounting: a method that pays a cost proportional to the whole graph at every scale picks up a factor from the number of scales. The proof splits the graph at shrinking scales, each the previous one to the power 0.95. At scale D, it removes a few very long cycles, puts the remaining lines into slightly overlapping boxes of at most D to the 1.02 dots, and cuts each box along sparse cuts until what is left are expanding pieces: every cut of a piece crosses at least D to the 0.9 lines per dot on its smaller side. The lines cut off are sparse enough for the next scale. Expanding pieces are cheap. Set aside three small random reservoirs of dots; each remaining line misses at least one of them. Split those lines into paths with Lovász’s theorem, and close each path into a cycle through its reservoir; a routing lemma, built on the Aharoni–Haxell theorem, keeps the detours from sharing lines. An expanding piece with r dots costs at most 9r cycles and single lines, leaving only a tiny remainder inside the reservoirs. Paying at every scale would bring the factor back. Instead the proof picks one layer of expanding pieces whose total size pays for all earlier work and for 200 further scales. Then it folds. After those scales, what remains is sparse and lives in tiny boxes. There, dots of low degree that lie in a chosen expanding piece are glued together in pairs, removing at least a third of them; the lines this would spoil, at most two per glued dot, are set aside as single pieces. The glued graphs are smaller, so by induction they split into cycles and single lines. A glued cycle may enter a glued pair through one dot and leave through the other; a short detour through the reserved expanding piece joins them, and routing keeps the detours apart, so each glued cycle lifts to one genuine cycle. In the paper’s schematic figure, a glued triangle lifts to a cycle of 9. The dots saved by gluing pay for the work outside the recursion, and a budget factor just below one, smaller for smaller graphs, absorbs the overlap of the boxes. The paper credits its expansion, matching and path-closing methods to Bucić and Montgomery, and reservoirs and sparse cuts to Conlon, Fox and Sudakov; what is new is this induction, saving dots across scales while reserving lines to lift the cycles.
6:00Where it stands
The preprint is not peer reviewed and has not been revised. OpenAI’s Lean files state the main theorem exactly, with the constant chosen before the graph, and prove it in 34 files and about 21,000 lines, roughly 4,000 of them near-copies, with no gaps we could find by search; we did not run the check. The formal proof includes Lovász’s theorem itself, and proves the routing lemma by a different, greedy argument, without the Aharoni–Haxell theorem. Like the paper, it shows that the constant exists without computing it. The corollaries are not formalized. The paper is not among those OSVerify reviewed, and we have seen no expert review. If it holds, the question that Erdős, Goodman and Pósa recorded 60 years ago has its answer: the lines of every graph split into cycles and single lines, with the number of pieces at most a constant times the number of dots, even if that constant is far too large to write down.
Spot a mistake?
This episode simplifies on purpose, but it shouldn’t be wrong. If something is, open an issue on GitHub or leave a comment on YouTube. Corrections are noted here with a date.