I've been noticing that in programming, the reason why LLMs are quite powerful is that they're very thorough and fast. Modern harnesses can use those two properties and extract very smart outcomes out of them, even if the basic stuff the LLMs are doing is stuff that most programmers can do.
I wonder if this translates to other domains. Maybe the key to making really intelligent mathematics is to know most of the basics, then apply thoroughness and speed at scale. Maybe really intelligent behaviour in general is just basic stuff applied very diligently and quickly.
On the one hand, as soon as you have a machine that can do certain human-like tasks, you can replicate that, scale it up and run it 24/7, unlike with humans. On the other hand, LLMs have cognitive properties that make them different from humans, both worse at some things and better at some things. For knowledge work in particular, the large context windows they can one-shot over are surely a great boon.
Speed is the most important thing now. Disaggregated inference is enabling 10x+ speedups on frontier models. It's only going to get faster.
When your ultrafast coding agent can do in five minutes what used to take nearly an hour, entire new ways of working are possible. You can solve problems with the business in real time. The need for a software development process begins to evaporate when everything can happen synchronously. Why would the business bother writing a design ticket when they know they could get on a screen share with engineering for roughly 15 minutes and achieve a guaranteed result by the end? They get way more control over the outcome too. Once everyone had broadband internet, Netflix didn't try to mail DVDs faster. They turned into a film studio. Anyone with a software business needs to start thinking along similar lines.
I think the reason LLMs are powerful both in mathematics and software engineering is that in both disciplines there are ways to deterministically prove something (theorem, compiler input) to be correct. This counteracts the random nature of LLMs and coupled with their speed enables convergence toward a desired result even if the LLM is not "smart" enough to solve the problem immediately.
Of course in software, correctness of something like an algorithm is sometimes not well-defined because not all edge cases have been considered. Maybe we can finally have bug free code at some point in the future by letting agents formally verify their algorithms.
I'd argue math is different from software engineering. Math is easily verifiable and there exists an absolute truth. Software engineering is more akin to art. There is no one right way to do things. Requirements are defined by the people, for the people. It's more like clay-making.
Craft. Art is something different. There is overlap sometimes, but I certainly don't feel human connection or a notable aesthetic experience reading through LLVM's codebase.
This is just computaters in general though isn't it though?
Or any automation. Dishwashers wash dishes slowly, over hours, and in the most brain-dead way imaginable...but they do it asynchronously without human intervention. Perfect. Computers take the long, expensive and exact way to solve simple problems where a human would just guess and it'd be fine...but they'll do it a trillion times a second so it doesn't matter. An LLM might not solve a single problem how a human engineer prefers, but it can potentially close 100 JIRAs over a weekend and exhaustively run fuzz and regression tests where a human would call it a day and end up chasing failing tests and code reviews for a couple of weeks
It just occurred to me that if AI had been around for a decade, and Lean was new, we're be saying that "Lean solved these problems" and not AI.
Clearly the fact that we've got such a powerful and expressive theorem prover is the only reason AI (a perpetual guesser) is able to do advanced math at all (exactly like with nontrivial coding tasks and automated tests). The checker is just as key to the result as the guesser.
matt Says:
Comment #22 November 24th, 2026 at 9:43 pm
Scott, odds that factoring is in P? If it is, odds that this is already proven? Of course there would be no paper. Scott Says:
Comment #23 November 24th, 2026 at 9:48 pm
matt #22: I’ve now heard many, many rumors that one or both labs are sitting on Factoring in P. I don’t know how much to credit this. While I’m virtually certain that the labs are, indeed, sitting on one or more bombshells for cryptography, it’s possible that the exact nature of those bombshells has gotten distorted via a game of Telephone.
Sounds high-minded, but concretely, if they make a breakthrough that would undermine the cryptography our civilization is currently relying on, do you actually think they should immediately release it to the public?
I get what you are saying, but my prior has always been that a few powerful entities knowing things like this is much more dangerous in the long run than everyone knowing things and adjusting their responses accordingly. I am far more fearful of concentration of power than I am of "random acts of badness" for lack of a better phrase. Perhaps I am wrong to have this heuristic but it has served me well in life so far.
What would the alternative look like? How would they choose who to disclose to first, and why those parties instead of other parties? How long would they get?
There's the option of never disclosing, there's the option of disclosing immediately, and then there's choosing some level between that, and mixing the pros and cons of those in a way that's hopefully more beneficial than either of the extremes, but I'm not sure how something this bit and important can be handled better by going half way for a time. All you're doing is giving immense power to anyone that knows at the expense of every single person that doesn't. If I was naive I would say give it to the government first, but I think there's enough incentive to a few actors without enough oversight that it would be abused while it could, whether departmentally or from singular actors. I don't think large corps are much more trustworthy in that respect. All it takes is one person that wants to cash out. Either everyone gets to put as much effort in as possible as soon as possible, or some people get a head start and take advantage of the rest. Edit: At most, I could see announcing that you've broken existing crypto and give a week at most to fix, and giving the details to nobody else, other than what isn't broken. It's possible someone could re-tread the work but a week's not a lot of time, and that gives people time to move to something new if they really hustle, and that might just be the best possible scenario. I definitely wouldn't want to hear that some people knew how to break existing crypto for a week or more when I didn't know I should have taken steps to mitigate the problem, even if I didn't have a full solution.
They should disclose it immediately, to give people as much time as available to transition to post-quantum algorithms. (Disclosing that it exists doesn't necessitate immediately publishing how it works).
Delaying disclosure risks the algorithm leaking or being independently re-discovered, and then ransomware attacks on hospitals. It's not possible to keep math secret, even if you believed it to be ethical. Today's frontier supercomputer math will be next year's laptops running Qwen.
“Flood the zone” achieves control by providing a surfeit of information. The target is the ability to process and understand.
HN conversations, in my experience, near exclusively recognize information control as a threat. The sophistication in discussion on the more prevalent, modern, attacks on the information marketplace/commons is absent. Attack and control strategies today focus on reducing the ability to process information, or to have accurate information in the first place.
Heh. Factoring in P would make all the post-quantum crypto push actually make sense. We were all assuming that you need a quantum computer to break the RSA, but what if there's a fast classical algorithm?
IMO Without a fast algorithm for discrete log that would mostly push the rest over to EC crypto solutions before moving to post-quantum. But EC has been preferred for a while for performance and size already.
A fast factorization algorithm will almost certainly lead to a fast discrete log algorithm. The underlying problems are similar, so it would be even more stunning if you could do one but not another.
Heuristically, Shor's quantum algorithm solves both. And so far, Shor's algorithm remains one of the few examples of exponential speedups for quantum computers for algorithms that don't involve simulating quantum behavior. So it kinda _is_ suspicious.
As with proving RH, proving that factoring is in P would not have any practical consequences. If, as some confused people imagine, proving that factoring in P allows one to break cryptography, then one could simply assume that factoring is in P and then go break cryptography.
Proofs don't yield algorithms, they only verify algorithms already in hand. Maybe the labs have found a polynomial-time algorithm that breaks cryptography, but that's a totally different subject. Knuth thinks that NP = P and that therefore there is such an algorithm, but the constants are immense and so the algorithms aren't usable.
Plot twist: cryptography is broken so in the singularity all payments and communication of confidential information must be done in person and on paper- and suddenly it's 1980 again! Bank offices reopen, mall and local shops thrive, long queues at government offices!
I think this is false. If it's a fully formalized proof one can get a computational program out of it. Look up 'program extraction from proofs'. The catch is that the properties of the resulting program depend on the exact mathematical statements and also the exact proof, e.g. whether it's fully constructive or relies on classical mathematics. I'm not up to date on this field, haven't looked at this for many years. So that's why I'm vague here and point to looking it up yourself if you're interested in the details. I can't judge at the moment how practical this is, especially for very large proofs.
When bodgers became redundant because machines made better chairlegs its true that a lot of forest dwelling bodgers lost their gig. But some of the best of them became the bespoke furniture makers they always wanted to be.
Mathematicians are going to have to morph into Their best version of something which leverages what they are great at, and what we need. Probably, its to contextualise and help the rest of us understand why it matters. Is it sad to stop doing mathematics? Only if you have the train spotter bug that lights up when doing it. If talking about mathematics, or inducting processes inside a soft machine which does it faster, or intruding if-but-maybe doesn't float your boat, then you can be like reductive monks who reject the modernisms brought into religion, and live according to your own lights the discipline you want: Bourbaki doesn't need a machine, Bourbaki is the machine they want to be.
Mathematics is just a collection of conventions we have agreed upon to formalize _thinking_. We need a language that isn't English to describe and solve problems. If we are no longer doing mathematics, we, as a species, aren't really thinking anymore. And if we are not, what's the point of anything? This is very different than automating physical processes and products. And it's not like we are evolving into a Culture-like (Ian Banks) world, with the impossibly smart machines taking care of humans who can then go on to live their best life. Quite the opposite. And, not needing an educated population to continue with economic activity has, historically, been terrible. Just check any country that discovered vast natural resources. Mind you, I don't think the premise is right. We will not stop 'doing mathematics'. I do not believe the current LLM approach will continue to scale. But, if I am wrong, and the machines actually become smarter than we are and take over mathematics, they will take over everything else in short order. We will become meat robots - at best.
I like the "whats the point" which is a line of reasoning attributed to Churchill about defending the arts in wartime. He didn't actually say it, but it resonates.
People should continue to do maths, because its true and beautiful. If you want it done by a machine, then fine. It's still beautiful but less human.
Math is a formal model of a subset of perceived properties of the world. It is basically what we think the world is if we ignore all differences among things except the distinctness itself, which is a prerequisite for counting. Very suited for formalization and mechanical processing. But not thinking as a whole.
I'd always imagined there were 20,000 of them per square inch. Disappointed to learn it was a more manageable number. Thats not even one wing of a poor house. Those luddites really had no leg to stand on (sorry)
Comments (170) 21 threads
I wonder if this translates to other domains. Maybe the key to making really intelligent mathematics is to know most of the basics, then apply thoroughness and speed at scale.
Maybe really intelligent behaviour in general is just basic stuff applied very diligently and quickly.
On the one hand, as soon as you have a machine that can do certain human-like tasks, you can replicate that, scale it up and run it 24/7, unlike with humans.
On the other hand, LLMs have cognitive properties that make them different from humans, both worse at some things and better at some things. For knowledge work in particular, the large context windows they can one-shot over are surely a great boon.
When your ultrafast coding agent can do in five minutes what used to take nearly an hour, entire new ways of working are possible. You can solve problems with the business in real time. The need for a software development process begins to evaporate when everything can happen synchronously. Why would the business bother writing a design ticket when they know they could get on a screen share with engineering for roughly 15 minutes and achieve a guaranteed result by the end? They get way more control over the outcome too.
Once everyone had broadband internet, Netflix didn't try to mail DVDs faster. They turned into a film studio. Anyone with a software business needs to start thinking along similar lines.
Of course in software, correctness of something like an algorithm is sometimes not well-defined because not all edge cases have been considered. Maybe we can finally have bug free code at some point in the future by letting agents formally verify their algorithms.
Sure, if by intelligent behavior you mean searching proof or program space. I think this is a small subset of what we see as intelligence, though.
Or any automation.
Dishwashers wash dishes slowly, over hours, and in the most brain-dead way imaginable...but they do it asynchronously without human intervention. Perfect.
Computers take the long, expensive and exact way to solve simple problems where a human would just guess and it'd be fine...but they'll do it a trillion times a second so it doesn't matter.
An LLM might not solve a single problem how a human engineer prefers, but it can potentially close 100 JIRAs over a weekend and exhaustively run fuzz and regression tests where a human would call it a day and end up chasing failing tests and code reviews for a couple of weeks
Clearly the fact that we've got such a powerful and expressive theorem prover is the only reason AI (a perpetual guesser) is able to do advanced math at all (exactly like with nontrivial coding tasks and automated tests). The checker is just as key to the result as the guesser.
matt Says: Comment #22 November 24th, 2026 at 9:43 pm Scott, odds that factoring is in P? If it is, odds that this is already proven? Of course there would be no paper.
Scott Says: Comment #23 November 24th, 2026 at 9:48 pm matt #22: I’ve now heard many, many rumors that one or both labs are sitting on Factoring in P. I don’t know how much to credit this. While I’m virtually certain that the labs are, indeed, sitting on one or more bombshells for cryptography, it’s possible that the exact nature of those bombshells has gotten distorted via a game of Telephone.
No quote from any other game in my childhood has been so prophetic as this one across so very many contexts.
Continue this thread — 3 replies
There's the option of never disclosing, there's the option of disclosing immediately, and then there's choosing some level between that, and mixing the pros and cons of those in a way that's hopefully more beneficial than either of the extremes, but I'm not sure how something this bit and important can be handled better by going half way for a time. All you're doing is giving immense power to anyone that knows at the expense of every single person that doesn't.
If I was naive I would say give it to the government first, but I think there's enough incentive to a few actors without enough oversight that it would be abused while it could, whether departmentally or from singular actors. I don't think large corps are much more trustworthy in that respect. All it takes is one person that wants to cash out. Either everyone gets to put as much effort in as possible as soon as possible, or some people get a head start and take advantage of the rest.
Edit: At most, I could see announcing that you've broken existing crypto and give a week at most to fix, and giving the details to nobody else, other than what isn't broken. It's possible someone could re-tread the work but a week's not a lot of time, and that gives people time to move to something new if they really hustle, and that might just be the best possible scenario. I definitely wouldn't want to hear that some people knew how to break existing crypto for a week or more when I didn't know I should have taken steps to mitigate the problem, even if I didn't have a full solution.
Continue this thread — 1 reply
Delaying disclosure risks the algorithm leaking or being independently re-discovered, and then ransomware attacks on hospitals.
It's not possible to keep math secret, even if you believed it to be ethical. Today's frontier supercomputer math will be next year's laptops running Qwen.
Continue this thread — 6 replies
HN conversations, in my experience, near exclusively recognize information control as a threat.
The sophistication in discussion on the more prevalent, modern, attacks on the information marketplace/commons is absent.
Attack and control strategies today focus on reducing the ability to process information, or to have accurate information in the first place.
Heuristically, Shor's quantum algorithm solves both. And so far, Shor's algorithm remains one of the few examples of exponential speedups for quantum computers for algorithms that don't involve simulating quantum behavior.
So it kinda _is_ suspicious.
Continue this thread — 1 reply
Proofs don't yield algorithms, they only verify algorithms already in hand. Maybe the labs have found a polynomial-time algorithm that breaks cryptography, but that's a totally different subject. Knuth thinks that NP = P and that therefore there is such an algorithm, but the constants are immense and so the algorithms aren't usable.
I think this is false. If it's a fully formalized proof one can get a computational program out of it. Look up 'program extraction from proofs'. The catch is that the properties of the resulting program depend on the exact mathematical statements and also the exact proof, e.g. whether it's fully constructive or relies on classical mathematics. I'm not up to date on this field, haven't looked at this for many years. So that's why I'm vague here and point to looking it up yourself if you're interested in the details. I can't judge at the moment how practical this is, especially for very large proofs.
Mathematicians are going to have to morph into Their best version of something which leverages what they are great at, and what we need. Probably, its to contextualise and help the rest of us understand why it matters.
Is it sad to stop doing mathematics? Only if you have the train spotter bug that lights up when doing it. If talking about mathematics, or inducting processes inside a soft machine which does it faster, or intruding if-but-maybe doesn't float your boat, then you can be like reductive monks who reject the modernisms brought into religion, and live according to your own lights the discipline you want:
Bourbaki doesn't need a machine, Bourbaki is the machine they want to be.
Heh. :-)
Mathematics is just a collection of conventions we have agreed upon to formalize _thinking_. We need a language that isn't English to describe and solve problems.
If we are no longer doing mathematics, we, as a species, aren't really thinking anymore. And if we are not, what's the point of anything?
This is very different than automating physical processes and products. And it's not like we are evolving into a Culture-like (Ian Banks) world, with the impossibly smart machines taking care of humans who can then go on to live their best life. Quite the opposite. And, not needing an educated population to continue with economic activity has, historically, been terrible. Just check any country that discovered vast natural resources.
Mind you, I don't think the premise is right. We will not stop 'doing mathematics'. I do not believe the current LLM approach will continue to scale. But, if I am wrong, and the machines actually become smarter than we are and take over mathematics, they will take over everything else in short order. We will become meat robots - at best.
May I ask why not?
People should continue to do maths, because its true and beautiful. If you want it done by a machine, then fine. It's still beautiful but less human.
https://en.wikipedia.org/wiki/Bodging
Continue this thread — 3 replies
Continue this thread — 5 more replies
All comments shown.
Couldn't load more comments. Check your connection and try again.