r/mathmemes • • 6d ago • Bravo 1

Proofs They did not stutter

Post image
710 Upvotes

317 comments sorted by

•

u/AutoModerator 6d ago

Check out our new Discord server! https://discord.gg/e7EKRZq3dG

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

563

u/GoldSkulltulaHunter 6d ago • Bravo

Accepting the proof as correct and wanting a readable and understandable demonstration are not mutually exclusive. I don't know why so many people are struggling with this.

You don't need to reject the AI proof to believe that a human-understandable proof is a higher achievement.

At the very least the AI proof serves to confirm that mathematicians should keep looking for a proof, not a counter example. Sometimes knowing the answer to a question helps solving it on our own (I'm a fan of answer keys at the end of textbooks, lol).

And, who knows, LLMs might help "translate" the proof into something people can make sense of.

115

u/iloveopen-source 6d ago

No one against understanding the proof. The problem is that many people here are in denial of the fact that the proof is in fact correct.

55

u/GoldSkulltulaHunter 6d ago edited 6d ago

Exactly. I don't understand why some people think that acknowledging the proof would automatically make you part of "team AI" and against human endeavor.

25

u/yuwox 6d ago

For many the problem is that they made hating on AI part of their identity.

It's like with COVID and the vaccine. Even today you can find people posting stuff in the internet how the vaccinated are about to drop dead. Any minute now. They have invested too much into their convictions, and now it's too late to back down.

16

u/4Pas_ 6d ago edited 6d ago • Bravo

Also, I don't get why people think it's wrong with being on "team AI". It'll just accelerate our technology further (unless it spirals out of control).

I mean, if AI finds a cure to cancer - people would celebrate AI, not get into denial that AI wasn't able to do something humans couldn't.

I like to see these potential 2.5 of the millennium prize problems being solved as progress in math, just like how a cure to cancer is progress in medicine, and I couldn't really care less if it was done by humans or AI as long as it helps the field progress.

7

u/Sarithis 6d ago

Because every single letter generated by a frontier LLM uses up all the drinkable water on this planet, and every pixel generated by a diffusion model gives a random artist a heart attack.

6

u/314159265358979326 6d ago

Today I read a sarcastic comment without a /s and successfully didn't rebut it.

But seriously. It's funny how wasting water is extremely normal in just about every industry but now that AI data centres are doing it (few complaints in the pre-AI era about data centres doing it, by the way) everyone's up in arms.

→ More replies (1)

13

u/GoldSkulltulaHunter 6d ago

I think it's an interesting discussion. But having AI proofs in Math certainly doesn't throw humans out of the picture.

12

u/4Pas_ 6d ago

Yup exactly. The proof itself can give us so many invaluable learnings which will further help develop mathematics, much more than just the statement that RH is true. People need to actually dig into the proof in-depth and understand what's going on. But that doesn't change the fact AI contributed to our development.

6

u/jferments 6d ago

Exactly. Humans are very much in the picture. There is a reason that Alpöge found the proof and not just any random Claude user. AI is a tool, and it required his immense mathematical expertise in order to use this tool to find a solution. It's not like they were just saying "Claude, find a proof for the Riemann Hypothesis, make no mistakes". This was a painstaking collaborative research process with a human expert.

23

u/ChiefBeefers 6d ago

I think too many people have no clue what AI is beyond LLM chatbots. One example is diffusion, which is how AI art is made. It's also the key component of AlphaFold, which has already discovered hundreds of millions of viable protein structures. That's genuinely massive for biomedical science, but it's easily swept up in "diffusion models bad"

4

u/cryptocat9 6d ago

Thanks for helping me learn something new. Diffusion was first introduced in AlphaFold3 and I only knew the 1.0 architecture. Damn, AlphaFold got good

1

u/Cultural-Papaya9257 4d ago

those are not separate things. team ai is also team human endeavor

1

u/Bartweiss 5d ago

Hell, I’ll throw in caveats like “there’s a very small chance of a systematic flaw in Lean invalidating this”. You can even acknowledge that and still say “hey, this is at least as likely to be correct as any random proof people accepted without issue, probably much more likely”.

-1

u/dionysiaka 6d ago

Calling it anti-ai psychosis is not far from the truth. It's a mass hysteria on Reddit, and is more dangerous than the AI boosterism here in terms of coming to grips with the changes that AI is going to bring society.

83

u/obog Physics 6d ago • Heartwarming

This is my thought too. Iirc, Terence Tao made a similar argument in his letter about AI a while back, that just throwing AI at problems and getting massive proofs that we cant understand doesnt actually advance human knowledge that much, which kinda loses the point to some degree.

4

u/MiracleHere 6d ago

Not if human input is still needed, which still advances human knowledge, not for the audience, but for the researchers.

8

u/PolAlt 6d ago

Ah, but the prompts, which are the real human contribution, the thing we can understand and grow from; the prompts are not public

1

u/Iryls 2d ago

well, not like most research is public until AI forces people into publishing it...

44

u/arielif1 6d ago

Already happening, there's a project to try to shorten it. Currently at about a quarter iirc, so it went from 17M lines to ~13M give or take

16

u/Breki_ 6d ago

Okay, the lean got shorter, but did the 250k page pdf get shorter? Does that pdf even exist?

29

u/arielif1 6d ago edited 6d ago

It exists insofar as Alpoge made it, it never got published though. From his Remarks post:

It being obviously inappropriate to attempt to post some massive unreadable travesty of "slop"[2],I decided to only present Lean.

citation 2 reads:

I of course amused myself, and hit 250, 000+ pages. Claude cutely called it the GRH . . . "book"[sic] — I looked at Theorem 1 and it began by noting that because the reals are totally ordered if σ != 1/2 then σ > 1/2 or σ < 1/2 .

Clearly Claude did this almost as a from-first-principles approach. Like I cannot stress enough that if "If X!=Y then X is either strictly larger or strictly smaller than Y" is theorem one then most likely vast swathes of the proof can be reduced to "This follows from XYZ (Surname, year)".

Most likely, as we speak, thousands of AI agents are coordinating to try to group the Lean into blocks or portions, then see what existing literature matches what is said in those blocks. Once that is all done, what remains is just writing the parts that are actually new and novel in natural language, and maybe having a few real meat-and-bone mathematicians help with making it all more coherent and intuitive for our non-silicon brains.

So it will probably get *wildly* shortened in the coming months, especially since this isn't getting the same treatment as forced navier-stokes did at OpenAI.

1

u/Seenoham 5d ago

Have we actually seen an example of that part happening.

I’m sure we can get it shorter, but getting it to be written in a way that actually leads to insight and understanding without introducing errors or misrepresentations of what was compressed, or similar is a big thing and this isn’t the same task as brute force if the proof.

Having the AI do that part feels much closer to AI summary of documents, which they have shown to be capable of but still flaws at being able to tell when they are making errors and with biases.

→ More replies (2)

7

u/Separate-Pickle9963 6d ago

If I had an oracle with a list of every single valid Lean code that compiles, and then found the shortest one that proved the RH, the code would likely be completely incomprehensible in its sheer compression. Nevertheless, I would still keep that oracle safe at hand and well protected.

34

u/alendit 6d ago

You don't need to reject the AI proof to believe that a human-understandable proof is a higher achievement.

Has ANYONE stated otherwise? Obviously, a shorter, eleganter, more understandable proof would be preferable.

20

u/yuwox 6d ago

The problem he is alluding to is that some people cannot accept that the proof is valid.

9

u/KouhaiHasNoticed Probability notations must burn. 6d ago

Accepting the proof as correct and wanting a readable and understandable demonstration are not mutually exclusive. I don't know why so many people are struggling with this.

I think there is a misunderstanding, and it's funny because from one post to another people get the other argument warped.

The point is rather that knowing already that the answer is True meaning then the only rational goal now is to prove that it is indeed True.

However, sometime not knowing the answer and going the total opposite direction, here trying to prove that it is False, would allow us to discover new structures, and also reflect about why the attempts are failing.

Orienting everyone to the "True statement" side of the problem leaves a blindside about the "False statement" development we could have explored. It's about the journey, not the destination and perhaps we may not have seen all of it by focusing only on the truth.

Essentially "Mathematician FOMO" I guess ?

2

u/Koeke2560 5d ago

Orienting everyone to the "True statement" side of the problem leaves a blindside about the "False statement" development we could have explored.

I mean, the “false statement development” will probably still take place, just now through the lens of proof by contradiction, or is that a too simplistic view?

1

u/KouhaiHasNoticed Probability notations must burn. 4d ago

I mean, the “false statement development” will probably still take place, just now through the lens of proof by contradiction, or is that a too simplistic view?

Semantically speaking yes : at least as far as classical logic goes, if a logician comes by please correct me.

But it's not much about proving if it's true or not but rather about psychology, doing mistakes along the way and discovering new things, or at least understanding the mistakes that were made and finding the truth in them.

The way I see it is looking for the exit of a maze : as you pointed out, the end goal is the same whether you try to prove it right or wrong you'll get to the end of it (given a classical logic framework). But to get to the ending you can do a Breadth First Search (BFS), meaning you explore every path until their end, or Depth First Search (DFS) where you take each path one by one and aim for the end directly.

I'd argue that the whole community switched from BFS to DFS when it comes to RH, so people are more likely to prune every path that goes to the opposite direction of what they are trying to prove : here that it is indeed True.

3

u/Casually-Passing-By 6d ago

I do think that rn AI is more of the answer key at the end of the book so we can focus on having human readable proofs, that will illuminate our intuition. It is a bit of a shame that having an answer key kills a bit the sense of wonder in math, imo.

5

u/jferments 6d ago

I agree that human understanding is a higher achievement, but human understanding will follow as people continue to study this proof and make it more concise. Now that we *know* that there is a solution, and have an idea of where to look, it will be much easier to gain understanding. Knowing that there is a solution and where to look is a *massive* achievement, even if we don't fully understand it yet.

6

u/brandon1997fl 6d ago

Idk, there’s no guarantee a human-comprehensible proof exists.

2

u/Koeke2560 5d ago

But that is a limit of human ability, not of provability, and the fact that it is provable, means we just need to wrap our heads around it. 

I know it’s not a perfect analogy, but think the 4 minute mile was thought of as impossible until it was done and now it’s basically not even worth mentioning as an ability if you compete in a somewhat higher level of athletics. Just showing that something is possible can motivate people to the point where it eventually becomes trivial.

And to add to that, in maths, only 1 person needs to be able to make the proof for the understanding to develop, as it will be way easier to understand the proof with a human explanation than to “discover” the proof in the forst place.

Just my 2 cents

2

u/fuulhardy 4d ago

Fucking thank you

1

u/PersonalityIll9476 5d ago

Or - and hear me out - the proof is just astronomically long.

1

u/AlignmentProblem 4d ago

An optimal proof may still be long, but it's extremely clear that this one is dramatically longer than necessary, in a way that thoroughly obfuscates whatever deeper insights one might derive from it to use in future work beyond knowing that GRH is true.

Parts of it are completely unnecessary, and many steps follow long, winding paths that could clearly be simplified. It's not unlike a monstrous software project that somehow works despite being a ball of spaghetti full of random indirection, long jumps, and parts that are unused without being obviously dead at first glance. One so large and tangled that one hits a wall trying to get enough of a handle on how it should work to even attempt a refactor.

An improved AI model a year from now could probably write something much shorter and easier to follow than this proof. A few weeks of cleanup alone should help a bit; however, it's probably easier to start from scratch once models have better taste for avoiding unnecessary steps, along with a sense of when to backtrack and redo parts more elegantly instead of charging ahead with anything that looks like potential progress.

It's still an achievement, though a much more impressive AI stab at this proof is likely around the corner sometime in 2027.

1

u/arewenotmen1983 4d ago

I think that at least some people should understand the proof before we all go accepting it. The cart is very much before the horse here. Also, I should note they're omitting the possibility that Lean could have a hole or two in it, which I see as at least as likely as an LLM solving the central problem of complex analysis.

1

u/Carl_LaFong 3d ago

Even before AI, I rarely read the first proof of a theorem because it would often be a mess. It was better to read later better digested proofs.

So I don’t understand the fuss about overly long first proofs.

0

u/UserXtheUnknown 6d ago

What you want, though, might be impossible. Might be like someone who has a hard time reading math symbols asking for a simple proof of Fermat's last theorem.

The proof is there, but only specialists can understand it.

The same here: the proof is there, bun only who can follow 250.000 pages of contrived math can understand it.

1

u/GoldSkulltulaHunter 6d ago

I agree, it's a very real possiblity. It won't stop people from trying, though. Thankfully.

→ More replies (1)

113

u/_404_LogicNotFound_ 6d ago

Great but how is it a meme?

150

u/luisgdh 6d ago • Bravo

By now, I think we are the meme.

5

u/AustrianMcLovin 6d ago

is this some uno-revers shit

1

u/Stardust_To_Dust 6d ago

its a response to the other post in the math memes subbredit, thus making it about math memes

→ More replies (5)

156

u/exophades 6d ago edited 6d ago

Lean now being tied to the most famous problem in math will get lean devs instant fame, of course they're going to say the proof is correct (doesn't mean they're wrong, it's just that there is an obvious COI here).

