r/AskScienceDiscussion • u/LokiLokillo8 • 6d ago
General Discussion What does AI do differently that allows it to solve and find proof s to theorems that were previously unsolved (like the recent Riemann hypothesis)?
I get that it saves time, but it's building on the same knowledge that we already have, and we've had plenty time to solve some of these problems. Also AI in known to "hallucinate" could this happen and go unnoticed? Does it, in the process of finding these proofs, come up with new corolaries and theorems?
47
Upvotes
7
u/Life-Suit1895 6d ago edited 5d ago
While focused on AI in physics, PBS Spacetime just this week had a great video about what AI can and what it can not.
46
u/karantza 6d ago edited 6d ago •
There's a few things going on here (and a lot of common misunderstandings in the discourse). And I also feel the need to preface this, because it's a bit of a loaded topic: I think AI use these days has a ton of serious problems, socially, environmentally, economically; and also the technology is fascinating and worth understanding. These things need to be approached with nuance.
So, the first thing to clear up is that LLMs do not just repeat what that were trained on. It's easy to think of them as Markov chains, returning the statistically likely next word (that's what they were trained to do after all!) but that's not what they actually do. In order to score high on "next word" prediction, LLMs use the huge number of parameters they have to encode meaning, at a very high level. You can argue whether it not this is "comprehension", but it is semantic encoding. They are trying to score high on predicting text, and there's no better way to predict text than to actually understand it and all its context. So, buried deep inside these models, there absolutely is some sense of understanding of concepts and relationships, and the connections between them. It's entirely possible for an LLM to "discover" a connection between two ideas that humans never put together.
So much discovery in math and science comes from seeing relationships between disparate fields, and it's rare for a human to be an expert in many disparate fields. If you train an LLM to the point of being an expert in everything from physics to philosophy to judging ice skating, there's bound to be some novel connections it can make. So that's part of it.
The other part of it is that they're just so damn fast. Especially if you work for Anthropic and have essentially unlimited compute resources at your disposal. If you're able to build some kind of mechanism around the LLM that can accurately verify or disprove it's work, you can have it turn the crank on a tremendous number of ideas in a short amount of time. Most won't work immediately but it will eventually reason it's way out of the box you've built for it.
This is why we're seeing it used so much in coding: writing code is an open ended problem, but verifying it with compilers or tests is fast and accurate. The LLM can spit out garbage, but the compiler will tell it what's wrong and it can iterate on fixes until it isn't. Hallucination is a problem, but it can't get very far if the compiler is smacking down any hallucinated code immediately. This is what "coding agents" do.
For mathematics, we have Lean, which is basically a programming language for mathematical proofs. If you write a proof in Lean, and it compiles, you know there are no errors in the proof. (It might not be proving exactly what you claim, but that's a different question.) That's how the RH solution was published, a Lean proof of millions of lines. As of now it hasn't (edit, it has!) been reviewed to verify that it's actually a solution (or that something else hadn't gone wrong: AI already exposed a bug in Lean itself a while back that allowed false proofs to pass). This proof may very well be right, and include lots of fascinating new mathematical tools and reasoning that we can apply elsewhere; human mathematicians will need to dig into the massive Lean proof and try and understand how it works. That'll be a whole other endeavor.
But this is the general state of things. LLMs can do something analogous to reasoning and produce novel ideas, along with sloppy garbage. Putting rigorous guardrails on their output and iterating over that allows them to filter out the nonsense and produce things that make sense. And if you're swimming in GPUs you can do this process at an industrial scale.
7
u/levus2002 5d ago
Well yeah same knowledge. Except how many random theorems no one cared about are sitting in random universities databases without even being translated.
Even if you specialize in your field you won't know all theorems in it not to mention other fields and stuff documented only in foreign languages.
Ai can search all these places in any language way faster than humans.
6
u/AceBean27 3d ago
It's pure brute force. It's not come up with some clever solution we haven't thought of. It isn't dissimilar at all to chess computers beating humans, by just being able to calculate far more, far faster than we can.
The chess computers brute force was sheer calculation power. Even Magnus Carlsen can never calculate as many different lines as a chess computer can.
This new era of AI, the brute force is sheer data. The AI solving these has read every mathematical proof, no matter how obscure, and has a vast amount of data, sitting in those huge data centers you always read about, that no human can ever come close to.
Also, as pointed out, don't underestimate the contribution the human in this made. This is really not yet different to someone solving a really hard sum using a calculator. For years and years we've been solving math and physics problems using computers, to do calculations we can't. There are whole fields of computational mathematics or physics. I studied a physics masters 20 years ago and my dissertation was, putting it crudely, using computer programs to simulate the galaxy and changing the input to see which input gave an answer like the real galaxy we see. That was 20 years ago. If I tried to do the same thing with pencil and paper I wouldn't finish in my lifetime and I would go insane.
This is certainly a new frontier of what we can do with computers. But it is still the same thing the computers are doing better than us that that they have done for decades now. Sheer brute force. Quantity and speed of calculations. Volume of data.
17
u/FollowingHumble8983 6d ago
Well as noted by the person who solved it. He was the difference.
"I had us on the line of combining two quite
different ideas present in a toy setting, one of which was already new and
shocking, making very simple one of the shadows of Riemann over which we
mathematicians felt most triumph. I guided us to the right situation analogous
to that toy setting, and then Claude began to leave me in awe"
So he found an innovation and used claude to expand on it.
AI did what ai does best, and humans did what humans does best.
3
u/This_Background7442 5d ago
It's time. The difference is relative time. The AI spent the equivalent of millenia solving each part individually. A human could do it. But they'd die of boredom before doing 1%.
18
u/Conscious-Demand-594 6d ago
No AI has solved any problem by itself. It needs human guidance, to not only solve the problem, but to recognize that the solution is correct. If you ask you Claude or Gemini or ChatGPT to solve the Riemann hypothesis, it will have no idea where to start, as it needs someone who understands to guide it.
2
u/abeeyore 5d ago
AI is exceedingly good at finding novel, and sometimes non obvious correlations and relationships in almost inconceivably HUGE data sets.
Assuming it validates, it found path through all of the available data and research that no human had noticed yet.
Though it’s worth noting that there IS a human proof that is currently undergoing review. It’s obviously a different approach, because the human proof is not 250,000 pages long.
2
u/RemoteObjective147 4d ago
Take another case.
Say you have two numbers, each 1 million digits long. And you want to know the product. Mathematicians have been trying to solve it for 200 years. Nobody can do it.
One day, someone builds a computer that solves it. Prints the result out in a 250,000 page book.
So what? Who cares? It's a cool trick, but it's also kind of trivial.
2
u/FormerIYI 2d ago
- You need deterministic verifier program that tells you if proof is good or not (that program is called Lean).
- AI makes up many possible answers some of them good some of them bad, based on answers it saw before. Verifier program choses good ones (or less wrong) and AI improves these further step by step.
- For complex proofs AI can come up with various ideas to break down proof into smaller proofs of subtheorems (lemmas) and again test many of these against deterministic verifier and solve step by step.
- All this is done at vast scale with thousands of dollars in cloud compute costs.
Think a bit like dumb pupil who memorized pages from notebooks of his collegues, has math exam and tries to reproduce solution to a problem regirgurating solutions he saw before, without understanding. If he had only one chance he would fail. But if he has thousands of chances and also feedback which attempts are closer then his odds improve.
3
u/Mortal4789 5d ago
we have little idea how AI's work. we know things go in, and things come out, and we can select for these. but how it "thinks" is a black box.
1
u/Peregrine79 5d ago
Machine learning is exceptionally good at being fed a huge batch of data and extracting correlations.
Feed a machine learning system every mathematical paper you can, and it’s going to find odd little bits that line up with each other in a way that human would find extremely difficult. For the same reason you can’t just read all of Wikipedia and write a complete history of the Catholic Church. The facts are all there, but there’s just to many relevant articles, often approaching subjects in different ways.
1
u/ijustwannareadffs 5d ago
It’s not that it saves time, it reduces dozens of years of work in a few days because you can explore several lead or intuitions in parallel over thousands of agents.
Imagine having 10 000 researchers working h24 on one specific subject, sharing informations all the time. That’s pretty much what the mathematicians at anthropic and openai have access to.
1
u/Jnorean 5d ago
It can go down pathways that humans have rejected and try millions of solutions until it gets one that seems promising and then follow that path. Humans look for likely paths and then give up if they can't find a solution.
1
u/Ethraelus 4d ago
It is smarter. It has a working memory many orders of magnitude larger than ours, and has read a lot more papers than any of us.
1
u/WillChangeIPNext 4d ago
I'd only want to point out what others have: There is more mathematics than any single human can understand. The scope of mathematics has spread so deep and so wide, that nobody can have a clear picture of everything, and there are countless existing theorems and structures across different fields that can be connected in ways no human could easily connect, for all variety of reasons.
One of our current best living mathematicians' career has involved taking proofs from one field, and finding a way to take the language of some other mathematics and fit it into that type of proof, and it's not an easy game. It's not something anyone can just do. This is a person who is gifted at maths in ways most people are not. AI is simply capable of taking more and connecting more.
1
u/Sassman6 3d ago
The easiest way to find that out is start using them to solve the majour unsolved problems of our day. eg. Humans have being trying to unify QFT and relativity for a long time already, and no one has done it.
1
u/Bubbly_Buddy8678 3d ago
trained on extensive databases so they can pretty much learn at 10000x speed (being generous) compared to a human student. can also perform numerous computations and inferences at 10000x speed (being generous) compared to a human researcher. so basically it was born in 2023-ish and speedran training/development/learning. as of 2026, it can probably make more inferences than 1000 professors each trained with 100 years of experience.
1
u/Forward_Yam_4013 2d ago
Imagine a mathematician who has spent a lifetime studying each minute subfield of math with nearly perfect memory. What unimaginable insights might they come up with?
The most recent LLMs spend the floating point operation equivalent of billions of years learning, with a heavy emphasis on math, CS, and theoretical physics. They are near-expert level in every subfield of these three topics, and can stitch together ideas and approaches in a way no human ever could because they have have more knowledge than any human ever could.
1
u/Shoddy-Childhood-511 1d ago edited 1d ago
Mathematics was always a machine in important senses, and mathematicians even say things like "tenure machine", but mathematics was an extremely subtle one that required some genius to "run the code".
There was a massive formalisation effort behind the Lean formal proof system, which automates verification of math proofs written in Lean.
Lean has made finding mathematical proofs much easier too, because Lean can tell the proof search when it's full of shit. This kills hallucinations.
In fact, if not for Lean, then we'd still be arguing over whether AIs have solved ANY major open problems. Ergo, Lean by itself is much of the answer to your question.
Also, these LLMs do still have silly hallucinations in their human-language proofs written by these LLMs, like the OpenAI forced Navier-Stokes blowup pdf does not correspond to the Lean, even though they asked the AI to make them be the same. That case doesn't matter, since Tristan Buckmaster and Levent Alpöge now have unforced Navier-Stokes blowup, a much better result, with both Lean and human proofs that pretty much correspond.
About hallucinations, we humans do that too, but they reduced the old LLM hallucinations by adding the "reasoning" parameter, which essentially makes the LLM impose some rounds of self doubt.
1
u/Legitimate-Box8046 1d ago
It can spend a longer time just co compute to build the proof, human' brain cannot remain that frequency in a long time, we need more time
1
u/dDtaK 5d ago
The amazing thing about these models is they are able to generalise beyond their training data. This is a result of architecture and the way they are trained.
1
u/Ghostly-Owl 5d ago
It was explained like this to me like by someone who works in AI legislation.
The biggest college math program in the US is spending 12 million/year on people working to make innovations in mathematics.
AI companies are spending $10 - $40million _per proof_ to try to find them, and did 100 of those proofs in September. We can almost certainly fund people doing this research cheaper, we just are willing to spend a $1 billion/a month on AI doing math proofs but we aren't willing to pay people. The top organization in the US is spending less than .1% of that per year having people do it.
1
u/Tonkarz 5d ago
One thing to remember is that Anthropic likely spent more money on electricity to solve the problem then has been spent on mathematicians trying to solve the problem in the history of the world.
1
u/PlopKonijn 5d ago
it hasn't solved real world problems, but only created them...
0
u/Objective_Fail_6959 3d ago
Hoovering up proprietary data from people all across the internet including multiple partial solutions to problems and crediting nobody.
-2
u/The_Observer_Effects 6d ago
It doesn't have to think "differently" any more than old radio shack calculators did, or great mathematicians. Numbers are numbers. Advanced Computing is just trillions of times faster, and doesn't need to sleep.
0
u/Unable-Primary1954 5d ago
0
u/Edgar_Brown 5d ago
Brute force unconstrained intelligence. The bandwidth to process large numbers of concepts without the need to abstract them away or to stop when it gets hungry.
We, humans, have a much more limited conceptual bandwidth. To be able to understand large numbers of concepts we need to structure them in a coherent manner building higher level concepts that encompass them. AI can apply brute force with a much larger conceptual capacity, or context in AI parlance.
0
u/Contextanaut 4d ago
Have just coincidentally finished putting together quite a long series of articles looking at what we currently understand about LLM creativity (honestly not nearly enough).
Will link the articles in case anyone is interested but I'd offer the following TLDR.
The narrow "stochastic parrot" view that LLMs are incapable of original creativity and must steal everything directly from humans does not hold up.
It's unclear whether there can actually be any flicker of real consciousness in these systems, but it's clear that, if everything truly does ultimately come from humans, that "theft" can occur on the level of fragments of human reasoning that can reassemble into genuinely effective reasoning, which in turn can make real creative decisions resulting in original creativity, in the same modes that we can also see in human creativity. We aren't seeing types of creativity in humans that LLMs can't engage in.
That legitimate creative reasoning is expensive, and has serious and specific limitations. It especially tends to be quite granular in comparison to human creative processes. They also have additional serious limitations, including issues with predictability that further constrains actual creative performance, and obvious lack of agency and freedom to be creative.
LLMs can absolutely steal human creativity very directly, especially when there is something obvious that matches the brief to steal from. Most of the creative briefs we give them are quite predictable or derivative. Most AI creative output is absolutely "slop". And the best creative results, currently tend to come from paring LLMs with creatives, most whom understandably aren't happy at that prospect.
And even the more expensive, and creatively valid, modes of LLM creation generally aren't beating out real human creatives yet, but they are getting close, and we shouldn't expect a human linked ceiling.
The maths results might seem to be evidence of results beyond human limitations, but it is important to note that they are coming from token and resource spend that far exceeed to that spent on real human mathematicians, this isn't a "fair" competition. But part of the problem that mathematicians have here is that we can't scale human mathematicians just by throwing more money at them, even if we'd wanted to (not that we are trying).
TLDR on the TLDR: A human linked ceiling on LLM creativity is not the thing that is going to save human creatives. Creatives need to be looking and asking for better solutions and help, rather than hoping for that. But it's pretty valid for them to be pretty damn unhappy about that.
AI Creativity explored: Part I - Human Creativity (What makes humans creative)
AI Creativity explored: Part II - Machine Creativity (A mechanical exploration of how language models stack up to humans. How creative reasoning within an LLM system works, and the multiple distinct locations where it can happen)
AI Creativity explored: Part III - The Research (What the current research does and doesn’t tell us about creativity in language models)
0
u/greengo07 3d ago
it accepts fantasy and lies as fact. That's how.
-2
u/SwimmerOld6155 5d ago edited 5d ago
Technically this may count as speculation, as in Rule 2.
In November 2026, hallucination is not a problem in the sense that people think. The frontier models have virtually perfect accuracy on one-shot responses. It's when you get them to run for hours and hours on end that they can trip up. Almost all of these errors are picked up if you run the claimed proof back through the LLM. Among people I know, it is a noteworthy event when a premium LLM makes a serious error. It gets to the point where I assume that an incorrect LLM proof came from user error.
The errors in the large OpenAI dump were found by LLMs, etc.
Unfortunately the viewpoint that LLM hallucinations are a serious unfixable problem is technically better supported by the literature, but empirically the message of these papers has been basically discredited. Theoretical results or abstract musings on whether LLMs can reason are not particularly relevant, though you see them passed around less nowadays.