cd /news/artificial-intelligence/why-do-128-of-openai-s-math-families… · home › topics › artificial-intelligence › article
[ARTICLE · art-182001] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Why do 128 of OpenAI's math families have no Lean? I started writing the statements

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.

recommendation

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.

more in playbook: Verifying model output
by read3 min views1 publishedDec 4, 2026

OpenAI's 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.

I had spent weeks on the part that was there. My other open-source project, 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.

But the gap kept bothering me. Why not those 128?

Before 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.

That 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.

github.com/Denisijcu/vertex-math-formalize (Apache-2.0)

The 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.

Here is the main theorem of family 029 (Artin's primitive roots) as it now builds against OpenAI's exact Mathlib version:

def Admissible (a : ℤ) : Prop :=
  a ≠ -1 ∧ ¬ IsSquare a

theorem artin_infinitely_many (a : ℤ) (ha : Admissible a) :
    {p : ℕ | p.Prime ∧ orderOf (a : ZMod p) = p - 1}.Infinite := by
  sorry

That 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:

theorem admissible_of_infinitely_many (a : ℤ)
    (h : {p : ℕ | p.Prime ∧ orderOf (a : ZMod p) = p - 1}.Infinite) :
    Admissible a

It uses only Lean's three standard axioms, and the second kernel (nanoda) re-checked it from scratch: 9,263 declarations, no errors.

Family Problem Statement Proof
029 Artin's primitive roots builds easy half proved
164 Hindman's finite sums and products builds sorry
201 Kurosh's problem for division rings builds sorry
239 Singularity of symmetric sign matrices builds sorry

The prediction held in all four cases. That says nothing yet about the other 124 families, and I'm not claiming it does.

The 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.

The full write-up is in docs/why-128-families.md.

Built with heavy help from an AI assistant (Claude). AI writes, Lean checks, people decide what it means.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @openai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/why-do-128-of-openai…] indexed:0 read:3min 2026-12-04 · —