79

u/Own_Pop_9711 6d ago

I don't agree. If people spend a month thinking this is real and then it turns out to have an error lean is sunk as the ml proof tool. If there was an error that was instantly identified it would prove lean is useful, and maybe anthropic used it wrong or something

11

u/4tran13 6d ago

Not sunk, but their credibility will be toast for months - years. They've had bugs before, and I doubt it's the last one. Still useful as a tool even with bugs.

5

u/THROWAWTRY 6d ago

They had a few major ones in august.

1

u/4tran13 6d ago

You mean OAI? Those proofs didn't have lean backing.

3

u/THROWAWTRY 6d ago

No I mean lean itself had a major fix in august where they found a ton of bugs.

https://leodemoura.github.io/blog/2026-8-24-postmortem-for-the-kernel-soundness-bug-hunt/

→ More replies (1)

3

u/arewenotmen1983 4d ago

It's definitely within the realm of possibility that Lean had the bug Claude needed and Claude found it easier to find than a novel proof of the RH. Until a human-readable proof is released, it's beyond premature to be calling this settled.

1

u/Anthrac1t3 6d ago

It could just be confirmation bias instead of malice. "I spend a lot of time developing this super cool tool that I really believe it, I have full faith in it."

21

u/Few-Employment4580 6d ago

