Skip to content
Vibe Math Lab.

Lesson 9 of 23

How to check an AI-written proof, with three real examples

Five steps, in order, for checking a proof an AI wrote, starting with the statement it proves. The examples are three of my own results: one checked in exact arithmetic, one by proof-checking programs, and one by two programs that share no code. A prompt you can paste into a fresh chat is at the end.

I'm Tyler Orden, an independent researcher who does mathematics with AI agents. My research record is at Cyborg Mathematics.

An AI-written proof can read perfectly and still be wrong, because a wrong proof from an AI is as fluent as a right one. Reading it through and finding it convincing is the weakest check there is. The five steps below adapt the five checks I use for any answer an AI gives me to proofs, starting with the statement and ending with someone whose only job is to break it, with examples from three of my own results.

1. Check the statement before the proof. Write the claim in one sentence in your own words and compare it, phrase by phrase, with the problem as it was originally posed: every condition, every "at least" and "at most", every case left out. AI models sometimes prove a neighboring statement that is easier, and a correct proof of the wrong statement settles nothing. Proof-checking software does not do this step for you. Lean, a programming language in which a computer checks every step of a proof, checks the proof against the statement as typed in, so if the statement was typed in wrong, Lean will confirm a proof of the wrong thing. This is a common gap. VibeMathed, a separate public website, not connected to this one, that records math results made with AI, lists 496 results with a Lean proof that compiles, and for 337 of them nobody independent has yet compared the Lean statement with the original problem, so nobody yet knows whether those proofs settle the problems they are meant to. I counted them in How many AI math results has anyone checked?

2. Check the proof against itself, step by step. Does each step use only what earlier steps established? If the proof leans on a computer calculation, as AI-written proofs often do, do the numbers in the proof match the numbers the program printed? Ask a fresh AI chat to list every step the proof relies on as a numbered list, then check each item on that list yourself.

3. Check it by a route that does not share its weak points. For a short written proof, that means testing every claim on small cases you can work out by hand or in a spreadsheet, and having a different AI model or a person rederive the key step without seeing the original. For a proof that rests on a computer there are three strong routes, and I have used each:

  • Exact arithmetic. Heilbronn's triangle problem for nine points asks how to place nine points in a square so that the smallest triangle they form is as large as possible. A 2002 computer search found the best arrangement known, and I proved that nothing beats it, which gives the exact answer. The proof splits the possible arrangements into 136,050,290 small cases and gives each one a certificate, an inequality between whole numbers showing that no arrangement in that case beats the 2002 one; the cases right around the 2002 arrangement are covered by a separate exact argument. A program checks each certificate with no rounding at all. Rounding matters here because the best arrangements differ by tiny amounts, so a rounding error in one case could hide an arrangement that beats the 2002 one. Three separately written programs check every certificate. They share the rules for what makes a certificate valid, and the first two also share part of their driver code, so only the third shares no code with the others. I tested them by corrupting certificates on purpose, 313 times, and none of the corrupted certificates was wrongly accepted: 242 were rejected by all three programs, and the other 71, accepted by at least one, were each confirmed harmless (15 were still valid certificates, and 56 changed only a part that the accepting program does not read).
  • A proof checker. Erdős Problem #112 asks how many points a network of one-way links needs before it must contain one of two patterns; in the case I worked on, 6 points with no links among them, or three points where A links to B, B links to C and A links to C. I proved the number is 30, 31 or 32, narrowing the earlier range of 29 to 33, and wrote the proof in Lean, the first Lean proof on the problem. The Palomar registry, a public registry of machine-checked proofs, then reran it on its own machines with three proof-checking programs written independently of each other, and registered it in November 2026. Registration certifies that the proof proves its stated theorem with no gaps. It does not certify that the Lean statement matches the problem: Palomar compares the two using an AI model, and no person at Palomar reviewed my proof. That is step 1, which is why step 1 comes first. How the Lean proof was made has the details.
  • Two programs that share no code. Virial coefficients of hard squares and cubes are the numbers that describe how the pressure of a gas of tiny hard squares or cubes rises as it gets crowded. I computed the eighth, ninth and tenth exactly, for squares and for cubes, the first exact values of each. Each one is a sum over every way a small group of particles can overlap one another, drawn as diagrams, and there are 9.7 million such diagrams in the largest case. Two methods written separately, sharing no code, diagram list or formula, worked through every diagram and agree on every one. A third method reproduces the first seven values, all published by 1962, confirms the eighth and ninth in full, and spot-checks the tenth on a sample of 17,124 diagrams.

Each route leaves something unchecked, and the record should say what. For the Lean proof, a person still has to read the statement against the original problem. The Heilbronn certificates cover the cases that a written argument in the paper on that result reduces the problem to, and that reduction is checked by the people who read the paper, which is step 5. Two programs that agree are independent only if they differ in the step most likely to be wrong: in an earlier project of mine, two versions of a program counting shapes made of hexagons came up short by exactly the same amounts, because they shared the faulty step, and only the published table of those counts caught it.

Many AI-assisted proofs mix a written argument with a finite computation, and then each part needs its own check. My proof of the three cases of Kang and Park's 2020 conjecture about partitions that the published papers left open (d = 3, 4 and 5) is one: a short written argument covers every large number, and an exact whole-number computation covers all the smaller ones, about 8 million values in each case. A separate AI agent rebuilt the counts with three programs of its own and read the written argument line by line. Recomputing from the definitions also caught three exceptions that a theorem in a 2024 paper had missed, and the separate agent's programs confirmed them. It also shows why the search for earlier work never ends at submission: after the paper went out, a prior-art check found that J. A. Schreib had posted an earlier proof of the same cases on GitHub in September 2026, checked in Lean, by a different method. Mine is a new, independent proof by an elementary route that can be checked by hand.

4. Compare it with what is already known. Before trusting a new number, make the method reproduce the old ones, as the third method in the hard-cube example did with the values published by 1962. A method that cannot reproduce a published value has a problem, either in the method or in the published value, and either way you need to know which before you go on.

5. Give it to someone whose only job is to break it. For a proof, that means an expert referee. No referee has ruled on any of the three yet: the papers on the Heilbronn proof and the virial coefficients are under review at journals, so this step is still open for all three. While you wait, a fresh AI chat told to find the flaw is a cheap stand-in: treat what it says as leads to check, since it shares the blind spots of the model that wrote the proof.

Before you trust an AI-written proof (paste into a fresh chat)
Here is a problem, and a theorem with a proof that is meant to settle it. Do not fix anything. 1. Restate the theorem in one sentence. Compare it with the problem and list every difference, however small. 2. List every step of the proof as a numbered claim, with what each one depends on. 3. Mark the three steps most likely to be wrong. For each, say what calculation or example would show it is wrong. 4. List every place the proof says "clearly", "similarly", "it is easy to see" or "by computation" without showing the work. The problem: [paste] The theorem and proof: [paste]

After the checks, write down which ones the proof has passed and which it has not, in plain words, next to the proof. For the three examples above that record is public, on each result's page on my research site.

For a proof written in Lean, the checks have their own form: reading the Lean statement, Lean's report of the axioms used, building the code and rechecking it with independent checkers. How to check an AI-generated proof in Lean goes through them, with the Riemann hypothesis claim of November 2026 as the example.