{"slug": "why-do-128-of-openai-s-math-families-have-no-lean-i-started-writing-the", "title": "Why do 128 of OpenAI's math families have no Lean? I started writing the statements", "summary": "A developer built vertex-math-formalize, an Apache-2.0 project that writes Lean formal statements for OpenAI's openai/math repository, where 128 of 375 AI-written mathematics families lack Lean proofs. The project's hypothesis is that families whose objects already exist in Mathlib can be stated, and four test families (Artin's primitive roots, Hindman's finite sums, Kurosh's problem, symmetric sign matrices) all built against OpenAI's exact Mathlib version, with the easy direction of Artin's theorem fully proved and re-checked by the nanoda kernel across 9,263 declarations.", "body_md": "OpenAI's [`openai/math`](https://github.com/openai/math) repository holds 730 AI-written mathematics manuscripts, grouped into 375 families. 247 of those families come with proofs in **Lean**, the language where a computer checks every logical step. The other **128 have no Lean at all**.\n\nI had spent weeks on the part that *was* there. My other open-source project, [vertex-math-verify](https://github.com/Denisijcu/vertex-math-verify), re-checks OpenAI's Lean challenges on a plain Windows PC: build, axioms, statement comparison and a second independent kernel. 27 challenges have passed all four seals so far.\n\nBut the gap kept bothering me. Why not those 128?\n\nBefore you can prove something in Lean, you have to be able to *write it down*, and that means every object it mentions has to exist in **Mathlib**, Lean's math library. Most of the 128 families live in algebraic geometry, topology and differential geometry, where Mathlib still lacks a lot of the theory those papers take for granted.\n\nThat gives a testable prediction: **families that talk about things Mathlib already has (primes, matrices, division rings, colorings of the integers) should be statable.** So I built a second project to find out.\n\n[github.com/Denisijcu/vertex-math-formalize](https://github.com/Denisijcu/vertex-math-formalize) (Apache-2.0)\n\nThe rule is **statement first**. A formal statement is a contract: if it's wrong, a perfect proof proves the wrong thing and every check still comes out green. So each statement ships with a line-by-line table of how the paper's words became Lean.\n\nHere is the main theorem of family 029 (Artin's primitive roots) as it now builds against OpenAI's exact Mathlib version:\n\n```\ndef Admissible (a : ℤ) : Prop :=\n  a ≠ -1 ∧ ¬ IsSquare a\n\ntheorem artin_infinitely_many (a : ℤ) (ha : Admissible a) :\n    {p : ℕ | p.Prime ∧ orderOf (a : ZMod p) = p - 1}.Infinite := by\n  sorry\n```\n\nThat `sorry` is honest: the paper is 92 pages. But the *easy direction*, that being a primitive root mod infinitely many primes forces `a` to be admissible, is fully proved:\n\n```\ntheorem admissible_of_infinitely_many (a : ℤ)\n    (h : {p : ℕ | p.Prime ∧ orderOf (a : ZMod p) = p - 1}.Infinite) :\n    Admissible a\n```\n\nIt uses only Lean's three standard axioms, and the second kernel (nanoda) re-checked it from scratch: 9,263 declarations, no errors.\n\n| Family | Problem | Statement | Proof | \n|---|---|---|---|\n| 029 | Artin's primitive roots | builds | easy half proved | \n| 164 | Hindman's finite sums and products | builds | `sorry` | \n| 201 | Kurosh's problem for division rings | builds | `sorry` | \n| 239 | Singularity of symmetric sign matrices | builds | `sorry` | \n\nThe prediction held in all four cases. That says nothing yet about the other 124 families, and I'm not claiming it does.\n\nThe hardest question isn't whether a proof is correct (Lean answers that). It's **whether the statement says what the paper actually claims**. If you know Lean or any of these areas, open an issue or reply here: a mistake found is the best possible outcome.\n\nThe full write-up is in [docs/why-128-families.md](https://github.com/Denisijcu/vertex-math-formalize/blob/main/docs/why-128-families.md).\n\n*Built with heavy help from an AI assistant (Claude). AI writes, Lean checks, people decide what it means.*", "url": "https://wpnews.pro/news/why-do-128-of-openai-s-math-families-have-no-lean-i-started-writing-the", "canonical_source": "https://dev.to/denisijcu/why-do-128-of-openais-math-families-have-no-lean-i-started-writing-the-statements-pnf", "published_at": "2026-12-04 19:10:22+00:00", "updated_at": "2026-12-04 19:14:18.847866+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-research", "ai-tools", "developer-tools"], "entities": ["OpenAI", "Lean", "Mathlib", "nanoda", "vertex-math-formalize", "vertex-math-verify", "Claude", "openai/math"], "also_reported_by": [], "takeaway": "Formalize statements before proofs and pair each with a line-by-line paper-to-Lean mapping, since a wrong statement makes a perfect proof prove the wrong thing; four families whose objects exist in Mathlib all built, and Artin's easy direction passed a second kernel over 9,263 declarations.", "recommendation": {"advice": "Write the Lean statement first and document how each paper term maps to Lean, then re-check proofs with an independent kernel like nanoda before trusting them.", "playbook": "output-verification", "playbook_url": "https://wpnews.pro/playbooks/output-verification"}, "alternates": {"html": "https://wpnews.pro/news/why-do-128-of-openai-s-math-families-have-no-lean-i-started-writing-the", "markdown": "https://wpnews.pro/news/why-do-128-of-openai-s-math-families-have-no-lean-i-started-writing-the.md", "text": "https://wpnews.pro/news/why-do-128-of-openai-s-math-families-have-no-lean-i-started-writing-the.txt", "jsonld": "https://wpnews.pro/news/why-do-128-of-openai-s-math-families-have-no-lean-i-started-writing-the.jsonld"}}