Rocq (Coq) devs seething rn

11

u/Dany0 6d ago

They really wanted the proof to be in Rocq so they could pull up n be like "whatup I got a big Coq (proof of GRH)"

4

u/99drolyag 6d ago

honestly, can somebody tell me why Lean won this battle? I heard of Coq long before Lean but somehow Lean has become the status quo

5

u/realestLink 6d ago

Mostly because of MathLib

1

u/666Emil666 6d ago

This, I wish the Rock team has put more effort into building a community centered around a unified for alizarion of mathematics. As it currently stands, trying to do mathematical research in rock involves a substantial amount of work to even begin tackling whatever problem your interested in

→ More replies (1)

3

u/Snatchematician 6d ago

Lean is better.

4

u/99drolyag 6d ago

thanks for the reasoning

1

u/4tran13 6d ago

How so?

13

u/yuwox 6d ago

Hehe, "it's just marketing". Sure.

15

u/Particular_Extent_96 6d ago

Lean has way more to lose by confirming this (if it turns out to be wrong due to some weird kernel bug) than they have to gain by making this statement so quickly.

1

u/_damax 5d ago

This. They should've just waited a bit more.

6

u/SaltMaker23 6d ago

Saying the quiet part out loud.

2

u/MsaoceR 3d ago

What? Can you imagine the reputational blow that would happen if they confirmed the proof and it turned out to have been a fake proof exploiting a bug in Lean? I'm sure they didn't take that possibility lightly

4

u/codelapiz 6d ago

if they are wrong then a statment like that will end lean.

8

u/Frequent-Sir-6942 6d ago

Certainly not, but they would have to find the mistake and fix it.

1

u/blackvrocky 6d ago

Like others already said, wouldn't their rep sink to the bottom of the ocean if it turned out wrong?

-18

u/iloveopen-source 6d ago • Bravo

The denial keeps taking new and wild turns every time some (intentional) misunderstanding and misplaced skepticism is busted. No, it's not just Lean devs but several independent mathematicians who have checked and confirmed.

Clearly you didn't even read the page. The proof has been checked by a program that has itself been formally verified to never produce anything false (assuming ZFC).

doesn't mean they're wrong, it's just that there is an obvious COI here

That's like saying NASA shouldn't comment on the shape of the earth because of COI. Taken directly from the flat-earth playbook. Seriously, people will do all sorts of mental gymnastics to cope.

26

u/exophades 6d ago

That's why I said "doesn't mean they're wrong", you know, the part you're promptly ignoring here.

The NASA doesn't own the Earth, this is the most stupid analogy I've heard.

4

u/iloveopen-source 6d ago • Bravo

Lean is a specification, no one owns it either.

If they're not wrong then what issue do you have with this? That's like saying "1+1=2 is true but I'm a mathematician so I have a COI in being mathematically correct". Now this is stupid.

6

u/SnooWalruses7546 6d ago

Kernel bug.

