r/AskComputerScience • u/infinit9 • 1d ago
Could Anthropic's solution to the Riemann hypothesis be syntactically correct but semantically incorrect?
I'm confused how the proof was verified to be accurate by computer scientists before mathematicians are able to actually understand the proof?
0
Upvotes
3
u/CaptainMonkeyJack 1d ago
To over simplify for a second, computers regularily add millions of numbers together. Just because a mathematician hasn't added them up by hand doesn't mean we suddenly doubt the numbers - because we understand and have validated the process.
While more sophesticated than adding numbers, that, to mu understaanding, is what lean does. It allows a problem to be defined in a way that a solution can be validated via computation without doing it by hand.
I will of course leave to experts the verdict on this particular solution.
10
u/NomaTyx 1d ago
this would boil down to "has the riemann hypothesis been correctly defined" and yes, it has. The one that they used, from what I've heard, is one accepted by the community. More to the point, if it wasn't you'd have heard about it by now.
18
u/Scared_Chipmunk_136 1d ago edited 1d ago •
The solution is verified by Lean. What that means is:
That's how I understand it, at least. Someone smarter than me might clean this up further.
3
u/Toothpick_Brody 1d ago
Only if there is a massive bug in Lean, afaik
1
u/GiveMe30Dollars 1d ago
Most type systems have a property known as Curry-Howard correspondence, which is to say propositions are types, and proofs are terms. Lean's typechecker is so powerful and structured in such a way so that it can function as a correct theorem prover. If a term is typechecked to have the type that describes the Riemann hypothesis, then that means it describes a proof of the Riemann hypothesis.
There's one of three possibilities that result from a well-typed Lean program:
That being said, Alpoge + Claude's Lean code is so hilariously bloated (you cannot convince me that Alpoge put any effort into making his work presentable) that a lot of the past and current effort is in reverse-engineering the code to mine out underlying principles that the proof uses. It's kind of backwards from how proofs in mathematics pre-theorem-solvers were done.
1
u/Embarrassed_Range356 1d ago edited 1d ago
The super interesting thing from a theoretical point of view is that conputer science and mathematics are really one and the same.
Math is a formal logical system, which by its definition means it can be defined and constructed from a logical series of computable steps. This is exactly what computers do and excel at.
You can view the whole history of mathematics as the goal of humans trying to formulate and recreate the understanding of the universe as our mind does. Thats exactly whats happening. We created computers which could carry out calculations, formalized mathematical theory in them, wrote programming languages that emulate and do what were thinking, and finally we built intelligence that can autonomously drive itself.
1
u/minisculebarber 1d ago
No, Lean uses a sound formal system. If the syntax is valid, so is it semantically.
That is how one can rely on formal proof verifiers.
1
u/two_three_five_eigth 1d ago edited 1d ago
Your question is can Lean have a bug in it. Yes. The proof has been reviewed, so highly unlikely though.
The math community still has not “accepted” the proof but they haven’t found an issue yet.
1
u/nicuramar 1d ago
It depends on what you mean. For one meaning, the answer is no, due to Gödel’s completeness (not incompleteness) theorem: https://en.wikipedia.org/wiki/Gödel%27s_completeness_theorem
1
u/MasterGeekMX BSCS 1d ago
Absolutely.
While there is effort on mitigating that, compilers may contain errors that can lead to successful compilations of faulty programs.
One of them are the famous compiler ambiguity, where the syntax leaves some doubt on when things resolve. Researcher Laurie Kirk explains that over here: https://youtu.be/rv3S1HVxwD4
0
u/Frootlooops_ 1d ago
Just found this
https://philpapers.org/archive/NIEIOT-2.pdf
Not sure how valid the argument is.
-1
u/TedsGloriousPants 1d ago edited 1d ago
The question here shouldn't be about whether or not lean is reliable as proof - it should be whether or not we can trust that the thing proved by the lean was actually a reliable translation or interpretation of what was in the plain-language proof.
That's what I don't trust.
I don't doubt that the lean is "correct", but is it proving the right thing?
I'm not a mathematician, obviously, so I would defer to someone who knows better, but "can lean be wrong" is the wrong question to be asking.
Edit: Does anyone here actually know what they're talking about? Every reply I've gotten so far contradicts the other replies.