Lean is a language for mathematical statements and proofs that a computer can verify. This page shows one statement file from OpenAI’s release, possible paper matches and independent reports. The code-like names below identify the definitions or theorems selected by the proof-verification settings.
Theorem selected for verification:OAI.CycleClique.thm_main
The lines of the Lean statement that state the theorem, then the definitions in the file that it uses.
theoremthm_main : (∀ m n : ℤ, n ≤ m → 3 ≤ n → (m, n) ≠ (3, 3) → (cycleCliqueRamsey m.toNat n.toNat : ℤ) = (m - 1) * (n - 1) + 1) ∧ cycleCliqueRamsey 33 = 6 := bysorry
A Lean statement states the theorem and leaves its proof as sorry on purpose. OpenAI’s proof is in a separate solution module, and a program called Comparator checks that proof against this statement.
Definitions needed to read it
Local definitions the statement names, followed through the definitions they name in turn. The match is by name in the source text, so a name reached only through notation can be missed; the full file is below.
noncomputabledefcycleCliqueRamsey (m n : ℕ) : ℕ := sInf {N : ℕ | RamseyProperty m n N}
Possible paper match, with no recorded review
Atlas selected this possible match by comparing words in the Lean statement with every statement in the family. No review of whether the statements mean the same thing is recorded.
Words of the Lean statement, its names split into words, that also appear in the theorem: integers. Found in the paper’s title, which its main theorem states: ramsey, cycle and clique.
For all integers $m\ge n\ge3$ with $(m,n)\ne(3,3)$,
\[
R(C_m,K_n)=(m-1)(n-1)+1.
\]
For the excluded pair, $R(C_3,K_3)=6$.
Other possible paper matches, closest wording first
Proposition 9.1 of Cycle–clique Ramsey numbers. Words of the Lean statement, its names split into words, that also appear in the theorem: cycle, simple, clique, graph and integers. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: number.
Theorem 3.1 of Cycle–clique Ramsey numbers. Words of the Lean statement, its names split into words, that also appear in the theorem: simple, clique, graph and integers.
Proposition 8.4 of Cycle–clique Ramsey numbers. Words of the Lean statement, its names split into words, that also appear in the theorem: clique.
Corollary 6.5 of Cycle–clique Ramsey numbers. Words of the Lean statement, its names split into words, that also appear in the theorem: integer. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: parameters.
Proposition 9.10 of Cycle–clique Ramsey numbers. Words of the Lean statement, its names split into words, that also appear in the theorem: graph. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: proves.
Proposition 4.1 of Cycle–clique Ramsey numbers. Words of the Lean statement, its names split into words, that also appear in the theorem: graph and integer.
How Atlas selects possible matches: it compares words in the Lean statement with every statement in the family. It also splits Lean names into words. The release’s label and note receive less weight; a main theorem wins a close match. If the Lean wording yields no clear match, Atlas uses the catalogue description. This selects passages to compare; it does not establish that they mean the same thing.
Reported Comparator runs
Atlas has no report of an independent group using Comparator to verify OpenAI’s proof of this Lean statement at the version shown here. Each group reports its own Comparator run for this statement file. Atlas has not repeated the runs.
For a configured theorem, Comparator tests whether OpenAI’s proof proves the exact Lean statement. Some files instead configure definitions for comparison by name and type. Acceptance does not establish that the statement means the same thing as the paper’s theorem.
Every Comparator challenge re-run on Linux with nanoda switched on, decided by a preregistered rule; every family’s challenge statements read against OpenAI’s headline, clause by clause. Decider: Comparator (leanprover/comparator d03acab1 = tag v4.34.0, built with the release’s toolchain v4.34.1), lean4export 076e8e57, landrun 811cfff5, nanoda_lib 3a240721 — on GitHub’s Linux runners (.github/workflows/openai-math-kernel.yml), one j…
No verdict reachedTheir term: “REFUSED”.
Re-run through Comparator did not reach a verdict (the job ended (failure) in the step "comparator, Lean’s kernel and nanoda" without uploading a result: the runner terminated it (GitHub: Process completed with exit code 143.)).
If Comparator is run under this configuration and accepts, the solution proves the configured theorem using only the allowed axioms, and the Lean kernel accepts every step.
This configuration lists no definition holes, so every definition the statement uses is compared as it is written in this file.
Acceptance leaves open whether the Lean statement means the same thing as the paper’s theorem, whether the paper’s other claims are correct, and whether the result is new. Those questions require comparing the definitions and statements, reviewing the paper’s arguments, and reading the earlier literature.
Do family 189’s Lean statements express the advertised result?
These assessments compare all the family’s Lean statements with the whole result OpenAI describes in its catalogue. They do not assess this statement alone. Each group uses its own published rules.
MathVet and cert-machine agree on how much of the advertised result the Lean statements express.
Finds the whole advertised result stated or impliedTheir term: “full”.
The challenge statements imply the headline claim after unpacking definitions or one routine step. Their record
Their note: thm_main : (∀ m n : ℤ, n ≤ m → 3 ≤ n → (m, n) ≠ (3, 3) → (cycleCliqueRamsey m.toNat n.toNat : ℤ) = (m - 1) * (n - 1) + 1) ∧ cycleCliqueRamsey 3 3 = 6, with RamseyProperty m n N := ∀ G : SimpleGraph (Fin N), cycleGraph m ⊑ G ∨ (⊤ : SimpleGraph (Fin n)) ⊑ Gᶜ (Mathlib IsContained) and sInf over ℕ: the exact EFRS statement. Note the import cone is 2.8M lines of lean/OAI, the largest in this range.
OpenAI’s own note on what this Lean statement covers
“The formalization proves $R(C_m,K_n)=(m-1)(n-1)+1$ for all integers $m\ge n\ge3$ except $(m,n)=(3,3)$, where it proves $R(C_3,K_3)=6$. This is the complete parameter range of the paper's main theorem.”
An AI agent drafted an interpretation of that note, classifying this statement as “states a paper’s theorem as the paper does”. No human review of the draft is recorded.
Supporting material
The complete Lean statement file
31 lines, copied from release version fd4aeeb. A name defined in this file links to its line; pointing at the name shows its definition.
Declared in this fileOpenAI’s library at fd4aeebOther linked names open the current documentation for Mathlib, Lean’s mathematical library.
Links in the file: 3 to its own declarations, 6 to Mathlib’s documentation. 3 declared names also link to the same declaration in OpenAI’s library. OpenAI uses Mathlib version d13f23b. The linked documentation describes the current version, so names that have since changed may be missing there.
OpenAI’s Lean catalogue does not list this as a main result; the release’s Lean notes for family 189 link it.
Solution module
OAI.Combinatorics.Ramsey.CycleClique.Main
Allowed axioms
propext, Quot.sound, Classical.choiceThe axioms this configuration allows a proof to use. A replay shows which of them a proof uses.
Imports
Mathlib
Imports from outside Mathlib
None
Local vocabulary
2 local vocabulary declarations
Lines of Lean, without comments or blank lines
10
Second proof-verification program (nanoda)
Off in OpenAI's configuration.
Statement comparison
A shareable summary of this page: the proposed paper match, what the Lean statement expresses, and which reviews are recorded.
Plectis Atlas
Exact cycle–clique Ramsey numbers
Family 189: Cycle–clique Ramsey numbers
Candidate pairing
Theorem
For all integers m\ge n\ge3 with (m,n)\ne(3,3),
R(C_m,K_n)=(m-1)(n-1)+1.
For the excluded pair, R(C_3,K_3)=6.
Cycle–clique Ramsey numbers
TeX label thm:main, build/sections/01-introduction.tex, line 10
The Lean statement says
theoremthm_main : (∀ m n : ℤ, n ≤ m → 3 ≤ n → (m, n) ≠ (3, 3) → (cycleCliqueRamsey m.toNat n.toNat : ℤ) = (m - 1) * (n - 1) + 1) ∧ cycleCliqueRamsey 33 = 6 := bysorry
A Lean statement states the theorem and leaves its proof as sorry on purpose. OpenAI’s proof is in a separate solution module, and a program called Comparator checks that proof against this statement.
Recorded comparisons with the paper
Atlas records no contributed comparison of this statement with the paper.
Contributed Comparator run reports
Atlas records no contributed report of running Comparator for this statement file.
More about this statement
Commentary Bloom lists Erdős 551 (the Ramsey numbers of cycles against complete graphs) and links the formalisation. Thomas Bloom, Erdős problems in the OpenAI proofs, 2026-10-08Source