2

u/01Metro 6d ago

25 different kernels.

→ More replies (2)

0

u/[deleted] 6d ago

[deleted] — view deleted comment

→ More replies (3)
→ More replies (1)

5

u/Frequent-Sir-6942 6d ago

There have been lean kernel bugs before and AI tools are known to use any loopholes they can find, cause they do not care if "something makes sense" only if it archives a goal. Im *not* saying here the proof is wrong or the lean devs confidence misplaced, but it makes sense to be careful with that statement and wait a few months, till enough independent researchers with domain knowledge had a look. If it turns that there is no mistake, this is certainly an archivement.

0

u/iloveopen-source 6d ago

No AI used a loophole to find a fake proof. It was a deliberate attempt to find a bug by a lean expert. Maybe get your facts right at least if you're gonna make a point?

3

u/Frequent-Sir-6942 6d ago

It does not matter. If you ever watched any AI speedrun something, then you have seen countless examples of "oh I violate assumptions here and do something in an unintended way" in a formal system. While with the Collatz thing assumptions purposefully got attacked to find a "fake proof", an AI might as well do that.

→ More replies (3)
→ More replies (1)

212

u/Cwaghack 6d ago

I'm sure the proof is right but the Lean team being confident in a Lean result doesn't help. They have a clear vested interest in the proof being right, in fact if it wasnt right it would be a disaster for them

29

u/_killer1869_ 6d ago

Only this statement would be a disaster for them. If they say "we aren't confident in correctness" and they find a bug, it hurts their reputation in a recoverable manner. But claiming they have no doubt in correctness, their reputation will blow up if this proof turns out to be faulty. So they wouldn't throw such a statement out without actually being certain. Their interest may be in the proof being right, but it's even moreso this statement being right.

13

u/proudHaskeller 6d ago

Why would they have a vested interest? Why would the proof not being right be a disaster for them? I really don't understand what you mean.

1

u/Cwaghack 6d ago

If the proof is false its because of a bug in lean, that would be bad for the team behind lean

2

u/proudHaskeller 5d ago

Even assuming that that's true, them claiming that the proof is correct won't actually make it correct. In fact, I think that if the proof were discovered to somehow be exploiting a bug, then it would just show that AIs can be manipulative and that alpoge didn't do his due dilligence, it barely says anything about lean. But if they publicly claim that the proof is correct because of selfish interests, and then it turns out to not be correct, then they (as people) would lose trust.

And they can definitely be sure, that woth the amount of public scrutiny that this is getting, that if this were a manipulative proof, that it would definitely get exposed, and quickly.

So they really don't have an interest to make any claim other than what they believe to be true.

2

u/201720182019 6d ago

What about Mathlib?

→ More replies (50)

83

u/IntelligentBelt1221 6d ago • Bravo Heartwarming

the level of cope in here is so hilarious.

51

u/devil_huntress_pepsi 6d ago • Heartwarming Bravo

The replies to this thread are full of incorrect opinions about lean, mixed in with unhealthy levels of cope.

Lean's standard library, which is what the proof is built in, is bug free by necessity. It's as necessary as A => B being equal to "(not A) or B".

The people pointing out kernel issues exploited by the AI in the past aren't aware that in those cases the AI wasn't moving within the standard library.

Besides, what is Lean supposed to do other than run the code and check that it compiles? If it compiles, what are they supposed to say? That it doesn't?

8

u/iloveopen-source 6d ago

atp copium is what's holding this sub together

44

u/lonelyroom-eklaghor Complex 6d ago edited 6d ago • Bravo

Moreover, any kernel issue is literally being checked: https://math.mit.edu/~drew/grh/

The last two tests are what's left. If they pass, we will be 100% sure that Riemann Hypothesis is solved AND there are literally no Lean bugs.

We have already passed the independent kernel check, which is an important milestone. Imagine two Chinese translators, one from US and the other from UK, translate the same thing into English in the same way. Even the regional variations don't show up.

I am giving this analogy because a compiler is a translator that translates one program into another program. Both of the kernels of Lean said the same thing, independently.

Right now, we are checking the kernel stuff in itself (in a single-threaded environment). That's why it's taking so long.

We are checking that the only thing that can be the so-called cheat/hack is the very proof itself. The only scope we are trying to keep is the proof's correctness.

There's a nice video on compilers which shows talks about the "previous version" skepticism people are having: https://youtu.be/7zmuMKR7q8w

We have already checked rigorously enough, but still, the single-threaded stuff is more of a sanity check. If that passes (and if lake comparator passes end-to-end), we are good

A video on Lean: https://youtu.be/REOSk8DC1IY

12

u/devil_huntress_pepsi 6d ago

Thanks! I'm not well versed in lean. I'm not a mathematician either, just very passionate about the subject, so it would probably do me good to learn some.

1

u/Soritacoli 6d ago

I know you just made an example with the chinese to english translation, but if two different people translated a book in the exact same way from chine to english, that would be very suspecious, because language is symbolic and interpretative, reaching the exact same translation would say something about the translators or the text itself, it would be a one of kind moment.

8

u/onlymadethistoargue 6d ago

Indeed, proof of RH is a one of a kind moment.

1

u/inemsn 5d ago

Lean's standard library, which is what the proof is built in, is bug free by necessity. It's as necessary as A => B being equal to "(not A) or B".

i'm going to put this to you very clearly: in software, there is no such thing as "bug free by necessity". if it was possible to create a program that was 100% mathematically guaranteed to be bug free, we'd be doing that literally everywhere.

at this point, lean is getting more unfairly glazed than AI is in this sub. the proof is probably brilliant and correct even if completely pointless so long as it doesn't contribute to our understanding, but people really have taken to thinking of lean as some holy gospel of truth when really it's a computer program like any other.

1

u/onesillyg4y 4d ago

I'm noticing a pattern. Every ai believer uses the term "cope" non stop it kinda loses meaning lol

