Skip to content
ContentLora

    Tip: press / anywhere to search.

    Analysis

    Should every mathematical proof be checked by computer?

    A proof assistant such as Lean checks a formally written proof down to the foundations of mathematics, so the logic of a formalised proof is checked by software rather than by a human referee.[1][2] Thomas Hales wrote that in 2026 AI translation of papers into formal proofs became practical, and Anthropic announced a claimed formalisation of Fermat's Last Theorem in 11 days.[3][4] Mathematicians disagree about what that means: some want formal certificates to lighten peer review, while others stress statement fidelity, checker bugs, incompatible libraries and the human understanding a certificate does not supply.[5][6][7][8]

    Editor reviewedUpdated Analysis19 claims · 26% primaryMathematics research, Computing, AI for science
    Show:

    Read AI for mathematics and how peer review works first. This page sets out positions from the people who hold them. It does not take a side.

    What formal proof is

    A proof assistant such as Lean lets mathematicians write definitions, theorems and proofs in a formal language that a computer can interpret and check, down to the foundations of mathematics. Working in one means painstakingly spelling out inferences that are often intuitively clear.[1] Lean is free and open source, and Mathlib is a community library of mathematics formalised in it.[9]

    Formal proof began as a response to proofs that referees struggled to check. Thomas Hales started formalising his proof of the Kepler conjecture on sphere packing after problems in ordinary review, some caused by the proof’s heavy computation.[10] He writes that the formal proof took about 20 work-years.[10] In the Liquid Tensor Experiment, Peter Scholze asked formalisers to check a theorem he was unsure of. In June 2021 he wrote that the part he doubted had been verified, and the project finished on 14 July 2022.[11]

    What changed in 2026

    In an October 2026 guest post, Hales wrote that autoformalisation, where AI translates a paper into a formal proof, had become a practical reality in 2026. He put Mathlib at nearly 300,000 theorems and over 700 contributors.[3] On 4 September 2026 Anthropic said its Claude model had produced, in 11 days and largely on its own, what the company called the first end-to-end computer-checked proof of Fermat’s Last Theorem. The company said this ran to 13 million lines of Lean and 29,500 intermediate theorems.[4] Kevin Buzzard’s human-led project, started in 2024, had estimated 10 years for the same goal.[7]

    AI systems also produced large volumes of new, unformalised mathematics. Nature reported that OpenAI posted more than 700 AI-generated preprints on 6 October 2026. Reactions ranged from Ursula Martin’s complaint about a “messy first draft” to Buzzard’s view that it is wasteful for humans to work on theorems already proved.[12]

    The case for routine formal proof

    Supporters see formal checking as relief for an overloaded refereeing system. In 2022 Thomas Bloom’s solution of a problem posed by Erdős and Graham was verified in Lean while the paper was still under review. Timothy Gowers wrote that it might be the first time a serious mainstream result did not need a referee to check it, because it had been checked formally.[2] Frederick Manners told Nature that most published papers contain mistakes, some of them serious ones that peer review misses. He said a tool that certified an arXiv paper or found its error would be profoundly useful.[5]

    The case is also made for disputed work. Mochizuki argues that for his contested inter-universal Teichmüller theory, a Lean formalisation matters less as verification than as a precise record of the logic that cannot be misread (see the abc dispute).[13]

    The case for caution about the checkers

    A formal proof shows that the formal statement follows from the axioms. It does not show that the statement says what people think it says. Hales writes that no Lean proof should be accepted until humans audit the statement and definitions, a task he calls much easier than checking the proof.[6] He also reports that several soundness bugs, which let Lean accept a proof of something false, were found in July and August 2026. All were repaired and Mathlib was rechecked.[14] Rechecking proofs with independently written kernels helps, he writes, but does not remove all doubt.[15]

    There is also a library problem. Nature reported that the code behind the AI-produced Fermat proof is not immediately reusable by other mathematicians, and Buzzard warned of a “nightmare scenario” of multiple incompatible Lean libraries.[7]

    The case that certificates are not the point

    On 11 September 2026, 25 Fields Medallists issued a declaration saying that solving problems is only a proxy for the real goal of conceptual understanding. They warned that mass-produced “true/false” statements could destroy fertile ground for new ideas.[8] They also said AI results are often announced in a rush, without proper write-ups or citation of earlier work. Without mathematicians to develop them, they wrote, AI-generated ideas would never become part of the canon.[16]

    Logician Jeremy Avigad, writing before the AI surge, argued that formalisation should enhance mathematical exposition, not replace it.[17] He reported a 2023 panel where Akshay Venkatesh and Emily Riehl named the size of the literature and the volume of submissions as the main problems, and only Sophie Morel named correctness.[18] He also wrote then that proof assistants were hard to use and most cutting-edge mathematics was out of reach.[19]

    The three positions answer different questions. Supporters ask whether a result is correct, and the checkers’ cautious defenders ask whether the certificate can be trusted. The declaration’s signatories ask whether anyone understands the result.[5][6][8] Cheaper formalisation in 2026 weakened the old cost objection, but it made the other two more pressing: AI-built proofs can arrive faster than humans can audit their statements or absorb their ideas.[3][7][16]

    Expect journals and prize committees to face the question directly, since claimed AI results increasingly arrive with Lean code attached. How they weigh formal certificates against human-readable write-ups is uncertain, and nothing in the sources above shows a journal policy yet.[4][12]

    Competing views

    Make formal proof the standard

    Formal checking can replace the hardest part of refereeing. Gowers said a formally verified result need not be checked by a referee, and Manners told Nature a tool that certifies or refutes an arXiv paper would be profoundly useful because many published papers contain mistakes. Mochizuki argues a formal record also helps communicate a disputed theory.[2][5][13][4]

    Verify, but check the checker

    A formal proof is only as good as its statement and its kernel. Hales says humans must audit whether the formal statement matches the theorem, reports 2026 soundness bugs in Lean, and says cross-checking with other kernels does not remove all doubt. Buzzard warns of incompatible AI-built libraries that others cannot reuse.[6][14][15][7]

    Certificates are not understanding

    Twenty-five Fields Medallists say solving problems is only a proxy for conceptual understanding, and mass-produced true/false statements could crowd out new ideas. Avigad argues formalisation should enhance exposition, not replace it, and found that leading mathematicians named the volume of literature, more than correctness, as their main problem.[8][16][17][18]

    Next in the crash course

    More in Mathematics research

    Developing in AI & Computing

    Questions readers ask

    What does it mean to formalise a proof?

    It means writing the proof in a formal language such as Lean, where inferences that are often intuitively clear are spelled out so that software can check the logic down to the foundations of mathematics.[1]

    Has Fermat's Last Theorem been formalised?

    Anthropic said in September 2026 that its Claude model produced the first end-to-end computer-checked proof of it in Lean in 11 days. A human-led project begun in 2024 had expected the job to take about 10 years.[4][7]

    Can a computer-checked proof be wrong?

    The logic can still fail if the proof checker has a soundness bug, and several were found in Lean in mid-2026 and fixed. The formal statement can also differ from the theorem people care about, which is why Hales says a human audit of the statement is needed.[14][6]

    Why not formalise everything?

    Until recently it was slow and hard. The Kepler conjecture formalisation took about 20 work-years, and in 2023 Avigad wrote that most cutting-edge mathematics was out of reach. AI has since cut the effort, but AI-built proofs may not fit the shared Mathlib library.[10][19][7]

    What do critics of AI mathematics object to?

    A declaration by 25 Fields Medallists says AI results are often announced in a rush without proper write-ups or citations, and that understanding, not just true/false answers, is the goal of mathematics.[16][8]

    Sources

    · 19 claims from 7 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      A proof assistant such as Lean lets mathematicians write definitions, theorems and proofs in a formal language that a computer can interpret and check, down to the foundations of mathematics and the rules of logic. Working in one means painstakingly spelling out inferences that are often intuitively clear. confirmedas of 2026-10-09

    2. [2]

      After Thomas Bloom's 2022 solution of a problem posed by Erdős and Graham was verified in Lean while the paper was still under review, Timothy Gowers wrote that it might be the first time a serious contemporary mainstream result did not have to be checked by a referee because it had been checked formally. reportedas of 2023-11-04

    3. [3]

      In an October 2026 guest post, Thomas Hales wrote that autoformalisation, AI translating papers into formal proofs, became a practical reality in 2026, and that the Mathlib library had nearly 300,000 theorems and over 700 contributors. reportedas of 2026-10-09

    4. [4]

      Anthropic said on 4 September 2026 that its Claude model, working largely autonomously for 11 days, produced what it called the first end-to-end computer-checked proof of Fermat's Last Theorem in Lean, writing 13 million lines of Lean and proving 29,500 intermediate theorems. reportedas of 2026-09-07

    5. [5]

      Mathematician Frederick Manners told Nature that most published papers contain mistakes, some serious ones are missed by peer review, and a tool that could certify an arXiv paper as correct or point out an error would be profoundly useful. reportedas of 2026-09-07

    6. [6]

      Hales wrote that a Lean proof should not be accepted until humans audit whether the formal statement and definitions match the intended theorem, a task he called generally much easier than checking the proof itself. reportedas of 2026-10-09

    7. [7]

      A human-led project started in 2024 to formalise the proof of Fermat's Last Theorem by extending the Mathlib library; its leader, Kevin Buzzard, estimated it would take 10 years. Nature reported that the AI-produced code is not immediately reusable by other mathematicians, and Buzzard warned that multiple incompatible Lean libraries could be "a nightmare scenario". reportedas of 2026-09-07

    8. [8]

      On 11 September 2026, 25 Fields Medallists issued a declaration saying solving problems is only a proxy for the primary goal of conceptual understanding, and that mass production of true/false statements by AI could destroy fertile ground for new ideas. confirmedas of 2026-09-11

    9. [9]

      Lean is a free, open-source proof assistant, and mathlib is a community-driven effort to build a unified library of mathematics formalized in Lean. confirmedas of 2026-11-14

    10. [10]

      Thomas Hales started the formal verification of his proof of the Kepler conjecture on sphere packing after difficulties in the ordinary review process, some caused by the proof's heavy use of computation; Hales writes that the formal proof took about 20 human work-years and about 500,000 lines of proof scripts. reportedas of 2026-10-09

    11. [11]

      In the Liquid Tensor Experiment, Peter Scholze challenged formalisers to check a difficult theorem from his joint work with Dustin Clausen; in June 2021 he wrote that the part of the argument he was unsure about had been verified, and the challenge was completed on 14 July 2022. reportedas of 2023-11-04

    12. [12]

      Nature reported that OpenAI posted more than 700 AI-generated mathematics preprints on GitHub on 6 October 2026; Ursula Martin called it tossing the community a messy first draft, while Kevin Buzzard said it is wasteful for humans to work on theorems that have been proved. reportedas of 2026-10-07

    13. [13]

      Mochizuki's April 2026 slides argue that for IUT the main value of Lean formalisation is not verification but producing a precise record of the theory's logical structure that cannot be misinterpreted and can be used to communicate it to other mathematicians. confirmedas of 2026-04-08

    14. [14]

      Hales reported that several soundness bugs, flaws that let the Lean kernel accept a proof of a falsehood, were found in July and August 2026, that they were quickly repaired, and that Mathlib was rechecked with the repaired kernel. reportedas of 2026-10-09

    15. [15]

      Hales wrote that one remedy is to recheck proofs with independently written Lean kernels, but that cross-checking with different kernels does not remove all doubt. reportedas of 2026-10-09

    16. [16]

      The declaration said AI-produced solutions are often announced in a rush without a proper write-up or citation of earlier work, and that without mathematicians to develop them, AI-conceived ideas would not become part of the mathematical canon. confirmedas of 2026-09-11

    17. [17]

      Avigad argued that the goal of formalisation is not to replace mathematical exposition but to enhance it, and that digital libraries are meant to supplement, not replace, traditional publication. reportedas of 2023-11-04· interpretation

    18. [18]

      Avigad reported that at a 2023 panel, Akshay Venkatesh and Emily Riehl named the size of the literature and the volume of submissions facing editors and referees as main challenges, and only Sophie Morel named ensuring correctness as a primary concern. reportedas of 2023-11-04

    19. [19]

      Writing in 2023, logician Jeremy Avigad said proof assistants are not easy to use, formalisation can be a pain, and most cutting-edge mathematics was then out of reach. reportedas of 2023-11-04

    Revision history (1)
    1. Page created.

    Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Mar 8, 2027.

    Cite this page

    "Should every mathematical proof be checked by computer?." ContentLora, updated Nov 22, 2026. https://contentlora.com/analysis/should-proofs-be-formalised-debate

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.