An unofficial, read-only Hacker News reader.

Holy shit holy shit holy shit holy shit: The magnitude of what’s now happening (opens external site)

2048 points by Kotlopou 3 days ago | scottaaronson.blog | 1890 comments on HN

View full thread · View on Hacker News

Comment thread (54)

  1. (Not from the field, so just speculating here.)

    I think, "in theory" you may be right, that if everything had already been formalized in Lean, then some automated solver might have made progress. But the thing is, it wasn't. From what I've understood, a good part of the work the agents did was to formalize huge chunks of previously "unformalized" math into Lean. That seems like exactly the tasks that LLMs should excel in.

    I remember reading a comment thread here at the beginning of the AI craze where Lean was dismissed as a curiosity: It was a beautiful project but far too complicated and time-consuming to use to be practically useful.

    I feel that this is exactly the class of problems where LLMs shine right now: Problems where we know how we could tackle them "in theory", but which would have required an infeasible amount of mental energy and specialist knowledge to do in practice. All the coding and reverse-engineering stuff we're seeing right now is in the same category.

    Replies (9)
    1. What if it wasn't done before because megacorps couldn't subsidize it for marketing? The real singularity is actually just lots of money.
      Replies (2)
      1. What if
      2. I was under the impression that these big proofs being made are only taking a few million dollars in compute. Its concentrated over a short time period, but we've spend far more than that in human labor working on the same or similar peoblems. Even more if you include all of the unpaid effort mathematicians have put toward these problems. It cant just be a matter of money.
        Replies (3)
        1. It’s all so obfuscated because these labs refuse to tell us exactly how these models are trained and how much money is going towards solving these problems.
        2. The cited costs are at some published token price. But note two things:

          Those prices are subsidized by vast amounts of venture capital.

          Those costs ignore the externalities of current LLM implementations.

          So, these results have a cited collective cost of a few 10’s of millions of dollars. And possibly a true cost of hundreds of millions.

          Has there ever been that much invested in (human) mathematics over a span of a few years? The only thing I can think of that might come close is the Manhattan Project?

          I don’t think this proves anything either way, but it does seem like a massive investment in foundational work.

          Replies (1)
          1. The Apollo project had a budget about 10x that of the Manhattan Project (inflation adjusted). But of course both of those had massive material costs as well.

            And OpenAI and Anthropic between them raised more in VC capital than both of those projects combined (again, inflation adjusted).

            Replies (1)
            1. People overlook the material cost and the infrastructure required. The amount of infrastructure that is currently being built: data centres, powerplants and the connectivity is enormous. The Manhattan Project was the same - they had to construct massive facilities which is where most of the cost went.

              Everyone thinks of Amazon (AWS), SpaceX/Telsa, etc for their core products, but each are very capable infrastructure developers.

        3. A lot of mathematicians do other stuff. Like teach a course, mentor grad students, read / review the work of colleagues. You know, academic things.

          So, we can't take every dollar spent on mathematicians and assign it as a debit to solving proofs. Some percentage, maybe.

          Just like the OpenAI token spend; they need to be accounted for at the wholesale price, not the retail.

          Replies (1)
          1. agents also do lots of other non related items, update the memory, share the knowledge, run tests , fix harness etc. i do not get that argument. it's a human high education system as a tool to crack complex problems vs agentic ai systems.

            what's even more depressing, is that these math problems almost like a gym for a bigger problems to solve. if they can crack math problems, chemistry physics etc, will be next with some extra tools: robots, quantum compute etc.

    2. Yes. I've said elsewhere that one of the biggest powers of AI is implementing basic expert knowledge very quickly and at scale. I'm not saying that's all AI is good for, but that in itself can have a big impact.

      We underestimate how much a very thorough and dedicated process can accomplish.

    3. > It was a beautiful project but far too complicated and time-consuming to use to be practically useful.

      This is DHH's theory of why it's finally the year of Linux on the desktop, what makes Linux hard for humans - you need to use a terminal, tons of text config files, inscrutable but detailed error messages, are exactly the kind of stuff LLMs thrive solving.

      Windows/Mac are easier for humans to maintain, but they give very little access to their internals to LLMs, so agents are less effective changing stuff.

      Replies (4)
      1. Yep, already had some amazing experiences using agents to debug and solve issues with peripherals not working correctly - such as having it fix some obscure buffer underrun issue with an USB mic during the telco where I was using that mic...
      2. > they give very little access to their internals to LLMs

        Not really, on Mac there's OSA layer, there's no equivalent for that in Linux. LLMs are beyond amazing (and horrifying) with that thing.

      3. You'd be surprised how capable the coding agents are at Windows config. Powershell 7 with the right modules, and a win binary of ripgrep and it can do almost anything. The OAI models have always been very good at powershell.
      4. Both my Finance Director and my dad’s cardiologist use Claude Code. When I suggest they use cowork or something other than a CLI, they both shrug me off and say “no, it’s gotta be Code.” They say it in a sort of “you can’t keep the good stuff for yourself any longer” sort of way.
        Replies (1)
        1. Funny, because the frontier in engineering is using Slack to drive the agents.

          How the table turns.

    4. > From what I've understood, a good part of the work the agents did was to formalize huge chunks of previously "unformalized" math into Lean.

      That sounds scary and makes me question the foundations of all of this.

      Replies (5)
      1. With "formalize", I mean turn into a "machine-readable" representation that can be processed by a proof checker. It was formalized enough for humans to understand and verify, but not for automated (non-LLM) reasoning.
        Replies (1)
        1. The question is, how do humans know that the Lean formalization of these pieces of math matches their understanding of what the math means? As a programmer in 2026, I routinely encounter situations where an AI takes my informal ideas and formalizes them into something that's close to what I had in mind. If a mathematician has some complex field they want to reason about, and they see a Lean formalization of a field that has a few extra elements from some esoteric edge case, is it easy in general for them to tell the difference?
          Replies (3)
          1. Mathematicians do need to verify that the statement (in Lean) of what's being proved is correct. For other things they need to check, see:

            https://xenaproject.wordpress.com/2026/11/12/and-the-proof-i...

          2. Think of it like compilation. Compilation doesn't tell you if a program is good, bad, or even sound, but it does tell you that what's been written is technically a valid program if it's passed all of the structural checks that are part of the language definition. A proof is a binary outcome in the same way that a program either compiles or it doesn't; it's either true or it's not. The idea (at least as I understand it) is that your axioms become your rules, and you use a checker that enforces that none of those rules have been broken. As long as you do that, and the final statement is correct, then everything up to (and including) that point is a valid "program". What's inside could be spaghetti, but the benchmark for success isn't "the program is bug free", it's "it compiled", which is a vastly easier benchmark.

            Put another way, it's essentially a type checker running on the AST.

            Replies (1)
            1. You have the right idea, but there's a huge (very infinite) domain of "things that can be proven" that aren't what you wanted to prove. So, even if "it compiles" you still need to make sure that you proved the right thing.

              Continue this thread (1 replies) →

          3. The problem statement (the Riemann Hypothesis) has been stated formally as a type. This was already done by humans in mathlib and has been checked over.

            The goal of the AI is then to write a term (a program) of this type. If the AI can write such a piece of code and it typechecks against the problem statement type then problem statement has been proven.

            It doesn't matter if any of the subroutines correspond to existing mathematical knowledge, so long as the AI doesn't cheat the type system. There are many tools to assert that the AI didn't cheat the type system and so far everything has checked out.

            Due to the nature of domain it is more or less guaranteed that any subroutine necessary to build a /valid/ proof statement for the Riemann Hypothesis will end up being encodings of existing mathematical structures or novel new ones.

            Replies (1)
            1. > Due to the nature of domain it is more or less guaranteed that any subroutine necessary to build a /valid/ proof statement for the Riemann Hypothesis will end up being encodings of existing mathematical structures or novel new ones.

              But that's where I don't agree. I would say that the four-color theorem has a longstanding example of a valid proof that nevertheless fails to do this; despite our best efforts, one of the critical steps remains "the computer told me none of these 633 configurations work for some reason".

      2. As in the OP, don't fall into the trap of dismissing those results. The statement of the Riemann hypothesis that was proven was taken from Mathlib, a very simple, standard and well-vetted formulation of the problem. Barring compiler bugs, there's no way the statement would have compiled without supplying an actual proof. And the probability of compiler bugs is vanishingly small in that case, as the proof compiles in multiple different compiler versions, including formally verified and deliberately 'slow-but-reliable' ones. The probability of mistakes physically cannot go to exactly zero, but you're quickly approaching crackpot territory if you don't update your prior of it being true to within a rounding error of 1.
        Replies (1)
        1. How does that work. Is it not possible to write malicious Lean code?
          Replies (1)
          1. It's Turing-complete, so you should be able to write anything. But it's fully functional, so you can't hide side effects in what by its signature should be a proof of A. More practically, there's tooling to check whether a proof does anything it shouldn't (like assuming the conclusion somewhere, which in itself wouldn't work as it'd only give A-> A instead of A, but along those lines). So with those tools, checking a Lean proof really isn't much more than checking the statement and compiling.

            Again, no tool is 100% reliable, but the community really has gone the extra mile to get as much certainty as possible. If you believe that the Higgs Boson exists, or the HI Virus, or that the Roman Empire existed, or Dinosaurs, then you should believe that the Riemann hypothesis is true (and that's factoring in that math has a different standard of evidence than empirical disciplines).

      3. Why is formally proving lemmas and theorems scary?
        Replies (1)
        1. For someone who's used LLM-based agents for software development, and who doesn't the guarantees a lean certificate provides, it sounds scary because who knows what weird misunderstandings crept into the autoformalization?
          Replies (1)
          1. The whole point is it doesn’t matter if you vetted the spec, which isn’t that hard for math pros. Lean is at heart a type checker. If you think types help LLMs write 50% more correct code, lean makes them write 100% corect code.
      4. > That sounds scary and makes me question the foundations of all of this.

        I'm not a mathematician, just a computer programmer who occasionally tries to read maths papers. Every time I do, I want to scream in frustration. What meaning did they assign to ω this time? What operation is this weird new 2D arrangement of dots, oversized odd-looking brackets and lines meant to impart? Where is the F12 button that takes me to the definition of their newfangled concepts?

        Over and over again, you hear they stuff it up. (The Fields medallist Voevodsky, for example, turned to proof assistants after finding errors in his own published work.) Perhaps the logic didn't follow, or the operations didn't combine as they thought. Of course they didn't! If computer programmers had to get the logic perfect without type checking, we may as well be writing assembler.

        You only get automated checks if you formalise your notation and languages. To do that you have to give up brevity. A simple hand-wave like "without loss of generality" can become pages of proof. The freedom to name and structure things however you damned well please disappears. It's undoubtedly harder to write that way - I'm sure every Rust programmer sometimes feels like most of their effort went into escaping a jail so they could get the job done. In return you get automated checking and a near-universal language that can be reused. And it's easier to read. The old adage that code will be read far more times than it's written applies to maths papers too.

        To me, decrying the use of formal languages is at the same level as passing laws saying a car must follow a man waving a red flag, so the car doesn't scare the horses. Rewriting maths in a formal language isn't scary - it's a technological breakthrough in the productivity and accessibility of maths.

      5. If the headline statement is known to be formalized correctly, whether the formalizations of other concepts the model gave in order to use them in its proof of the headline statement, are correct/“correct”, doesn’t really matter for the correctness of the overall proof. Like, they might not match the human concept that it names the defined symbols after, and so they might be “wrong” in that sense, but this doesn’t cause an issue for the proof checker. And, I don’t mean this in a “well, the concept the model formalized is just as good/useful, and it is just a human bias that blah blah blah”, no. I mean, it is possible that it defines some terms in a way which is genuinely worse, and not what the definition should be. But, if it does that, then if the proof checker is working properly and validates the proof that uses these flawed definitions in its arguments, then the proof must have worked around the flaws in those definitions, and the overall conclusion (the statement which people have confirmed to be correctly formalized) is true.
        Replies (1)
        1. If you're formalizing existing stuff, then there's probably not much point in formalizing the proofs themselves. You'd just put in the theorems and tell the compiler that it's known to be true so that it can be used with other proofs. So, if we're using AI to formalize existing math, then we're either using AI to check that the humans got it right or we're asking AI to make up theorem statements, which creates shakey foundations for everything that follows.
          Replies (1)
          1. If you want to use a certain mathematical technique in a new proof, you might need to use definitions (or theorems) that have already been given but not yet formalized in Lean. That’s what I was describing. Not just translating an existing proof/definition as the whole thing, but as part of a new proof of an existing conjecture.
    5. I also remember encountering lean pre this mathpocalypse. And my memories of it relate to code correctness verification not math
    6. Lean and computer formulations are the holy grail and future of mathematics as I see it.

      The whole goal of mathematics has been to provide a formalism by which we can proveably and consistently talk about universal facts. It is only natural that this was adopted to computers

      Replies (1)
      1. This is somewhat backwards. Mathematical formalism came first, leading to computers once electronics was developed. Mathematics and computers are essentially the same thing.
        Replies (1)
        1. That's precisely what Im saying
    7. I feel like it's closer to six of one, half dozen of another, although I could be wrong. I'm not sure if a comparable effort would have required an infeasible amount of mental energy/effort and specialist knowledge.

      According to gemini, Anthropic alone has spent ~$20 billion on compute/infra alone since their founding, and all math research in the US is only ~$1+ billion/year.

      Could we have already gotten here if we spent an extra $.01 billion/year over the last 10-20 years in augmenting existing math research with developers who specialized in automated/semi-automated proofs/logic? I think it's possible.

      At the same time, we didn't, and I think there's a lot be to said for math research maybe being a bit inflexible. But I don't think that frontier models, with help from human experts, being able to do things humans haven't done yet with hundreds of billions to trillions in capital expenditures implies that we couldn't have done the same given a different research landscape with less invested in human/compute (or maybe even less that what was spent on tokens).

      Replies (4)
      1. > According to gemini, Anthropic alone has spent ~$20 billion on compute/infra alone since their founding, and all math research in the US is only ~$1+ billion/year.

        Agreed in principle but it’s not an exact apples to apples comparison because the compute has market value by virtue of being hardware. In a sense maybe they really only spent $10 billion if you wanted to compare directly to US mathematics research.

        As I was writing this comment though I thought - did US mathematics research need more money, or was the approach by broad comparison simply inefficient? Or insufficient? Seems like additional investment might simply have resulted in more cooks in the kitchen whereas the Anthropic and friends investment actually put resources to the problem solving?

      2. This an excellent point. And one I had not thought of at all.
      3. > Could we have already gotten here if we spent an extra $.01 billion/year over the last 10-20 years in augmenting existing math research with developers who specialized in automated/semi-automated proofs/logic?

        No, we couldn't. This was tried and failed before, see e. g. knowledge systems or machine translation or computer vision. The famous bitter lesson.

        Replies (2)
        1. I don't think we've tried this at scale. It would require someone a step down from Leonardo de Moura at every math program plus additional developers/mathematicians under their/the programs guidance working a ton on lean or similar for a decade or two.

          It could be analogous to the other systems you mentioned, but not the same thing, and I'm my experience knowledge systems are underutilized. People like LLMs because they're generalized, but older machine vision, machine learning, knowledge systems, etc... I think still have their place and are sometimes overlooked.

        2. There was not significant money or human capital behind prior efforts. Imagine instead a Manhattan Project or Space Race equivalent, but for math discovery. That's really what we're dealing with in terms of the AI sector broadly. Would that have resulted in similar developments? Impossible to tell, but that's likely the closer analogy.
          Replies (1)
          1. > Imagine instead a Manhattan Project or Space Race equivalent, but for math discovery. That's really what we're dealing with in terms of the AI sector broadly.

            Most of the money in AI is not spent on training and research, but in serving inference to customers. Training the model capable of doing math discoveries is (comparatively) cheap, serving it to the whole world is not.

            Replies (1)
            1. According to their IPO files, Anthropic spend 75% of their money on training and research, and 25% on inference. So that’s not correct at all.

              Continue this thread (1 replies) →

      4. Anthropic didn't spend billions on math processing specifically though. The point is that their infra is general purpose with many applications, only one of which is math. The output for the amount of spend directly on math is much better.
        Replies (2)
        1. Their infra does seem a lot better at maths than many other challenging human cognitive tasks.
        2. Definitely. It's also good at software development, physics, etc...

          The question to me is, would a competency weighed amount of their spending be better or worse than the same or less spending in different ways in the same fields?

    8. > then some automated solver might have made progress

      Automated solvers have been tried since the beginning of AI research. We still don't have effective explicit heuristics for proving theorems like we have for, say, 3SAT. So, no, automated solver would have get lost in a combinatorial explosion and no amount of compute (available on Earth, that is) would have changed it.

    9. > this is exactly the class of problems where LLMs shine right now: Problems where we know how we could tackle them "in theory", but which would have required an infeasible amount of mental energy and specialist knowledge to do

      Also not in the field, but after spending some quality time with my LLM of choice asking a lot of questions and reading links, this is where I landed too. Theoretical mathematics, like advanced coding, is a unique class of complex problem which requires special domain expertise, is extremely labor intensive, has a brutally large search space yet is relatively easy to verify. This makes both of them extremely well-suited to RLVF-like approaches.

      Another factor is simple economics. Many of these "open problems" were still unsolved not because they were impossible for humans to solve, but because the amount of work dwarfed the near-term practical value. Otherwise there would already have been more funding and people devoted to grinding through them "the hard way". The supply of domain experts willing and able to spend years grinding through those search spaces didn't match the sheer scale of the problems. It's not much different than the tunnels through mountains and man-made canals that remained undug until steam shovels and TNT changed the economics.