1

u/No_Reindeer5223 4d ago

isn't it impossible to prove lean is bug free by a Godel theorem? I read that somewhere I don't know if it's true. (also not at all saying the AI proof isn't valid just questioning the statement that lean is bug free by necesity)

-3

u/Vivid_Syllabub_8906 6d ago

You’re making some remarkably confident claims for someone who, by their own admission, is neither a mathematician nor particularly familiar with Lean. Yet somehow you’re comfortable declaring its standard library “bug-free by necessity”, dismissing legitimate concerns about kernel soundness as ignorance, and accusing everyone else of coping.

The irony is remarkable. You’re lecturing people about a subject you openly admit you don’t understand, while making claims that demonstrate you don’t even grasp the distinction between a formal logical system and its software implementation.

Lean’s standard library is not “bug-free by necessity”. That’s such a dumb thing to say and shows that you have zero clue what you are rambling about. Lean’s theorems are checked by the kernel, whose soundness depends on the correctness of its implementation and the consistency of the underlying axioms. Neither is magically guaranteed by the fact that Lean implements formal logic. You’re conflating mathematical validity within a formal system with the correctness of the software implementing that system.

Your argument about previous kernel vulnerabilities is particularly revealing. The entire point of a kernel soundness vulnerability is that an invalid proof can be accepted by the trusted checker. Whether the exploit originated in a metaprogram or involved code outside the standard library does not somehow make the kernel infallible. And no, “if it compiles, it must be correct” is not how formal verification works. Lean’s kernel checks proof terms against their claimed types. Compilation success is not a general guarantee of mathematical correctness, and a soundness bug can undermine precisely the guarantee you’re appealing to.

You seem to have confused what Lean is designed to guarantee with what has been proven about Lean itself. Those are fundamentally different things. Before dismissing everyone else as uninformed, you might want to understand that distinction.

6

u/devil_huntress_pepsi 6d ago

I know just enough to understand that other people are misguided in attacking the post, or the content of the post. Their attacks are unfounded.

I may have some misguided ideas myself, but with your comment not only did you put yourself on stage as today's biggest insufferable Redditor with a stick up his ass, but also provided only a bunch of the same reheated arguments that have already been taken into account by people who are more knowledgeable than me.

I don't know who pissed in your cereal this morning, but you may want to knock it off, because it wasn't me.

4

u/Ali___ve 6d ago

The irony is remarkable. You’re lecturing people about a subject you openly admit you don’t understand

Welcome to reddit

2

u/Away-Composer-8184 6d ago

So is Lean itself bug-free? Are only its libraries in question? 

→ More replies (5)

1

u/LoanAdventurous2354 6d ago

I am not a mathematician but what you're saying is so obvious to me I'm shocked the other guy is getting more positive feedback than you are. I'm not even saying there are any bugs in Lean now (up until a few months ago I didn't know what Lean was) but its a fact that OpenAI for instance found and patched some bugs in the software that compiled when it shouldn't have, you nailed it with;

You’re conflating mathematical validity within a formal system with the correctness of the software implementing that system.

This thread is a testament to how cautious we should be in browsing and reading the internet even if it seems like there's a consensus on issues like this.

2

u/The_Krambambulist 6d ago

I think it could very well have been solved, the problem with this is mostly that there might still be some theoretical bugs that could have occurred and it is just so large that it really is going to take some effort to make sure it really has not happened.

In the worst case this will identify problems with Lean that would probably be fixed and then it will help in actually enabling finding an actual proof. If no problem is identified it actually is confirmation that it does work as expected.

6

u/IntelligentBelt1221 6d ago

atp im 100% confident there are zero bugs (that would invalidate it, so not counting "that part wasn't really necessary" or "hard to read" kind of "bug") in the formal proof (any natural language version accompanying it could contain those kinds of issues of course).

those kernel bugs you can exploit to fool lean don't pass the kinds of checks people did on this proof.

2

u/No_Swordfish_4159 6d ago

You're talking about somehow exploiting bugs in every lean kernel, despite some explicitly being built to prevent that. Every test has checked out so far. The size of the proof looks intimidating but it's not really relevant in this case.

3

u/Fun-Shake1398 6d ago

It's not that big of a size. FLT is 13m loc iirc, so GRH at 17m+ (and probably could still be trimmed a bit) is in the same order of magnitude.

1

u/Different_Doubt2754 6d ago

But can't this logic be applied to lots of things? Many things that we have "proved" could theoretically (even if it's an infinitesimally small chance) have an exception, "bug", or unknown law we haven't discovered yet.

When we say something is proved, we are really just saying that we have proved it within our capabilities

1

u/hikarinokaze 6d ago

I feel like the mathematician's AI cope has been the worst of them all.

-8

u/iloveopen-source 6d ago edited 6d ago • Bravo

I know right. God fucking whatever happened to reason and logic? Not that I expected that from Reddit, but even in a math adjacent sub? The sheer amount of ignorance, denial, cope, and anti-AI bias is astounding

Edit: Do people downvoting realize the above comment said the same thing and I merely agreed with it?

2

u/According-Object-521 6d ago

I think maybe you might be commenting in a that annoys people considering that everyone else saying the same thing is being upvoted

1

u/iloveopen-source 6d ago

No, unfortunately there are still many "lean bug" consipiracy people here.

17

u/iloveopen-source 6d ago • Bravo

Apparently Reddit doesn't like the direct link to source so I couldn't add the link to the post itself. Here is a link to another post that links to original source: https://www.reddit.com/r/mathematics/comments/1y1yupg/official_lean_and_mathlib_statement_we_have_full/

9

u/Digital_001 Physics 6d ago

idk why people are downvoting you, this is the comment I scrolled all the way to the bottom to find

6

u/iloveopen-source 6d ago

Yesterday and today I've seen that wilful ignorance and denial of anti-AI people knows no bounds,

