In short
- OpenAI's 2026 mathematics release contains a Lean-verified proof that a quintic Liénard system has at most two limit cycles. We rebuilt it from a clean machine, pinned its statement, audited its axioms and replayed all 146 modules in the kernel. It checks.
- The same entry carries a 160-page manuscript claiming a uniform bound on limit cycles for every degree, the boundedness half of Hilbert's sixteenth problem. Not one line of it is machine-checked. We read it in five passes and classified 153 steps: 74 re-derived, 15 asserted without argument, 64 that could not be checked, 0 found wrong.
- Building on their proof, we proved a new Lean theorem about a slow-fast family, conditional on one named hypothesis.
- We found no public report of anyone else having rerun the Lean proof.
- The lesson for anyone consuming AI-generated technical work: the proof is rarely where the risk is. The statement and the scope are.
Why a security company is reading about limit cycles
Aten Security works on the security of AI agents: what they are permitted to do, and how a third party can establish what they actually did. Strip away the product and the question is this: an AI system hands you a long technical artefact and says it is correct. What do you check, in what order, and what are you still trusting when you finish?
Mathematics is the cleanest place to ask, because it is the one domain where "correct" has a mechanical meaning. We had been looking at a problem about polynomial differential equations as a side interest. Then a release landed that contains, side by side, the best case and the worst case for AI-generated work.
The mathematics, in one paragraph
Take the system
x' = y − F(x)
y' = −x
with F a polynomial: a Liénard system, the textbook model of a self-sustained oscillator. A limit cycle is an isolated closed orbit. In 1977 Lins Neto, de Melo and Pugh conjectured at most ⌊(deg F − 1)/2⌋ of them. The conjecture is false from degree six on, where four cycles occur. Degree five, at most two, stayed open. Hilbert's sixteenth problem asks the same kind of question for all planar polynomial systems: is the number of limit cycles bounded in terms of the degree alone? Before this year that was not known even for degree two.
]
Two limit cycles of a quintic Liénard system, computed for F(x) = 3x⁵ − 50x³ + 135x, the sharp example of Chen, Chen and Xiao. The theorem says no quintic can have a third.
OpenAI's family 143 claims both: the degree-five Liénard case with a Lean proof, and the uniform bound for every degree in a manuscript with no formalization.
Part 1. The best case: a proof you can rerun
"It has a Lean proof" is a statement about a build somebody else ran. Here is what we ran, starting from their repository at commit 3344da59, with Lean v4.34.1 and their pinned Mathlib.
| Step | What it rules out | Result |
|---|---|---|
Scan 146 files (16,659 lines) for sorry, axiom, native_decide, unsafe, implemented_by, opaque | Declared gaps; compiler-trusted evaluation | None found |
| Build on a clean Linux runner | Files that do not compile | All compile; only Mathlib is imported |
| Statement pin | A proof of a different theorem | Passes |
| Axiom report on the main theorem | Hidden assumptions | propext, Classical.choice, Quot.sound only |
leanchecker replay, module by module | Trusting the elaborator instead of the kernel | 146 of 146 replay |
The statement pin is the step most people skip. We wrote the theorem out ourselves and required Lean to accept that it is the same as theirs. In essence:
theorem pinned :
(∀ F : Polynomial ℝ, F.degree ≤ 5 → {C | IsLimitCycle F C}.encard ≤ 2) ∧
(∃ F : Polynomial ℝ, F.degree ≤ 5 ∧ {C | IsLimitCycle F C}.encard = 2) :=
OAI.QuinticLienard.main
A green build tells you something was proved. This tells you what.
What you are still trusting
The Lean kernel; Mathlib's definitions of real numbers, polynomials and derivatives; and about twenty lines in which OpenAI's files define the vector field, "periodic orbit" and "limit cycle". We read those lines and see no trick: a limit cycle is a periodic orbit with an open neighbourhood meeting no other periodic orbit, which is the standard meaning. But that sentence is our reading, and no specialist has confirmed it. We also did not run a second, independent kernel.
That is the honest size of "verified": not zero trust, but a trusted base you can read over coffee.
Part 2. Using the proof exposes what it does not say
The theorem counts limit cycles: isolated periodic orbits. That qualifier matters. A system with a centre has infinitely many periodic orbits and zero limit cycles, and satisfies the theorem trivially.
We wanted the stronger statement for the family we had been studying:
x' = F(x) − y
y' = ε (x − λ)
F'(x) = −x (x − a)(x − b)(x − 1)
After the change of variables X = x − λ, y = −√ε · W, τ = √ε · t, this is a classical quintic Liénard system X' = W − G(X), W' = −X. Its odd coefficients have signs (+, −, +): exactly the one case of OpenAI's four-way sign analysis in which two cycles can occur.
Reading their Lean library, not their paper, gave the bridge. They prove that every periodic orbit, isolated or not, is a zero of an analytic "matching function" Δ, defined on an interval. An analytic function on an interval is identically zero or has isolated zeros. So:
Theorem (Lean,
Lie5.periodicOrbits_encard_le_two). Letε > 0,F'(λ) ≤ 0andF'''(λ) > 0. If the matching function of the system is not identically zero, the system has at most two periodic orbits in the plane, isolated or not.
The hypothesis is a named definition, MatchingNotIdenticallyZero, and it is not proved in what we are releasing. It ought to hold: the leading coefficient is positive, so the system loses energy at large amplitude, and numerically the return map there is far from the identity (a displacement of about −7 at amplitude 8, for three values of ε). That is evidence. It is not a proof, and our CI fails if the hypothesis ever disappears from the theorem statement, so a conditional result cannot quietly turn into an unconditional claim.
One more thing the formalization made us admit. We had set out to prove a local statement, about orbits in a small window near a particular singular cycle. The Lean proof of that statement sets the window size to 1 and never looks at it: the bound is global, and the local theorem is a corollary. Formal statements are unforgiving about which of your hypotheses were doing any work.
Why the answer is two
OpenAI's argument is global and uses no small parameter. In five moves:
- Fold the plane. On each half-plane put
u = x²/2and useyas time. A half-orbit becomes an arch of the scalar equationdu/dy = φ(u) − y. The even and odd parts ofFseparate:φ± = E(u) ± p(u). - Match. Each arch has a half-width
rand a midpointM±(r). Closed orbits are the zeros ofΔ(r) = M₊(r) − M₋(r). - Fit a quadratic. Every arch is matched, uniquely, by the arch of a quadratic profile with the same midpoint and the same rate of change of the midpoint.
- Exploit Riccati. For a quadratic profile the arch equation is a Riccati equation. It linearizes, and the map between an arch's endpoints has an explicit Schwarzian derivative, which fixes the sign of how the fitted curvature
κmoves. - Count. In the one hard sign case,
κ₊increases andκ₋decreases withr, andΔ' = A·Δ + B·(κ₊ − κ₋)withB > 0. A linear equation driven by a monotone source has at most two zeros, counted with multiplicity.
Why five and not six: the even part of a quintic is quadratic in u, so it sits inside the comparison family, and the odd part has exactly three coefficients, which is what makes the sign cases exhaustive. Degree six breaks the first, degree seven the second, and both must break because the conjecture is false there. A reader of the paper (an AI system, in our case) confirmed numerically that the key inequality fails in degree six.
People who know the slow-fast literature will recognise the shape: a displacement whose derivative is a positive factor times a scalar with one sign change, as with the slow divergence integral of Dumortier, Roussarie, De Maesschalck, Li and Lu. The difference is that the fitted-curvature difference is monotone for every arch, not only near canard cycles.
Part 3. The worst case: 160 pages and nothing to run
The uniform-bound manuscript is the situation most people are actually in with AI output: long, fluent, expert-sounding, and with no mechanical check.
We read it in five passes using AI systems, and we changed the question. "Is this proof correct?" invites yes. Each load-bearing step instead had to go into one of four bins, and any formula that could be tested got a script that could fail.
| Pass | Scope | Re-derived | Asserted, no argument | Could not be checked | Wrong |
|---|---|---|---|---|---|
| 2 | Sections 6–8: the transfer maps | 10 | 8 | 34 | 0 |
| 3 | Sections 2–3, 10: foundations | 19 | 4 | 19 | 0 |
| 4 | Section 9: cell decomposition | 26 | 3 | 5 | 0 |
| 5 | The highest-risk lemmas, re-done | 19 | 0 | 6 | 0 |
| Total | 74 | 15 | 64 | 0 |
Later passes revisit earlier steps, so the total overstates the number of distinct steps.
What this found:
- It is a real argument. Not a compactness hand-wave: a preparation theorem of Lion and Rolin in place of desingularization, a counting argument for uniformity, and a new quasi-analytic "separation" theorem to stop cycles accumulating.
- Where it is strong. The cell decomposition of Section 9 survived nine worked examples and about 780,000 sample points with no unclassified region. Six families of candidate counterexamples to the separation theorem all failed. Five steps one pass could not verify were re-derived by a later one.
- Where it is thin. In Section 8, the claims that saddle-node and resonant-saddle transfer maps meet the abstract hypotheses are argued in one or two paragraphs each. One sentence at the end of their Lemma 3.7 follows only under one reading of a definition. The order in which constants are chosen between Sections 9 and 10 is asserted three times with "can be anticipated".
- Where it is tight. One hypothesis of the separation theorem has almost no slack: an explicit function satisfies every other hypothesis, and the margin by which it is excluded is a factor of
(log log X)². In the simplest model the manuscript does clear that bar, with a measured decay rate of 1.003–1.014 against a required 1. In the harder models nobody has checked. - Where it touches known trouble. The manuscript ties one step to a gap in Ilyashenko's finiteness proof that M. Yeung identified in 2025. It describes that gap accurately. Its own way around a neighbouring difficulty is one of the steps we could follow only in outline.
We found no error. We did not verify the manuscript, and we do not know whether it is correct. Sixty-four unchecked steps in a proof of this depth is not a rounding error, and an AI reading of an AI-written proof shares blind spots with its author. What we can offer is a map: these are the places a specialist should open first.
What we take from this
- Ask what the verified object is. The Lean proof covers degree-five Liénard systems. The headline is Hilbert's sixteenth problem. Those are different theorems. The failure mode to plan for is not a wrong formal proof; it is a correct formal proof of something narrower than the claim attached to it.
- Pin statements, not builds. Write the claim down independently and make the checker prove it equal.
- Give "verified" a number. Here: one kernel, one library, about twenty lines.
- Make assumptions impossible to lose. Named hypotheses, and CI that fails when one vanishes.
- Classify, don't grade. "Re-derived / asserted / unchecked / wrong", with tests that can fail, gives a human something to act on. "Looks right" does not.
- Reproducibility is the deliverable. The parts of this work worth anything are the parts a stranger can rerun.
For teams releasing AI-generated mathematics, three requests that would have saved us most of the work: state in the headline which claims are formalized and which are not; ship an independently written copy of each formal statement with the release; and publish the output of an independent kernel alongside the proof.
What we are not claiming
We did not prove the degree-five conjecture; OpenAI's system did, and its Lean proof checks. We did not verify the uniform-bound manuscript. Our own theorem is conditional on a hypothesis we have not proved. No specialist in the field has reviewed our notes. Nearly all of our own work was done with AI systems (Anthropic's Claude) under one person's direction, and the repository marks which parts a machine checked and which were only read.
Read more
- Technical report (7 pages, PDF): Checking an AI-generated proof: the quintic Liénard bound and its companion manuscript
- Repository, with every check you can rerun: github.com/atensecurity/quintic-lienard-check
References
- OpenAI, Two limit cycles for quintic Liénard systems and Uniform bounds for planar polynomial limit cycles, family 143 of the OpenAI Math Release, 24 September 2026. github.com/openai/math
- H. Chen, L. Chen, Y. Xiao, Limit cycles of slow-fast quintic Liénard systems, 2026. arXiv:2610.13080
- C. Li, K. Lu, Slow divergence integral and its application to classical Liénard equations of degree 5, Journal of Differential Equations 257 (2014), 4437–4469.
- P. De Maesschalck, F. Dumortier, R. Roussarie, Canard cycle transition at a slow-fast passage through a jump point, Comptes Rendus Mathématique 352 (2014), 317–320.
- P. De Maesschalck, F. Dumortier, R. Roussarie, Canard Cycles: From Birth to Transition, Springer, 2021.
- F. Dumortier, D. Panazzolo, R. Roussarie, More limit cycles than expected in Liénard equations, Proceedings of the American Mathematical Society 135 (2007), 1895–1904.
- P. De Maesschalck, F. Dumortier, Classical Liénard equations of degree n ≥ 6 can have [(n−1)/2] + 2 limit cycles, Journal of Differential Equations 250 (2011), 2162–2176.
- A. Lins Neto, W. de Melo, C. C. Pugh, On Liénard's equation, Lecture Notes in Mathematics 597, Springer, 1977.
- M. Yeung, Dulac's Theorem Revisited, Qualitative Theory of Dynamical Systems 24 (2025), article 57. arXiv:2402.12506
- J.-M. Lion, J.-P. Rolin, Théorème de préparation pour les fonctions logarithmico-exponentielles, Annales de l'Institut Fourier 47 (1997), 859–884.

Nyah Check



