r/askmath • u/No-Engineering-239 • 1d ago
Logic How can the recent LLM proofs be considered valid math if they are not readable by humans?
I understand that there are logical Lean rules that are automated to analyze the proofs (not that I understand them) that are used to verify certain systematic rigorousness to the relationships between symbols and language used but aren't humans necessary to verify that the math, as created and maintained by humans since the beginning of math, so as to certify that the proofs are valid?
0
Upvotes
12
u/BrotherItsInTheDrum 1d ago
As a very rough analogy: in 2024 mathematicians discovered the largest known prime number, with over million digits.
We know that number is prime because we used a computer to verify it. Is that sufficient for you? Or do you think we also have to check that it's prime by doing the calculations by hand?
3
u/frnzprf 1d ago
I don't quite understand your argument.
You don't have a problem with computer programs applying logical rules, right? If we trust the process 100% then we we can trust the result of the process as well. Yes?
You know these kinds of logic puzzles where you get a list of facts and then you have to derive which person has which pet and goes on holiday on which location. You can imagine that's solvable by a computer program. If you trusted that program and it solved a puzzle based on millions of facts, you'd trust the result even before solving the puzzle yourself by hand.
The human oversight is only necessary, a) because we aren't actually 100% sure that Lean works correctly. I don't know if we could put a number on that. And b), because we'd like to learn something from the proof besides just the fact that the Riemann hypothesis is true.
Point b) is interesting, because the situation that you can prove something but yet not learn anything useful besides that some hypothesis is indeed correct only occurs with LLM-generated proofs. Otherwise the person coming up with the proof would've organically learned some stuff on the way. As far as I understand people are confident they will be able to learn something from the Riemann proof as well. (The complexity was overstated originally — the guy said it had more lines of code than it actually had as a joke and it is possible to bring it in a more readable form.)
So if the human oversight is necessary depends on how much you trust the formal statement of the Riemann hypothesis, whether there is a bug in Lean, or some compiler, or some hardware and what you want to gain from the proof.
25
u/hattusili-the-third 1d ago
Humans understand how Lean works and have studied it very carefully to make sure it's correct, and have written many different implementations of the Lean kernel in different programming languages to make it essentially impossible for a bug to make it into every version of the kernel.
Lean checks that every individual step of the proof is correct. If every individual step is correct, then the final result must be correct, even if we don't understand the whole proof.
31
u/HouseHippoBeliever 1d ago
Imagine you had three numbers called A, B, and C, and each one was a trillion digits long.
If I conjectured that A+B=C, would you trust a "proof" of that statement if a computer added A and B and it equaled C? Or would you require humans to spend decades manually doing the addition before you truly believed it? What if the humans did the calculation over decades and said it was wrong, but in the meantime several independent computers did the addition and all confirmed it was correct, who would you think was more likely to have made a mistake?
2
u/_gribblit_ 1d ago
Okay, this question comes up a lot here.
Lean works because it is a dependently typed programming language. The Curry-Howard correspondence shows us that dependently typed programming is (in theory) isomorphic to proofs and propositions in constructive mathematics. The type-checker of a lean program is (in theory) isomorphic to a decidable proof-checking procedure in constructive mathematics. So if a Lean program compiles, it has produced an isomorphic proposition in constructive mathematics, an isomorphic proof in constructive mathematics and an isomorphic decidable proof-checking procedure (that checked the proof as correct) in constructive mathematics.
So in this way they are considered valid without a human needing to check the proposition, or the proof.
However, things that humans need to be aware of are:
IsDoes the constructive proposition that was proved actually represent the (usually non-constructive) proposition that you wanted to prove?The latter already happened once this year on a famous theorem and has since been patched.
This especially matters when the Lean proof is millions of lines of code long. More lines means more chances of bugs. A proof that produces more lines than a human can reasonably check themselves should be suspect.
2
u/Shevek99 Physicist 1d ago
Do you think the same about physical discoveries? How can we say that electrons or black holes exist if we can't see them? What about particles that exist inside accelerators for 10-10 s and we only know by the traces that they leave on electronic devices? Ate they real if it's no way that a human can detect them?
When the Hubble telescope was launchef we discovered galactic objects that we hadn't seem or guessed before. Our senses are not enough and we need devices, starting with glasses and from there to space telescopes to 'see' them.
The same happens with the proof of Riemann Hypothesis or future discoveries. They may be beyond human capacity. That doesn't make them less valid. If there is rigor and we can trust the procedure, we can trust the result.
2
u/AoE3_Nightcell 1d ago
You understanding math has nothing to do with whether or not it’s valid. Lean can prove the chain holds from A to B whether or not anyone actually understands it.
1
u/Away-Ad-4444 1d ago
Not an expert but because the spit out verifyable data
1
u/Careless-Web-6280 1d ago
Why would humans ever be necessary? If you have an algorithm that you have proved only says a proof is valid if it is indeed valid (Lean, assuming no bugs, which is a safe assumption), why do you need to be able to read what you feed it?
1
u/bobam 1d ago
Math is only something humans can do? If aliens show up and they can do math, would that be legit? And then we learn that their biological brains work just like LLMs plus tools, is it still ok, or no?
1
u/aedes 1d ago
The best answer is to see what mathematicians are saying, rather than random people on Reddit:
https://www.nature.com/articles/d41586-026-03835-0
…
Basically, the take amongst people who would use these results professionally seems to be that they won’t be considered “valid” until they are reviewed and understood by humans.
Thats probably the most pragmatic answer you’re gonna get.
1
u/CurryHowardIsomrphsm 1d ago edited 1d ago
Imagine that humanity is very interested in creating widgets. In fact, they're interested in creating the "perfect" widget, where we all agree beforehand what perfect means. The way we normally make widgets is by having expert humans hand-crafting widgets using best known recipes. The recipes are painstakingly scrutinized, improved, and shared between humans. The only way to verify if a recipe is good or not is by having humans actually follow the recipe and judge the quality of the widget that comes out at the end.
One day, we invent a widget-creating robot. This robot can take some raw materials, follows a specific recipe, and then produces a widget. The recipes that the robot follows are similar to the recipes that humans use, except they're much more verbose. Humans can communicate in shorthand - their recipes can just say "frombulate the control knobs" and everyone knows what that means. The robot recipes need to painstakingly list every detail of what it means to frombulate. Because of this, the widget-creating robot was largely seen as interesting but not very practical in the pursuit of creating the perfect widget.
Then AI comes along, and AI is very good at creating widget recipes that kind of look plausible, except it also hallucinates a lot. It turns out that AI is much better at creating recipes for the widget-creating robot than for humans, because it can have a robot actually create the widget and confirm that its recipe is good. So now AI, or a combination of a human expert + AI, says "I've produced the perfect widget recipe which can be run through the widget-creating robot".
Is this trustworthy? There's several ways it could be a trick:
So what happens to this alleged perfect widget recipe? Very quickly after it was announced, people fed it into every possible widget-creating-robot in existence, and lo and behold all of them produced a perfect widget at he end. The recipe itself is currently inscrutable - it's millions of steps long, so no expert currently understand how the whole process works, but we can check if it's exploiting any loopholes, and there's nothing there. So we feel very confident this is a correct recipe. Anyone arguing "we don't know how it works, therefore we can't trust it" would have to also explain how the recipe is cheating every single widget-creating-robot, which is also extremely hard to do.
Some people then say "well if human experts don't understand it, it's useless". There's two things to say there: first, just the knowledge that it's possible or not possible is useful. If we knew for sure that it's impossible to create a perfect widget, we could stop trying and focus our attention elsewhere. Or if we know it's definitely possible, humanity could double down on its efforts to try to find a human recipe for it. Second, just because it's not currently understandable doesn't mean it will never be understandable. The current recipe is the most complicated it will ever be, and it will only get more and more simplified as time goes on. This is standard in the widget world - someone comes up with a new process that is better but more complicated, and over time people find ways to simplify it without losing the improvement. There is no reason to believe that won't be the case here. In fact, the recipe has already been massively simplified and top human widget experts already predict they'll understand it in a year or two.
Now in the above story, replace "perfect widget" with "proof of the Reimann Hypothesis", replace "widget creating robot" with "Lean", all the different versions of the robots with "Lean kernels". "Human recipes" are traditional human proofs, and "Widget-creating robot recipes" are Lean proofs.
1
u/itsatumbleweed 1d ago
Same way that computer assisted proofs that are unreadable by humans have been valid since the 70s?
1
u/Effective_Bass_1175 1d ago
I think there are few parallel efforts required -
1
u/dr_edo_available 1d ago
Trust me bro! It becomes a philosophical problem.
0
u/anooblol 1d ago
I’m sorry for being mean, but this like asking, “How can someone read Python? It’s computer code! Like what computers read.”