1

u/jackalopeswild 6d ago

You may be a mathematician, but you do not understand people if you believe that dislike --> denial.

1

u/iloveopen-source 6d ago

It's not simply about that count. People are literally whining "lean bug" and other ignorant bs

3

u/Old-Chipmunk-7505 6d ago

Uhmm, how is this a meme though?

1

u/iloveopen-source 5d ago

Redditors and their cope+denial is a meme.

12

u/Hates_commies 6d ago

"Lean ain't broke"

-Guys who made Lean

27

u/iloveopen-source 6d ago

"Lean ain't broke, and we have a proof for that."

1

u/its_all_one_electron Number theory/physics 6d ago

We've investigated ourselves and found no wrong doing

12

u/Away-Composer-8184 6d ago

Except anyone can check it for themselves.

→ More replies (2)

12

u/yuwox 6d ago

Antis: "we have wait for human experts to verify the proof before we accept it"

Human experts: "we are completely sure that the proof is valid. We congratulate..."

Antis: "well, of course they would say that. We have to continue waiting until someone, anyone, says the proof is wrong"

1

u/4tran13 6d ago

The actual human experts vary in opinion. The current major endorsers are the lean ppl themselves.

9

u/yuwox 6d ago

How do they vary? Apart from Reddit-experts, I have not heard of any serious claims against it.

→ More replies (2)

4

u/wiffsmiff 6d ago

The human experts do not vary in opinion. The consensus in academic circles is overwhelmingly that the problem is solved. The usefulness of just knowing the answer is there without a deep understanding of it, though, is up to debate

6

u/Pkittens 6d ago

"The codebase depends directly only on Mathlib"
that's a really solid argument for correctness.

18

u/iloveopen-source 6d ago • Bravo

Day 304830473 of deliberately not understanding how Lean works

13

u/zolk333 6d ago

It's weird to see that some people here seem to think the Lean team are some buy low sell high, startup venture capitalists, trying to get famous or rich or whatever. "Well, the Lean proof must be secure if Lean says so, amirite?" Their only job is to create a system whose consistency we can be as sure of as possible. it IS the Lean team's purpose to make sure Lean is correct.

1

u/Tago238238 5d ago

Yeah I mean whatever man I knew it was over.

1

u/iloveopen-source 5d ago

It's not over, it's a new beginning

2

u/Tago238238 4d ago

Beginning of what? Obsolescence?

1

u/iloveopen-source 4d ago

What is over?

1

u/Tago238238 4d ago

Humans being able to do anything

1

u/iloveopen-source 4d ago

Humans were never able to do "anything". What are you talking about?

1

u/Tago238238 4d ago

As in, we are entering an age where humans can do nothing of use.

1

u/iloveopen-source 4d ago

You've got wrong definition of "use".

→ More replies (1)

1

u/These_Diver5331 3d ago

As if any scientist or mathematician with integrity would deem this official.

1

u/iloveopen-source 2d ago

All scientists and mathematicians with integrity deem this official.

3

u/Conscious-Refuse8211 6d ago

where's the meme??

2

u/lilianasJanitor 6d ago

So we know it’s true but do we actually understand it? Like could someone explain it even at 30,000 feet about how the proof works? I assume it’s a chain of lemmas or something that build on top of each other?

2

u/realestLink 6d ago

Not a meme + posted by a dude who's just glazing AI for some reason (two posts about this in this server in the last 24 hours + posts in r/defendingaiart

Inb4 they reply saying I'm coping or whatever (I do not dispute the proof's accuracy)

2

u/The_Osprey314 5d ago

Great that the proof is correct, doesnt mean that we shouldnt analyze the proof and be able to explain WHY Riemanns hypothesis is true. also congrats to the many mathematicians who made discoveries assuming this hypothesis.

3

u/According-Object-521 6d ago

I’m genuinely confused, why is everyone doubting so much?

1

u/[deleted] 6d ago

[removed] — view removed comment

2

u/Luciel3045 6d ago

Well yes, but: This is a huge thing. I would also be skeptical, if it was completly developed by a human. Lean is also just code, its not perfect. I am not saying its wrong or this cant be. But i remain a little sceptical, because it would be naive not to.

1

u/slightfeminineboy 5d ago

i dont think you quite understand lean

4

u/Razen04 6d ago

Sadly even if it is true, Alpoge won't be remembered like Reimann, it will be Claude or Anthropic which will be in the forefront of discussion rather than Alpoge

25

u/Key_Ebb_3977 6d ago

Which is only fair. The AI did most of the work so the AI should be what gets remembered.

10

u/megayippie 6d ago

Why is that sad?

4

u/Microwave_Warrior 6d ago

I am not particularly familiar with lean. But I am familiar with mathematical proofs and with programming.

I am not going to claim that RH has not been solved. I do not know. But I do know that programs like Lean can have bugs or flaws. And if you give an AI a success criterion like “make Lean show that the proof is correct” then it worries me that it might be simpler for the AI to exploit vulnerabilities in Lean rather than actually solve the Riemann Hypothesis.

To me if a potentially flawed program is the success criterion, my familiarity with machine learning tells me that it is potentially more likely that the AI found a back door to convince Lean the proof is correct than to actually make a proof of something as difficult as RH. I as an individual have no way to know if this is the case short of verifying the proof myself. So we basically have to wait for mathematicians to verify the proof anyway.

13

u/ChiaraStellata 6d ago

They used multiple independent verifier codebases written in different languages (nanoda in Rust, con-leche and con-ron which have formally verified their own soundness, lean4lean which is written in Lean itself, and various other third party checkers written by other people). They'd essentially have to all share the same bug for a proof to sneak through like this. It's possible there could be correlated bugs but chances are very low.

→ More replies (5)

2

u/MundaneOrdinary7493 6d ago

