Hacker RealtimeBuilt with Neon Realtime
connecting… · checking source…

Comment on Hacker News

  1. This is phenomenal, super important for me. I have always had my concerns about the classification, and the verification that such a monumental proof is correct gives me great confidence about the way we have been doing mathematics so far.
    reply
  2. Out of curiosity: is it possible to take a frontier model and just let it loose on all math textbooks out there, converting each and every proof/theorem/lemma/etc. into Lean? A frontier model should be able to do that, right? And it's a one-time task: do it once and it's there for eternity, available as a library to be used in other proofs.

    Maybe my understanding of Lean is wrong; I'm thinking of it as a programming language but for Math.

    reply
  3. Axiom MTS here. What you describe is pretty close to how we formalised this proof, which is scattered across more than 500 articles and books: a swarm of agents was tasked with going through all these sources.

    One challenge is assembling everything into a coherent whole, since the same informal concept can be formalised in slightly different but incompatible ways.

    reply
  4. What were the agents based on?
    reply
  5. As someone with a highly uneven and kinda basic maths background, I'd have thought that simplification of a proof, and pulling things into a coherent whole would be exactly what computers excel at, but everything I've seen (or heard) suggests that's not really the case. Are you able to explain why?
    reply
  6. A few unrelated examples:

    Some books assume 0 is Natural but other start from 1.

    In some books all Rings https://en.wikipedia.org/wiki/Ring_(mathematics) have a multiplicative identity. Almost all books assume Algebras have an identity, but there may be weird cases.

    Some books say in the first page that they will assume all groups are Abelian/Commutative, and not repeat the assumption in each page.

    There are like 8 conventions to define the Fourier Transform. All are equivalent, but each one add different constants here and there. Beware to combine formulas from different books.

    I guess it's easier for the computer to track the details and remember to translate the names in each book article to a consistent set of definitions.

    reply
  7. Proof and program are twins. Formalized theorems can be incompatible for exactly the same reasons that programming APIs can be incompatible.
    reply
  8. When two sources formalized the same object in incompatible ways, did the swarm mostly emit translation lemmas between them, or did someone pick a canonical definition and have downstream proofs rewritten to match? The second feels like where the "coherent whole" cost actually sits, and I'm curious how much of the 500-source effort was that reconciliation versus line-by-line translation.
    reply
  9. [dead]
  10. Producing a formalized proof from a non-formalized proof in a paper or book should not be considered a violation of copyright.
    reply
  11. Indeed; one cannot copyright mathematical ideas, only their specific expressions. And the formalization is a different expression.
    reply
  12. Yes, but thing is, for a lot of basic stuff there are myriad ways in which it is formulated, so humans have to decide which of them goes in the library. Of course you can include two or five or ten equivalent formulations (like textbooks sometimes do) but still, not everything under the sun.

    Probably this will be done in some form in the coming months.

    reply
  13. The really interesting aspect of this, IMHO, is discovering what theorem formulations combine together well as a whole. It's much akin to a software architecture problem.

    Metamath has done quite a bit or primary research into this. Theorems often have a slightly non-standard, but more general form.

    One can ask things like, "what is the equivalent of functional programming?" Or, "is there global state?" It's a perspective on reverse mathematics.

    reply
  14. > Of course you can include two or five or ten equivalent formulations (like textbooks sometimes do) but still, not everything under the sun.

    Note that mathlib currently includes duplicates of many theorems; I believe deduplication is an active goal (if not one seeing much labor right now).

    reply
  15. Yes and no. With enough compute, probably, but doing this does not necessarily yield a reusable library. See https://xenaproject.wordpress.com/2026/10/16/how-to-formaliz...
    reply
  16. _If_ you have formalized a provable theorem in Lean, a simple bread-first search can prove it. It will take lots (and lots, and lots, and lots…) of time, though (https://en.wikipedia.org/wiki/General_Problem_Solver).

    LLMs can do smarter searches, and will likely find proofs for most of them, but are not guaranteed to find a proof.

    reply
  17. 1 day ago
    [deleted]
  18. Write a few proofs with it and then come back to this
    reply
  19. I think people assume that it would end up not being usable by humans without a lot of hand-holding. Though maybe that's wrong, and somebody should try it.
    reply
  20. I think you're basically right about the end goal yet the gap between a textbook proof and a Lean proof is much bigger than it looks
    reply
  21. This seems like a very good use of auto-formalization, because in the past mathematicians have incorrectly believed that they were finished with the classification only discover a missing class/sporadic group.

    The original proof was a collaboration of ~100 mathematicians, if Tao is correct then we should expect to see more such collaborations in the future like we do in e.g. physics.

    reply
  22. They didn't discover a missing sporadic group. The big gap in the proof (the quasithin case) happened because it was covered in a 600-page unpublished manuscript that under further investigation turned out to be incomplete.
    reply
  23. And what's interesting is that formalization doesn't just catch missing cases, it also forces you to examine all the assumptions that everyone has been taking for granted
    reply
  24. Groups were my gateway drug into abstract algebra. A friend clued me into symmetry being everywhere and Groups are how symmetry is formalized, and it’s been a crazy journey understanding all that. The frontier models can tie those abstract concepts to plain English examples and answer questions decently well, it’s never been a better time to pick up the field solo and see what it has to offer us
    reply
  25. Makes me sad that the homotopical foundation people never got their shit together and now formalization is so mature but it's still done in set theoretic foundations.
    reply
  26. we are moving forward steadily :) https://github.com/marcinjangrzybowski/cubical-bis/blob/inte... (see table in the middle of doc) mind, that it is fully constructive implementation, you can get arbitrary precision aproximation to every real expression. for now WIP, but soon will be aviable in cubical-library :) also our related TYPES2026 presentation: https://types2026.cse.chalmers.se/slides/51.pdf
    reply
  27. Last week I blew my whole Claude Max weekly budget having Opus translate from Mathlib to Coq-HoTT. It was so beautiful I can't wait to do it again this week.
    reply
  28. No Type Theory won: Per Martin-Löf is still alive and should be able to confirm his work lives in some form in Lean. Zermelo and Fraenkel would be utterly confused, however.

    What you mean it say is that Lean is not a HoTT, and Mathlib has tons of classical reasoning (excluded middle, axiom of choice).

    I don't think it's too late at all for HoTT. In fact, I think the AI companies will find trying to crank out more new math which is out of distribution in a funky way a highly useful exercise.

    reply
  29. Im' not sure he'd say that -- Per Martin-Löf's original work was to develop a computational and predicative foundation for constructive mathematics à la Bishop.

    Lean's type theory kinda gives up on that idea: Mathlib gleefully postulates impredicative propositions with the axiom of choice, quotient types, etc. All in all, I'd say that Lean is much closer in spirit to De Bruijn's AUTOMATH project (which pre-dates Martin-Löf!), whose goal was to formalise classical math textbooks using dependent types.

    reply
  30. Why is that sad?
    reply
  31. The stronger AI become the easier it should be to develop and move to alternative foundations.
    reply
  32. Hey now... If you have a formulation in type theory (lean is not set theory), then you can translate to homotopy type theory fairly easily
    reply
  33. [dead]
  34. What did it cost and how much energy was spent?
    reply
  35. This tech is about to come for software.
    reply
  36. Filling in well-known gaps like this is the kind of thing the AI companies should be doing, not trying to scoop research in progress.
    reply
  37. The formalization is 43.1M lines of Lean.
    reply
  38. Is that going to be mathematically useful?
    reply
  39. It's nice to know that they didn't miss anything. The natural language proof is 10,000 pages and they have missed groups in the past.
    reply
  40. Indeed, this formalization effort spotted a flawed argument in one of the original publications and worked around it to repair the result.
    reply
  41. How do we know the formalization itself doesn't have any errors? AFAIK it's very far from trivial to formalize something.
    reply
  42. So, the specification of the theorem we are fairly solid on, formalising what a group is, and a simple group, have been done a long time and we are confident in the correctness of.

    Assuming you do trust those, then assuming the formalisation passes lean (and lean has no bugs!), then the whole idea is you've got a proof of the theorem.

    reply
  43. Well, the point of the _computer_ formalization is that it's checkable.

    An error in the formalization would be a bug in lean. Which, as we know, certainly seems plausible (I've mused on if these giant proofs are incentivizing LLMs to find lean bugs to exploit), but at least it's a smaller surface area.

    reply
  44. An error in the formalization could also be that you formally prove something different from what you think you proved.
    reply
  45. All that needs to be checked to avoid that is the statement of the main theorem. Any divergence further inside means you proved the main theorem differently than you thought you did -- but you still proved it.

    This assumes the Lean kernel itself isn't bugged, but getting it correct is a matter that affects all uses, not just this one, so the cost of making it correct is spread over all those uses.

    reply
  46. In general checking that the definitions are correct isn't that hard and assuming at least one of the lean kernels you verify with is correct (which tbf is an assumption, the implementations are based on each other so could have a common bug) that's all you need to verify.

    In this case the statement is unusually complicated but still much much easier to verify than the proof itself.

    reply
  47. The papers describing lean and it's core operations are deliberately small. The kernel of a theorem prover is meant to be such that a human can check it for correctness. The kernel does not include things like type inference or execution. It literally checks the proof and that's all and everything needs to match exactly. It's fairly trivial to write such a thing.

    Humans have to establish trust in this.

    After that, the rest of the language is written. Yes it is possible the type inference engine is broken but in that case the kernel will reject it

    reply
  48. The proof was of such complexity and length there were lingering doubts. This dispels them.
    reply
  49. 1 day ago
    [deleted]
  50. More so if Lean uncovers logical errors. Note also there is already an ongoing 2nd generation proof.
    reply
  51. I suppose this is the longest Lean proof by a wide margin.
    reply
  52. It's possibly the longest open source project of any kind (depending on whether you count comments and white space in Linux).
    reply
  53. I wonder whether humans could have realistically finished it without AI by 2100.
    reply
  54. I would bet no. Because the original proof is so distributed, with parts of it being very old, and with parts of it being, as a first attempt, not the most concise or lucid route to the result, we were rapidly approaching a world where the empirical knowledge of how/why the result holds was literally dying.

    The article refers to its use of the "first-generation proof". It would seem this proof is too large to be truly known by one person, and the group of people who "collectively knew" it grew old and started to die. Since its original formulation, mathematicians began to compile, consolidate, and revise the proof into a 2nd generation digested form (estimated to be 5000 pages instead of tens of thousands). But that effort was still so monumental in its own right that a 3rd gen proof project began to digest the 2nd gen proof before the 2nd gen proof was even finished. I believe both the 2nd and 3rd gen projects are still ongoing.

    It will be interesting to see how small the proof gets once we finish learning how to obtain these results "efficiently" with the benefit of hindsight.

    reply
  55. Depends if you include a few decades of improvements in lean itself. Non-AI proof automation is much better than it was even a year ago and so some fiddly results can now be done with `by grind`.

    Also don't discount the fact that people would learn how to do this kind of project, currently no one really knows how to decide what definitions work best, what should be reducible, what should be part of a public api and what should be local to a module, etc.

    reply
  56. I used to take mathematicians seriously.
    reply
  57. What do you mean by that?
    reply
  58. Holy shit.
    reply
  59. LLM formalization is not as useful as human formalization, but nice to know that the Classification is correct
    reply
  60. Page has some kind of redirect bug that steals the back button, may want to open it in a new tab to avoid that.
    reply
  61. I was thinking this would be done at some point but not so soon.
    reply
  62. Note they found one gap (and filled it) in the previously accepted 1,000+ page proof. So that's pretty cool.
    reply
  63. Somehow the classification of finite simple groups makes me feel uneasy as a mathematician, but I suppose this helps quell that feeling.

    https://en.wikipedia.org/wiki/Monster_group

    reply
  64. I'm surprised they only found one gap. I would have expected multiple (fixable) gaps would have been uncovered, especially since the result was spread over many papers by many different people.
    reply
  65. In [1] they claim:

    >However, there were 34 noteworthy deviations from the published record that needed to be resolved, the most substantial of which related to the Unbalanced Group Theorem.

    [1]https://axiommath.ai/research/the-enormous-theorem-formalize...

    reply
  66. Many many gaps had been found and patched (by humans) already over the last forty years.
    reply
  67. 1 day ago
    [deleted]
  68. what a monster of an effort!
    reply
  69. i_see_what_you_did_there.gif
    reply
  70. Looking at the visualizations made me wonder if the embeddings themselves can be used to suggest, if not derive, mathematical results. I realize it depends on the quality of the embeddings.
    reply
  71. 1 day ago
    [deleted]
  72. The counterexamples to a closure step in one of the published routes are the strongest case for doing this. A proof treated as settled for decades still had a hole, and it took a machine-checkable record to surface it. I'd like to know how many of the 500 sources needed a repair rather than just a translation.
    reply
  73. based if true
    reply