So, why should we believe mathematicians that proof of FLT is correct if I'm not an expert? Believing Lean is correct is much easier than believing some of the very complex human generated proofs manually peer-reviewed by humans, because correctness of lean is a finite amount of complexity that many independent groups have examined closely already.

1

u/Microwave_Warrior 6d ago

At some point you’re asking an epistemological question if you’re asking in general. And we could debate that.

But in this specific case, the clear reason is that the AI is not using the mathematician as the success criterion. It might be using Lean as one which means it might be exploiting a vulnerability rather than solving the problem.

3

u/capnshanty 6d ago

Is there a possibility the AI just hid some kind of wild assumption in the code that renders it valid but the assumption itself is actually nonsense

9

u/LitespeedClassic 6d ago

When Lean compiles it lists the assumptions that were used in the proof precisely so this can be checked. In a standard, by the books, proof there are three. One is the axiom of choice and I forget what the other two are. This proof only uses the standard three. Furthermore the statement of the the theorem was independently developed, not developed by the LLM, so there’s no possible shenanigan there. It has also compiled on several different independent implementations of Lean. It’s much harder to exploit a Lean bug that works across all Lean implementations, so this provides strong evidence this isn’t a bug exploit. 

It’s pretty well confirmed at this point. 

1

u/EebstertheGreat 6d ago

You assume every axiom of some theory of sets, or of a foundational theory in which sets can be defined, because you need some set theory to make sense of the statement of the theorem. At a minimum, it must be able to define complex numbers. Lean itself is formulated in the calculus of constructions with inductive types, which you could say has its own assumptions, but those aren't enough to formulate RH (or almost any interesting theorem). And apart from axioms, it also depends on a pile of definitions.

But those were all checked a while ago, and mathematicians apparently have high confidence that every assumption and definition is correctly stated.

13

u/Mec26 6d ago

No, due to the proof being the code that is sent out. People have checked it on their own, outside AI.

3

u/capnshanty 6d ago

17.5 million lines? Already?

8

u/Mec26 6d ago

Yes, because it’s lean code and they just compile it on their kernels. Faster than it sounds.

Lean code is the encoding of the logic of the proof, not an AI program itself.

2

u/Separate-Pickle9963 6d ago

Even IF the code somehow exploits a bug that just so happens to affect all the kernels we've tested it on, the odds that the AI went explicitly hunting for such an effect would be... unlikely at best. Humans frankly are more likely to stumble upon such an accident because we often carry creative ways to try to force systems into things they weren't meant to do even when we're trying to be helpful.

5

u/wiffsmiff 6d ago

The part about agents not exploiting bugs/reward hacking is so false. It’s one of the most common problems in alignment work on the post-training side and on the agent harnesses themselves. Eg, if you go and prompt “produce a lean proof that compiles” and keep pushing it to compile, it’s very possible it will change around stuff to make the code compile while losing the correctness of it’s supposed proof. And I can tell you that happens often, as I work regularly with these coding agents at my job (computer architecture/HPC systems + compilers related to deep learning ). It happens a lot.

That said, based on what I’ve read so far and heard come out, and my understanding of the lean compiler and Mathlib, it’s very very likely the Riemann Hypothesis has been “solved” and that the lean proof in this case is correct and free of rewarding hacking behavior. But the problem still is that this isn’t very interesting within itself until it’s actually understood beyond allowing more unconditional proofs, since many already assumed RH to be true.

→ More replies (1)

3

u/Cruuncher 6d ago

I forgot the channel name, but there's a channel that makes videos of AIs learning to play games, like soccer or something, inside an arena.

And the amount of times these things find an exploit in the physics engine is crazy. It's like half of the videos

3

u/guiguiexp 6d ago

Code bullet lol, I love him

But AI proved this correctly guys... the lean formal system is very strong, and the AI didn't exploit it

→ More replies (2)

3

u/CanAlwaysBeBetter 6d ago

What do you think the point of formal verification systems is?

2

u/BuxaPlentus 6d ago

There is already discrepancy between the natural language proof and lean proof for navier stokes

And then we ask ourselves, is it more likely that an AI has solved a 150 year old maths problem or that there is an exploitable bug in a coding language written by humans to verify maths

Here's my line of thinking:

  1. Every coding language and software ever written by humans has bugs, even ones that are decades old have bugs that are only recently being found
  2. A discrepancy has already been found in one AI generated proof (navier stokes)
  3. LLMs are programmed to do everything they can to provide the user with an answer, and they have been shown, when tasks are extremely difficult, to be willing to cheat to achieve the task, in this case it would be the AI finding an exploit in lean rather than actually producing the provable result

All of the above seems more likely to me than a problem being solved that is over a century old and until we can prove the above hasn't occured then I think it's ridiculous to claim anything else has been proven, the system of proof will lose all meaning

2

u/LinuxChromebookDude 6d ago

This isn’t true at all.  Lean verifies mathematics by acting like a strict digital building inspector that breaks complex ideas down into tiny, logical blocks. Every mathematical concept is translated into precise code, and the computer checks each step to ensure it perfectly follows basic logical rules (think 1 > 0) without skipping any details. We know the proof is true because anyone in the world can download the exact same code file and run it on their own computer to see that it finishes with zero error messages. Furthermore, we only need to trust Lean's tiny, core programming engine, which has been intensely tested and vetted by computer scientists for years to ensure it never approves a faulty logical step. For example, the Riemann Hypothesis definition has already been precisely vetted to ensure that if a RH proof compiles, it will be true. You can see the output of MIT math running the verification here:   https://math.mit.edu/~drew/grh/ , and a project that lets you run the code yourself with enough resources and see other people’s runs here:   https://riemann-at-home.github.io/riemann-at-home/

→ More replies (3)

1

u/MsaoceR 3d ago

It's fair to be wary of bugs, but don't assume you're the only one to think of such a possibility. The RH proof (and I assume the navier-stokes proof too) has been verified in several different Lean kernels and even in programs other than Lean, precisely to make sure that this didn't happen. At that point if you're still skeptical of it I don't think you could trust any amount of human proof-checking either, because humans can make mistakes too

→ More replies (1)

1

u/inanotherclass 1d ago

People have NOT checked it on their own outside AI. That check involves verifying if lean kernel assumptions hold or do they convert the GRH into something simpler. That is not yet done.

1

u/Mec26 1d ago

Yes, the lean assumptions were checked by both the lean team and the mathlib team. Try again.

→ More replies (3)
→ More replies (14)

4

u/pierrekin_apple 6d ago

The simple truth is that the answer is yes, there is a possibility that there are shared errors across the entire space of tools that are used to check whether proofs that are published using formal methods like lean are correct.

There is of course, a huge effort to make this less likely, and because Reddit struggles so much with nuance it’s very difficult to have a reasonable conversation about this stuff.

There are large communities that overlap with this topic space, and to argue that formal methods are inscrutable ironically undermines the enormous efforts that go into improving the tooling.

There is also philosophical debate about what it means to know or prove something.

We instead have to answer a different question about likely hood, I don’t know of a different approach and I’d be interested to hear any.

At this point for the proof to be invalid because of an error with its lean code, or the lean ecosystem there would need to be a problem with its problem formalisation which has been extremely carefully checked by experts and predates the new results, or there would need to be errors that fool multiple separate toolchains, many of which themselves are verified using formal methods.

To most experts it’s my understanding this pushes the chance to essentially zero, but not exactly zero.

2

u/Different_Doubt2754 6d ago

Wouldn't it have to use Sorry which would be detectable?

1

u/EebstertheGreat 6d ago

In principle, any one assumption or definition could be stated incorrectly, or any definition that in turn depends on, down to the fundamental definitions. Think of it like a software stack. You could verify that a program is correct given that all its dependencies match specifications, but that doesn't guarantee it will always give the correct output. To prove that, you would need to verify all of that program's dependencies, and all of their dependencies, all the way down to machine code. And I guess you would want to physically verify that the machine itself behaves as expected when executing code (no FDIV errors or whatever).

2

u/Medical-Hunt774 6d ago

Modern agent swarms were exploitive enough to be able CPU caches to hid messages to each other. It won't surprise me if it was able to just test each verification program and find common exploit to each and use that.

Computer is just machine, even the most tested programs have exploits where you can just break it's behaviour.

2

u/Sparkling_Bulldozer 3d ago

Crazy how much cope Reddit is looking for. The amount of denial they live in that they cannot accept that capitalists made a product more powerful than anything in history, they are that intelligent so go fuck your sale

→ More replies (3)

1

u/Anonymer 6d ago

Possible but fairly unlikely.

1

u/EstablishmentPlane91 3d ago

technically yes but because lean doesnt really let you make assumptions in that way there probably isnt anything

1

u/Abject-Job7825 4d ago

they shouldn't use his name, this is claudes proof of the riemann hypothesis

1

u/Relevant_Helicopter6 3d ago

The helicopter lands firmly on top of Mount Everest.

1

u/inanotherclass 1d ago

Except their confidence amounts to exactly nothing considering they aren't even qualified to evaluate it in the first place.

0

u/[deleted] 6d ago

Would you stutter when asked whether 1+1=2, no.

18

u/ElectricalAd5268 6d ago

1 apple + 1 onion = 2 apples, duh

3

u/S-Kenset 6d ago

1 appleonion

2

u/ElectricalAd5268 6d ago

Idk man you stuttered there a bit

9

u/Glittering_Act_8528 6d ago

Depends on the definition of +

2

u/schizothroaway1 5d ago

Boolean algebra go brrr

4

u/Frequent-Sir-6942 6d ago

Whitehead and Russell agreed with you on page 379 of Principia Mathematica.

1

u/One_Word_7455 6d ago

Ah, a man of culture.

2

u/schizothroaway1 6d ago

Yes. Because 1 + 1 = 1, clearly.

1

u/Danny-Fr 6d ago

I... The result is... Please don't look at me like that UwU // starts blushing // it's t-t... Two?

2

u/ElectricalAd5268 6d ago

In that case the result is :3

-3

u/Wise_Monkey_Sez 6d ago

So basically Lean says that Lean is correct.

... conflict of interests anyone?

0

u/Anthrac1t3 6d ago

Well I'm sure they do because if it wasn't then that would mean there's a big ass bug with LEAN. Not exactly an independent third party review.

1

u/LinuxChromebookDude 6d ago

This isn’t true at all.  Lean verifies mathematics by acting like a strict digital building inspector that breaks complex ideas down into tiny, logical blocks. Every mathematical concept is translated into precise code, and the computer checks each step to ensure it perfectly follows basic logical rules (think 1 > 0) without skipping any details. We know the proof is true because anyone in the world can download the exact same code file and run it on their own computer to see that it finishes with zero error messages. Furthermore, we only need to trust Lean's tiny, core programming engine, which has been intensely tested and vetted by computer scientists for years to ensure it never approves a faulty logical step. For example, the Riemann Hypothesis definition has already been precisely vetted to ensure that if a RH proof compiles, it will be true. You can see the output of MIT math running the verification here:   https://math.mit.edu/~drew/grh/ , and a project that lets you run the code yourself with enough resources and see other people’s runs here:   https://riemann-at-home.github.io/riemann-at-home/

1

u/Anthrac1t3 6d ago edited 6d ago

I'll admit I don't fully understand most of this. I'm only a CS not math major. I'm only skeptical because I find it very hard to believe that a computer program is completely perfect and can never be exploited in any way. There could be bugs with LEAN. There could be bugs with C++ libraries it's running on. Computers have way too many moving parts to ever trust them emphatically.

0

u/Clqgg 5d ago

i got a feeling that most people wouldnt been able to do this even with the same ai model and access he had.